:root {
  --primary-color: #4B1461;
  --secondary-color: #6A2E85;
  --accent-color: #9B6BB5;
  --light-color: #F5EEF8;
  --dark-color: #1E0730;
  --gradient-primary: linear-gradient(135deg, #4B1461 0%, #6A2E85 100%);
  --hover-color: #3A0F4E;
  --background-color: #FAF6FC;
  --text-color: #2C1A38;
  --border-color: rgba(75, 20, 97, 0.18);
  --divider-color: rgba(106, 46, 133, 0.14);
  --shadow-color: rgba(75, 20, 97, 0.11);
  --highlight-color: #F2D57F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Poppins', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 8px; background: rgba(255,255,255,0.15); border-radius: 8px;
}
.hamburger .line {
  width: 28px; height: 3px; background-color: var(--light-color);
  margin: 3px 0; transition: 0.3s; border-radius: 2px;
}
#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: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.22); 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: 1.2rem 1.8rem; color: var(--light-color);
  text-decoration: none; border-radius: 15px; transition: all 0.3s ease;
  font-size: 1.1rem; font-weight: 500; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3);
  transform: translateX(8px);
}

/* Feature Cards — numbered badge style */
.feature-card {
  transition: all 0.4s ease;
  background: #ffffff;
  border-radius: 18px;
  padding: 2.2rem 2rem 2rem 5rem;
  box-shadow: 0 5px 20px rgba(75, 20, 97, 0.1);
  position: relative;
  border: 1px solid var(--border-color);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(75, 20, 97, 0.18);
  border-color: var(--accent-color);
}
.feature-icon {
  position: absolute;
  top: 50%; left: 1.4rem;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(75, 20, 97, 0.28);
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: translateY(-50%) scale(1.12); }

/* Testimonials */
.testimonial {
  transition: all 0.4s ease;
  background: #ffffff;
  padding: 2.2rem;
  margin: 1.2rem 0;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(75, 20, 97, 0.09);
  border-top: 4px solid var(--primary-color);
  position: relative;
}
.testimonial::after {
  content: '❝';
  position: absolute;
  bottom: 14px; right: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.08;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(75, 20, 97, 0.16); }

/* FAQ */
.faq-item {
  border: 2px solid var(--border-color); transition: all 0.4s ease;
  background: white; padding: 2rem; margin: 1.2rem 0;
  border-radius: 16px; box-shadow: 0 3px 14px rgba(75, 20, 97, 0.07);
  position: relative;
}
.faq-item::before {
  content: ''; position: absolute; left: -2px; top: 50%;
  transform: translateY(-50%); width: 4px; height: 0;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  transition: height 0.4s ease;
}
.faq-item:hover::before { height: 72%; }
.faq-item:hover { transform: translateX(8px); box-shadow: 0 10px 28px rgba(75, 20, 97, 0.14); border-color: var(--primary-color); }

/* Inputs */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px; padding: 1.2rem;
  background-color: white; color: var(--text-color); font-size: 1rem;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(75, 20, 97, 0.1); transform: translateY(-2px);
}
input:hover, textarea:hover { border-color: var(--secondary-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  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; text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.9rem; text-decoration: none;
  display: inline-block; text-align: center;
}
button::before, .btn::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; background: rgba(255,255,255,0.18); border-radius: 50%;
  transform: translate(-50%,-50%); transition: width 0.4s, height 0.4s;
}
button:hover::before, .btn:hover::before { width: 300%; height: 300%; }
button:hover, .btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 24px rgba(75, 20, 97, 0.38); }

/* Base */
html { scroll-behavior: smooth; }
h1, h2, h3 { text-shadow: 0 1px 3px rgba(0,0,0,0.07); font-family: var(--main-font); font-weight: 700; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.75; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 60%, var(--secondary-color) 100%); }

/* Stats */
.stat-card {
  background: white; border-radius: 18px; padding: 2.2rem 1.5rem; text-align: center;
  box-shadow: 0 5px 18px rgba(75, 20, 97, 0.1); transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}
.stat-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 12px 32px rgba(75, 20, 97, 0.18); }
.stat-number {
  font-size: 3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-family: var(--main-font);
}
.stat-text { font-size: 1rem; color: var(--text-color); margin-top: 0.4rem; }

/* Trust */
.trust-indicator {
  background: white; padding: 1.5rem; border-radius: 12px;
  box-shadow: 0 3px 12px rgba(75, 20, 97, 0.08); transition: all 0.3s ease;
}
.trust-indicator:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(75, 20, 97, 0.14); }

/* Header / Footer */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: var(--light-color); padding: 1.2rem 0; position: relative;
  z-index: 1000; box-shadow: 0 3px 15px rgba(30, 7, 48, 0.38);
}
footer { background: var(--dark-color); color: var(--light-color); padding: 4rem 0 1rem; }
header img[alt="logo"], footer img[alt="logo"] { filter: brightness(0) invert(1); }

/* Pattern — soft hexagon-like dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(75, 20, 97, 0.05) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 10%, rgba(155, 107, 181, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(75, 20, 97, 0.06) 0%, transparent 50%);
  background-size: 28px 28px, cover, cover;
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus { outline: 3px solid var(--highlight-color); outline-offset: 3px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-color); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.8s ease-out; }

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .container { padding: 0 1.2rem; }
  .feature-card { padding: 2rem 1.5rem 1.8rem 4.5rem; }
  .testimonial, .faq-item, .stat-card, .trust-indicator { padding: 1.8rem; }
  #contact .grid { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .feature-card { padding: 1.6rem 1.2rem 1.6rem 5.5rem; }
  .stat-number { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
@media (prefers-contrast: high) {
  :root { --text-color: #000; --background-color: #fff; --border-color: #000; --primary-color: #000; --secondary-color: #000; }
}