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

:root {
    --bg: #050509;
    --bg-elevated: rgba(15, 15, 25, 0.96);
    --glass: rgba(18, 18, 30, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --text-main: #f5f5f7;
    --text-muted: #a0a0b3;
    --accent: #4c82ff;
    --accent-soft: rgba(76, 130, 255, 0.16);
    --accent-strong: #5a8fff;
    --danger: #ff4c6a;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
    --container-width: 1120px;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    background: radial-gradient(circle at top, #101020, #030307 55%, #020205 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Layout */

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

.section {
    padding: 80px 0;
}

.section-header {
    max-width: 640px;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(5, 5, 9, 0.95), rgba(5, 5, 9, 0.78), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 16px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #ffffff, #d0d0ff 40%, #4c82ff 95%);
    color: #050509;
    font-size: 18px;
    font-weight: 700;
}

.logo-text {
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
}

/* Nav */

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--text-muted);
    flex: 1;
}

.nav a {
    text-decoration: none;
    color: inherit;
    padding: 6px 0;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transition: width 0.18s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(76, 130, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(76, 130, 255, 0.7);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text-main);
    background: rgba(10, 10, 22, 0.7);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(18, 18, 30, 0.95);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.04);
    background: rgba(10, 10, 22, 0.4);
    color: var(--text-main);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(18, 18, 30, 0.9);
}

.btn-lg {
    padding: 11px 26px;
    font-size: 15px;
    font-weight: 500;
}

.full-width {
    width: 100%;
}

/* Burger */

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
}

/* Hero */

.hero {
    position: relative;
    padding: 32px 0 72px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(76, 130, 255, 0.25), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%);
    opacity: 0.9;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #4c82ff);
}

.hero h1 {
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-note .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: radial-gradient(circle, #46ff9a, #15b868);
    box-shadow: 0 0 18px rgba(70, 255, 154, 0.9);
}

/* Hero card */

.hero-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.06), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(76, 130, 255, 0.25), transparent 55%),
                var(--glass);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 16px;
    max-width: 360px;
    margin-left: auto;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.status-pill {
    padding: 3px 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 10% 20%, #2bffb0, #179b61);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric {
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.04), transparent 85%);
}

.metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
}

.metric-row {
    display: flex;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    color: var(--text-muted);
    margin-right: 6px;
    background: rgba(7, 10, 24, 0.85);
}

.hero-mini-cta {
    padding: 9px 10px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: rgba(6, 9, 22, 0.9);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.inline-link {
    font-size: 12px;
    color: var(--accent-strong);
    text-decoration: none;
    border-bottom: 1px solid rgba(76, 130, 255, 0.5);
}

.inline-link:hover {
    border-bottom-color: rgba(76, 130, 255, 1);
}

/* Cards & grids */

.grid {
    display: grid;
    gap: 18px;
}

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

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

.card {
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--border-subtle);
    padding: 16px 16px 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}

.card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stats */

.stats-grid .stat-card {
    position: relative;
    overflow: hidden;
}

.stats-grid .stat-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), transparent 65%);
    opacity: 0.5;
    pointer-events: none;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Steps */

.step-card {
    position: relative;
    padding-top: 22px;
}

.step-number {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 11px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.2), transparent 75%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Docs */

.docs-grid .doc-card {
    border-style: dashed;
}

.docs-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Clients */

.clients-grid .client-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* CTA */

.section-accent {
    background: radial-gradient(circle at 0 0, rgba(76, 130, 255, 0.25), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.16), transparent 55%),
                linear-gradient(135deg, #040712, #050509);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.cta-inner p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Geo */

.geo-card {
    position: relative;
    overflow: hidden;
}

.geo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0, rgba(76, 130, 255, 0.18), transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

/* Contacts */

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

.contact-list {
    list-style: none;
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-list li + li {
    margin-top: 4px;
}

.contact-accent {
    color: var(--text-main);
}

.contact-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Footer */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0 22px;
    background: rgba(0, 0, 0, 0.85);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-logo .logo-text {
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-copy {
    margin-top: 4px;
}

/* Responsive */

@media (max-width: 900px) {
    .header-inner {
        justify-content: space-between;
    }

    .nav {
        position: fixed;
        top: 56px;
        right: 10px;
        left: 10px;
        padding: 12px 12px 10px;
        background: rgba(10, 10, 22, 0.98);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        flex-direction: column;
        gap: 8px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header .btn-outline {
        display: none;
    }

    .burger {
        display: flex;
        margin-left: auto;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        margin: 12px 0 0;
        max-width: none;
    }

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

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

    .section {
        padding: 56px 0;
    }

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

@media (max-width: 640px) {
    .hero {
        padding-top: 22px;
    }

    .header-inner {
        padding-inline: 10px;
    }

    .logo-text {
        display: none;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .grid-4,
    .grid-3,
    .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .card {
        padding: 14px 13px 12px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .container {
        padding-inline: 12px;
    }
}
