/* AbonPulse — лендинг */

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text: #0f172a;
    --text-2: #334155;
    --muted: #64748b;
    --faint: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f6f7fb;
    --border: #e5e9f2;
    --primary: #5b4ff5;
    --primary-hover: #4a3ee3;
    --primary-soft: #eeedff;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #e11d48;
    --gradient: linear-gradient(135deg, #6d5efc 0%, #3b82f6 55%, #06b6d4 100%);
    --dark: #070a16;
    --dark-2: #0e1428;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }
.lucide { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }
:focus-visible { outline: 3px solid rgba(91, 79, 245, .45); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--text); font-weight: 600; box-shadow: var(--shadow-lg); }
.skip-link:focus { top: 12px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font); padding: 13px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(91, 79, 245, .35), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 10px 30px rgba(91, 79, 245, .45), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .14); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 24px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn .lucide { width: 18px; height: 18px; }

/* Бренд */
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(91, 79, 245, .45); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.025em; }
.brand-name span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Живой индикатор */
.pulse-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Навигация */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 10, 22, .8); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(255, 255, 255, .06); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 24px; }
.nav-links { display: flex; gap: 28px; margin-inline-start: 24px; }
.nav-links a { color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.link-login { color: #fff; font-weight: 600; font-size: 15px; }
.nav-burger { display: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1100px) {
    .nav-links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 4px; margin: 0; padding: 10px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; box-shadow: var(--shadow-lg); }
    .nav-links a { padding: 12px; border-radius: 10px; }
    .nav-links a:hover { background: rgba(255, 255, 255, .06); }
    .nav.open .nav-links { display: flex; }
    .nav.open { background: rgba(7, 10, 22, .96); }
    .nav-burger { display: inline-flex; }
}
@media (max-width: 560px) { .nav-cta .btn-sm, .link-login { display: none; } .nav-cta { gap: 10px; } }

/* Первый экран */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 136px 0 56px; isolation: isolate; }
.hero-glow { position: absolute; inset: -30% -10% auto; height: 120%; z-index: -2; background:
    radial-gradient(38% 42% at 18% 30%, rgba(109, 94, 252, .55), transparent 70%),
    radial-gradient(32% 38% at 82% 40%, rgba(6, 182, 212, .38), transparent 70%),
    radial-gradient(30% 30% at 55% 5%, rgba(59, 130, 246, .35), transparent 70%);
    filter: blur(24px); animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; margin-bottom: 24px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); font-size: 13.5px; font-weight: 500; transition: background .15s; max-width: 100%; }
.hero-inner > *, .split > *, .cta-inner > * { min-width: 0; }
.hero-badge span:not(.pulse-dot) { min-width: 0; }
.hero-badge:hover { background: rgba(255, 255, 255, .1); }
.hero-badge span:not(.pulse-dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-badge .lucide { width: 15px; height: 15px; opacity: .7; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin: 0 0 20px; letter-spacing: -.04em; line-height: 1.05; }
.grad { background: linear-gradient(90deg, #a99fff, #60a5fa 50%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: rgba(255, 255, 255, .72); max-width: 570px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .lucide { width: 17px; height: 17px; color: #4ade80; }

/* Макет продукта */
.hero-visual { position: relative; }
.mock { border-radius: 18px; background: #0f1529; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); overflow: hidden; transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transform-origin: left center; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.mock-bar em { margin-inline-start: 14px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); padding: 3px 12px; border-radius: 6px; }
.mock-body { display: flex; min-height: 372px; }
.mock-side { width: 56px; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; background: #090d1c; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--gradient); margin-bottom: 10px; }
.mock-side i { width: 26px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.mock-side i.active { background: rgba(139, 127, 255, .7); }
.mock-main { flex: 1; min-width: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mock-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.mock-title small { color: rgba(255, 255, 255, .45); font-weight: 500; }
.live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: #4ade80; padding: 3px 10px; border-radius: 999px; background: rgba(74, 222, 128, .1); }
.mock-stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.mock-stat { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock-stat small { font-size: 11px; color: rgba(255, 255, 255, .55); }
.mock-stat b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mock-stat span { font-size: 11px; color: rgba(255, 255, 255, .55); }
.mock-stat .up { color: #4ade80; }
.mock-stat .down { color: #fb7185; }
.mock-stat.hero-stat { background: var(--gradient); border: 0; }
.mock-stat.hero-stat small, .mock-stat.hero-stat span { color: rgba(255, 255, 255, .85); }
.mock-stat b.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }
.mock-chart { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.mock-chart small { font-size: 11px; color: rgba(255, 255, 255, .55); }
.pulse-line { width: 100%; height: 76px; margin-top: 8px; }
@media (prefers-reduced-motion: no-preference) { .pulse-line path:last-child { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s .2s cubic-bezier(.3, .7, .2, 1) forwards; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mock-feed { display: flex; flex-direction: column; gap: 6px; }
.mock-feed div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); white-space: nowrap; overflow: hidden; }
.mock-feed div.new { animation: slide-in .5s cubic-bezier(.2, .8, .2, 1); background: rgba(74, 222, 128, .08); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px); } }
.mock-feed em { margin-inline-start: auto; font-style: normal; color: rgba(255, 255, 255, .55); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.ok { background: #22c55e; } .dot.warn { background: #f59e0b; } .dot.bad { background: #fb7185; }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--text); box-shadow: var(--shadow-lg); font-size: 14px; animation: float 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.fc-icon.ok { background: #e8f8ee; color: var(--success); }
.fc-icon.warn { background: #eeedff; color: var(--primary); }
.fc-1 { left: -40px; bottom: -44px; }
.fc-2 { right: -22px; top: -30px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Видео */
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(7, 10, 22, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); transition: transform .2s, background .2s; }
.play-btn:hover { background: rgba(7, 10, 22, .75); transform: translate(-50%, -50%) scale(1.04); }
.play-ring { position: relative; width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gradient); }
.play-ring::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(169, 159, 255, .7); animation: hub-ping 2.2s ease-out infinite; }
.play-ring .lucide { width: 22px; height: 22px; fill: #fff; margin-inline-start: 3px; }
.play-label { display: grid; text-align: start; line-height: 1.25; }
.play-label b { font-size: 15.5px; }
.play-label small { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.video-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 12, .82); backdrop-filter: blur(6px); }
.video-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); animation: fade-up .3s ease; }
.video-box video { width: 100%; height: 100%; display: block; }
.video-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.video-close:hover { background: rgba(0, 0, 0, .8); }
@media (max-width: 560px) { .play-btn { padding: 8px 16px 8px 8px; gap: 10px; } .play-ring { width: 42px; height: 42px; } }

/* Сегменты */
.segments { margin-top: 80px; display: flex; align-items: center; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.segments-title { flex-shrink: 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); text-transform: uppercase; letter-spacing: .08em; max-width: 180px; line-height: 1.4; }
.segments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.segments li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 15px; }
.segments .lucide { width: 18px; height: 18px; color: #a99fff; }

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .mock { transform: none; }
    .fc-1 { left: 8px; bottom: -24px; }
    .fc-2 { right: 8px; top: -24px; }
    .segments { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 64px; }
    .segments-title { max-width: none; }
}
@media (max-width: 560px) {
    .hero { padding-top: 108px; }
    .mock-stats { grid-template-columns: 1fr 1fr; }
    .mock-stat.hero-stat { grid-column: span 2; }
    .mock-side { display: none; }
    .float-card { display: none; }
    .segments ul { gap: 10px 18px; }
    .segments li { font-size: 14px; }
}

/* Цифры */
.facts { background: var(--bg); border-bottom: 1px solid var(--border); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-grid div { padding: 36px 28px; border-inline-start: 1px solid var(--border); }
.facts-grid div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts-grid b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.facts-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 860px) {
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-grid div { padding: 24px 16px; border-inline-start: 0; border-top: 1px solid var(--border); }
    .facts-grid div:nth-child(-n+2) { border-top: 0; }
    .facts-grid div:nth-child(odd) { padding-inline-start: 0; }
    .facts-grid b { font-size: 30px; }
}

/* Секции */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head.left { text-align: start; margin: 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section-head h2, .soon-card h2, .cta h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-head.on-dark p { color: rgba(255, 255, 255, .65); }
.section-head.on-dark .kicker { color: #a99fff; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Проблема */
.problem { background: var(--bg-alt); }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.problem-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.problem-icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: #ffe8ee; color: var(--danger); margin-bottom: 18px; }
.problem-card h3 { font-size: 19px; margin-bottom: 10px; }
.problem-card p { color: var(--muted); }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* Возможности: бенто-сетка */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden; }
.tile:hover { border-color: #d5d1ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.tile h3 { font-size: 19px; margin: 18px 0 10px; }
.tile p { color: var(--muted); }
.tile-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.tile-lg { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; background: linear-gradient(180deg, #fbfbff, #fff); }
.tile-accent { grid-row: span 3; background: var(--dark); color: #fff; border-color: transparent; display: flex; flex-direction: column; }
.tile-accent::before { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -140px; background: radial-gradient(circle, rgba(109, 94, 252, .45), transparent 65%); }
.tile-accent .tile-icon { background: var(--gradient); color: #fff; position: relative; }
.tile-accent h3 { font-size: 22px; position: relative; }
.tile-accent p { color: rgba(255, 255, 255, .68); position: relative; }
.tile-accent:hover { border-color: transparent; }
.mini-bars { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; gap: 8px; height: 150px; position: relative; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: rgba(139, 127, 255, .35); }
.mini-bars i:last-child { background: var(--gradient); box-shadow: 0 0 24px rgba(109, 94, 252, .6); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e8f8ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.address-visual { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--border); }
.addr { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 15px; min-width: 0; }
.addr .lucide { width: 18px; height: 18px; color: var(--primary); }
.addr em { margin-inline-start: auto; font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.addr.l2 { margin-inline-start: 22px; } .addr.l3 { margin-inline-start: 44px; }
.addr.l4 { margin-inline-start: 66px; font-weight: 500; font-size: 14px; }
.addr.l4 span { margin-inline-start: auto; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.addr.ok span { background: #e8f8ee; color: var(--success); }
.addr.bad span { background: #ffe8ee; color: var(--danger); }
@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-lg { grid-column: span 2; grid-template-columns: 1fr; padding: 28px; }
    .tile-accent { grid-row: auto; }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .tile-lg { grid-column: auto; }
    .address-visual { padding: 14px; }
    .addr.l2 { margin-inline-start: 10px; } .addr.l3 { margin-inline-start: 20px; } .addr.l4 { margin-inline-start: 30px; font-size: 13px; }
    .mini-bars { height: 110px; }
}

/* Роли */
.section.dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.section.dark::before { content: ''; position: absolute; width: 700px; height: 700px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(109, 94, 252, .32), transparent 65%); }
.section.dark::after { content: ''; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(6, 182, 212, .2), transparent 65%); }
.roles { position: relative; z-index: 1; }
.role-tabs { display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 48px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); overflow-x: auto; }
.role-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 11px; border: 0; background: none; color: rgba(255, 255, 255, .65); font: 600 15px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.role-tabs button .lucide { width: 18px; height: 18px; }
.role-tabs button:hover { color: #fff; }
.role-tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.role-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.role-panel[hidden] { display: none; }
.role-panel.active { animation: fade-up .45s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 16px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .68); }
.check-list b { display: block; color: #fff; margin-bottom: 2px; font-size: 16.5px; }
.check-list .lucide { width: 22px; height: 22px; color: #a99fff; margin-top: 2px; }
.role-screen { justify-self: center; width: 100%; max-width: 440px; padding: 22px; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); display: grid; gap: 14px; }
.rs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rs-head b { font-size: 17px; }
.rs-head small { color: var(--muted); font-size: 13px; }
.rs-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; gap: 12px; font-size: 14px; }
.rs-row span { color: var(--text-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-row i { height: 10px; border-radius: 99px; background: var(--bg-alt); position: relative; overflow: hidden; }
.rs-row i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--gradient); }
.rs-row em { font-style: normal; font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.rs-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill.ok { background: #e8f8ee; color: var(--success); }
.pill.warn { background: #fff4e0; color: var(--warning); }
.rs-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rs-months span { padding: 10px 0; text-align: center; border-radius: 10px; border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.rs-months .paid { background: #e8f8ee; border-color: #c9eed6; color: var(--success); }
.rs-months .sel { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.rs-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); }
.rs-total span { color: var(--muted); font-size: 14px; }
.rs-total b { font-size: 24px; }
.rs-btn { padding: 13px; border-radius: 12px; background: var(--primary); color: #fff; text-align: center; font-weight: 600; }
.phone { justify-self: center; width: 300px; max-width: 100%; padding: 12px; border-radius: 44px; background: linear-gradient(160deg, #2a3150, #0c1122); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-screen { border-radius: 34px; background: #f4f6fb; color: var(--text); padding: 26px 16px 20px; min-height: 500px; display: flex; flex-direction: column; gap: 12px; }
.ph-head small { color: var(--muted); font-size: 12px; }
.ph-head b { display: block; font-size: 19px; }
.ph-hero { border-radius: 16px; padding: 16px; background: var(--gradient); color: #fff; }
.ph-hero small, .ph-hero span { font-size: 12px; opacity: .85; }
.ph-hero b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-grid div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.ph-grid small { color: var(--muted); font-size: 11.5px; }
.ph-grid b { display: block; font-size: 20px; }
.ph-list { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ph-list > small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ph-list div { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.ph-list span { width: 28px; height: 28px; border-radius: 8px; background: #fff4e0; flex-shrink: 0; }
.ph-list em { display: block; font-style: normal; font-weight: 500; color: var(--muted); font-size: 11.5px; }
@media (max-width: 900px) {
    .role-panel { grid-template-columns: 1fr; gap: 32px; }
    .role-tabs { margin-bottom: 32px; }
}
@media (max-width: 480px) {
    .role-tabs { width: 100%; justify-content: flex-start; }
    .role-tabs button { padding: 10px 14px; font-size: 14px; flex: 1; justify-content: center; }
    .role-tabs button .lucide { display: none; }
    .rs-row { grid-template-columns: 84px minmax(0, 1fr) 56px; font-size: 13px; }
}

/* Схема взаимодействия */
.flow { display: grid; gap: 20px; }
.flow-stage { position: relative; aspect-ratio: 1000 / 560; border-radius: 24px; background: var(--dark); overflow: hidden; direction: ltr; box-shadow: 0 30px 80px rgba(15, 23, 42, .25); isolation: isolate; }
.flow-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(40% 50% at 62% 50%, rgba(109, 94, 252, .35), transparent 70%),
    radial-gradient(30% 40% at 10% 50%, rgba(6, 182, 212, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fpath { fill: none; vector-effect: non-scaling-stroke; stroke: rgba(255, 255, 255, .1); stroke-width: 2; stroke-linecap: round; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.fpath.soon { stroke-dasharray: 6 8; }
.fpath.on.money { stroke: #22c55e; stroke-width: 3; filter: url(#fglow); }
.fpath.on.data { stroke: url(#fdata); stroke-width: 3; filter: url(#fglow); }
.fdot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; }
.fdot.money { background: #4ade80; box-shadow: 0 0 12px 3px rgba(74, 222, 128, .7); }
.fdot.data { background: #ddd8ff; box-shadow: 0 0 12px 3px rgba(139, 127, 255, .8); }

.fnode { --lift: 30px; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(var(--lift) * -1)); width: 18%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; color: #fff; transition: opacity .4s, transform .4s; opacity: .45; }
.fnode.on { opacity: 1; }
.fnode.on .fnode-icon { transform: scale(1.06); }
.fnode-icon { position: relative; flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: background .4s, box-shadow .4s, border-color .4s, transform .4s; }
.fnode-icon .lucide { width: 26px; height: 26px; }
.fnode.on .fnode-icon { background: rgba(139, 127, 255, .22); border-color: rgba(169, 159, 255, .7); box-shadow: 0 0 0 6px rgba(139, 127, 255, .12), 0 10px 30px rgba(109, 94, 252, .45); }
.fnode b { font-size: 16px; font-weight: 700; line-height: 1.25; }
.fnode small { font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.35; }
.fnode-hub { --lift: 42px; opacity: 1; width: 20%; }
.fnode-hub .fnode-icon { width: 84px; height: 84px; border-radius: 24px; background: var(--gradient); border: 0; box-shadow: 0 0 0 10px rgba(109, 94, 252, .14), 0 20px 50px rgba(91, 79, 245, .55); }
.fnode-hub .fnode-icon svg { width: 46px; height: 46px; }
.fnode-hub .fnode-icon::after { content: ''; position: absolute; width: 84px; height: 84px; border-radius: 24px; border: 2px solid rgba(169, 159, 255, .6); animation: hub-ping 2.4s ease-out infinite; }
@keyframes hub-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.fnode-hub b { font-size: 18px; }
.flow-legend { position: absolute; left: 20px; top: 16px; display: flex; gap: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.flow-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 18px; height: 3px; border-radius: 3px; }
.lg.money { background: #22c55e; }
.lg.data { background: linear-gradient(90deg, #8b7fff, #22d3ee); }

.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.flow-steps button { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 14px 18px; border-radius: 16px; border: 1px solid var(--border); background: #fff; text-align: start; font: inherit; color: var(--text); cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.flow-steps button:hover { border-color: #d5d1ff; }
.flow-steps button[aria-selected="true"] { border-color: var(--primary); box-shadow: 0 10px 30px rgba(91, 79, 245, .15); }
.fs-num { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-alt); color: var(--muted); font-weight: 800; font-size: 13.5px; }
.flow-steps button[aria-selected="true"] .fs-num { background: var(--gradient); color: #fff; }
.flow-steps b { font-size: 14.5px; line-height: 1.3; }
.flow-steps b em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.fs-text { font-size: 13px; color: var(--muted); line-height: 1.45; }
.fs-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gradient); }
.flow-steps button[aria-selected="true"] .fs-bar { animation: fs-progress var(--step-ms, 5000ms) linear forwards; }
.flow.paused .flow-steps button[aria-selected="true"] .fs-bar { animation: none; width: 100%; }
@keyframes fs-progress { from { width: 0; } to { width: 100%; } }
[dir="rtl"] .fs-bar { left: auto; right: 0; }
.flow-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; text-align: center; }
.flow-cta span { color: var(--muted); font-size: 14.5px; }

@media (max-width: 1100px) {
    .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .flow-stage { border-radius: 18px; aspect-ratio: 1000 / 820; }
    .fnode { --lift: 19px; width: 24%; }
    .fnode-hub { --lift: 25px; }
    .fnode-icon { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 4px; }
    .fnode-icon .lucide { width: 18px; height: 18px; }
    .fnode-hub .fnode-icon, .fnode-hub .fnode-icon::after { width: 50px; height: 50px; border-radius: 15px; }
    .fnode-hub .fnode-icon svg { width: 28px; height: 28px; }
    .fnode b { font-size: 9px; line-height: 1.2; }
    .fnode[data-node="admin"], .fnode[data-node="cash"] { align-items: flex-end; text-align: end; transform: translate(calc(-100% + 19px), calc(var(--lift) * -1)); }
    .fnode-hub b { font-size: 12px; }
    .fnode small { display: none; }
    .flow-legend { left: 10px; top: 8px; font-size: 10px; gap: 8px; flex-direction: column; }
    .flow-steps { grid-template-columns: 1fr; }
    .flow-steps button { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
    .fs-text { flex-basis: 100%; display: none; }
    .flow-steps button[aria-selected="true"] .fs-text { display: block; }
}

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: 24px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.calc-inputs { padding: 40px; display: grid; gap: 30px; align-content: center; }
.range { display: grid; gap: 14px; }
.range > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--text-2); }
.range output { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) var(--p, 50%), #e7e9f3 var(--p, 50%)); cursor: pointer; }
[dir="rtl"] .range input { background: linear-gradient(-90deg, var(--primary) var(--p, 50%), #e7e9f3 var(--p, 50%)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: 0 4px 12px rgba(91, 79, 245, .35); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: 0 4px 12px rgba(91, 79, 245, .35); }
.calc-note { font-size: 13.5px; color: var(--muted); }
.calc-result { padding: 40px; background: var(--dark); color: #fff; display: grid; gap: 18px; align-content: center; position: relative; overflow: hidden; }
.calc-result::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; background: radial-gradient(circle, rgba(109, 94, 252, .45), transparent 65%); }
.calc-result > * { position: relative; }
.calc-big { padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.calc-big small { color: rgba(255, 255, 255, .6); font-size: 14px; }
.calc-big b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fda4af; }
.calc-big.accent b { background: linear-gradient(90deg, #86efac, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 42px; }
.calc-roi { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .75); font-size: 15px; }
.calc-roi .lucide { color: #4ade80; }
.calc-roi b { color: #fff; }
.calc-result .btn { margin-top: 6px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-inputs, .calc-result { padding: 28px 22px; } .calc-big.accent b { font-size: 34px; } }

/* Надёжность */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trust { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.trust .lucide { width: 26px; height: 26px; color: var(--primary); }
.trust h3 { font-size: 17.5px; margin: 16px 0 8px; }
.trust p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps li { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.step-num { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--gradient); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 8px 20px rgba(91, 79, 245, .3); }
.steps h3 { font-size: 20px; margin: 20px 0 8px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Скоро */
.section.soon { padding-top: 0; }
.soon-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px; border-radius: 24px; background: linear-gradient(135deg, #f3f1ff, #eaf6ff); border: 1px solid #e1ddff; }
.soon-card p { color: var(--text-2); margin-top: 14px; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 14.5px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.chips .lucide { width: 17px; height: 17px; color: var(--primary); }
@media (max-width: 860px) { .soon-card { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Тарифы */
.pricing-controls { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.billing-toggle button { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font: 600 14.5px var(--font); color: var(--muted); cursor: pointer; }
.billing-toggle button.active { background: var(--dark); color: #fff; }
.billing-toggle em { font-style: normal; color: var(--success); margin-inline-start: 4px; }
.billing-toggle button.active em { color: #4ade80; }
.currency { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 6px 0 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--muted); }
.currency .lucide { width: 18px; height: 18px; }
.currency select { border: 0; background: none; font: 600 14.5px var(--font); color: var(--text); padding: 8px 6px; cursor: pointer; }
.currency select:focus { outline: none; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 20px; border: 1px solid var(--border); background: #fff; }
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 44px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 18px 0 20px; }
.price b { font-size: 42px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price b small { font-size: 22px; font-weight: 700; margin-inline-end: 2px; }
.price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-inline-start: 26px; color: var(--text-2); font-size: 15px; }
.plan li::before { content: ''; position: absolute; inset-inline-start: 0; top: 5px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4ff5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { width: 100%; }
.plan.featured { background: var(--dark); color: #fff; border-color: transparent; box-shadow: 0 30px 60px rgba(91, 79, 245, .25); transform: translateY(-8px); }
.plan.featured::before { content: ''; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; background: var(--gradient); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan.featured .plan-desc, .plan.featured .price span { color: rgba(255, 255, 255, .6); }
.plan.featured li { color: rgba(255, 255, 255, .85); }
.plan.featured li::before { filter: brightness(1.8); }
.plan-badge { position: absolute; top: -12px; inset-inline-start: 24px; padding: 4px 12px; border-radius: 999px; background: var(--gradient); color: #fff; font-size: 12.5px; font-weight: 700; }
.plans-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 14.5px; }
@media (max-width: 1024px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan.featured { transform: none; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Сравнение */
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: #fbfcfe; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-2); }
.compare .us { background: #f6f5ff; color: var(--text); font-weight: 600; }
.compare thead .us { color: var(--primary); font-weight: 800; font-size: 15px; }
.compare .no { color: var(--danger); }
.compare .yes { color: var(--success); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d5d1ff; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-inline-start: auto; font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Заявка */
.cta { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 30%, rgba(109, 94, 252, .4), transparent 70%), radial-gradient(35% 55% at 90% 80%, rgba(6, 182, 212, .28), transparent 70%); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cta-copy p { color: rgba(255, 255, 255, .72); font-size: 18px; margin-top: 16px; }
.cta-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: rgba(255, 255, 255, .8); }
.cta-points li { display: flex; align-items: center; gap: 10px; }
.cta-points .lucide { width: 18px; height: 18px; color: #4ade80; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 14.5px; }
.cta-contacts a:hover { background: rgba(255, 255, 255, .12); }
.cta-contacts .lucide { width: 17px; height: 17px; }
.lead-form { background: #fff; color: var(--text); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); align-content: start; }
.lead-form input, .lead-form select { font: 500 15.5px var(--font); color: var(--text); padding: 12px 14px; border-radius: 12px; border: 1px solid #d5dbe7; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
.lead-form input::placeholder { color: #a3adbf; }
[dir="rtl"] .lead-form input[dir="ltr"] { text-align: right; }
.lead-form input:focus, .lead-form select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 79, 245, .18); }
.lead-form input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(225, 29, 72, .12); }
.lead-form .btn { width: 100%; margin-top: 4px; }
.lead-form .btn[disabled] { opacity: .7; cursor: progress; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14.5px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.err { color: var(--danger); }
.form-note { font-size: 12.5px; color: var(--faint); }
.lead-form.sent { text-align: center; padding: 48px 28px; }
.lead-form.sent .lucide { width: 48px; height: 48px; color: var(--success); margin: 0 auto 12px; }
.lead-form.sent h3 { font-size: 22px; margin-bottom: 8px; }
.lead-form.sent p { color: var(--muted); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .lead-form { padding: 20px; } }

/* Подвал */
.footer { background: #050814; color: rgba(255, 255, 255, .6); padding: 64px 0 28px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer-brand p { margin-top: 14px; max-width: 340px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols b { color: #fff; margin-bottom: 4px; }
.footer-cols a { color: rgba(255, 255, 255, .6); width: fit-content; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; font-size: 14px; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: rgba(255, 255, 255, .08); }
@media (max-width: 640px) { .footer-bottom::before { left: 16px; right: 16px; } }
.footer-bottom .vendor-link { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .footer-inner, .footer-cols { grid-template-columns: 1fr; } }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Переключатель языка */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font: 600 13.5px var(--font); cursor: pointer; }
.lang-btn:hover { background: rgba(255, 255, 255, .12); }
.lang-btn .lucide { width: 17px; height: 17px; }
.lang-menu { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; padding: 6px; border-radius: 14px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); z-index: 60; }
.lang.open .lang-menu { display: grid; gap: 2px; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; color: rgba(255, 255, 255, .8); font-size: 14.5px; font-weight: 500; }
.lang-menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lang-menu a.active { background: rgba(139, 127, 255, .2); color: #fff; }
.lang-menu em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .45); font-weight: 600; }
@media (max-width: 560px) { .lang-btn span { display: none; } }

/* Пока загружается перевод — не показываем русский текст */
html.i18n-loading body { visibility: hidden; }

/* Письмо справа налево: fa, ar, ps */
[dir="rtl"] body { font-family: 'Vazirmatn', Tahoma, var(--font); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .hero h1 { line-height: 1.25; }
[dir="rtl"] .kicker, [dir="rtl"] .segments-title { letter-spacing: 0; }
[dir="rtl"] .mock { transform: perspective(1600px) rotateY(8deg) rotateX(4deg); transform-origin: right center; }
[dir="rtl"] .fc-1 { left: auto; right: -36px; }
[dir="rtl"] .fc-2 { right: auto; left: -18px; }
[dir="rtl"] .rs-row i::after { inset: 0 0 0 auto; }
[dir="rtl"] .btn [data-lucide="arrow-right"], [dir="rtl"] .btn .lucide-arrow-right, [dir="rtl"] .hero-badge .lucide-arrow-right, [dir="rtl"] .btn .lucide-send { transform: scaleX(-1); }
@media (max-width: 1024px) {
    [dir="rtl"] .mock { transform: none; }
    [dir="rtl"] .fc-1 { right: 8px; }
    [dir="rtl"] .fc-2 { left: 8px; }
}
