:root {
  --primary-color: #5D2E6B;
  --secondary-color: #3E1C4A;
  --accent-color: #9B5DB8;
  --light-color: #F7F0FA;
  --dark-color: #1E0D26;
  --gradient-primary: linear-gradient(135deg, #7A3F90 0%, #3E1C4A 100%);
  --hover-color: #4D2460;
  --background-color: #FDF9FF;
  --text-color: #352040;
  --border-color: rgba(93, 46, 107, 0.18);
  --divider-color: rgba(62, 28, 74, 0.13);
  --shadow-color: rgba(62, 28, 74, 0.09);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1rem 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);
}

/* Feature Cards — numbered counter style */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem 2rem 2rem 2rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  font-family: var(--main-font);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  display: block;
}

/* keep .feature-icon in DOM for emoji usage but style differently */
.feature-icon {
  display: none;
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.4rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.14;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-color: var(--accent-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.2rem 2.2rem 2.2rem 3.6rem;
  position: relative;
}

.faq-item::before {
  content: 'Q';
  position: absolute;
  left: 1rem;
  top: 1.9rem;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: var(--main-font);
  color: var(--accent-color);
  opacity: 0.6;
}

.faq-item h3 {
  margin-bottom: 1.1rem;
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 22px var(--shadow-color);
  border-color: var(--accent-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: 1.2rem;
  background-color: white;
  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, 46, 107, 0.1);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.3rem 2.8rem;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(93, 46, 107, 0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 22px rgba(93, 46, 107, 0.42);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.72;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Stat Cards */
.stat-card {
  background: linear-gradient(135deg, white, var(--light-color));
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  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.6rem;
  font-weight: 500;
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  color: var(--text-color);
  padding: 1.3rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow-color);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2.8rem 0 1rem;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin: 2rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 5% 50%, rgba(155, 93, 184, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 95% 20%, rgba(93, 46, 107, 0.07) 0%, transparent 50%),
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 60px,
      rgba(155, 93, 184, 0.025) 60px,
      rgba(155, 93, 184, 0.025) 61px
    );
}

/* Contact block */
.contact-inner {
  max-width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .container {
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .feature-card,
  .testimonial,
  .faq-item {
    margin: 0.9rem 0;
    padding: 1.6rem 1.2rem;
  }

  .faq-item {
    padding-left: 2.8rem;
  }

  .stat-number {
    font-size: 1.9rem;
  }
}