:root {
  --primary-color: #6A1E9C;
  --secondary-color: #4B1461;
  --accent-color: #9B59B6;
  --light-color: #F3EBFF;
  --dark-color: #2D0A58;
  --gradient-primary: linear-gradient(135deg, #6A1E9C 0%, #4B1461 100%);
  --hover-color: #5A1882;
  --background-color: #FDFAFF;
  --text-color: #4A3B5C;
  --border-color: rgba(106, 30, 156, 0.2);
  --divider-color: rgba(75, 20, 97, 0.15);
  --shadow-color: rgba(106, 30, 156, 0.15);
  --highlight-color: #FFB74D;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', 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 */
.feature-card {
  background: linear-gradient(145deg, white, var(--light-color));
  border: none;
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px var(--shadow-color);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(106, 30, 156, 0.1) 0%, transparent 70%);
  transition: all 0.5s ease;
  opacity: 0;
}

.feature-card:hover::before {
  opacity: 1;
  transform: scale(1.5);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(106, 30, 156, 0.2);
  border: 3px solid var(--light-color);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotateY(360deg);
  box-shadow: 0 6px 20px rgba(106, 30, 156, 0.4);
}

/* Testimonials */
.testimonial {
  background: white;
  border: none;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 4px solid var(--primary-color);
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-color);
  border-bottom-color: var(--accent-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 3.5rem;
  color: var(--primary-color);
  font-family: serif;
  opacity: 0.2;
}

/* FAQ Items */
.faq-item {
  background: white;
  border: none;
  border-radius: 18px;
  margin: 1rem 0;
  box-shadow: 0 3px 15px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem;
  border-right: 5px solid var(--primary-color);
}

.faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px var(--shadow-color);
  border-right-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.faq-item h3::before {
  content: '💡';
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  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(106, 30, 156, 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.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 12px rgba(106, 30, 156, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(106, 30, 156, 0.4);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Statistics Cards */
.stat-card {
  background: white;
  border: none;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 6px 25px var(--shadow-color);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 35px var(--shadow-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Trust Indicators */
.trust-indicator {
  background: white;
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.trust-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px var(--shadow-color);
}

.trust-indicator::before {
  content: '✨';
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1rem;
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 15px var(--shadow-color);
}

footer {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 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(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image: 
    linear-gradient(30deg, rgba(106, 30, 156, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(106, 30, 156, 0.04) 87.5%, rgba(106, 30, 156, 0.04)),
    linear-gradient(150deg, rgba(106, 30, 156, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(106, 30, 156, 0.04) 87.5%, rgba(106, 30, 156, 0.04)),
    linear-gradient(30deg, rgba(106, 30, 156, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(106, 30, 156, 0.04) 87.5%, rgba(106, 30, 156, 0.04)),
    linear-gradient(150deg, rgba(106, 30, 156, 0.04) 12%, transparent 12.5%, transparent 87%, rgba(106, 30, 156, 0.04) 87.5%, rgba(106, 30, 156, 0.04));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    margin: 1rem 0;
    padding: 2rem 1.5rem;
  }

  .trust-indicator {
    margin: 1rem 0;
    padding: 1.5rem 1.2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-card {
    width: 160px;
    height: 160px;
  }
}