/* Сайт «Витрат родини» — vytraty.app.
   Одна тема, темна: сайт продовжує застосунок, а не обрамляє його.
   Без трекерів і без зовнішніх скриптів — це частина обіцянки. */

:root {
  --bg: #0B0D12; --bg2: #10131A; --card: #151923; --card-hi: #1B2030;
  --line: #ffffff12; --line2: #ffffff1f;
  --text: #F3F4F8; --soft: #A0A8BA; --dim: #6E7689;
  --accent: #7C8CFF; --accent-2: #5B6CF0; --violet: #9B7BFF; --accent-ink: #0B0D12;
  --mint: #4FD1A5; --gold: #F2B84B; --coral: #F08A8A;
  --mint-bg: #4FD1A51A; --gold-bg: #F2B84B1A; --coral-bg: #F08A8A1A; --accent-bg: #7C8CFF1F;
  --display: "Unbounded", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --body: "Golos Text", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px; --r-s: 14px;
  --w: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
html, body { overflow-x: clip }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body) }
a { color: var(--accent); text-decoration: none }
a:hover { text-decoration: underline }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px }
img { max-width: 100%; display: block; height: auto }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; text-wrap: balance; margin: 0 }
h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12 }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2 }
h3 { font-size: 18px; line-height: 1.3; font-family: var(--body); font-weight: 600 }
p { margin: 0 0 14px } p:last-child { margin-bottom: 0 }
.soft { color: var(--soft) }
.sm { font-size: 14px; color: var(--soft) }
code { font-family: var(--mono); font-size: .92em; background: var(--card); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line) }
.wrap { max-width: var(--w); margin-inline: auto; padding-inline: 24px }
.narrow { max-width: 760px }
section { padding: 72px 0; position: relative }
@media (max-width: 640px) { section { padding: 60px 0 } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px }
.eyebrow::before { display: none }
.sub { color: var(--soft); font-size: clamp(16px, 1.4vw, 19px); max-width: 40em; margin-top: 14px }
.glow { font-weight: 600; background: linear-gradient(92deg, #C9D0FF, #8C9BFF 45%, #B79CFF); -webkit-background-clip: text; background-clip: text; color: transparent }

/* Рух */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease }
.reveal.in { opacity: 1; transform: none }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes floatBack { 0%, 100% { transform: rotate(-8deg) translateY(0) } 50% { transform: rotate(-8deg) translateY(-8px) } }
@keyframes chip { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } .reveal { opacity: 1; transform: none } }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: #0B0D12CC; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-family: var(--display); font-size: 15px }
.brand:hover { text-decoration: none }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 14px #0008 }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center }
.nav a { color: var(--soft); font-size: 15px; padding: 8px 12px; border-radius: 10px }
.nav a:hover { color: var(--text); background: var(--card); text-decoration: none }
.nav a.cta { color: #fff; background: linear-gradient(135deg, #6F7FFF, #5B6CF0); font-weight: 600; margin-left: 8px; box-shadow: 0 6px 20px #5B6CF055 }
.nav a.cta:hover { filter: brightness(1.1) }
@media (max-width: 760px) { .nav a:not(.cta) { display: none } }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; transition: transform .15s ease, filter .15s ease, background .15s }
.btn:hover { text-decoration: none; transform: translateY(-1px) }
.btn.primary { background: #fff; color: var(--accent-ink); box-shadow: 0 10px 30px #ffffff22 }
.btn.ghost { background: #ffffff08; color: var(--text); border-color: var(--line2) }
.btn.ghost:hover { background: #ffffff10 }
.btn.accent { background: linear-gradient(135deg, #7C8CFF, #5B6CF0); color: #fff; box-shadow: 0 10px 30px #5B6CF055 }
.btn svg { width: 22px; height: 22px; flex: none }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: .02em }
.btn.store { padding: 10px 18px 10px 14px; text-align: left }
.btn.store b { display: block; font-size: 16px; font-weight: 600 }
.btn[aria-disabled="true"] { opacity: .55; cursor: default }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }

/* Герой */
.hero { padding: 72px 0 40px; overflow: visible }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto; height: 120%; background:
  radial-gradient(45% 50% at 72% 35%, #5B6CF040, transparent 65%),
  radial-gradient(30% 35% at 20% 20%, #9B7BFF22, transparent 70%),
  radial-gradient(25% 30% at 85% 85%, #4FD1A51C, transparent 70%); pointer-events: none; z-index: -1 }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); pointer-events: none; z-index: -1 }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); margin-top: 20px; max-width: 34em }
.hero .trust { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; font-size: 14px; color: var(--soft) }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px }
.hero .trust svg { width: 16px; height: 16px; color: var(--mint) }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px } .hero { padding-top: 44px } }

/* Сцена з телефонами */
.stage { position: relative; height: 640px; display: flex; justify-content: center; align-items: flex-start }
.phone { width: 300px; border-radius: 46px; padding: 10px; background: linear-gradient(180deg, #232838, #151923); border: 1px solid #ffffff1a; box-shadow: 0 40px 100px #00000099, 0 0 0 1px #00000066, inset 0 0 0 1px #ffffff0a; position: relative; overflow: hidden }
.phone img, .phone video { border-radius: 36px; width: 100%; height: auto; display: block }
.phone .pill { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 86px; height: 26px; background: #000; border-radius: 13px; z-index: 2 }
.stage .phone.main { z-index: 3; animation: float 7s ease-in-out infinite; max-height: 560px; -webkit-mask-image: linear-gradient(#000 82%, transparent 100%); mask-image: linear-gradient(#000 82%, transparent 100%) }
.stage .phone.back { position: absolute; width: 240px; left: 50%; top: 70px; margin-left: 90px; z-index: 1; opacity: .85; animation: floatBack 9s ease-in-out infinite; max-height: 520px; -webkit-mask-image: linear-gradient(#000 70%, transparent 100%); mask-image: linear-gradient(#000 70%, transparent 100%); border-radius: 38px }
.stage .phone.back img { border-radius: 30px }
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #171B26E6; border: 1px solid #ffffff1f; box-shadow: 0 16px 40px #00000080; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: var(--soft); white-space: nowrap; animation: chip 6s ease-in-out infinite }
.chip b { display: block; color: var(--text); font-size: 14px; font-family: var(--display); font-weight: 600; letter-spacing: -.01em }
.chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none }
.chip .ic svg { width: 18px; height: 18px }
.chip.c1 { left: -30px; top: 96px; animation-delay: -1s }
.chip.c2 { right: -10px; top: 330px; animation-delay: -3s }
.chip.c3 { left: 10px; top: 470px; animation-delay: -5s }
.ic.mint { background: var(--mint-bg); color: var(--mint) } .ic.gold { background: var(--gold-bg); color: var(--gold) } .ic.accent { background: var(--accent-bg); color: var(--accent) } .ic.coral { background: var(--coral-bg); color: var(--coral) }
@media (max-width: 1280px) { .stage .phone.back { margin-left: 45px; width: 205px; top: 95px } }
@media (max-width: 1040px) { .stage .phone.back { display: none } }
@media (max-width: 900px) { .stage { height: 500px } }
@media (max-width: 460px) { .stage { height: 520px } .phone { width: 260px } .chip { font-size: 12px } .chip.c2 { top: 300px } }

/* Смуга фактів */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #ffffff04 }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 }
.facts div { padding: 22px 16px; text-align: center; border-left: 1px solid var(--line) }
.facts div:first-child { border-left: 0 }
.facts b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums }
.facts span { font-size: 13px; color: var(--soft) }
@media (max-width: 720px) { .facts .wrap { grid-template-columns: repeat(2, 1fr) } .facts div:nth-child(3) { border-left: 0 } .facts div:nth-child(n+3) { border-top: 1px solid var(--line) } }

/* Картки можливостей */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px }
.card { background: linear-gradient(180deg, #ffffff07, #ffffff03); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; transition: transform .25s ease, border-color .25s ease, background .25s ease }
.feature:hover { transform: translateY(-4px); border-color: var(--line2); background: linear-gradient(180deg, #ffffff0b, #ffffff04) }
.card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px }
.card .ic svg { width: 22px; height: 22px }
.card .val { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 10px; font-variant-numeric: tabular-nums; line-height: 1.2 }
.card .val.mint { color: var(--mint) } .card .val.gold { color: var(--gold) } .card .val.accent { color: var(--accent) } .card .val.coral { color: var(--coral) }
.card .tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600 }
.card p { color: var(--soft); font-size: 15px }

/* Галерея екранів */
.gallery { margin-top: 40px; position: relative }
.gallery::before, .gallery::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none }
.gallery::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent) }
.gallery::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent) }
.track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 24px 30px; scrollbar-width: none; -ms-overflow-style: none }
.track::-webkit-scrollbar { display: none }
.shot { flex: none; width: 250px; scroll-snap-align: center; text-align: center }
.shot .phone { width: 250px; border-radius: 40px; padding: 8px; max-height: 480px; -webkit-mask-image: linear-gradient(#000 82%, transparent 100%); mask-image: linear-gradient(#000 82%, transparent 100%); transition: transform .3s ease }
.shot .phone img { border-radius: 32px }
.shot:hover .phone { transform: translateY(-6px) }
.shot b { display: block; margin-top: 4px; font-family: var(--display); font-size: 14px; font-weight: 600 }
.shot span { font-size: 13px; color: var(--soft) }

/* Секція з двох колонок */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--soft) }
.checks li b { color: var(--text); font-weight: 600 }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 2px }
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-start }
.phones .phone { width: min(230px, 46%); max-height: 470px; -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); mask-image: linear-gradient(#000 72%, transparent 100%); border-radius: 38px; padding: 8px }
.phones .phone img { border-radius: 30px }
.phones .phone:last-child { margin-top: 44px }

/* Панель-виділення */
.panel { background: linear-gradient(135deg, #1A1F33, #12151F 60%); border: 1px solid var(--line2); border-radius: 30px; padding: 48px; position: relative; overflow: hidden }
.panel::after { content: ""; position: absolute; right: -15%; top: -50%; width: 60%; height: 160%; background: radial-gradient(closest-side, #F2B84B26, transparent); pointer-events: none }
.panel.gold { border-color: #F2B84B33 }
@media (max-width: 640px) { .panel { padding: 28px 22px; border-radius: 24px } }
.demo { background: #0B0D12B3; border: 1px solid var(--line2); border-radius: 20px; padding: 22px; position: relative; z-index: 1 }
.demo .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px }
.demo .row:last-child { border-bottom: 0 }
.demo .row b { font-variant-numeric: tabular-nums } .demo .row .gold { color: var(--gold) }
.demo .bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 6px } .demo .bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--violet)) }
.demo .best { background: var(--gold-bg); border: 1px solid #F2B84B44; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px }
.demo .best small { display: block; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; font-weight: 600 }
.demo .best b { font-family: var(--display); font-size: 20px }

/* Як це працює */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; counter-reset: h }
.how .card::before { counter-increment: h; content: "0" counter(h); font-family: var(--display); font-size: 13px; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 14px }
.how h3 { font-family: var(--display); font-size: 17px; margin-bottom: 8px }
@media (max-width: 800px) { .how { grid-template-columns: 1fr } }

/* Кроки (підсторінки) */
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 28px }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 22px; background: var(--accent-bg); color: var(--accent); font-family: var(--display); font-weight: 600; display: flex; align-items: center; justify-content: center }
.step h3 { margin-bottom: 6px }
.step p { color: var(--soft); font-size: 15px }

/* Ціна */
.price { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; max-width: 720px }
.price .big { font-family: var(--display); font-size: 38px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 4px }
.price .big span { font-size: 15px; font-family: var(--body); color: var(--soft); font-weight: 500; letter-spacing: 0 }
.price .best { border-color: transparent; background: linear-gradient(var(--card-hi), var(--card-hi)) padding-box, linear-gradient(135deg, #7C8CFF, #9B7BFF, #4FD1A5) border-box; border: 1px solid transparent }
.ribbon { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #7C8CFF, #9B7BFF); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 30px }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 20px; transition: border-color .2s }
details[open] { border-color: var(--line2) }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center }
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: none; font-weight: 400 }
details[open] summary::after { content: "–" }
details p { color: var(--soft); padding-bottom: 18px; font-size: 15px }

/* Фінальний заклик */
.final { background: linear-gradient(135deg, #1B2140, #121522 60%); border: 1px solid var(--line2); border-radius: 32px; padding: 56px 40px; text-align: center; position: relative; overflow: hidden }
.final::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(40% 50% at 50% 40%, #5B6CF04D, transparent 70%); pointer-events: none }
.final > * { position: relative }
.final img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 20px 50px #0009 }
.final .btns { justify-content: center }
@media (max-width: 640px) { .final { padding: 40px 22px; border-radius: 24px } }

/* Підвал */
footer { border-top: 1px solid var(--line); padding: 44px 0 64px; color: var(--soft); font-size: 14px }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px }
footer h4 { margin: 0 0 10px; color: var(--text); font-size: 14px; font-weight: 600 }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px }
footer a { color: var(--soft) } footer a:hover { color: var(--text) }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr } }

/* Порадник кешбеку */
.drop { display: block; border: 2px dashed var(--line2); border-radius: var(--r); padding: 40px 24px; text-align: center; background: linear-gradient(180deg, #ffffff05, transparent); transition: border-color .15s, background .15s; cursor: pointer }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-bg) }
.drop input { display: none }
.drop .big { font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 8px }
.drop .sm { margin-top: 10px }
.result { margin-top: 28px }
.verdict { background: linear-gradient(135deg, #F2B84B26, #151923 60%); border: 1px solid #F2B84B55; border-radius: 22px; padding: 26px }
.verdict .hint { color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600 }
.verdict .cat { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin: 8px 0 6px }
.verdict .edge { color: var(--soft); font-size: 15px }
.verdict.calm { background: var(--card); border-color: var(--line2) }
.tbl { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; font-variant-numeric: tabular-nums }
.tbl th, .tbl td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line) }
.tbl th { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase }
.tbl td.n, .tbl th.n { text-align: right; white-space: nowrap }
.tbl .bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--violet)); min-width: 2px }
.tbl .barwrap { height: 6px; background: var(--line); border-radius: 3px; width: 100%; margin-top: 6px }
.tbl .gold { color: var(--gold) } .tbl .dimt { color: var(--dim) }
.wide { overflow-x: auto }
.err { background: var(--coral-bg); border: 1px solid #F08A8A55; border-radius: var(--r-s); padding: 14px 16px; color: #FBC6C6; font-size: 15px; margin-top: 16px }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 16px; font-size: 14px; color: var(--soft); margin-top: 16px }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px }
.howto div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 16px; font-size: 14px; color: var(--soft) }
.howto b { color: var(--text); display: block; margin-bottom: 4px; font-family: var(--display); font-size: 13px }
.app-cta { margin-top: 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #1B2140, #121522); border: 1px solid #7C8CFF33; border-radius: var(--r); padding: 20px 22px }
.app-cta img { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 10px 30px #0008 }
.app-cta p { margin: 0; font-size: 15px; color: var(--soft) } .app-cta b { color: var(--text) }
.app-cta .btn { margin-left: auto }
@media (max-width: 640px) { .app-cta .btn { margin-left: 0; width: 100%; justify-content: center } }

/* Довгий текст */
.prose { max-width: 760px }
.prose h2 { margin-top: 48px; margin-bottom: 14px; font-size: 28px }
.prose h3 { margin-top: 28px; margin-bottom: 8px }
.prose p, .prose li { color: #C9CEDA }
.prose ul { padding-left: 22px } .prose li { margin-bottom: 8px }
.prose .lead { font-size: 19px; color: var(--soft) }

/* Синхронізація з продакшном (1.09): кнопки героя, плашка, фінал */
.hero .btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 560px }
@media (max-width: 460px) { .hero .btns { grid-template-columns: 1fr } }
.hero .btns .btn.store { width: auto; height: 74px; padding: 0 18px; justify-content: center; gap: 14px; position: relative; overflow: hidden }
.hero .btns .btn.store svg { width: 26px; height: 26px }
.hero .btns .btn.store span { text-align: left; line-height: 1.15 }
.hero .btns .btn.store small { font-size: 13px; opacity: .8; margin-bottom: 2px; white-space: nowrap }
.hero .btns .btn.store b { font-size: 20px }
.hero .btns .btn.primary::after { content: ""; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; background: linear-gradient(100deg, transparent, #ffffff99, transparent); transform: skewX(-20deg); opacity: 0; transition: opacity .2s }
.hero .btns .btn.primary:hover::after { opacity: 1; animation: shine .9s ease forwards }
@keyframes shine { to { left: 120% } }
.hero .btns .btn.ghost:hover { border-color: #8E9CFF; background: #7C8CFF1f; box-shadow: 0 14px 34px #5B6CF033 }
.hero .btns .btn.store:active { transform: translateY(0) scale(.98) }
.app-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px }
.app-cta p { min-width: 0 } .app-cta .btn { margin-left: 0; white-space: nowrap }
@media (max-width: 640px) { .app-cta { grid-template-columns: auto 1fr } .app-cta .btn { grid-column: 1 / -1; width: 100%; justify-content: center } }
.final .btns .btn { width: 320px; max-width: 100%; justify-content: center }
/* Кнопки магазинів: трохи компактніші */
.hero .btns { max-width: 500px; gap: 12px }
.hero .btns .btn.store { height: 66px; padding: 0 16px; gap: 12px }
.hero .btns .btn.store svg { width: 24px; height: 24px }
.hero .btns .btn.store small { font-size: 12px }
.hero .btns .btn.store b { font-size: 18px }
/* Контурні кнопки («Ключ за 60 секунд» тощо) – живі на дотик */
.btn.ghost { position: relative; overflow: hidden; border-color: #ffffff2e; background: #ffffff0a; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease }
.btn.ghost::after { content: ""; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; background: linear-gradient(100deg, transparent, #ffffff33, transparent); transform: skewX(-20deg); opacity: 0 }
.btn.ghost:hover { transform: translateY(-2px); border-color: #8E9CFF; background: #7C8CFF1f; box-shadow: 0 12px 30px #5B6CF033; color: #fff }
.btn.ghost:hover::after { opacity: 1; animation: shine .9s ease forwards }
.btn.ghost:active { transform: translateY(0) scale(.98) }
@media (prefers-reduced-motion: reduce) { .btn.ghost::after { display: none } }
/* Білі кнопки (App Store) – живі всюди, як у герої */
.btn.primary { position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease }
.btn.primary::after { content: ""; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; background: linear-gradient(100deg, transparent, #ffffff99, transparent); transform: skewX(-20deg); opacity: 0 }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px #ffffff2e }
.btn.primary:hover::after { opacity: 1; animation: shine .9s ease forwards }
.btn.primary:active { transform: translateY(0) scale(.98) }
/* І градієнтні (accent) теж */
.btn.accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px #5B6CF055 }
.btn.accent:active { transform: translateY(0) scale(.98) }
@media (prefers-reduced-motion: reduce) { .btn.primary::after { display: none } }
