:root {
    --bg: #07070c;
    --surface: rgba(19, 19, 26, .72);
    --surface2: #15151f;
    --border: rgba(255, 255, 255, .09);
    --text: #f0f0f5;
    --text2: #9a9ab0;
    --accent: #6c5ce7;
    --accent2: #a29bfe;
    --green: #00d68f;
    --red: #ff3d71;
    --radius: 22px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.landing-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.landing-bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 15% -10%, rgba(108, 92, 231, .28), transparent 60%),
        radial-gradient(700px 450px at 95% 10%, rgba(0, 214, 143, .12), transparent 60%),
        radial-gradient(800px 600px at 50% 110%, rgba(162, 155, 254, .12), transparent 60%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: float 18s ease-in-out infinite; }
.orb.one { width: 360px; height: 360px; background: #6c5ce7; left: -120px; top: 10%; }
.orb.two { width: 280px; height: 280px; background: #00d68f; right: -80px; top: 35%; animation-delay: -6s; }
.orb.three { width: 320px; height: 320px; background: #a29bfe; left: 40%; bottom: -140px; animation-delay: -11s; }

.nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 22px;
    padding: 14px clamp(16px, 4vw, 56px);
    background: rgba(7, 7, 12, .72);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 2px; font-size: 18px; }
.logo-mark {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    box-shadow: 0 8px 24px rgba(108, 92, 231, .45);
    font-weight: 900; color: #fff;
}
.nav-links { display: flex; gap: 18px; margin-left: auto; color: var(--text2); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    padding: 10px 18px; border-radius: 12px; background: var(--accent); color: #fff;
    font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(108, 92, 231, .35);
    transition: transform .15s, background .2s;
}
.nav-cta:hover { background: #7d6ef0; transform: translateY(-1px); }

.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; padding: clamp(40px, 7vw, 92px) 0 56px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border: 1px solid rgba(108, 92, 231, .4); border-radius: 999px;
    color: var(--accent2); background: rgba(108, 92, 231, .1); font-size: 13px; font-weight: 600;
}
.hero h1 { font-size: clamp(38px, 6vw, 74px); line-height: 1.02; letter-spacing: -2px; margin: 18px 0 16px; }
.grad {
    background: linear-gradient(100deg, #fff 10%, #a29bfe 45%, #6c5ce7 70%, #00d68f 95%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: gradient 7s ease infinite;
}
.hero p.lead { color: var(--text2); font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #6c5ce7, #8f7ff5); color: #fff; box-shadow: 0 12px 32px rgba(108, 92, 231, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(108, 92, 231, .45); }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.hero-note { margin-top: 16px; color: var(--text2); font-size: 12px; }
.hero-note b { color: var(--green); }

.phone {
    position: relative; width: min(340px, 86vw); margin: 0 auto;
    padding: 14px; border-radius: 40px;
    background: linear-gradient(160deg, #1b1b27, #0e0e15);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.02);
    animation: phoneFloat 7s ease-in-out infinite;
}
.phone::before { content: ""; display: block; width: 90px; height: 6px; border-radius: 6px; background: #2b2b3a; margin: 0 auto 12px; }
.phone-screen { border-radius: 28px; background: #0c0c12; padding: 14px; overflow: hidden; }
.mini-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--text2); font-size: 12px; }
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.mini-card {
    background: var(--surface2); border: 1px solid var(--border); border-radius: 14px;
    padding: 10px 12px; margin-bottom: 8px; font-size: 12px; color: var(--text2);
    animation: cardIn .6s both;
}
.mini-card b { color: var(--text); display: block; margin-bottom: 2px; }
.mini-card:nth-child(2) { animation-delay: .15s; }
.mini-card:nth-child(3) { animation-delay: .3s; }
.mini-card:nth-child(4) { animation-delay: .45s; }
.mini-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgba(0,214,143,.15); color: var(--green); font-size: 10px; margin-left: 6px; }

.section { padding: clamp(48px, 7vw, 90px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; margin-bottom: 10px; }
.section-head p { color: var(--text2); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature {
    padding: 22px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    backdrop-filter: blur(14px); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(108,92,231,.55); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.feature .ico { font-size: 26px; margin-bottom: 10px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--text2); font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); position: relative; }
.step::before {
    counter-increment: step; content: counter(step);
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(108,92,231,.18); color: var(--accent2); font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 15px; margin-bottom: 4px; }
.step p { color: var(--text2); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 20px 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.stat b { display: block; font-size: clamp(24px, 3vw, 36px); color: var(--accent2); }
.stat span { color: var(--text2); font-size: 12px; }
.pricing { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: stretch; }
.price-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.price-card.featured { border-color: rgba(108,92,231,.7); box-shadow: 0 24px 60px rgba(108,92,231,.22); }
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price { font-size: 38px; font-weight: 800; margin: 10px 0 2px; }
.price small { font-size: 14px; color: var(--text2); font-weight: 500; }
.price-card ul { list-style: none; margin: 16px 0; display: grid; gap: 8px; color: var(--text2); font-size: 13px; }
.price-card li::before { content: "✓"; color: var(--green); margin-right: 8px; }
.soon { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,61,113,.12); color: var(--red); font-size: 12px; font-weight: 700; }

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent2); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text2); font-size: 14px; padding-top: 10px; }
.footer { border-top: 1px solid var(--border); padding: 34px 0 28px; color: var(--text2); font-size: 13px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.footer a:hover { color: var(--text); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes gradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(30px,-24px,0) scale(1.06); } }
@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.6deg); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Правовые страницы и помощь ===== */
.legal-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.legal-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; animation: float 20s ease-in-out infinite; }
.legal-bg span:nth-child(1) { width: 420px; height: 420px; background: #6c5ce7; left: -140px; top: -80px; }
.legal-bg span:nth-child(2) { width: 300px; height: 300px; background: #00d68f; right: -100px; top: 40%; animation-delay: -7s; }
.legal-bg span:nth-child(3) { width: 340px; height: 340px; background: #a29bfe; left: 35%; bottom: -160px; animation-delay: -12s; }
.legal-header { display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 4vw, 56px); border-bottom: 1px solid var(--border); background: rgba(7,7,12,.7); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.legal-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 2px; }
.legal-header nav { display: flex; gap: 16px; margin-left: auto; font-size: 13px; color: var(--text2); flex-wrap: wrap; }
.legal-header nav a:hover { color: var(--text); }
.legal-wrap { width: min(920px, 92vw); margin: 0 auto; padding: 34px 0 60px; }
.legal-card { background: rgba(19,19,26,.72); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 42px); backdrop-filter: blur(16px); }
.legal-card h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -1px; margin-bottom: 6px; }
.legal-meta { color: var(--text2); font-size: 12px; margin-bottom: 22px; }
.legal-card h2 { font-size: 18px; margin: 26px 0 8px; }
.legal-card p, .legal-card li { color: #c3c3d2; font-size: 14px; }
.legal-card ul, .legal-card ol { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.legal-card a { color: var(--accent2); text-decoration: underline; }
.legal-card code { background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 12px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: #c3c3d2; }
.legal-table th { color: var(--text2); font-size: 12px; }
.help-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; background: rgba(255,255,255,.02); }
.help-item summary { cursor: pointer; font-weight: 700; }
.help-item[open] summary { color: var(--accent2); margin-bottom: 8px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: var(--text2); font-size: 12px; padding: 18px 4px; }
.legal-footer a { color: var(--accent2); }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .grid, .steps { grid-template-columns: 1fr 1fr; }
    .pricing { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .grid, .steps { grid-template-columns: 1fr; }
    .legal-header { flex-direction: column; align-items: flex-start; }
    .legal-header nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}


