:root {
  --bg: #050f17; --bg2: #081520; --panel: rgba(255,255,255,0.035); --panel2: rgba(255,255,255,0.07); --line: rgba(255,255,255,0.09);
  --text: #eef3f6; --muted: #93a2ad; --green: #b1ff43; --green2: #7ee02a; --green-dim: rgba(177,255,67,0.14);
  --radius: 22px; --max: 1180px; --head: "Unbounded", "Inter", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg) url("images/page-background.svg") center top / 100% auto no-repeat; color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
h2.display { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.05; margin-bottom: 36px; }
h2 .g, h1 .g, .g { color: var(--green); }
.sec { padding: 96px 0; position: relative; }
.sub { color: var(--muted); font-size: 18px; max-width: 560px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 16px; font-weight: 700; font-size: 16px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); cursor: pointer; transition: transform .2s ease, box-shadow .3s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:hover { border-color: rgba(177,255,67,0.5); }
.btn.green { background: var(--green); color: #061108; border-color: var(--green); box-shadow: 0 10px 40px rgba(177,255,67,0.25); }
.btn.green:hover { box-shadow: 0 16px 50px rgba(177,255,67,0.45); background: #c4ff6a; }
.btn.outline { background: transparent; border-color: rgba(177,255,67,0.6); color: var(--green); }
.btn .arr { transition: transform .2s; } .btn:hover .arr { transform: translateX(4px); }
.btn.sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }

/* шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(5,15,23,0.96); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 34px; font-weight: 500; color: #d3dde4; }
.nav a { position: relative; padding: 6px 0; transition: color .2s; } .nav a:hover { color: var(--green); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--green); transition: width .25s; } .nav a:hover::after { width: 100%; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.burger img { width: 22px; margin: auto; filter: invert(1); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 30px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; min-height: 620px; }
.hero-bg { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 58%; max-width: 1000px; aspect-ratio: 1672/941; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 62% 50%, #000 45%, transparent 74%); mask-image: radial-gradient(ellipse 62% 78% at 62% 50%, #000 45%, transparent 74%); }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg::after { content: none; }
.hero-copy { position: relative; z-index: 1; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgba(177,255,67,0.55); color: var(--green); border-radius: 999px; font-size: 12px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; line-height: 1.02; margin: 26px 0 22px; }
.hero .sub { font-size: 20px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.platforms { color: var(--muted); font-size: 14px; margin-top: 18px; letter-spacing: .02em; }
.hero-visual { position: relative; z-index: 1; min-height: 420px; }
.float-card { position: absolute; right: 8%; top: 52%; background: rgba(8,21,32,0.92); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); min-width: 230px; }
.float-card .row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.float-card .row + .row { margin-top: 10px; color: #d3dde4; font-weight: 500; font-size: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 2.4s ease-in-out infinite; }
.flag { width: 24px; height: 24px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(255,255,255,0.08); flex: none; }
.flag.lv { background: linear-gradient(180deg, #9e3039 0 40%, #fff 40% 60%, #9e3039 60%); }
.flag.kz { background: #00afca; position: relative; } .flag.kz::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffcf00; font-size: 12px; }
.flag.ru { background: linear-gradient(180deg, #fff 0 33%, #0039a6 33% 66%, #d52b1e 66%); }
.flag.nl { background: linear-gradient(180deg, #ae1c28 0 33%, #fff 33% 66%, #21468b 66%); }
.flag.de { background: linear-gradient(180deg, #000 0 33%, #dd0000 33% 66%, #ffce00 66%); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes fadein { to { opacity: 1; } }

/* три преимущества */
.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.perks .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perk { display: flex; gap: 16px; align-items: center; padding: 8px 10px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-dim); flex: none; }
.perk .ic img { width: 24px; filter: brightness(0) saturate(100%) invert(88%) sepia(35%) saturate(1200%) hue-rotate(35deg) brightness(105%); }
.perk b { display: block; font-size: 17px; } .perk span { color: var(--muted); font-size: 15px; }

/* features grid */
.features .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.card:hover { border-color: rgba(177,255,67,0.35); }
.card h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; } .card p { color: var(--muted); margin: 0 0 18px; max-width: 360px; }
.card.phone { grid-row: span 2; min-height: 0; display: flex; flex-direction: column; }
.card.phone h3, .card.phone p { position: relative; z-index: 1; }
.card.phone img { position: relative; margin: auto; width: 62%; max-width: 340px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)); transform: rotate(-8deg); transition: transform .7s cubic-bezier(.2,.8,.2,1); z-index: 1; will-change: transform; }
.card.phone:hover img { transform: rotate(0deg) translateY(-10px) scale(1.04); }

.card.phone::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(circle, rgba(177,255,67,0.22), transparent 60%); }
.card.locs { background: var(--panel) url("images/world-map.png") right -40px center / 60% auto no-repeat; }
.loc-list { display: grid; gap: 10px; max-width: 320px; }
.loc { display: flex; align-items: center; gap: 12px; background: rgba(8,21,32,0.85); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s; }
.loc:hover { border-color: rgba(177,255,67,0.5); }
.loc .ms { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 13px; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; } .bars i { width: 3px; background: var(--green); border-radius: 1px; } .bars i:nth-child(1){height:5px}.bars i:nth-child(2){height:8px}.bars i:nth-child(3){height:11px}.bars i:nth-child(4){height:14px;opacity:.35}
.loc .chev { width: 14px; filter: invert(.6); }
.card.stats .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; min-width: 0; width: 100%; }
.tile { background: rgba(8,21,32,0.85); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tile small { color: var(--muted); display: block; font-size: 13px; white-space: nowrap; } .tile b { font-size: 24px; font-family: var(--head); white-space: nowrap; } .tile b.g { color: var(--green); } .tile .u { font-size: 12px; color: var(--muted); margin-left: 4px; white-space: nowrap; }
.card.stats img { width: 100%; border-radius: 12px; }
.card.stats .head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }

/* тарифы */
.pricing .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .35s, border-color .35s, box-shadow .35s; }
.plan:hover { border-color: rgba(177,255,67,0.45); }
.plan.hot { border-color: var(--green); background: linear-gradient(180deg, rgba(177,255,67,0.1), rgba(255,255,255,0.03)); }
.plan .badge { position: absolute; top: -13px; right: 22px; background: var(--green); color: #061108; font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-size: 20px; } .plan .price { font-family: var(--head); font-size: 44px; font-weight: 800; line-height: 1; } .plan .price small { font-size: 16px; color: var(--muted); font-family: var(--body); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 9px; color: #d3dde4; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--green); margin-right: 10px; font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }
.pay-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 15px; }

/* шаги */
.steps .list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #061108; font-family: var(--head); font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; } .step p { color: var(--muted); margin: 0; font-size: 15px; }
.steps .phone-note { margin-top: 20px; background: var(--green-dim); border: 1px solid rgba(177,255,67,0.3); border-radius: 16px; padding: 18px 22px; color: #d3dde4; }

/* faq */
.faq .items { display: grid; gap: 10px; max-width: 820px; }
.q { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.q summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.q summary::-webkit-details-marker { display: none; } .q summary::after { content: "+"; color: var(--green); font-size: 22px; transition: transform .25s; } .q[open] summary::after { transform: rotate(45deg); }
.q p { margin: 0; padding: 0 22px 18px; color: var(--muted); }

/* cta */
.cta { padding: 60px 0 96px; }
.cta .box { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); padding: 60px; min-height: 320px; background: #07141f; }
.cta .bg { position: absolute; inset: 0; } .cta .bg img, .cta .bg video { width: 100%; height: 100%; object-fit: cover; opacity: .9; } .cta .bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,31,0.95) 30%, rgba(7,20,31,0.35)); }
.cta .mark { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 120px; opacity: .9; filter: drop-shadow(0 0 40px rgba(177,255,67,0.5)); }
.cta .in { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 10px; }
.cta p { color: #d3dde4; margin: 0 0 26px; font-size: 18px; }
.devices { display: flex; gap: 12px; flex-wrap: wrap; }
.devices .btn { background: rgba(5,15,23,0.75); }
.devices .btn svg { width: 18px; height: 18px; fill: currentColor; }

/* футер */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; } .footer .l { flex-wrap: wrap; }
.footer .l { display: flex; align-items: center; gap: 16px; } .footer .l img { height: 26px; } .footer .l span { border-left: 1px solid var(--line); padding-left: 16px; }
.footer .r { display: flex; gap: 14px 22px; flex-wrap: wrap; justify-content: center; } .footer a:hover { color: var(--green); }

/* reveal */
.js .rv { opacity: 0; transition: opacity .6s ease; }
.js .rv.in { opacity: 1; }
.rv.d1 { transition-delay: .1s } .rv.d2 { transition-delay: .2s } .rv.d3 { transition-delay: .3s }

/* покупка / успех */
.page { padding: 60px 0 90px; }
.page h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 8px; }
.buy-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 30px; align-items: start; }
.choice { display: grid; gap: 10px; }
.choice label { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.choice label:hover { border-color: rgba(177,255,67,0.4); } .choice label.on { border-color: var(--green); background: var(--green-dim); }
.choice label b { font-size: 17px; } .choice label small { color: var(--muted); grid-column: 1; } .choice label .price { font-family: var(--head); font-weight: 800; font-size: 22px; grid-row: span 2; }
.choice.methods label { grid-template-columns: auto 1fr; } .choice.methods .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--panel2); grid-row: span 2; }
.field { display: grid; gap: 6px; margin-top: 18px; } .field input { font: inherit; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text); outline: none; } .field input:focus { border-color: var(--green); }
.field span { color: var(--muted); font-size: 14px; }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 94px; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: #d3dde4; } .summary .total { display: flex; justify-content: space-between; padding: 16px 0 20px; font-size: 22px; font-weight: 800; font-family: var(--head); }
.summary .btn { width: 100%; justify-content: center; } .summary .legal { color: var(--muted); font-size: 12px; margin-top: 14px; }
.err { color: #ff7b86; font-size: 14px; margin-top: 10px; min-height: 18px; }
.keybox { background: var(--panel); border: 1px solid var(--green); border-radius: var(--radius); padding: 28px; text-align: center; margin: 24px 0; box-shadow: 0 0 60px rgba(177,255,67,0.15); }
.keybox .key { font-family: "JetBrains Mono", Consolas, monospace; font-size: clamp(20px, 3.4vw, 34px); letter-spacing: .06em; color: var(--green); margin: 8px 0 16px; user-select: all; }
.state { display: none; } .state.on { display: block; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin 1s linear infinite; margin: 30px auto; } @keyframes spin { to { transform: rotate(360deg); } }
.steps-mini { display: grid; gap: 12px; margin-top: 20px; } .steps-mini div { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: #d3dde4; } .steps-mini b { color: var(--green); font-family: var(--head); }
.legal-page { max-width: 820px; } .legal-page h2 { font-size: 20px; margin: 28px 0 10px; } .legal-page p, .legal-page li { color: #c9d3da; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: auto; } .hero-visual { min-height: 300px; } .hero-bg { width: 150%; right: -30%; top: auto; bottom: -8%; transform: none; opacity: .85; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 55% 55%, #000 40%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 55% 55%, #000 40%, transparent 72%); }
  .float-card { right: 6%; top: 34%; }
  .perks .wrap { grid-template-columns: 1fr; } .perk { border-left: 0; }
  .features .grid { grid-template-columns: 1fr; } .card.phone { grid-row: auto; min-height: 520px; }
  .pricing .plans, .steps .list { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; } .summary { position: static; }
  .cta .box { padding: 40px 28px; } .cta .mark { display: none; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(5,15,23,0.98); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; }
  .nav.open { display: flex; } .nav a { padding: 12px 0; } .burger { display: grid; } .header .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .float-card, .cta .mark { animation: none; } }

@media (max-width: 480px) { .footer .wrap { justify-content: center; text-align: center; } .footer .l { justify-content: center; } .card.stats .tiles { grid-template-columns: 1fr; } .cta-row .btn, .devices .btn { width: 100%; justify-content: center; } }
.h1-like { font-family: var(--head); font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 8px; }
