/* Version: UIdeck-inspired preview v1.0 */
:root {
    --bg: #070816;
    --bg-deep: #03040c;
    --surface: rgba(255, 255, 255, 0.075);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --text: #f8fbff;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --line: rgba(255, 255, 255, 0.14);
    --primary: #7c3aed;
    --primary-hover: #9f67ff;
    --accent: #22d3ee;
    --accent-2: #f472b6;
    --success-bg: rgba(34, 211, 238, 0.14);
    --success-text: #a5f3fc;
    --warning-bg: rgba(244, 114, 182, 0.13);
    --warning-text: #fbcfe8;
    --dark-surface: #0b1023;
    --dark-soft: rgba(255, 255, 255, 0.1);
    --dark-line: rgba(255, 255, 255, 0.13);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.24);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(124, 58, 237, 0.42), transparent 32rem),
        radial-gradient(circle at 85% 18%, rgba(34, 211, 238, 0.24), transparent 30rem),
        radial-gradient(circle at 50% 72%, rgba(244, 114, 182, 0.17), transparent 34rem),
        linear-gradient(180deg, #08091a 0%, #070816 42%, #03040c 100%);
    line-height: 1.55;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    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: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 72%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.text-center { text-align: center; }

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 8, 22, 0.72);
    backdrop-filter: blur(22px);
}
.header__container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 82px; }
.logo { display: inline-flex; flex-direction: column; gap: 2px; }
.logo__title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, #fff, #a5f3fc 48%, #f0abfc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo__subtitle { font-size: 12px; color: var(--text-muted); }
.header__actions { display: none; }
.burger {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}
.burger span { width: 18px; height: 2px; border-radius: 999px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 15, 34, 0.96);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nav__link { display: block; padding: 12px 14px; border-radius: 14px; color: var(--text-soft); background: rgba(255,255,255,.055); font-weight: 700; }
.nav__mobile-action { margin-top: 14px; }

.section { position: relative; padding: 78px 0; overflow: hidden; }
.section--muted { background: transparent; }
.section--muted::before,
.section--accent::before {
    content: "";
    position: absolute;
    inset: 28px max(16px, calc((100% - var(--container)) / 2)) 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    pointer-events: none;
}
.section--accent { background: transparent; }
.section--dark-cta {
    background:
        radial-gradient(circle at 18% 0%, rgba(34,211,238,.28), transparent 22rem),
        radial-gradient(circle at 82% 100%, rgba(124,58,237,.38), transparent 26rem),
        #050714;
    color: #fff;
}
.section__heading { margin-bottom: 32px; position: relative; z-index: 1; }
.section__heading--center { text-align: center; }
.section__title {
    margin: 0;
    font-size: clamp(30px, 6vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.065em;
}
.section__title--light { color: #fff; }
.section__lead { margin: 16px auto 0; max-width: 790px; font-size: 17px; line-height: 1.75; color: var(--text-soft); }
.section__lead--left { margin-left: 0; margin-right: 0; }
.section__lead--light { color: rgba(255,255,255,.78); }
.section__actions { margin-top: 24px; }
.section__actions--center { text-align: center; }

.hero { padding: 42px 0 72px; }
.hero__content,
.hero-proof,
.card,
.price-item {
    position: relative;
    z-index: 1;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}
.hero__content {
    padding: clamp(26px, 5vw, 58px);
    isolation: isolate;
}
.hero__content::after {
    content: "";
    position: absolute;
    right: -4rem;
    top: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34,211,238,.34), transparent 68%);
    z-index: -1;
}
.hero__title {
    margin: 18px 0 0;
    max-width: 980px;
    font-size: clamp(46px, 10vw, 96px);
    line-height: .9;
    letter-spacing: -0.085em;
}
.hero__subtitle { margin: 22px 0 0; max-width: 870px; font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.hero__subtitle b { color: #fff; }
.hero__signal { margin: 22px 0 0; padding: 16px 18px; border: 1px solid rgba(244,114,182,.25); border-radius: 20px; background: var(--warning-bg); color: var(--warning-text); font-size: 15px; line-height: 1.65; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero__actions--center { justify-content: center; }
.hero__meta, .inline-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge, .pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: 10px 14px; border-radius: 999px; font-size: 14px; line-height: 1.35; }
.badge--success { border: 1px solid rgba(34,211,238,.28); background: var(--success-bg); color: var(--success-text); font-weight: 800; }
.badge--light { border: 1px solid rgba(124,58,237,.28); background: rgba(124,58,237,.16); color: #ddd6fe; font-weight: 800; }
.pill { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); color: var(--text-soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 21px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15px; transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(90deg, var(--primary), var(--accent-2)); box-shadow: 0 16px 34px rgba(124,58,237,.34); }
.btn--primary:hover { background: linear-gradient(90deg, var(--primary-hover), #fb7bc2); }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.btn--outline:hover { border-color: rgba(34,211,238,.42); }
.btn--light { background: #fff; color: #08091a; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.card { padding: 24px; }
.card__title { margin: 0 0 10px; font-size: 22px; line-height: 1.18; letter-spacing: -0.035em; }
.card__text { margin: 0; color: var(--text-soft); line-height: 1.7; }
.grid { display: grid; gap: 16px; position: relative; z-index: 1; }
.step-card__num { width: 44px; height: 44px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.probability-card__value { margin: 0 0 14px; font-size: 30px; font-weight: 900; letter-spacing: -0.055em; color: #67e8f9; }
.compare-card--accent { background: linear-gradient(145deg, rgba(124,58,237,.22), rgba(34,211,238,.10)); }
.start-card { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.start-card__top { display: flex; flex-direction: column; gap: 14px; }
.qr-box { display: flex; flex-direction: column; gap: 10px; }
.qr-code { width: 132px; height: 132px; padding: 10px; border-radius: 20px; background: #fff; object-fit: contain; box-shadow: var(--shadow-soft); }
.qr-note { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.list-clean { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list-clean li { position: relative; padding-left: 24px; color: var(--text-soft); line-height: 1.6; }
.list-clean li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.pricing-grid { display: grid; gap: 16px; position: relative; z-index: 1; }
.price-item { padding: 24px 20px; text-align: center; overflow: hidden; }
.price-item--featured { border-color: rgba(34,211,238,.36); background: linear-gradient(145deg, rgba(34,211,238,.16), rgba(124,58,237,.18)); }
.price-item__label { display: inline-flex; margin-bottom: 12px; padding: 8px 12px; border-radius: 999px; background: rgba(34,211,238,.14); color: #a5f3fc; font-size: 13px; font-weight: 800; }
.price-item__count { font-size: 30px; font-weight: 900; letter-spacing: -0.05em; }
.price-item__val { margin-top: 8px; font-size: 34px; font-weight: 900; letter-spacing: -0.055em; }
.price-item__sub { margin-top: 8px; color: var(--text-muted); font-size: 14px; }
.pricing-footer { position: relative; z-index: 1; margin-top: 20px; text-align: center; color: var(--text-soft); }
.faq-list { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; position: relative; z-index: 1; }
.faq-item .card__title { font-size: 20px; }
.footer { padding: 44px 0 24px; background: #03040c; color: rgba(255,255,255,.78); }
.footer__top { display: grid; gap: 24px; }
.footer__brand { display: grid; gap: 12px; }
.logo--footer .logo__title { color: transparent; }
.logo--footer .logo__subtitle { color: rgba(255,255,255,.68); }
.footer__text, .footer__requisites { margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.footer__nav { display: grid; gap: 18px; }
.footer__col { display: grid; gap: 10px; }
.footer__col h4 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.footer__col a { color: rgba(255,255,255,.72); }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.58); font-size: 14px; }

@media (min-width: 768px) {
    .container { width: min(100% - 48px, var(--container)); }
    .header__actions { display: block; }
    .burger { display: none; }
    .nav { position: static; inset: auto; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav__list { display: flex; align-items: center; gap: 10px; }
    .nav__link { padding: 10px 14px; background: transparent; }
    .nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
    .nav__mobile-action { display: none; }
    .hero { padding: 58px 0 82px; }
    .hero__actions { flex-direction: row; flex-wrap: wrap; }
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
    .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 980px) {
    .pricing-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .header__cta { display: none; }
    .section { padding: 62px 0; }
    .section--muted::before, .section--accent::before { inset: 16px; border-radius: 26px; }
    .qr-code { display: none; }
}
