@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --bg: #f6f8f4;
    --bg-alt: #edf3ec;
    --surface: #ffffff;
    --surface-soft: #f8fbf7;
    --text: #102019;
    --text-muted: #4a6255;
    --text-soft: #6d8177;
    --line: rgba(16, 32, 25, 0.12);
    --line-strong: rgba(16, 32, 25, 0.2);

    --brand: #1c8b63;
    --brand-dark: #14714f;
    --accent: #2f7ce2;
    --warn: #c26d26;
    --danger: #b13d45;

    --gradient-hero: radial-gradient(circle at 10% -20%, rgba(47, 124, 226, 0.18), transparent 55%),
        radial-gradient(circle at 95% 0%, rgba(28, 139, 99, 0.2), transparent 48%),
        linear-gradient(140deg, #f3fbf8 0%, #f6f8f4 55%, #f0f5ef 100%);
    --gradient-cta: linear-gradient(135deg, #1c8b63 0%, #2f7ce2 100%);

    --shadow-sm: 0 2px 10px rgba(16, 32, 25, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 32, 25, 0.1);
    --shadow-lg: 0 25px 60px rgba(16, 32, 25, 0.16);

    --radius-s: 10px;
    --radius-m: 16px;
    --radius-l: 24px;
    --radius-xl: 34px;

    --container: 1140px;
    --nav-h: 74px;
    --font-title: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c1310;
        --bg-alt: #111b15;
        --surface: #142119;
        --surface-soft: #18281e;
        --text: #f1fbf5;
        --text-muted: #b6cbbd;
        --text-soft: #8ea598;
        --line: rgba(241, 251, 245, 0.1);
        --line-strong: rgba(241, 251, 245, 0.18);
        --gradient-hero: radial-gradient(circle at 15% -20%, rgba(47, 124, 226, 0.28), transparent 55%),
            radial-gradient(circle at 95% 0%, rgba(28, 139, 99, 0.35), transparent 50%),
            linear-gradient(140deg, #101813 0%, #0c1310 55%, #101a14 100%);
        --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.28);
        --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.38);
        --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.5);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.nav {
    position: fixed;
    inset: 0 0 auto;
    height: var(--nav-h);
    z-index: 100;
    transition: 220ms ease;
}

.nav.scrolled {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg), transparent 18%);
    border-bottom: 1px solid var(--line);
}

.nav__row {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--gradient-cta);
    box-shadow: 0 10px 25px rgba(47, 124, 226, 0.24);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    overflow: hidden;
}

.brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand__text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav__link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
}

.nav__link:hover {
    color: var(--brand);
}

.lang {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface), transparent 5%);
}

.lang__btn {
    width: 34px;
    height: 30px;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang__btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn {
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 180ms ease;
}

.btn--primary {
    color: #fff;
    background: var(--gradient-cta);
    box-shadow: 0 10px 26px rgba(28, 139, 99, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn--ghost {
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: var(--surface);
}

.hero {
    padding: calc(var(--nav-h) + 72px) 0 72px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand), transparent 65%);
    background: color-mix(in srgb, var(--brand), transparent 90%);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--brand);
}

.hero__title {
    margin-top: 16px;
    font-family: var(--font-title);
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero__title-accent {
    display: block;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__lead {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 21px;
    max-width: 52ch;
}

.hero__actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    padding: 14px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface), transparent 5%);
    border-radius: var(--radius-m);
    text-align: center;
}

.stat__v {
    font-family: var(--font-title);
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat__k {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 600;
}

.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
}

.phone {
    width: min(340px, 82vw);
    border-radius: 38px;
    background: linear-gradient(160deg, #111 0%, #242424 100%);
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(47, 124, 226, 0.2);
    transform: rotate(-4deg);
}

.phone__inner {
    aspect-ratio: 9 / 19.5;
    border-radius: 30px;
    overflow: hidden;
    background: #dcefe7;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.phone__screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone__chip {
    height: 30px;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid rgba(16, 32, 25, 0.08);
}

.phone__list {
    display: grid;
    gap: 10px;
}

.phone__item {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(16, 32, 25, 0.08);
    padding: 10px;
}

.phone__line {
    height: 8px;
    border-radius: 5px;
    background: rgba(16, 32, 25, 0.18);
}

.phone__line + .phone__line {
    margin-top: 8px;
    width: 72%;
}

.section {
    padding: 84px 0;
}

.shots {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shot {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: var(--surface);
    transition: transform 180ms ease;
}

.shot:hover {
    transform: translateY(-4px);
}

.shot img {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
}

.section--alt {
    background: var(--bg-alt);
}

.section__head {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.section__eyebrow {
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section__title {
    margin-top: 8px;
    font-family: var(--font-title);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section__desc {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 20px;
}

.cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--accent), transparent 84%);
    color: var(--accent);
    font-size: 20px;
}

.card__title {
    margin-top: 14px;
    font-family: var(--font-title);
    font-size: 24px;
    letter-spacing: -0.01em;
}

.card__text {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 18px;
}

.pricing {
    max-width: 820px;
    margin: 0 auto;
}

.pricing__box {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 30px;
}

.pricing__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.pricing__title {
    font-family: var(--font-title);
    font-size: 32px;
    line-height: 1;
}

.pricing__subtitle {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 18px;
}

.pricing__amount {
    font-family: var(--font-title);
    font-size: 52px;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.pricing__period {
    margin-top: 5px;
    text-align: right;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

.pricing__list {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.pricing__list li {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
}

.pricing__list li::before {
    content: '✓';
    color: var(--brand);
    font-weight: 700;
}

.pricing__cta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.notice {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 14px;
}

.cta {
    padding: 90px 0;
    background: var(--gradient-cta);
}

.cta__box {
    text-align: center;
    color: #fff;
}

.cta__title {
    font-family: var(--font-title);
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.cta__text {
    margin: 14px auto 28px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 21px;
}

.cta .btn--primary {
    background: #fff;
    color: #102019;
    box-shadow: none;
}

.page-hero {
    padding: calc(var(--nav-h) + 55px) 0 26px;
    background: var(--gradient-hero);
}

.page-hero__title {
    font-family: var(--font-title);
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-align: center;
}

.page-hero__text {
    margin: 12px auto 0;
    max-width: 740px;
    text-align: center;
    color: var(--text-muted);
    font-size: 20px;
}

.legal {
    padding: 40px 0 80px;
}

.legal__toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px;
    margin-bottom: 24px;
}

.legal__toc-title {
    font-size: 14px;
    color: var(--text-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.legal__toc ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.legal__toc a {
    color: var(--text-muted);
    font-weight: 600;
}

.legal__toc a:hover {
    color: var(--brand);
}

.legal__section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 22px;
}

.legal__section + .legal__section {
    margin-top: 14px;
}

.legal__h {
    font-family: var(--font-title);
    font-size: 28px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.legal__p,
.legal__li {
    color: var(--text-muted);
    font-size: 18px;
}

.legal__ul {
    margin-top: 10px;
    padding-left: 20px;
}

.support {
    padding: 38px 0 80px;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 22px;
}

.panel__title {
    font-family: var(--font-title);
    font-size: 29px;
    letter-spacing: -0.01em;
}

.panel__text {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 18px;
}

.form {
    margin-top: 16px;
    display: grid;
    gap: 11px;
}

.form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    padding: 12px;
    font: inherit;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--accent), transparent 60%);
    border-color: var(--accent);
}

.status {
    margin-top: 11px;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    display: none;
}

.status.is-visible {
    display: block;
}

.status--ok {
    background: color-mix(in srgb, var(--brand), transparent 88%);
    border: 1px solid color-mix(in srgb, var(--brand), transparent 65%);
    color: var(--brand-dark);
}

.status--err {
    background: color-mix(in srgb, var(--danger), transparent 90%);
    border: 1px solid color-mix(in srgb, var(--danger), transparent 70%);
    color: var(--danger);
}

.faq {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: var(--surface-soft);
}

.faq__q {
    font-weight: 700;
    color: var(--text);
}

.faq__a {
    margin-top: 6px;
    color: var(--text-muted);
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
    padding: 34px 0 28px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.footer__title {
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 700;
    margin-bottom: 8px;
}

.footer__link {
    display: block;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
}

.footer__copy {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 1040px) {
    .hero__grid,
    .split,
    .cards,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .shots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__visual {
        order: -1;
    }

    .phone {
        transform: none;
    }

    .section,
    .cta {
        padding: 64px 0;
    }
}

@media (max-width: 760px) {
    .nav {
        height: auto;
        padding: 10px 0;
    }

    .nav__row {
        flex-wrap: wrap;
    }

    .nav__links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 4px;
    }

    .hero {
        padding-top: 132px;
    }

    .hero__lead,
    .section__desc,
    .panel__text,
    .legal__p,
    .legal__li,
    .cta__text {
        font-size: 18px;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .form__grid {
        grid-template-columns: 1fr;
    }

    .shots {
        grid-template-columns: 1fr;
    }

    .pricing__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing__period {
        text-align: left;
    }
}
