/* ===================================================== шрифты (свои, без Google Fonts) */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "lucide"; src: url("fonts/lucide.woff") format("woff"); font-display: block; }

/* ===================================================== палитра — как в лаунчере и меню мода */
:root {
    --accent: #ff8a3d;
    --accent-2: #ffb347;
    --accent-soft: rgba(255, 138, 61, .15);
    --grad: linear-gradient(135deg, var(--accent-2), var(--accent));
    --bg: #0e0e12;
    --bg-2: #121116;
    --panel: #17161c;
    --panel-2: #212027;
    --panel-3: #292830;
    --line: rgba(255, 255, 255, .06);
    --outline: rgba(255, 255, 255, .09);
    --text: #f2f2f5;
    --text-soft: #c8c8d2;
    --text-dim: #8a8a98;
    --text-muted: #5e5d6b;
    --ok: #4ade80;
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 500 16px/1.6 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
code {
    font: 600 .86em/1 Consolas, "Cascadia Mono", monospace;
    background: var(--panel-3);
    padding: .2em .45em;
    border-radius: 6px;
    color: var(--text);
    white-space: nowrap;
}

.ic {
    font-family: "lucide";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
    speak: never;
}

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pill {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 6px 12px;
    border-radius: 9px;
}

/* ===================================================== кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn .ic { font-size: 18px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 138, 61, .55); }
.btn--primary:hover { box-shadow: 0 10px 32px -6px rgba(255, 138, 61, .75); filter: brightness(1.05); }
.btn--ghost { background: var(--panel-2); border-color: var(--outline); color: var(--text); }
.btn--ghost:hover { background: var(--panel-3); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }
.btn--sm .ic { font-size: 16px; }
.btn--lg { height: 60px; padding: 0 26px; font-size: 16px; border-radius: 15px; }
.btn--lg .ic { font-size: 20px; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.btn__stack small { font-size: 11.5px; font-weight: 600; opacity: .85; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===================================================== шапка */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 14, 18, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(14, 14, 18, .88); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo__ic { color: var(--accent); font-size: 26px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--text-dim); font-weight: 600; font-size: 14px; transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger {
    display: none;
    width: 40px; height: 40px;
    border-radius: 11px;
    border: 1px solid var(--outline);
    background: var(--panel-2);
    color: var(--text);
    font-size: 19px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===================================================== первый экран */
.hero { position: relative; padding: 72px 0 64px; }
.hero__glow {
    position: absolute;
    inset: -120px 0 auto auto;
    width: 760px; height: 760px;
    background: radial-gradient(circle, rgba(255, 138, 61, .22), transparent 62%);
    pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin: 20px 0 0; }
.lead { color: var(--text-soft); font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 500px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 13.5px; font-weight: 600; }
.hero__facts .ic { color: var(--ok); font-size: 15px; }
.hero__shot { position: relative; }
.hero__shot::before {
    content: "";
    position: absolute;
    inset: 12% 8% -6%;
    background: var(--grad);
    filter: blur(70px);
    opacity: .28;
    border-radius: 50%;
}
.hero__shot img {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--outline);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
    transition: transform .6s ease;
}
.hero__shot:hover img { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

/* ===================================================== цифры */
.stats { padding: 8px 0 24px; }
.stats__in {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.stat { padding: 24px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 26px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-dim); font-size: 13.5px; font-weight: 600; }

/* ===================================================== секции */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 16px; }
.head p { color: var(--text-dim); margin-top: 14px; font-size: 15.5px; }

/* главное — три большие карточки */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.hl {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #241912 0%, var(--panel) 55%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.hl__ic {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.hl h3 { font-size: 19px; }
.hl p { color: var(--text-dim); font-size: 14.5px; margin-top: 10px; line-height: 1.6; }

/* модули по категориям */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s ease; }
.cat:hover { border-color: rgba(255, 138, 61, .3); }
.cat header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat header .ic { width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 17px; }
.cat h3 { font-size: 17px; }
.cat header span { margin-left: auto; color: var(--text-muted); font-weight: 700; font-size: 13px; background: var(--panel-2); border-radius: 8px; padding: 3px 9px; }
.cat ul { list-style: none; margin: 0; padding: 0; }
.cat li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 13.5px; line-height: 1.45; }
.cat li b { display: block; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 1px; }

/* шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step__n {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, .05);
}
.step__ic { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 19px; margin-bottom: 18px; box-shadow: 0 8px 20px -8px rgba(255, 138, 61, .6); }
.step h3 { font-size: 17px; }
.step p { color: var(--text-dim); font-size: 14px; margin-top: 8px; line-height: 1.6; }

/* цены */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.plan--best { background: linear-gradient(160deg, #2a1a12 0%, var(--panel) 60%); border-color: rgba(255, 138, 61, .45); box-shadow: 0 20px 60px -30px rgba(255, 138, 61, .5); }
.plan__badge { position: absolute; top: -12px; left: 26px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 5px 11px; border-radius: 8px; }
.plan h3 { font-size: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 20px; }
.plan__price b { font-size: 38px; line-height: 1; }
.plan__price span { color: var(--text-dim); font-weight: 600; font-size: 14px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); font-size: 14px; padding: 6px 0; }
.plan li .ic { color: var(--accent); font-size: 15px; margin-top: 3px; }
.plan .btn { width: 100%; }
.plans__note { text-align: center; color: var(--text-dim); font-size: 13.5px; max-width: 640px; margin: 28px auto 0; line-height: 1.6; }

/* вопросы */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(255, 138, 61, .3); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--text-dim); font-size: 18px; transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] summary .ic { transform: rotate(180deg); color: var(--accent); }
.faq p { padding: 0 22px 20px; color: var(--text-dim); font-size: 14.5px; line-height: 1.65; }

/* призыв */
.cta { padding: 96px 0; }
.cta__box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 138, 61, .3);
    background: radial-gradient(circle at 85% 0%, rgba(255, 138, 61, .28), transparent 55%), linear-gradient(135deg, #2a1a12, var(--panel) 70%);
}
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { color: var(--text-soft); margin-top: 10px; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 28px 0; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foot .logo { font-size: 16px; }
.foot .logo__ic { font-size: 22px; }
.foot p { color: var(--text-muted); font-size: 12.5px; text-align: right; }

/* появление при прокрутке (только если JS работает и движение не отключено) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero__shot img, .hero__shot:hover img { transform: none; }
}

/* ===================================================== адаптив */
@media (max-width: 1020px) {
    .hero__in { grid-template-columns: 1fr; gap: 48px; }
    .hero__text { text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .hero__btns, .hero__facts { justify-content: center; }
    .hero__shot { max-width: 720px; margin: 0 auto; }
    .hero__shot img { transform: none; }
    .highlights, .cats { grid-template-columns: repeat(2, 1fr); }
    .highlights .hl:last-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .wrap { padding: 0 16px; }
    .nav__in { gap: 12px; height: 64px; }
    .nav__burger { display: inline-flex; }
    .nav__links {
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(14, 14, 18, .97);
        border-bottom: 1px solid var(--line);
        padding: 8px 16px 16px;
        display: none;
    }
    .nav__links.is-open { display: flex; }
    .nav__links a { padding: 13px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
    .nav__cta { margin-left: auto; }
    .hero { padding: 44px 0 40px; }
    .lead { font-size: 15.5px; }
    .hero__btns .btn { width: 100%; }
    .stats__in { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .section, .cta { padding: 64px 0; }
    .head { margin-bottom: 32px; }
    .highlights, .cats, .steps, .plans { grid-template-columns: 1fr; }
    .plans { gap: 26px; }
    .cta__box { flex-direction: column; align-items: stretch; text-align: center; padding: 32px 22px; }
    .cta__btns .btn { flex: 1; }
    .foot__in { flex-direction: column; text-align: center; }
    .foot p { text-align: center; }
}
