:root {
  --bg: #09090b;
  --surface: #121216;
  --surface-2: #18181d;
  --surface-3: #202027;
  --text: #f4f3f6;
  --text-2: #b0adb8;
  --text-3: #77727f;
  --border: #2b2931;
  --brand: #ef2b2d;
  --brand-2: #ff595b;
  --purple: #8b7cf7;
  --green: #b6f36d;
  --orange: #ffbd73;
  --max: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background:
    radial-gradient(circle at 82% 5%, rgba(239, 43, 45, .14), transparent 31rem),
    radial-gradient(circle at 10% 40%, rgba(139, 124, 247, .09), transparent 28rem);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(139, 124, 247, .75); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; position: relative; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 9, 11, .8);
  border-bottom: 1px solid rgba(43, 41, 49, .78);
  backdrop-filter: blur(18px);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; width: 150px; }
.brand img { display: block; width: 100%; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 13px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links .lang { color: var(--text); border: 1px solid var(--border); margin-left: 4px; }

.hero { min-height: 760px; padding: 104px 0 88px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ff9a9b; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 18px rgba(239, 43, 45, .8); }
h1 { max-width: 720px; font-size: clamp(48px, 6vw, 82px); line-height: 1.02; letter-spacing: -.055em; margin: 24px 0 28px; }
.hero-copy { max-width: 650px; color: var(--text-2); font-size: clamp(18px, 2vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 800; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 14px 36px rgba(239, 43, 45, .22); }
.button-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.button-secondary { background: var(--surface); color: var(--text); }
.button-secondary:hover { border-color: #55515d; }
.trust-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.trust-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); font-size: 12px; font-weight: 700; background: rgba(18, 18, 22, .76); }
.trust-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.product-stage { position: relative; min-width: 0; }
.product-stage::before { content: ""; position: absolute; inset: 10% 5%; background: rgba(239, 43, 45, .18); filter: blur(70px); border-radius: 50%; }
.extension-window { position: relative; width: min(100%, 500px); margin-left: auto; background: #f7f7f8; color: #151418; border: 1px solid rgba(255, 255, 255, .2); border-radius: 24px; overflow: hidden; box-shadow: 0 35px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05); transform: rotate(1.5deg); }
.window-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; background: #fff; border-bottom: 1px solid #e8e7ea; }
.app-brand { display: flex; align-items: center; gap: 12px; }
.ef-mark { width: 52px; height: 52px; flex: 0 0 auto; display: block; object-fit: contain; filter: drop-shadow(0 7px 9px rgba(239, 43, 45, .22)); }
.app-brand b { display: block; font-size: 18px; line-height: 1.2; }
.app-brand small { color: #7c7782; }
.local-badge { padding: 7px 10px; color: #44711b; background: #e9f7dd; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-bottom: 1px solid #e8e7ea; padding: 0 13px; }
.tab { appearance: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 5px 12px; background: transparent; text-align: center; color: #7a7580; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.tab:hover { color: #3a373e; background: #faf9fa; }
.tab.active, .tab[aria-selected="true"] { color: #161519; border-color: var(--brand); }
.tab:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--brand); outline-offset: -3px; border-radius: 7px 7px 0 0; }
.demo-panel[hidden] { display: none; }
.demo-panel.is-entering { animation: demo-panel-in .24s var(--ease); }
.window-body { display: grid; align-content: start; gap: 12px; min-height: 256px; padding: 17px; }
.tool-card { background: #fff; border: 1px solid #e6e4e8; border-radius: 14px; padding: 15px; }
.tool-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.tool-card-head b { font-size: 14px; }
.status { padding: 5px 8px; border-radius: 7px; color: #2d5d20; background: #dcf4d7; font-size: 10px; font-weight: 850; }
.status.wait { color: #7f4b14; background: #ffead3; }
.course-title { font-size: 14px; font-weight: 850; line-height: 1.35; }
.course-meta { margin-top: 6px; color: #74707a; font-size: 11px; display: flex; flex-wrap: wrap; gap: 5px 14px; }
.wait-warning { margin-top: 10px; padding: 9px 10px; color: #804313; background: #fff6e9; border: 1px solid #f8d7ad; border-radius: 9px; font-size: 10px; font-weight: 750; }
.window-footer { display: flex; justify-content: space-between; align-items: center; padding: 0 17px 17px; color: #74707a; font-size: 10px; }
.window-button { color: #fff; background: #17161a; padding: 8px 11px; border-radius: 9px; font-weight: 800; }
.demo-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 1px 1px; }
.demo-intro b { display: block; font-size: 13px; line-height: 1.35; }
.demo-intro p { margin-top: 3px; color: #7b7680; font-size: 10px; line-height: 1.45; }
.demo-count { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #5d2d2d; background: #ffe7e8; font-size: 9px; font-weight: 850; }
.teacher-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.teacher-chip { padding: 6px 9px; border: 1px solid #ddd9df; border-radius: 999px; color: #6d6872; background: #fff; font-size: 9px; font-weight: 750; }
.teacher-chip.selected { color: #fff; border-color: #232126; background: #232126; }
.booking-card { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: center; background: #fff; border: 1px solid #e6e4e8; border-radius: 12px; padding: 13px; }
.booking-card b { font-size: 12px; line-height: 1.35; }
.booking-card .course-meta { grid-column: 1 / -1; margin-top: 0; }
.teacher-match { color: #356319; background: #e6f6dc; border-radius: 6px; padding: 4px 7px; font-size: 8px; font-weight: 850; }
.lesson-summary { padding: 14px; color: #fff; background: #26212e; border-radius: 14px; }
.lesson-summary small { display: block; color: #bcb3ca; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.lesson-summary b { display: block; margin-top: 5px; font-size: 14px; line-height: 1.35; }
.lesson-summary p { margin-top: 5px; color: #d3ccd9; font-size: 10px; }
.lesson-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lesson-tag { padding: 5px 8px; color: #554a65; background: #eee9f5; border-radius: 7px; font-size: 9px; font-weight: 800; }
.transcript { overflow: hidden; background: #fff; border: 1px solid #e6e4e8; border-radius: 12px; }
.transcript-row { display: grid; grid-template-columns: 40px 1fr; gap: 9px; padding: 10px 12px; color: #4c4850; font-size: 9px; line-height: 1.45; }
.transcript-row + .transcript-row { border-top: 1px solid #efedf0; }
.timestamp { color: #8b7cf7; font-weight: 850; font-variant-numeric: tabular-nums; }
@keyframes demo-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.section { padding: 104px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 730px; margin-bottom: 48px; }
.kicker { color: #ff8e90; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: -.04em; margin: 15px 0 18px; }
.section-head p { color: var(--text-2); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 295px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.feature-card::after { content: attr(data-number); position: absolute; right: 22px; top: 16px; color: #2f2c35; font-size: 60px; font-weight: 900; line-height: 1; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--brand); font-size: 20px; font-weight: 900; margin-bottom: 60px; }
.feature-card:nth-child(2) .feature-icon { background: var(--orange); color: #30200f; }
.feature-card:nth-child(3) .feature-icon { background: var(--purple); }
.feature-card h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; }

.spotlight { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.spotlight-copy h2 { margin-top: 16px; }
.spotlight-copy p { color: var(--text-2); font-size: 18px; }
.spotlight-points { display: grid; gap: 12px; margin-top: 26px; }
.spotlight-point { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.spotlight-point b { color: var(--text); }
.check { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #17120c; background: var(--orange); font-size: 12px; font-weight: 900; margin-top: 2px; }
.calendar-demo { padding: 24px; border: 1px solid rgba(255, 189, 115, .28); background: #15120f; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.calendar-date { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; color: #f8eee4; font-weight: 850; }
.calendar-date span { color: var(--text-3); font-size: 12px; }
.calendar-event { padding: 20px; background: #1d1915; border: 1px solid #49392a; border-left: 4px solid var(--orange); border-radius: 14px; }
.event-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.event-top h3 { font-size: 18px; line-height: 1.35; }
.event-state { flex: 0 0 auto; padding: 6px 9px; color: #1f1409; background: var(--orange); border-radius: 7px; font-size: 11px; font-weight: 900; }
.event-meta { margin-top: 12px; color: #cbbbaa; font-size: 13px; }
.event-alert { margin-top: 16px; padding: 12px; color: #ffd9ae; background: rgba(255, 189, 115, .09); border-radius: 9px; font-size: 12px; font-weight: 750; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.step { min-height: 220px; padding: 30px; background: var(--surface); }
.step span { color: var(--brand-2); font-size: 12px; font-weight: 900; }
.step h3 { margin: 38px 0 10px; font-size: 20px; }
.step p { color: var(--text-2); font-size: 14px; }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.privacy-card { padding: 32px; border: 1px solid var(--border); background: var(--surface); border-radius: 20px; }
.privacy-card h3 { font-size: 23px; margin-bottom: 12px; }
.privacy-card p { color: var(--text-2); }
.privacy-list { margin-top: 22px; display: grid; gap: 11px; list-style: none; color: var(--text-2); font-size: 14px; }
.privacy-list li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 9px; }
.privacy-card.notice { background: #151316; }
.privacy-card.notice .notice-label { color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.faq-intro p { color: var(--text-2); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { color: var(--text-2); font-size: 15px; }

.final-cta { margin: 104px 0; padding: clamp(38px, 6vw, 72px); text-align: center; border: 1px solid rgba(239, 43, 45, .3); border-radius: 28px; background: linear-gradient(145deg, #1b1113, #121216 58%); }
.final-cta h2 { max-width: 740px; margin: 0 auto 16px; }
.final-cta p { max-width: 620px; margin: 0 auto; color: var(--text-2); font-size: 18px; }
.final-cta .hero-actions { justify-content: center; }
.beta-note { margin-top: 17px; color: var(--text-3); font-size: 12px; }
footer { padding: 28px 0 45px; border-top: 1px solid var(--border); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--text-3); font-size: 12px; }
.footer-row a { color: var(--text-2); text-decoration: none; }
.footer-row a:hover { color: var(--text); }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 58px; padding-top: 78px; }
  .product-stage { max-width: 620px; }
  .extension-window { margin: 0; transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .spotlight { grid-template-columns: 1fr; gap: 44px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav { min-height: 66px; }
  .brand { width: 128px; }
  .nav-links a:not(.lang) { display: none; }
  .hero { min-height: auto; padding: 68px 0 78px; }
  h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-copy, .section-head p, .spotlight-copy p, .final-cta p { font-size: 16px; }
  .extension-window { border-radius: 18px; }
  .window-top { padding: 15px; }
  .ef-mark { width: 44px; height: 44px; border-radius: 11px; font-size: 21px; }
  .app-brand b { font-size: 15px; }
  .local-badge { display: none; }
  .tab { font-size: 11px; }
  .window-footer { align-items: flex-end; gap: 12px; }
  .section { padding: 78px 0; }
  .feature-grid, .steps, .privacy { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .steps { gap: 0; }
  .step { min-height: 190px; }
  .event-top { flex-direction: column; gap: 10px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

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