:root {
  --primary-color: #5D2A7E;
  --secondary-color: #451F5C;
  --accent-color: #9B59B6;
  --light-color: #F5EEF8;
  --dark-color: #2C1040;
  --gradient-primary: linear-gradient(135deg, #5D2A7E 0%, #9B59B6 100%);
  --hover-color: #451F5C;
  --background-color: #FDFAFF;
  --text-color: #2E2035;
  --border-color: rgba(93, 42, 126, 0.18);
  --divider-color: rgba(93, 42, 126, 0.13);
  --shadow-color: rgba(44, 16, 64, 0.11);
  --highlight-color: #F7DC6F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: linear-gradient(135deg, #FDFAFF 0%, #F5EEF8 100%);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.75;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.hamburger .line {
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-color);
  backdrop-filter: blur(10px);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.navigation a:hover {
  color: var(--primary-color);
}

.grid {
  display: grid;
  width: 100%;
}

/* Feature Cards — numbered card style with top accent line */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 2rem;
  width: 100%;
}

.feature-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(93, 42, 126, 0.2);
}

.feature-card-top {
  height: 6px;
  background: var(--gradient-primary);
  width: 100%;
}

.feature-card-inner {
  padding: 2rem 1.8rem 2rem;
}

.feature-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--main-font);
  color: var(--border-color);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}

.feature-icon {
  font-size: 2rem;
  margin: 0 auto 1rem auto;
  color: white;
  width: 58px;
  height: 58px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12);
  box-shadow: 0 6px 18px rgba(93, 42, 126, 0.35);
}

/* Testimonials */
.testimonial {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem 2rem 1.6rem;
  margin: 1rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.4rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--border-color);
  line-height: 1;
  font-weight: 700;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(93, 42, 126, 0.18);
}

/* FAQ Items */
.faq-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  width: 100%;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(93, 42, 126, 0.15);
  border-color: var(--primary-color);
}

/* Form Styles */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(93, 42, 126, 0.13);
  background: white;
}

/* Buttons */
.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(93, 42, 126, 0.3);
  letter-spacing: 0.3px;
}

.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(93, 42, 126, 0.42);
}

/* Stat Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(93, 42, 126, 0.18);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
}

.stat-text {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Pattern Background — diagonal stripes */
.pattern-bg {
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(93, 42, 126, 0.03) 20px,
      rgba(93, 42, 126, 0.03) 40px
    );
}

/* Contact Section */
.contact-section {
  width: 100%;
}

.contact-wrapper {
  width: 80%;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .feature-card-inner {
    padding: 1.6rem 1.3rem;
  }

  .testimonial, .faq-item {
    padding: 1.8rem 1.4rem;
  }

  .contact-wrapper {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }

  .testimonial, .faq-item {
    padding: 1.4rem 1rem;
  }

  .feature-number {
    font-size: 2.2rem;
  }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}