* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; overflow-x: hidden; }

:root {
  --orange: #FF6B35;
  --purple: #7B2FF7;
  --teal: #00D4AA;
  --pink: #FF3CAC;
  --yellow: #FFD93D;
  --blue: #4361EE;
  --gradient-main: linear-gradient(135deg, #FF6B35, #FF3CAC, #7B2FF7);
  --gradient-cool: linear-gradient(135deg, #4361EE, #00D4AA);
  --gradient-warm: linear-gradient(135deg, #FF6B35, #FFD93D);
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
  padding: 14px 40px;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta-btn {
  padding: 10px 24px;
  background: var(--gradient-main);
  color: white !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { opacity: 0.9; }

/* Hero with scrolled state for links */
.nav.at-hero .nav-links a { color: white; }
.nav.at-hero .nav-logo { -webkit-text-fill-color: white; background: none; }
.nav.scrolled .nav-links a { color: #1a1a2e; }
.nav.scrolled .nav-logo {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}
.hero-video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 30%, #1a1a2e 60%, #0d2137 100%);
}
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float 6s ease-in-out infinite;
}
.particle:nth-child(1) { width: 6px; height: 6px; background: var(--orange); top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 4px; height: 4px; background: var(--teal); top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { width: 8px; height: 8px; background: var(--pink); top: 40%; left: 60%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; background: var(--yellow); top: 80%; left: 30%; animation-delay: 3s; }
.particle:nth-child(5) { width: 7px; height: 7px; background: var(--purple); top: 15%; left: 70%; animation-delay: 4s; }
.particle:nth-child(6) { width: 4px; height: 4px; background: var(--blue); top: 70%; left: 15%; animation-delay: 1.5s; }
.particle:nth-child(7) { width: 6px; height: 6px; background: var(--orange); top: 35%; left: 90%; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 5px; height: 5px; background: var(--teal); top: 85%; left: 65%; animation-delay: 3.5s; }

@keyframes particle-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  25% { transform: translateY(-40px) translateX(20px); opacity: 1; }
  50% { transform: translateY(-20px) translateX(-10px); opacity: 0.4; }
  75% { transform: translateY(-60px) translateX(15px); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.05);
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 550px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 16px 40px;
  background: var(--gradient-main);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(123, 47, 247, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(123, 47, 247, 0.4);
}
.btn-secondary {
  padding: 16px 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Hero side visual */
.hero-visual {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.05);
}
.hero-circle:nth-child(1) { width: 400px; height: 400px; top: 50px; left: 50px; animation: rotate1 20s linear infinite; }
.hero-circle:nth-child(2) { width: 300px; height: 300px; top: 100px; left: 100px; animation: rotate1 15s linear infinite reverse; }
.hero-circle:nth-child(3) { width: 200px; height: 200px; top: 150px; left: 150px; animation: rotate1 10s linear infinite; }
.hero-circle .dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: -6px;
  left: 50%;
}
.hero-circle:nth-child(1) .dot { background: var(--orange); }
.hero-circle:nth-child(2) .dot { background: var(--teal); }
.hero-circle:nth-child(3) .dot { background: var(--pink); }
@keyframes rotate1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* === SECTIONS === */
section { padding: 120px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 60px;
}

/* === HOW WE TEACH === */
.teach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.teach-card {
  border-radius: 24px;
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s;
  cursor: pointer;
}
.teach-card:hover { transform: translateY(-8px); }
.teach-card:nth-child(1) { background: linear-gradient(180deg, #FFE5D6 0%, #FFC2A0 100%); }
.teach-card:nth-child(2) { background: linear-gradient(180deg, #D6F5FF 0%, #A0E5FF 100%); }
.teach-card:nth-child(3) { background: linear-gradient(180deg, #EDE5FF 0%, #C8A0FF 100%); }
.teach-card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}
.teach-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a2e;
}
.teach-card p {
  font-size: 0.95rem;
  color: rgba(26,26,46,0.7);
  line-height: 1.5;
}

/* === AGE SLIDER === */
.age-slider-section {
  background: #f8f9ff;
}
.age-slider-wrapper {
  background: white;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}
.slider-control {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.slider-control label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.age-range {
  flex: 1;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  outline: none;
}
.age-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-main);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(123, 47, 247, 0.3);
}
.age-display {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  min-width: 80px;
  text-align: center;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.age-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.age-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.age-info p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.age-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.age-subjects .tag {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}
.tag-orange { background: #FFF0E6; color: var(--orange); }
.tag-purple { background: #F0E6FF; color: var(--purple); }
.tag-teal { background: #E6FFF5; color: #00A080; }
.tag-pink { background: #FFE6F0; color: #CC3088; }
.tag-blue { background: #E6EEFF; color: var(--blue); }
.tag-yellow { background: #FFF8E6; color: #CC8800; }

.age-visual {
  height: 300px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  transition: all 0.5s;
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.team-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: all 0.3s;
  cursor: pointer;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}
.team-card:nth-child(1) .team-avatar { background: var(--gradient-main); }
.team-card:nth-child(2) .team-avatar { background: var(--gradient-cool); }
.team-card:nth-child(3) .team-avatar { background: var(--gradient-warm); }
.team-card:nth-child(4) .team-avatar { background: linear-gradient(135deg, #7B2FF7, #FF3CAC); }
.team-card:nth-child(5) .team-avatar { background: linear-gradient(135deg, #FFD93D, #FF6B35); }
.team-card:nth-child(6) .team-avatar { background: linear-gradient(135deg, #00D4AA, #4361EE); }
.team-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-info .team-role {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
}
.team-info .team-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.team-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* === SATURDAY TIMELINE === */
.timeline-section {
  background: #1a1a2e;
  color: white;
}
.timeline-section .section-label {
  background: linear-gradient(135deg, #FFD93D, #FF6B35);
  -webkit-background-clip: text;
}
.timeline-section .section-title { color: white; }
.timeline-section .section-desc { color: rgba(255,255,255,0.5); }

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--purple), var(--teal));
  border-radius: 2px;
}
.tl-item {
  position: relative;
  text-align: center;
  flex: 1;
  padding-top: 60px;
}
.tl-item:nth-child(even) {
  padding-top: 0;
  padding-bottom: 60px;
}
.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.tl-item:nth-child(1) .tl-dot { background: var(--orange); box-shadow: 0 0 20px rgba(255,107,53,0.5); }
.tl-item:nth-child(2) .tl-dot { background: var(--yellow); box-shadow: 0 0 20px rgba(255,217,61,0.5); }
.tl-item:nth-child(3) .tl-dot { background: var(--pink); box-shadow: 0 0 20px rgba(255,60,172,0.5); }
.tl-item:nth-child(4) .tl-dot { background: var(--purple); box-shadow: 0 0 20px rgba(123,47,247,0.5); }
.tl-item:nth-child(5) .tl-dot { background: var(--teal); box-shadow: 0 0 20px rgba(0,212,170,0.5); }
.tl-item:nth-child(6) .tl-dot { background: var(--blue); box-shadow: 0 0 20px rgba(67,97,238,0.5); }

.tl-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.tl-icon { font-size: 1.8rem; margin-bottom: 4px; }
.tl-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

/* === LAWS === */
.laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.law-tile {
  border-radius: 20px;
  padding: 28px 24px;
  color: white;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.law-tile:hover { transform: translateY(-6px) scale(1.02); }
.law-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.05);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.law-tile:hover::before { opacity: 1; }
.law-tile:nth-child(1) { background: linear-gradient(135deg, #FF6B35, #FF9A5C); }
.law-tile:nth-child(2) { background: linear-gradient(135deg, #7B2FF7, #A855F7); }
.law-tile:nth-child(3) { background: linear-gradient(135deg, #00D4AA, #34EFC7); }
.law-tile:nth-child(4) { background: linear-gradient(135deg, #FF3CAC, #FF6FD8); }
.law-tile:nth-child(5) { background: linear-gradient(135deg, #FFD93D, #FFE97A); color: #1a1a2e; }
.law-tile:nth-child(6) { background: linear-gradient(135deg, #4361EE, #6B8AFF); }
.law-tile:nth-child(7) { background: linear-gradient(135deg, #FF6B35, #FF3CAC); }
.law-tile:nth-child(8) { background: linear-gradient(135deg, #00D4AA, #4361EE); }
.law-tile:nth-child(9) { background: linear-gradient(135deg, #7B2FF7, #FF6B35); }
.law-tile:nth-child(10) { background: linear-gradient(135deg, #FF3CAC, #FFD93D); color: #1a1a2e; }

.law-tile-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}
.law-tile h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.law-tile p {
  font-size: 0.82rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* === CTA === */
.cta-section {
  background: linear-gradient(135deg, #f8f9ff, #fff);
}
.cta-card {
  background: white;
  border-radius: 32px;
  padding: 64px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}
.cta-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-card > p {
  color: #6b7280;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Wizard Steps */
.wizard {
  max-width: 500px;
  margin: 0 auto;
}
.wizard-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.wizard-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background 0.3s;
}
.wizard-dot.active { background: var(--gradient-main); }
.wizard-step {
  display: none;
}
.wizard-step.active { display: block; }
.age-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.age-btn {
  padding: 20px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.3s;
}
.age-btn:hover, .age-btn.selected {
  border-color: var(--purple);
  background: #f0e6ff;
  color: var(--purple);
}
.wizard input {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
  transition: border-color 0.3s;
}
.wizard input:focus { outline: none; border-color: var(--purple); }
.wizard .btn-primary { width: 100%; text-align: center; display: block; margin-top: 8px; }

.wizard-success {
  text-align: center;
  padding: 40px 0;
}
.wizard-success .check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4AA, #34EFC7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}
.wizard-success h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.wizard-success p { color: #6b7280; }

/* === FOOTER === */
footer {
  background: #1a1a2e;
  color: white;
  padding: 80px 40px 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 80px 20px; }
  .hero-content { padding: 0 24px; }
  .hero-visual { display: none; }
  .teach-grid { grid-template-columns: 1fr; }
  .age-content { grid-template-columns: 1fr; }
  .timeline { flex-wrap: wrap; gap: 20px; }
  .timeline::before { display: none; }
  .tl-item { padding: 0 !important; flex-basis: 30%; }
  .tl-dot { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .age-slider-wrapper { padding: 24px; }
  .cta-card { padding: 32px 20px; }
  .age-buttons { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}
