/* Продажбена страница — тъмна, бърза, mobile-first (повечето трафик идва от TikTok/Instagram в телефона). */
:root {
  --bg: #0c0b10;
  --bg-2: #121118;
  --card: #17161d;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f4f2ee;
  --muted: #a3a0aa;
  --accent: #ff6a2b;
  --accent-2: #ffb347;
  --accent-soft: rgba(255, 106, 43, 0.13);
  --ok: #3ddc84;
  --no: #ff5d6c;
  --radius: 18px;
  --maxw: 1080px;
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1100px 600px at 70% -10%, rgba(255, 106, 43, 0.16), transparent 60%), var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--body);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 6.4vw, 54px); font-weight: 700; }
h2 { font-size: clamp(24px, 4.4vw, 38px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.center { text-align: center; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: #d9d6de; }
.hl { color: var(--accent); }

/* Горна лента */
.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(12, 11, 16, 0.72); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { font-family: var(--head); font-weight: 700; font-size: 16px; text-decoration: none; }
.topbar .btn { width: auto; padding: 9px 16px; font-size: 14px; margin: 0; border-radius: 10px; }

/* Бутони */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  border: 0; border-radius: 16px; padding: 18px 26px; margin: 6px 0 10px; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, #ff7a3d, var(--accent)); color: #fff; font: 800 18px/1.2 var(--body);
  box-shadow: 0 10px 30px rgba(255, 106, 43, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(255, 106, 43, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn .price-tag { font-weight: 600; opacity: 0.9; }
@media (min-width: 600px) { .btn { width: auto; } }
.micro { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.micro span::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* Hero */
.hero { padding-top: 36px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } .hero { padding-top: 72px; } }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-badges span { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }

/* Мокъп на продукта (CSS корица, докато няма истинска) */
.mock { perspective: 1200px; display: grid; place-items: center; padding: 10px 0 20px; }
.cover {
  width: min(300px, 74vw); aspect-ratio: 3 / 4; border-radius: 10px 18px 18px 10px; padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #2b1a14 0%, #1a1420 45%, #0f0e14 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -18px 24px 60px rgba(0, 0, 0, 0.55), inset 6px 0 0 rgba(255, 255, 255, 0.06), 0 0 80px rgba(255, 106, 43, 0.18);
  transform: rotateY(-14deg) rotateX(4deg); animation: float 6s ease-in-out infinite;
}
.cover .c-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); font-weight: 800; }
.cover .c-title { font-family: var(--head); font-size: 28px; line-height: 1.08; font-weight: 700; }
.cover .c-title em { font-style: normal; color: var(--accent); }
.cover .c-foot { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
@keyframes float { 50% { transform: rotateY(-10deg) rotateX(2deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cover { animation: none; } html { scroll-behavior: auto; } }

/* Карти и решетки */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card .ico { font-size: 26px; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.pain { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.pain li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 48px; position: relative; }
.pain li::before { content: "✕"; position: absolute; left: 18px; top: 15px; color: var(--no); font-weight: 900; }

/* Модули */
.modules { counter-reset: mod; display: grid; gap: 12px; margin-top: 28px; }
.module { counter-increment: mod; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.module::before { content: counter(mod, decimal-leading-zero); font-family: var(--head); font-weight: 700; font-size: 20px;
  color: var(--accent); background: var(--accent-soft); border-radius: 12px; height: 52px; display: grid; place-items: center; }
.module h3 { margin: 4px 0 4px; }
.module p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Стъпки */
.steps { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step .num { font-family: var(--head); font-size: 34px; font-weight: 700; color: var(--accent); }

/* За кого е / не е */
.fit { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 800px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding: 8px 0 8px 30px; position: relative; }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.fit .no li::before { content: "✕"; position: absolute; left: 0; color: var(--no); font-weight: 900; }

/* Автор */
.author { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .author { grid-template-columns: 220px 1fr; } }
.avatar { width: 160px; height: 160px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #6d3cff);
  display: grid; place-items: center; font-family: var(--head); font-size: 44px; font-weight: 700; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; }
.stats b { display: block; font-family: var(--head); font-size: 24px; color: var(--accent); }

/* Отзиви — ПЛЕЙСХОЛДЪРИ: сменят се само с истински отзиви */
.quote { background: var(--card); border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: var(--radius); padding: 22px; }
.quote p { font-style: italic; }
.quote .who { color: var(--muted); font-size: 14px; font-style: normal; }

/* Цена */
.price-card { max-width: 560px; margin: 32px auto 0; background: linear-gradient(180deg, #1c1a23, var(--card));
  border: 1px solid rgba(255, 106, 43, 0.35); border-radius: 24px; padding: 30px 24px; text-align: left;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 106, 43, 0.05); }
.price { font-family: var(--head); font-size: 54px; font-weight: 700; line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 18px; color: var(--muted); font-family: var(--body); font-weight: 600; }
.includes { list-style: none; padding: 0; margin: 18px 0; }
.includes li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid var(--line); }
.includes li:last-child { border-bottom: 0; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.guarantee { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: rgba(61, 220, 132, 0.08);
  border-radius: 14px; padding: 14px; font-size: 15px; margin-top: 8px; }
.guarantee .g-ico { font-size: 28px; text-align: center; }

/* Въпроси */
.faq { max-width: 760px; margin: 28px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 24px; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: #d4d1d9; }

/* Финален призив */
.final { text-align: center; }
.final .btn { max-width: 460px; }

/* Футър */
footer { border-top: 1px solid var(--line); padding: 32px 0 120px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer a { color: var(--muted); }

/* Лепкав бутон на телефон */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 11, 16, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.25s ease; }
.sticky-cta .btn { margin: 0; width: 100%; padding: 15px 20px; font-size: 17px; }
.show-sticky .sticky-cta { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* Отказано плащане */
.notice { display: none; margin: 16px auto 0; max-width: var(--maxw); padding: 0 16px; }
.notice p { background: rgba(255, 179, 71, 0.1); border: 1px solid rgba(255, 179, 71, 0.3); border-radius: 12px; padding: 12px 16px; margin: 0; font-size: 15px; }
.canceled .notice { display: block; }

/* Правни страници */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 80px; }
.legal h1 { font-size: clamp(26px, 5vw, 38px); }
.legal h2 { font-size: 20px; margin-top: 32px; }
.legal .todo { background: rgba(255, 179, 71, 0.1); border-left: 3px solid var(--accent-2); padding: 10px 14px; border-radius: 6px; }

/* Форма за безплатния ресурс */
.lead-form { display: grid; gap: 12px; max-width: 460px; margin: 22px 0 0; }
.lead-form input[type=email] { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  background: #0f0e14; color: var(--ink); font: 600 17px/1.2 var(--body); }
.lead-form input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.lead-form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.lead-form .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { margin: 4px 0 0; }
.form-msg { font-size: 15px; margin: 4px 0 0; }
.form-msg.err { color: var(--no); }
.lead-done { display: none; background: rgba(61, 220, 132, 0.08); border: 1px solid rgba(61, 220, 132, 0.3); border-radius: 16px; padding: 18px 20px; margin-top: 22px; max-width: 460px; }
.subscribed .lead-form { display: none; }
.subscribed .lead-done { display: block; }

/* Подсказка в TikTok/Instagram браузъра */
.inapp-hint { display: none; font-size: 14px; color: var(--muted); background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 10px 14px; margin-top: 12px; }
.in-app .inapp-hint { display: block; }

.lead-form input[type=text], .lead-form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: #0f0e14; color: var(--ink); font: 600 16px/1.4 var(--body); }
.lead-form textarea { resize: vertical; }

/* Истинската корица + примерни команди от продукта */
.cover-img { width: min(320px, 76vw); border-radius: 8px 14px 14px 8px; transform: rotateY(-12deg) rotateX(3deg);
  box-shadow: -18px 24px 60px rgba(0, 0, 0, 0.55), 0 0 90px rgba(255, 106, 43, 0.2); animation: float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cover-img { animation: none; } }
.samples { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 900px) { .samples { grid-template-columns: repeat(3, 1fr); } }
.sample { background: #fbfaf7; color: #1b1a1f; border-radius: 16px; padding: 18px 18px 20px; border-left: 5px solid var(--accent); font-size: 15px; line-height: 1.55; }
.sample h3 { font: 800 15px/1.3 var(--body); margin: 0 0 4px; color: #1b1a1f; }
.sample small { display: block; color: #8a8790; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; margin-bottom: 10px; }
.sample .ph { background: #ffe6da; color: #c2410c; font-weight: 800; border-radius: 4px; padding: 0 2px; }

/* Снимка на таблицата (продукт „Семеен бюджет“) */
.shot { width: 100%; max-width: 560px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 80px rgba(255,106,43,.15); background: #fff; }
.shot-wide { max-width: 980px; margin: 26px auto 0; }

/* Магазин */
.shop { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.item .ico { font-size: 30px; }
.item h3 { margin: 0; }
.item p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.item .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.item .p { font-family: var(--head); font-size: 22px; font-weight: 700; }
.item .btn { width: auto; margin: 0; padding: 12px 18px; font-size: 15px; }
.item a.more { font-size: 14px; color: var(--accent-2); }
.bundle { background: linear-gradient(160deg, #24160f, #17161d 60%); border: 1px solid rgba(255,106,43,.45); border-radius: 24px; padding: 28px 24px; margin-top: 24px;
  display: grid; gap: 18px; box-shadow: 0 0 0 6px rgba(255,106,43,.05), 0 30px 80px rgba(0,0,0,.45); }
@media (min-width: 860px) { .bundle { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.bundle ul { margin: 0; padding-left: 20px; color: #d9d6de; }
.bundle .old { color: var(--muted); text-decoration: line-through; font-size: 18px; margin-left: 8px; }
