:root {
  --bg: #05090F;
  --panel: #101A2E;
  --text: #F3F7FD;
  --text-2: #DCE5F2;
  --muted: #A7B6CE;
  --dim: #7F92B2;
  --line: rgba(143, 168, 210, 0.14);
  --blue: #5B9DFF;
  --blue-soft: #8DBBFF;
  --orange: #F97A1A;
  --green: #2EE08A;
  --amber: #FFC24D;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 12% -8%, rgba(91,157,255,0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 4%, rgba(249,122,26,0.08), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--blue-soft); text-decoration: none; }
a:hover { color: #B9D5FF; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 14px;
  font: 600 16px/1 Inter, sans-serif; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--blue); color: var(--bg); }
.btn-primary:hover { color: var(--bg); box-shadow: 0 14px 34px -12px rgba(91,157,255,.8); }
.btn-ghost { border: 1px solid rgba(143,168,210,.3); color: var(--text); background: rgba(16,26,46,.5); }
.btn-ghost:hover { color: #fff; border-color: rgba(143,168,210,.6); }
.btn-wa { background: #25D366; color: #04120A; }
.btn-wa:hover { color: #04120A; box-shadow: 0 14px 34px -12px rgba(37,211,102,.7); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5,9,15,0.6);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}
.nav.scrolled { background: rgba(5,9,15,0.85); border-bottom-color: rgba(143,168,210,0.10); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand span { font: 800 20px Manrope, sans-serif; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; gap: 28px; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 2px; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16,26,46,.6); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* Glows */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.glow-blue { width: 420px; height: 420px; background: rgba(91,157,255,0.22); }
.glow-orange { width: 340px; height: 340px; background: rgba(249,122,26,0.16); }

/* Hero */
.hero { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 520px; min-width: 0; position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(91,157,255,0.35); background: rgba(91,157,255,0.10); color: #B9D5FF; font-size: 14px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-in-out infinite; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; font-weight: 800; margin-top: 22px; }
.accent {
  background: linear-gradient(90deg, #5B9DFF, #8DBBFF 40%, #5B9DFF 80%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--dim); font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232EE08A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* Phone */
.hero-phone { flex: 1 1 340px; display: flex; justify-content: center; position: relative; }
.phone {
  position: relative; z-index: 1; width: min(330px, 100%); border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #22355C, #0B1322);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(143,168,210,.18);
}
.screen { border-radius: 32px; background: #070D19; padding: 20px 18px 18px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim); }
.timer { display: flex; align-items: center; gap: 6px; color: var(--amber); }
.stem { font-size: 13.5px; line-height: 1.55; color: var(--text-2); margin-top: 14px; }
.opts { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.opt {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; align-items: center;
  width: 100%; min-height: 42px; text-align: left; border-radius: 12px; padding: 10px 12px; cursor: pointer;
  border: 1px solid rgba(143,168,210,.16); background: transparent; color: #C2CEE1; font: 13px/1.35 Inter, sans-serif;
  transition: border-color .2s ease, background-color .2s ease;
}
.opt:hover { border-color: rgba(91,157,255,.5); }
.opt i { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(143,168,210,.08); transition: width 1s var(--ease); }
.opt span, .opt b { position: relative; }
.opt b { font-weight: 400; color: var(--dim); opacity: 0; transition: opacity .3s ease .4s; }
.opts.answered .opt b { opacity: 1; }
.opts.answered .opt { cursor: default; }
.opt.right { border-color: rgba(46,224,138,.55); background: rgba(46,224,138,.06); color: #9BEFC6; }
.opt.right i { background: rgba(46,224,138,.16); }
.opt.wrong { border-color: rgba(255,92,116,.55); color: #FFB3BF; }
.opt.wrong i { background: rgba(255,92,116,.12); }
.explain {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.5;
  background: rgba(46,224,138,.10); border: 1px solid rgba(46,224,138,.28); color: #9BEFC6;
  animation: rise .5s var(--ease) both;
}
.explain.bad { background: rgba(255,92,116,.08); border-color: rgba(255,92,116,.3); color: #FFB3BF; }
.hint { margin-top: 12px; text-align: center; font-size: 12px; color: var(--dim); }

/* Marquee */
.marquee-band { border-top: 1px solid rgba(143,168,210,.08); border-bottom: 1px solid rgba(143,168,210,.08); padding: 20px 0; overflow: hidden; background: rgba(10,16,28,.6); }
.marquee { display: flex; gap: 12px; width: max-content; animation: slide 45s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.chip { white-space: nowrap; border: 1px solid rgba(143,168,210,.18); background: rgba(16,26,46,.6); color: #C2CEE1; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; }

/* Cards */
.card {
  background: linear-gradient(180deg, rgba(23,36,64,.75), rgba(16,26,46,.75));
  border: 1px solid var(--line); border-radius: 22px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91,157,255,.4); box-shadow: 0 24px 50px -28px rgba(91,157,255,.55); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding-top: 72px; }
.stat { padding: 28px 26px; }
.stat-num { font: 800 46px Manrope, sans-serif; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 24px; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.orange { color: var(--orange); }
.eyebrow.blue { color: var(--blue); }
.section h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 800; margin-top: 14px; }
.section-head p, .showcase-copy p, .split-copy p { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 16px; }

.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 48px; }
.feature { padding: 30px 28px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.feature:hover .icon { transform: rotate(-6deg) scale(1.08); }
.icon svg, .dl-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; font-weight: 700; margin-top: 22px; }
.feature p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-top: 10px; }

/* Showcase */
.showcase { padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.showcase:hover { transform: none; }
.showcase-copy, .showcase-bars { flex: 1 1 380px; min-width: 0; }
.showcase h2 { font-size: clamp(28px, 3.4vw, 42px); }
.bullets { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.bullets li { display: flex; gap: 12px; }
.showcase-bars { display: flex; flex-direction: column; gap: 16px; }
.sys-row { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; color: var(--text-2); }
.sys-row b { font-weight: 500; }
.track { height: 10px; border-radius: 999px; background: rgba(143,168,210,.12); overflow: hidden; }
.track.thin { height: 4px; margin-top: 10px; }
.track i { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 1.4s var(--ease); }
.in .track i, .track i.go { width: var(--w); }
.caption { color: var(--dim); font-size: 13px; margin-top: 6px; }

/* Lectures */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 42px); }
.split-copy { flex: 1 1 420px; min-width: 0; }
.split-copy .btn { margin-top: 28px; }
.lecture-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lec { padding: 16px; border-radius: 18px; }
.thumb { height: 96px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.play { width: 44px; height: 44px; border-radius: 50%; background: rgba(5,9,15,.55); position: relative; transition: transform .25s var(--ease); }
.play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--text); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.lec:hover .play { transform: scale(1.12); }
.lec-title { font-weight: 600; font-size: 14.5px; margin-top: 12px; }
.lec-meta { color: var(--dim); font-size: 12.5px; margin-top: 4px; }

/* Offline */
.offline {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, #10203F 0%, #0B1322 60%); border: 1px solid rgba(91,157,255,.22);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
}
.offline-copy { flex: 1 1 440px; min-width: 0; position: relative; z-index: 1; }
.offline-copy p { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 16px; max-width: 560px; }
.offline h2 { font-size: clamp(28px, 3.4vw, 44px); margin-top: 18px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: rgba(249,122,26,.14); color: #FFB27A; font-size: 13px; font-weight: 600; }
.dl-list { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; width: 100%; }
.dl { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(5,9,15,.55); border: 1px solid var(--line); }
.dl-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.dl-icon svg { width: 18px; height: 18px; stroke-width: 2.2; }
.dl-name { font-weight: 600; font-size: 15px; }
.dl-meta { color: var(--dim); font-size: 13px; margin-top: 2px; }

/* Plans */
.grid-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 48px; }
.plan { padding: 30px 26px; position: relative; display: flex; flex-direction: column; }
.plan.popular { border-color: rgba(91,157,255,.5); box-shadow: 0 30px 60px -36px rgba(91,157,255,.7); }
.badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px; background: var(--orange); color: #1A0B00; font-size: 12px; font-weight: 700; }
.plan-name { color: var(--muted); font-size: 15px; font-weight: 600; }
.plan-price { font: 800 36px Manrope, sans-serif; margin-top: 10px; letter-spacing: -0.02em; }
.plan-note { color: var(--dim); font-size: 14px; margin-top: 4px; }
.plan .btn { margin-top: 24px; }
.plans-foot { text-align: center; color: var(--dim); font-size: 14px; margin-top: 22px; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; color: var(--text); font: 600 18px/1.4 Manrope, Inter, sans-serif;
  text-align: left; padding: 22px 0; cursor: pointer; min-height: 44px;
}
.faq-q:hover { color: var(--blue-soft); }
.plus { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(143,168,210,.25); position: relative; transition: transform .3s var(--ease), background-color .3s ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue-soft); border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
.faq-item.open .plus { transform: rotate(45deg); background: rgba(91,157,255,.12); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > p { overflow: hidden; color: var(--muted); font-size: 16px; line-height: 1.65; padding-right: 48px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 24px; }

/* Final */
.final {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(44px, 6vw, 80px) 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(91,157,255,.28), transparent 70%), #0E1830;
  border: 1px solid rgba(91,157,255,.25); margin-bottom: 76px;
}
.final h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; margin-top: 0; }
.final p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 16px auto 0; max-width: 560px; }

/* Footer */
.footer { border-top: 1px solid rgba(143,168,210,.10); }
.footer-row { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--dim); font-size: 14px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #25D366; color: #04120A;
  box-shadow: 0 16px 36px -12px rgba(37,211,102,.7);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: #04120A; transform: scale(1.06); }

/* Motion */
.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
.float { animation: float 6s ease-in-out infinite; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-4px); }
.showcase.reveal.in:hover { transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .track i { width: var(--w); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46,224,138,.5); } 50% { box-shadow: 0 0 0 8px rgba(46,224,138,0); } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: 200% center; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .float, .dot, .marquee, .accent { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .track i { transition: none; }
}

/* Mobile */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-right .btn { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0;
    padding: 8px 24px 24px; background: rgba(5,9,15,.97); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(143,168,210,.08); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 16px; }
  .hero { padding-top: 48px; gap: 48px; }
  .section { padding-top: 72px; }
  .stats { padding-top: 56px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 22px 18px; }
  .stat-num { font-size: 34px; }
  .grid-features { grid-template-columns: 1fr; }
  .faq-a > p { padding-right: 0; }
}
@media (max-width: 420px) {
  .lecture-grid { gap: 10px; }
  .lec { padding: 12px; }
  .thumb { height: 76px; }
  .cta-row .btn { width: 100%; }
}
