@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #3b82f6; /* light blue */
  --primary-600: #2563eb;
  --primary-light: #dbeafe;
  --accent: #fbbf24; /* bright yellow */
  --accent-600: #f59e0b;
  --accent-light: #fef3c7;
  --success: #10b981;
  --success-light: #d1fae5;
  --text: #1f2937; /* gray-800 */
  --muted: #6b7280; /* gray-500 */
  --bg: #ffffff; /* pure white */
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 16px 36px -14px rgba(15, 23, 42, 0.18);
  --shadow-xl: 0 22px 48px -16px rgba(15, 23, 42, 0.22);
  --radius: 16px;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-600));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-600));
  --gradient-success: linear-gradient(135deg, var(--success), #059669);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

/* Animations (one-shot reveals only — no looping attention-grabbers) */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in { animation: fadeInUp 0.6s ease-out; }
.animate-slide-in { animation: slideInRight 0.6s ease-out; }
.animate-pulse { animation: none; }
.animate-float { animation: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 80px; /* space for sticky CTA on mobile */
  line-height: 1.6;
}

@media (max-width: 880px) {
  body {
    padding-bottom: 100px;
  }
}

.container { width: min(1100px, 92%); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.2rem; }
.brand .logo { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-600)); display:flex; align-items:center; justify-content:center; color: var(--white); font-weight:700; box-shadow: var(--shadow); }
.menu { display: flex; gap: 22px; align-items: center; }
.menu a { text-decoration: none; color: var(--text); font-weight: 500; }
.menu a:hover { color: var(--primary); }
.cta { background: var(--gradient-accent); color: var(--text); padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.cta:hover::before { left: 100%; }
.cta:hover { background: var(--accent-600); transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.cta.large { padding: 18px 36px; font-size: 1.2rem; }
.cta.success { background: var(--gradient-success); color: var(--white); }
.cta.pulse { animation: none; }

.menu-toggle { display:none; background:none; border:none; font-size: 1.8rem; cursor: pointer; color: var(--text); }

@media (max-width: 880px) {
  .menu { display:none; position: absolute; top: 70px; right: 4%; background: var(--white); padding: 20px; border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; min-width: 200px; }
  .menu.show { display:flex; }
  .menu-toggle { display:block; }
  .menu a { padding: 8px 0; width: 100%; }
}

/* Hero */
.hero { 
  padding: 100px 0 80px; 
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1200&h=800&fit=crop&crop=faces') center/cover;
  border-radius: 20px 0 0 20px;
  opacity: 0.95;
  box-shadow: var(--shadow-xl);
}
.hero .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: flex-start; position: relative; z-index: 2; padding-top: 20px; }
.hero h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.5rem); margin: 0 0 20px; color: var(--primary); font-weight: 700; line-height: 1.2; }
.hero p { color: var(--text); margin: 0 0 28px; font-size: 1.1rem; line-height: 1.6; max-width: 62ch; }
.hero .badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.badge { background: var(--white); padding: 10px 16px; border-radius: 25px; box-shadow: var(--shadow); color: var(--primary); font-weight: 600; border: 2px solid var(--primary-light); transition: all 0.3s ease; }
.badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero .cta-container { margin-top: 36px; margin-bottom: 20px; }
.hero .card { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--primary-light); transition: all 0.3s ease; margin-top: 20px; }
.hero .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

@media (max-width: 880px) { 
  .hero .grid { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero { background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%); }
}

/* Sections */
.section { padding: 80px 0; }
.section h2 { margin: 0 0 16px; color: var(--primary); font-size: 2.2rem; font-weight: 700; }
.section p.lead { color: var(--muted); margin-top: 0; font-size: 1.1rem; line-height: 1.6; max-width: 65ch; }

/* Image sections */
.image-section {
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0;
}
.image-section img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.image-content {
  padding: 40px;
  text-align: center;
}
.image-content h3 {
  color: var(--primary);
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 600;
}
.image-content p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); padding: 24px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--bg-light); transition: all 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 0; color: var(--primary); }

/* Program Cards */
.program-card { position: relative; overflow: hidden; }
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.program-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.program-card:hover .icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.program-card .price {
  background: var(--success-light);
  color: var(--success);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 12px;
}
.program-card .duration {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.program-card .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--accent-600);
  font-size: 0.9rem;
  font-weight: 600;
}
.program-card:nth-child(1) .icon { background: var(--primary-light); color: var(--primary); }
.program-card:nth-child(2) .icon { background: var(--accent-light); color: var(--accent-600); }
.program-card:nth-child(3) .icon { background: #dcfce7; color: #16a34a; }
.program-card:nth-child(4) .icon { background: #fef3c7; color: var(--accent-600); }
.program-card:nth-child(5) .icon { background: #fce7f3; color: #ec4899; }
.program-card:nth-child(6) .icon { background: #e0e7ff; color: #6366f1; }

/* Stats section */
.stats {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 80px 0;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.stats .grid-3 {
  text-align: center;
  position: relative;
  z-index: 2;
}
.stats .stat {
  padding: 30px 20px;
  transition: transform 0.3s ease;
}
.stats .stat:hover {
  transform: translateY(-5px);
}
.stats .number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.stats .label {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
}
.stats .description {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 8px;
  line-height: 1.4;
}

/* Forms */
form { display: grid; gap: 14px; }
.input { display: grid; gap: 8px; }
.input label { font-weight: 600; color: var(--text); }
.input input, .input select, .input textarea { padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; font: inherit; }
.input input:focus, .input select:focus, .input textarea:focus { outline: 2px solid rgba(59,130,246,.25); border-color: var(--primary); }
.button { background: var(--primary-600); color: var(--white); padding: 12px 16px; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--primary-700, #1d4ed8); }
.helper { color: var(--muted); font-size: .9rem; }
.success { background: #e8f5e9; color: #2e7d32; padding: 12px 14px; border-radius: 10px; }
.error { background: #ffebee; color: #c62828; padding: 12px 14px; border-radius: 10px; }

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}
.testimonial-slide .quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonial-slide .author {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.testimonial-slide .program {
  color: var(--muted);
  font-size: 0.9rem;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Sticky Mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 40;
  display: none;
  border-top: 1px solid var(--bg-light);
}
.sticky-cta .cta {
  width: 100%;
  text-align: center;
  margin: 0;
}
/* Success Stories & Trust Signals */
.success-banner {
  background: var(--gradient-success);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
  font-weight: 600;
  animation: slideInRight 0.6s ease-out;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 25px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq {
  background: var(--bg-light);
  padding: 80px 0;
  margin: 80px 0;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Urgency Elements */
.urgency-banner {
  background: #ea580c;
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  margin: 20px 0;
  font-weight: 600;
}

.countdown {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 8px;
}

/* Progress Indicators */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 4px;
  transition: width 1s ease-out;
}

@media (max-width: 880px) {
  .sticky-cta { display: block; }
  .image-section {
    margin: 20px 0;
  }
  .image-content {
    padding: 24px;
  }
  .stats {
    padding: 40px 0;
    margin: 40px 0;
  }
  .trust-badges {
    gap: 15px;
  }
  .trust-badge {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Footer */
.footer { background: var(--primary-600); color: #dbeafe; padding: 40px 0; margin-top: 60px; }
.footer a { color: var(--accent); text-decoration: none; }
.footer .columns { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer small { color: #bfdbfe; }
@media (max-width: 880px) { .footer .columns { grid-template-columns: 1fr; } }
