:root {
  --primary:        #C6F432;
  --primary-soft:   #E4F88A;
  --primary-deep:   #8DB81C;
  --dark:           #0F1729;
  --dark-2:         #1B2540;
  --bg:             #FAFAF5;
  --bg-2:           #FFFFFF;
  --ink:            #0F1729;
  --ink-soft:       #4A5468;
  --line:           #E8E6DC;
  --on-primary:     #0F1729;
  --display: 'Fredoka One', 'Fredoka', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(250,250,245,0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(15,23,41,0.06);
  transition: background .3s, border-color .3s;
}
.nav.on-dark {
  background: rgba(15,23,41,0.55);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav.on-dark a, .nav.on-dark .logo-text { color: white; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content:''; position:absolute; left:0; right:0; bottom:0;
  height:3px; background:var(--primary); border-radius:2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--primary); color: var(--on-primary) !important;
  padding: 10px 20px !important; border-radius: 100px;
  font-weight: 800; transition: transform .2s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; background:currentColor; margin:5px 0; transition: transform .2s; }

/* LOGO */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.logo-mark .pill {
  width: 100%; height: 14px; border-radius: 100px;
  background: var(--dark);
  display: flex; gap: 2px; padding: 2px;
}
.logo-mark .pill i { flex: 1; border-radius: 4px; background: rgba(255,255,255,0.15); }
.logo-mark .pill i:nth-child(1),
.logo-mark .pill i:nth-child(2),
.logo-mark .pill i:nth-child(3) { background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.logo-text { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 800; font-size: 17px;
  padding: 14px 28px; border-radius: 100px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* LAYOUT */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; overflow: hidden; }
@media (max-width: 700px) { section { padding: 70px 0; } }

.eyebrow {
  display: inline-block;
  font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary-deep); padding: 6px 14px; border-radius: 100px;
  background: var(--primary-soft); margin-bottom: 18px;
}
.title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 18px; text-wrap: balance;
}
.title .accent {
  background: linear-gradient(180deg, transparent 60%, var(--primary) 60%);
  padding: 0 4px;
}
.lead { font-size: 19px; color: var(--ink-soft); line-height: 1.65; max-width: 60ch; }

/* HERO */
.hero {
  background: var(--dark); color: white;
  padding: 140px 0 120px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 50%),
    radial-gradient(circle at 85% 70%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } }

.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  line-height: 1; letter-spacing: -0.015em; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 65%, var(--primary) 65%);
  padding: 0 6px;
}
.hero-lead { font-size: 20px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 480px; }
@media (max-width: 900px) { .hero-lead { margin-left: auto; margin-right: auto; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-visual {
  position: relative; aspect-ratio: 4/5;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
}

/* Stats row */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px; padding-bottom: 40px;
}
@media (max-width: 700px) { .hero-stats { grid-template-columns: 1fr; gap: 20px; } }
.stat { text-align: center; padding: 10px 16px; }
.stat-num {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem); color: var(--primary);
  line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: 14px; color: rgba(255,255,255,0.6); }

/* WHAT */
.what { background: var(--bg-2); }
.what-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; gap: 40px; } }
.what p { color: var(--ink-soft); margin-bottom: 16px; font-size: 17px; }

.video-wrap {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,23,41,0.15);
  aspect-ratio: 16/9; background: var(--dark);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* HOW */
.how { background: var(--bg); }
.how-grid { display: grid; grid-template-columns: 1.4fr auto; gap: 60px; align-items: start; margin-top: 50px; }
@media (max-width: 980px) { .how-grid { grid-template-columns: 1fr; } }

.steps { display: grid; gap: 18px; }
.step {
  background: var(--bg-2); border-radius: 28px;
  padding: 28px 32px; border: 1px solid var(--line);
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; align-items: start;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,41,0.06); border-color: var(--primary); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 400; font-size: 28px;
}
.step h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin-bottom: 6px; line-height: 1.25; }
.step p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

.how-video { width: 280px; aspect-ratio: 9/16; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,41,0.18); }
.how-video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 980px) { .how-video { width: 100%; max-width: 320px; margin: 0 auto; } }

/* LEDS */
.leds { background: var(--dark); color: white; }
.leds .eyebrow { background: rgba(255,255,255,0.1); color: var(--primary); }
.leds .title { color: white; }
.leds .lead { color: rgba(255,255,255,0.7); }

.led-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 50px; }
@media (max-width: 900px) { .led-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .led-grid { grid-template-columns: 1fr; } }

.led-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 26px; padding: 28px 24px;
  transition: transform .25s, border-color .25s;
}
.led-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.led-card-icon {
  width: 48px; height: 48px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; background: rgba(255,255,255,0.06);
}
.led-card-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }
.led-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-bottom: 8px; }
.led-card p { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* TEAM */
.team { background: var(--bg); }
.team-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 50px; max-width: 760px; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  background: var(--bg-2); border-radius: 32px;
  padding: 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
}
.member-photo { aspect-ratio: 1/1; border-radius: 24px; background: var(--primary-soft); overflow: hidden; }
.member h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin-bottom: 4px; }
.member-role {
  display: inline-block; font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary-deep); margin-bottom: 8px;
}
.member p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

/* SCHOOLS */
.schools { background: var(--bg-2); }
.school-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 50px; }
@media (max-width: 900px) { .school-grid { grid-template-columns: 1fr; } }

.school-card {
  background: var(--bg); border-radius: 28px;
  padding: 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.school-card .quote-mark {
  font-family: var(--display); font-size: 4.5rem; line-height: 1;
  color: var(--primary); margin-bottom: -10px; margin-top: -10px;
}
.school-card blockquote { font-size: 16.5px; line-height: 1.6; color: var(--ink); flex-grow: 1; margin-bottom: 24px; }
.school-meta { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.school-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 17px; flex-shrink: 0;
}
.school-info strong { display: block; font-size: 15px; }
.school-info span { font-size: 13.5px; color: var(--ink-soft); }

.pilot-cta {
  margin-top: 50px; background: var(--dark); color: white;
  border-radius: 32px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
@media (max-width: 700px) { .pilot-cta { flex-direction: column; text-align: center; } }
.pilot-cta h3 { font-family: var(--display); font-size: 1.7rem; line-height: 1.15; margin-bottom: 6px; }
.pilot-cta p { color: rgba(255,255,255,0.7); font-size: 15px; }

/* PRICING */
.pricing { background: var(--bg); }
.pricing-wrap {
  margin-top: 40px; background: var(--bg-2);
  border-radius: 36px; padding: 56px; border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  box-shadow: 0 20px 60px rgba(15,23,41,0.06);
}
@media (max-width: 800px) { .pricing-wrap { grid-template-columns: 1fr; padding: 40px 28px; gap: 30px; text-align: center; } }
.pricing-side h3 { font-family: var(--display); font-size: 1.9rem; margin-bottom: 12px; }
.pricing-side ul { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 800px) { .pricing-side ul { text-align: left; max-width: 320px; margin: 20px auto 0; } }
.pricing-side li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-soft); }
.pricing-side li::before {
  content:''; width:18px; height:18px; flex-shrink:0; margin-top:3px;
  border-radius:50%; background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1729' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70%; background-repeat: no-repeat; background-position: center;
}

/* FAQ */
.faq { background: var(--bg-2); }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-item {
  background: var(--bg); border-radius: 22px;
  border: 1px solid var(--line); overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  padding: 22px 26px; font-weight: 800; font-size: 16.5px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; user-select: none;
}
.faq-chevron {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s; color: var(--primary-deep); font-size: 14px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; padding: 0 26px;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.65;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 26px 22px; }

/* CONTACT */
.contact { background: var(--dark); color: white; text-align: center; }
.contact .eyebrow { background: rgba(255,255,255,0.1); color: var(--primary); }
.contact .title { color: white; }
.contact .lead { color: rgba(255,255,255,0.7); margin-left: auto; margin-right: auto; }
.contact-cards { margin-top: 50px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.contact-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px; padding: 32px 40px;
  text-decoration: none; color: white;
  transition: transform .25s, background .25s, border-color .25s;
  min-width: 240px; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(198,244,50,0.08); border-color: var(--primary); }
.contact-card svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 2; }
.contact-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.contact-card p { color: rgba(255,255,255,0.7); font-size: 14.5px; }

/* FOOTER */
footer { background: var(--dark-2); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 14.5px; line-height: 1.65; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: var(--display); color: white; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; color: inherit; font-size: 14.5px; }
.footer-col a:hover { color: var(--primary); }
.footer-col address { font-style: normal; font-size: 14.5px; line-height: 1.7; }
.footer-bottom {
  margin-top: 24px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-bottom .logo-text { color: white; font-size: 18px; }
.footer-bottom-right { display: flex; gap: 18px; }
.footer-bottom-right a { text-decoration: none; }
.footer-bottom-right a:hover { color: var(--primary); }

.footer-logos {
  display: flex; align-items: center; gap: 20px;
}
.footer-logos img {
  height: 36px; width: auto;
}
.footer-logos img:hover { opacity: 1; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 480px; margin: 0 auto;
  background: var(--dark); color: white;
  border-radius: 28px; padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 90; display: none; border: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner.show { display: block; animation: slideUp .4s ease both; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner h4 { font-family: var(--display); font-size: 1.15rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.5; }
.cookie-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  flex: 1; padding: 10px 16px; border-radius: 100px; border: 0;
  font-weight: 800; font-size: 14px; cursor: pointer; font-family: var(--body);
}
.cookie-banner .accept { background: var(--primary); color: var(--on-primary); }
.cookie-banner .info {
  background: transparent; color: white;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}

/* MOBILE NAV */
@media (max-width: 820px) {
  .nav { padding: 12px 20px; }
  .nav-toggle { display: block; color: inherit; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg-2); flex-direction: column;
    padding: 24px; gap: 16px; border-bottom: 1px solid var(--line);
    transform: translateY(-100%); opacity: 0;
    transition: transform .3s, opacity .3s; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; }
}

.nav-links a.active::after { transform: scaleX(1); }

/* WAVES */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; z-index: 1; }
.wave svg { display: block; width: 100%; height: 70px; }
@media (max-width: 700px) { .wave svg { height: 50px; } }
.wave-to-bg path    { fill: var(--bg); }
.wave-to-white path { fill: var(--bg-2); }
.wave-to-dark path  { fill: var(--dark); }
.has-wave { padding-bottom: 170px !important; }
@media (max-width: 700px) { .has-wave { padding-bottom: 120px !important; } }

/* FADE-IN */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* PULSE */
@keyframes pulse { 50% { opacity: .4; } }
.led-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: pulse 1.4s ease-in-out infinite; }

.contact {
  padding-bottom: 0 !important;
}
.contact .container {
  padding-bottom: 80px;
}
footer {
  margin-top: 0;
  padding-top: 80px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 120px);
}