@import url("fonts.css");

:root {
  --bg: #0A0A0B;
  --bg-elev: #131315;
  --card: #161618;
  --card-2: #1C1C1F;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #F6F5F2;
  --muted: rgba(246, 245, 242, .70);
  --faint: rgba(246, 245, 242, .46);
  --brand: #FCC241;
  --brand-hi: #FFD978;
  --brand-lo: #F5A623;
  --ink: #18120A;
  --ok: #4ADE80;
  --err: #FF7A66;
  --radius: 18px;
  --font-head: "Unbounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -140px, rgba(252, 194, 65, .16), transparent 62%),
    radial-gradient(700px 500px at 110% 40%, rgba(245, 166, 35, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: 620px; margin: 0 auto; padding: 0 20px; }

/* ── шапка ── */
.top { padding: 22px 0 6px; display: flex; justify-content: center; }
.top img { height: 26px; width: auto; }

/* ── заглавия ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(252, 194, 65, .10); border: 1px solid rgba(252, 194, 65, .28);
  color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; }
h1 { font-size: clamp(25px, 6.6vw, 38px); }
h2 { font-size: clamp(21px, 5.2vw, 28px); }
h3 { font-size: 18px; }
.hl { color: var(--brand); }
.lead-text { color: var(--muted); font-size: 17px; }
.center { text-align: center; }

.hero { padding: 26px 0 8px; text-align: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { margin-bottom: 14px; }

/* ── бутони ── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 16px 22px;
  border-radius: 14px; text-decoration: none; text-align: center;
  font-family: var(--font-body); font-size: 18px; font-weight: 800; letter-spacing: .01em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--brand-hi) 0%, var(--brand) 45%, var(--brand-lo) 100%);
  box-shadow: 0 10px 28px rgba(252, 194, 65, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.04); box-shadow: 0 14px 34px rgba(252, 194, 65, .36), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .arrow { width: 18px; height: 18px; flex: none; }
.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(252, 194, 65, .28), 0 0 0 0 rgba(252, 194, 65, .35), inset 0 1px 0 rgba(255, 255, 255, .55); }
  50% { box-shadow: 0 10px 28px rgba(252, 194, 65, .28), 0 0 0 10px rgba(252, 194, 65, 0), inset 0 1px 0 rgba(255, 255, 255, .55); }
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px;
  border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; font-size: 15px;
}
.micro { margin-top: 10px; font-size: 13px; color: var(--faint); text-align: center; }
.micro b { color: var(--muted); font-weight: 700; }

/* ── корица на видеото (опт-ин) ── */
.thumb {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 22px 0 18px;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background:
    radial-gradient(420px 220px at 30% 20%, rgba(252, 194, 65, .22), transparent 70%),
    linear-gradient(140deg, #1E1E22 0%, #111113 60%, #0C0C0D 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  background-size: cover; background-position: center;
}
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); }
.thumb-logo { position: absolute; top: 14px; left: 16px; height: 16px; width: auto; opacity: .9; z-index: 1; }
.thumb-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--brand); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(252, 194, 65, .18), 0 12px 30px rgba(0, 0, 0, .5);
  transition: transform .2s ease;
}
.thumb:hover .thumb-play { transform: translate(-50%, -50%) scale(1.06); }
.thumb-play svg { width: 28px; height: 28px; margin-left: 5px; }
.thumb-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px;
  background: rgba(10, 10, 11, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line); font-size: 13px; font-weight: 700;
}
.thumb-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 8px #FF4D4D; }

/* ── какво ще научиш ── */
.card {
  background: linear-gradient(180deg, var(--card) 0%, #121214 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
}
.points { list-style: none; display: grid; gap: 16px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.points li b { color: var(--text); font-weight: 700; }
.points .ico {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(252, 194, 65, .12); border: 1px solid rgba(252, 194, 65, .3);
}
.points .ico svg { width: 16px; height: 16px; }
.section { padding: 26px 0; }
.section-title { text-align: center; margin-bottom: 18px; }
.kicker { display: block; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; text-align: center; }

.proof-strip { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.proof-strip span {
  font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}

/* ── форма (лист отдолу) ── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 61; width: 100%; max-width: 520px;
  transform: translate(-50%, 104%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: 24px 24px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); max-height: 92vh; overflow-y: auto;
}
.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .sheet { transform: translate(-50%, 0); }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 14px; }
.sheet-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); }
.sheet-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.sheet h2 { font-size: 21px; margin: 4px 30px 6px 0; }
.sheet .sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
@media (min-width: 640px) {
  .sheet { top: 50%; bottom: auto; border-radius: 24px; border-bottom: 1px solid var(--line-strong); transform: translate(-50%, -46%) scale(.98); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .28s ease; padding: 22px 26px 26px; }
  .sheet-open .sheet { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
  .sheet-grip { display: none; }
}
body.sheet-open { overflow: hidden; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.input, .phone {
  width: 100%; height: 56px; border-radius: 13px; background: #0D0D0F; border: 1px solid var(--line-strong);
  color: var(--text); font: inherit; font-size: 17px; transition: border-color .15s, box-shadow .15s;
}
.input { padding: 0 16px; }
.input::placeholder, .phone input::placeholder { color: rgba(246, 245, 242, .30); }
.input:focus, .phone:focus-within { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(252, 194, 65, .16); }
.phone { display: flex; align-items: center; overflow: hidden; }
.phone .cc { display: flex; align-items: center; gap: 7px; padding: 0 12px 0 14px; height: 100%; border-right: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 16px; flex: none; }
.phone input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 17px; letter-spacing: .02em; }
.phone input:focus { outline: none; }
.field.has-error .input, .field.has-error .phone { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 122, 102, .14); }
.err { display: none; margin-top: 6px; font-size: 13px; color: var(--err); font-weight: 600; }
.has-error .err { display: block; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 4px 0 18px; font-size: 13px; color: var(--faint); line-height: 1.45; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-strong); background: #0D0D0F; display: grid; place-items: center; cursor: pointer; margin-top: 1px; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--muted); }
.check.has-error input { border-color: var(--err); }
.lock { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 13px; color: var(--faint); }
.lock svg { width: 14px; height: 14px; }

/* ── стъпки ── */
.steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 4px; font-size: 13px; font-weight: 700; color: var(--faint); }
.steps .s { display: inline-flex; align-items: center; gap: 7px; }
.steps .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--line-strong); }
.steps .s.on { color: var(--text); }
.steps .s.on .n { background: var(--brand); color: var(--ink); border-color: var(--brand); }
.steps .s.done .n { background: rgba(74, 222, 128, .15); color: var(--ok); border-color: rgba(74, 222, 128, .4); }
.steps .bar { width: 26px; height: 2px; background: var(--line-strong); border-radius: 2px; }

/* ── видео плейър ── */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 20px 0 14px;
  border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.player.vertical { aspect-ratio: 9 / 16; max-width: 400px; margin-left: auto; margin-right: auto; }
.player video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.player .ov {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .28); cursor: pointer;
  transition: opacity .2s ease;
}
.player.playing .ov { opacity: 0; pointer-events: none; }
.player .ov .thumb-play { position: static; transform: none; }
.player .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); }
.player .bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s linear; }
.player .mute {
  position: absolute; right: 12px; top: 12px; z-index: 2; display: none; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 11px; background: rgba(10, 10, 11, .78); border: 1px solid var(--line); font-size: 13px; font-weight: 800;
}
.player.muted .mute { display: inline-flex; }
.player .mute svg { width: 16px; height: 16px; }
.player.is-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #121214 0 14px, #151518 14px 28px); }
.player .empty-msg { text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
.player .empty-msg b { display: block; font-family: var(--font-head); color: var(--brand); font-size: 15px; margin-bottom: 6px; }

/* ── отзиви ── */
.reviews { display: grid; gap: 14px; }
@media (min-width: 560px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-lo)); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 15px; flex: none; overflow: hidden; }
.review .av img { width: 100%; height: 100%; object-fit: cover; }
.review .name { font-weight: 800; font-size: 15px; }
.review .meta { font-size: 13px; color: var(--faint); }
.review p { color: var(--muted); font-size: 15px; }
.review .stars { color: var(--brand); letter-spacing: 2px; font-size: 13px; margin-bottom: 6px; }
.placeholder-note { font-size: 12px; color: var(--brand); opacity: .8; margin-top: 8px; }

/* ── лепкав бутон ── */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, .92) 35%, #0A0A0B 100%);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky.show { transform: translateY(0); }
.sticky .btn { max-width: 580px; margin: 0 auto; min-height: 56px; font-size: 17px; }

/* ── въпроси ── */
.quiz { margin-top: 18px; }
.quiz .qnum { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; margin-bottom: 8px; }
.quiz h2 { font-size: 21px; margin-bottom: 16px; }
.dots { display: flex; gap: 6px; margin-bottom: 18px; }
.dots i { flex: 1; height: 4px; border-radius: 3px; background: var(--line-strong); transition: background .2s; }
.dots i.on { background: var(--brand); }
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 17px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-strong);
  font-size: 16px; font-weight: 700; transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover { border-color: rgba(252, 194, 65, .5); }
.opt:active { transform: scale(.99); }
.opt .r { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.opt.sel { border-color: var(--brand); background: rgba(252, 194, 65, .08); }
.opt.sel .r { border-color: var(--brand); }
.opt.sel .r::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.back { margin-top: 14px; font-size: 14px; color: var(--faint); font-weight: 700; padding: 8px 0; }
.back:hover { color: var(--text); }
.hidden { display: none !important; }

.cal-box { margin-top: 18px; border-radius: 16px; overflow: hidden; background: #fff; height: 1000px; transition: height .2s ease; }
.cal-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.cal-loading { display: grid; place-items: center; height: 300px; color: #555; font-size: 14px; }

/* ── благодаря ── */
.ok-badge { width: 74px; height: 74px; border-radius: 50%; margin: 6px auto 18px; display: grid; place-items: center; background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4); }
.ok-badge svg { width: 34px; height: 34px; }
.todo { list-style: none; display: grid; gap: 12px; counter-reset: t; }
.todo li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.todo li::before { counter-increment: t; content: counter(t); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(252, 194, 65, .12); border: 1px solid rgba(252, 194, 65, .3); color: var(--brand); font-weight: 800; font-family: var(--font-head); font-size: 14px; }
.todo li b { color: var(--text); }

/* ── бисквитки ── */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; max-width: 520px; margin: 0 auto;
  background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: 18px; padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); display: none;
}
.cookie.show { display: block; animation: rise .3s ease; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cookie p a { color: var(--text); }
.cookie .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie .btn { min-height: 46px; font-size: 15px; padding: 10px; }
.cookie .btn-ghost { min-height: 46px; width: 100%; }

/* ── долу ── */
.foot { padding: 34px 0 calc(110px + env(safe-area-inset-bottom)); text-align: center; color: var(--faint); font-size: 12px; line-height: 1.6; }
.foot a { color: var(--muted); }
.foot .links { margin-bottom: 10px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── тест лента (само локално) ── */
.test-ribbon { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #FF4D4D; color: #fff; font-size: 12px; font-weight: 800; text-align: center; padding: 5px 10px; letter-spacing: .02em; }

/* ── политика ── */
.doc { padding: 10px 0 20px; }
.doc h1 { font-size: 26px; margin: 18px 0 8px; }
.doc h2 { font-size: 17px; margin: 26px 0 8px; color: var(--brand); }
.doc p, .doc li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.doc ul { padding-left: 20px; }
.doc .fill { background: rgba(252, 194, 65, .14); color: var(--brand); padding: 0 4px; border-radius: 4px; }

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