:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --text: #142033;
    --muted: #5f6b7a;
    --primary: #2f54eb;
    --primary-dark: #1d39c4;
    --border: #dbe3f0;
    --accent: #eef3ff;
    --shadow: 0 18px 50px rgba(20, 32, 51, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
    color: var(--text);
    line-height: 1.55;
}

/* --- ВЕРХНЕЕ МЕНЮ (ЖИРНОЕ И ЧЕТКОЕ) --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(248, 251, 255, 0.82);
    border-bottom: 1px solid rgba(219, 227, 240, 0.8);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}
.logo { font-size: 20px; font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: -0.02em; }
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700; /* Твой запрос на жирный шрифт */
    transition: color 0.2s ease, transform 0.2s ease;
}
.nav a:hover { color: var(--primary); transform: translateY(-1px); }

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

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(248, 251, 255, 0.82);
    border-bottom: 1px solid rgba(219, 227, 240, 0.8);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

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

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(47, 84, 235, 0.28);
}

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

.hero {
    padding: 72px 0 36px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: stretch;
}

.hero__content {
    background: var(--surface);
    border: 1px solid rgba(219, 227, 240, 0.9);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
    padding: 42px;
}

.hero__card {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    overflow: hidden;
    position: relative;
    min-height: 100%;
}

.hero__image {
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background:
            radial-gradient(circle at 18% 20%, rgba(47,84,235,.14) 0%, rgba(47,84,235,0) 28%),
            radial-gradient(circle at 82% 22%, rgba(47,84,235,.10) 0%, rgba(47,84,235,0) 24%),
            linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(20,32,51,.02) 100%);
    pointer-events: none;
}

.hero-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 470px;
    min-height: 420px;
}

.hero-illustration__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-illustration__orb--one {
    width: 120px;
    height: 120px;
    top: 8px;
    left: 8px;
    background: rgba(47,84,235,.08);
}

.hero-illustration__orb--two {
    width: 88px;
    height: 88px;
    right: 18px;
    bottom: 34px;
    background: rgba(47,84,235,.1);
}

.doc-card {
    position: absolute;
    inset: 34px 40px 46px 34px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(219, 227, 240, 1);
    border-radius: 26px;
    box-shadow: 0 28px 60px rgba(20, 32, 51, 0.12);
    padding: 24px;
}

.doc-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.doc-card__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.doc-card__badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.doc-card__lines {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.doc-line {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e7eefc 0%, #f2f6ff 100%);
}

.doc-line--lg { width: 84%; }
.doc-line--md { width: 68%; }
.doc-line--sm { width: 52%; }
.doc-line--xs { width: 38%; }

.doc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.doc-field {
    border: 1px solid rgba(219, 227, 240, 0.95);
    border-radius: 16px;
    background: #fbfcff;
    padding: 14px;
}

.doc-field__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

.doc-field__value {
    height: 10px;
    width: 70%;
    border-radius: 999px;
    background: #dce6fb;
}

.doc-field__value--short { width: 48%; }
.doc-field__value--long { width: 82%; }

.doc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf3ff 100%);
    border: 1px solid rgba(219, 227, 240, 1);
}

.doc-footer__status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.doc-footer__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2f54eb;
    box-shadow: 0 0 0 6px rgba(47,84,235,.12);
}

.doc-footer__button {
    padding: 10px 14px;
    border-radius: 12px;
    background: #2f54eb;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.floating-chip {
    position: absolute;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(219, 227, 240, 0.95);
    box-shadow: 0 14px 34px rgba(20, 32, 51, 0.1);
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    z-index: 2;
}

.floating-chip--one {
    top: 16px;
    right: 26px;
    color: var(--primary);
}

.floating-chip--two {
    left: 0;
    bottom: 68px;
}

.floating-chip--three {
    right: 4px;
    bottom: 8px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 42px;
}

.hero-note {
    padding: 0 0 10px;
}

.hero-note__card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(219, 227, 240, 0.95);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(20, 32, 51, 0.06);
    padding: 26px 28px;
}

.hero-note__text {
    margin: 0;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.65;
}

.hero-note__text strong {
    color: var(--text);
}

.section {
    padding: 34px 0;
}

.section__header {
    max-width: 760px;
    margin-bottom: 22px;
}

.section__eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.section__desc {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 12px 32px rgba(20, 32, 51, 0.05);
    height: 100%;
}

.card__number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eef3ff 0%, #e7efff 100%);
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 18px;
}

.banner {
    margin-top: 12px;
    padding: 30px;
    border-radius: 26px;
    background: linear-gradient(135deg, #1f4cff 0%, #446cff 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(47,84,235,.28);
}

.banner__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.banner h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
}

.banner p {
    margin: 0;
    max-width: 780px;
    color: rgba(255,255,255,.9);
    font-size: 17px;
}

.footer {
    padding: 30px 0 50px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .hero__grid,
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 820px) {
    .header__inner {
        min-height: 68px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding-top: 36px;
    }

    .hero__grid,
    .grid-4,
    .banner__grid {
        grid-template-columns: 1fr;
    }

    .hero__content,
    .hero__card,
    .banner {
        padding: 24px;
    }

    .hero__card {
        padding: 0;
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero-illustration {
        min-height: 360px;
    }

    .doc-card {
        inset: 24px 18px 28px 18px;
        padding: 18px;
    }

    .doc-fields {
        grid-template-columns: 1fr;
    }

    .floating-chip--one {
        right: 10px;
    }

    .floating-chip--two {
        left: 10px;
        bottom: 54px;
    }

    .floating-chip--three {
        right: 10px;
        bottom: 0;
    }

    .btn {
        width: 100%;
    }
}