/* ============================================================
   OK FACTURE — дизайн-система (из макетов Claude Design)
   Sora · #060B16 · cyan #22D3EE · aurora · HUD · glass cards
   ============================================================ */
:root {
  --bg: #060B16; --bg2: #0A1222; --bg3: #04080F;
  --ink: #F2F7FF; --ink2: #EAF1FB; --body: #A9B6CC; --body2: #B7C3D8; --dim: #7E93B3; --dim2: #44556E;
  --cyan: #22D3EE; --cyan-ink: #04222B; --cyan-soft: #9BE8F5;
  --line: rgba(148,184,255,0.13); --line2: rgba(148,184,255,0.10);
  --glass: rgba(148,184,255,0.05);
  --glow: rgba(34,211,238,0.45);
}
html, body { margin: 0; padding: 0; background: var(--bg); }
body { font-family: 'Sora', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; color: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
input, select, button, textarea { font-family: inherit; }
a { color: var(--cyan); }

@keyframes okfAurora { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,30px) scale(1.15); } 100% { transform: translate(0,0) scale(1); } }
@keyframes okfAurora2 { 0% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-50px,-20px) scale(1); } 100% { transform: translate(0,0) scale(1.1); } }
@keyframes okfStream { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: .95; } 85% { opacity: .7; } 100% { transform: translate(150px,-10px); opacity: 0; } }
@keyframes okfBlink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---- NAV ---- */
.okf-nav { position: sticky; top: 0; z-index: 50; background: rgba(6,11,22,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line2); }
.okf-nav-in { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.okf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.okf-logo b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--cyan); color: var(--cyan-ink); font-weight: 800; font-size: 14px; letter-spacing: -.5px; box-shadow: 0 0 18px var(--glow); }
.okf-logo span { color: var(--ink2); font-weight: 700; font-size: 18px; letter-spacing: -.3px; }
.okf-nav nav { display: flex; align-items: center; gap: 26px; }
.okf-nav nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.okf-nav nav a:hover { color: var(--ink2); }
@media (max-width: 720px) { .okf-nav nav { display: none; } }

/* ---- BUTTONS ---- */
.btn-cy { display: inline-block; background: var(--cyan); color: var(--cyan-ink); font-weight: 800; font-size: 18px; text-decoration: none; padding: 17px 34px; border-radius: 12px; border: none; cursor: pointer; box-shadow: 0 0 34px var(--glow); transition: transform .15s, box-shadow .15s; text-align: center; }
.btn-cy:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(34,211,238,.65); }
.btn-cy.sm { font-size: 15px; padding: 11px 20px; border-radius: 10px; box-shadow: 0 0 20px rgba(34,211,238,.35); }
.btn-ghost { display: inline-block; color: var(--body2); font-weight: 600; font-size: 16px; text-decoration: none; padding: 16px 22px; border-radius: 12px; border: 1px solid rgba(148,184,255,.22); transition: border-color .15s, color .15s; cursor: pointer; background: none; text-align: center; }
.btn-ghost:hover { border-color: rgba(34,211,238,.5); color: var(--ink2); }

/* ---- DECOR ---- */
.aurora, .aurora2 { position: absolute; pointer-events: none; filter: blur(70px); }
.aurora { top: -180px; left: 50%; margin-left: -420px; width: 840px; height: 520px; background: radial-gradient(closest-side, rgba(34,211,238,.16), transparent 70%); animation: okfAurora 14s ease-in-out infinite; }
.aurora2 { top: 60px; left: 50%; margin-left: -120px; width: 700px; height: 420px; background: radial-gradient(closest-side, rgba(99,102,241,.13), transparent 70%); filter: blur(80px); animation: okfAurora2 18s ease-in-out infinite; }
.dotgrid { position: absolute; inset: 0; background-image: radial-gradient(rgba(165,200,255,.07) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%); pointer-events: none; }

/* ---- BADGE / KICKER ---- */
.okf-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.07); color: var(--cyan-soft); font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.okf-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,.9); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; margin-bottom: 14px; }
h1.okf-h1 { margin: 0; color: var(--ink); font-size: clamp(32px, 5.2vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -1.2px; text-wrap: balance; }
h2.okf-h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.8px; }

/* ---- HUD COUNTDOWN ---- */
.hud { position: relative; padding: 26px clamp(20px,4vw,46px) 22px; border-radius: 16px; background: rgba(13,22,40,.72); border: 1px solid rgba(34,211,238,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 60px rgba(34,211,238,.10), inset 0 0 40px rgba(34,211,238,.04); }
.hud i { position: absolute; width: 16px; height: 16px; }
.hud i:nth-child(1) { top: -1px; left: -1px; border-top: 2px solid rgba(34,211,238,.9); border-left: 2px solid rgba(34,211,238,.9); border-top-left-radius: 10px; }
.hud i:nth-child(2) { top: -1px; right: -1px; border-top: 2px solid rgba(34,211,238,.9); border-right: 2px solid rgba(34,211,238,.9); border-top-right-radius: 10px; }
.hud i:nth-child(3) { bottom: -1px; left: -1px; border-bottom: 2px solid rgba(34,211,238,.9); border-left: 2px solid rgba(34,211,238,.9); border-bottom-left-radius: 10px; }
.hud i:nth-child(4) { bottom: -1px; right: -1px; border-bottom: 2px solid rgba(34,211,238,.9); border-right: 2px solid rgba(34,211,238,.9); border-bottom-right-radius: 10px; }
.hud-label { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; color: var(--dim); text-transform: uppercase; margin-bottom: 12px; text-align: center; }
.hud-row { display: flex; align-items: baseline; justify-content: center; gap: clamp(6px,1.5vw,14px); font-variant-numeric: tabular-nums; }
.hud-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hud-cell b { font-size: clamp(40px,7vw,72px); font-weight: 700; color: #ECFBFF; text-shadow: 0 0 22px rgba(34,211,238,.75), 0 0 60px rgba(34,211,238,.35); letter-spacing: 1px; }
.hud-cell.last b { color: #6FE3F5; text-shadow: 0 0 22px rgba(34,211,238,.9), 0 0 60px rgba(34,211,238,.45); }
.hud-cell span { font-size: 11px; letter-spacing: 2px; color: var(--dim); text-transform: uppercase; }
.hud-sep { font-size: clamp(28px,5vw,52px); color: rgba(34,211,238,.85); font-weight: 700; animation: okfBlink 1s steps(1) infinite; transform: translateY(-12px); }

/* ---- GLASS CARDS ---- */
.gcard { padding: 30px 28px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .15s, box-shadow .15s, transform .15s; }
.gcard:hover { border-color: rgba(34,211,238,.4); box-shadow: 0 14px 44px rgba(34,211,238,.10); transform: translateY(-3px); }
.gcard h3 { margin: 10px 0 8px; color: var(--ink2); font-size: 19px; font-weight: 700; line-height: 1.3; }
.gcard p { margin: 0; font-size: 15.5px; color: var(--body); }
.gcard .big { font-size: 46px; font-weight: 800; color: var(--cyan); text-shadow: 0 0 24px rgba(34,211,238,.5); letter-spacing: -1px; }
.gcard.featured { background: rgba(34,211,238,.06); border-color: rgba(34,211,238,.45); box-shadow: 0 0 50px rgba(34,211,238,.12); }
.stepnum { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(34,211,238,.5); color: var(--cyan); font-weight: 800; font-size: 19px; box-shadow: 0 0 22px rgba(34,211,238,.25); margin-bottom: 18px; }
.stepnum.fill { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 0 26px rgba(34,211,238,.5); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].on { opacity: 1; transform: none; }

/* ---- SECTIONS ---- */
.sect { padding: 90px 24px; }
.sect.alt { position: relative; background: var(--bg2); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.wrap-lg { max-width: 1100px; margin: 0 auto; position: relative; }
.wrap-md { max-width: 980px; margin: 0 auto; position: relative; }
.wrap-sm { max-width: 760px; margin: 0 auto; position: relative; }
.sect-head { text-align: center; margin-bottom: 54px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* ---- CHECK LIST (pricing) ---- */
.cklist { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--body2); }
.cklist li { display: flex; gap: 10px; }
.cklist li::before { content: "✓"; color: var(--cyan); font-weight: 800; }

/* ---- LIGHT PANEL (form / guarantee) ---- */
.light-card { background: #F7FAFE; border-radius: 18px; padding: 34px 30px; box-shadow: 0 24px 70px rgba(0,0,0,.45); color: #0B1626; }
.light-card label { font-size: 15px; font-weight: 700; color: #16233A; }
.light-card input, .light-card select { font-size: 17px; padding: 14px 16px; border-radius: 10px; border: 1.5px solid #C9D6E6; background: #fff; color: #0B1626; outline: none; width: 100%; }
.light-card input:focus, .light-card select:focus { border-color: #0E7490; box-shadow: 0 0 0 3px rgba(14,116,144,.15); }
.btn-deep { background: #0E7490; color: #fff; font-weight: 800; font-size: 18px; padding: 17px 24px; border-radius: 12px; border: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn-deep:hover { background: #0B5E75; transform: translateY(-1px); }
.guarantee-band { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 26px 30px; border-radius: 16px; background: #EFF6FD; color: #1A2638; }
.guarantee-band .gmark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #0E7490; color: #fff; font-size: 26px; font-weight: 800; flex-shrink: 0; }

/* ---- FAQ ---- */
.faq-item { border-radius: 14px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.faq-item > button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 20px 22px; color: var(--ink2); font-size: 17px; font-weight: 600; line-height: 1.4; }
.faq-item > button:hover { color: var(--cyan); }
.faq-item .ic { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(34,211,238,.4); color: var(--cyan); font-size: 17px; font-weight: 700; }
.faq-item .ans { margin: 0; padding: 0 22px 22px; font-size: 16px; color: var(--body); line-height: 1.65; display: none; }
.faq-item.open .ans { display: block; }

/* ---- FOOTER ---- */
.okf-foot { padding: 56px 24px 70px; background: var(--bg3); border-top: 1px solid var(--line2); }
.okf-foot .in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.okf-foot a { color: #8B9BB4; text-decoration: none; font-size: 14.5px; }
.okf-foot a:hover { color: var(--cyan); }
.okf-foot .small { font-size: 13px; color: var(--dim2); line-height: 1.6; margin: 0; }
.okf-foot .coltitle { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--dim2); text-transform: uppercase; }

/* ---- LEGAL ---- */
.legal-main { max-width: 720px; margin: 0 auto; padding: 64px 24px 100px; font-size: 16.5px; line-height: 1.7; }
.legal-main h1 { margin: 0 0 36px; color: var(--ink); font-size: clamp(28px,4vw,40px); font-weight: 800; letter-spacing: -1px; }
.legal-main h2 { margin: 36px 0 12px; color: var(--ink2); font-size: 21px; font-weight: 700; }
.legal-main p, .legal-main li { margin: 0 0 10px; }
.legal-box { padding: 20px 24px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); color: #C3D2E6; }

/* ---- QUIZ / COURSE shared ---- */
.opt-btn { display: block; width: 100%; text-align: left; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; color: var(--ink2); font-size: 15.5px; cursor: pointer; transition: border-color .15s, transform .1s, box-shadow .15s; }
.opt-btn:hover { border-color: rgba(34,211,238,.5); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(34,211,238,.08); }
.prog-track { height: 6px; background: rgba(148,184,255,.1); border-radius: 999px; overflow: hidden; }
.prog-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #6FE3F5); width: 0%; transition: width .3s; box-shadow: 0 0 12px rgba(34,211,238,.7); }
