:root {
    --bg: #050608;
    --bg2: #0a0d12;
    --panel: #10141d;
    --panel2: #161b27;
    --panel3: #1b2231;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f4f5f8;
    --muted: #aeb5c7;
    --red: #b70d21;
    --red2: #ef2947;
    --red3: #5d0710;
    --gold: #d8ad55;
    --green: #34d179;
    --blue: #66a6ff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    --radius: 20px;
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(183, 13, 33, 0.32), transparent 32%),
        radial-gradient(circle at 90% 10%, rgba(216, 173, 85, 0.12), transparent 24%),
        linear-gradient(180deg, #050608 0%, #090b10 48%, #050608 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 78%);
}

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

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

.header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.88);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 210px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,0.25), transparent 22%),
        linear-gradient(145deg, var(--red2), var(--red3));
    box-shadow: 0 0 34px rgba(239, 41, 71, 0.28);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.brand-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.brand-sub {
    display: block;
    margin-top: -5px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    transition: 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(183, 13, 33, 0.22);
    box-shadow: inset 0 0 0 1px rgba(239, 41, 71, 0.17);
}

.nav-toggle {
    display: none;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 9px 13px;
    cursor: pointer;
}

.hero {
    min-height: 720px;
    display: grid;
    align-items: center;
    padding: 82px 0 64px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 34px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--gold);
}

h1,
h2,
h3,
h4 {
    line-height: 1.12;
    margin: 0;
}

h1 {
    margin-top: 18px;
    font-size: clamp(46px, 7vw, 92px);
    letter-spacing: -0.062em;
}

h1 span,
.red {
    color: var(--red2);
    text-shadow: 0 0 48px rgba(239, 41, 71, 0.20);
}

.lead {
    margin: 22px 0 0;
    color: var(--muted);
    max-width: 760px;
    font-size: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 900;
    transition: 0.18s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(145deg, var(--red2), var(--red3));
    box-shadow: 0 18px 54px rgba(183, 13, 33, 0.32);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 70px rgba(183, 13, 33, 0.42);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.045);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        var(--panel);
    box-shadow: var(--shadow);
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -90px;
    top: -110px;
    background: rgba(239, 41, 71, 0.14);
    filter: blur(4px);
}

.panel-top,
.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 900;
    font-size: 13px;
}

.status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 17px var(--green);
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.dash-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
}

.dash-card strong {
    display: block;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.dash-card span {
    color: var(--muted);
    font-size: 13px;
}

.panel-list {
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.panel-row {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
}

.panel-row span {
    color: var(--muted);
}

.section {
    padding: 78px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin-top: 12px;
    font-size: clamp(32px, 4.3vw, 54px);
    letter-spacing: -0.052em;
}

.section-head p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

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

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

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

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

.card,
.feature,
.page-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
        var(--panel);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.20);
}

.card,
.page-box {
    padding: 24px;
}

.feature {
    padding: 25px;
    overflow: hidden;
    position: relative;
}

.feature::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(239, 41, 71, 0.10), transparent 34%);
    pointer-events: none;
}

.icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(145deg, var(--red2), var(--red3));
    font-weight: 900;
    margin-bottom: 16px;
}

.card h3,
.feature h3,
.page-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p,
.feature p,
.page-box p,
li {
    color: var(--muted);
}

.clean-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.clean-list li {
    padding-left: 20px;
    position: relative;
}

.clean-list li::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 0;
    top: 12px;
    border-radius: 50%;
    background: var(--red2);
    box-shadow: 0 0 12px rgba(239, 41, 71, 0.45);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.tag {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(239, 41, 71, 0.22);
    background: rgba(183, 13, 33, 0.16);
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
}

.page-hero {
    padding: 86px 0 50px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 20%, rgba(183, 13, 33, 0.22), transparent 26%),
        transparent;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: -0.06em;
}

.page-hero .lead {
    max-width: 820px;
}

.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: start;
}

.side {
    position: sticky;
    top: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(16, 20, 29, 0.76);
    backdrop-filter: blur(10px);
}

.side-title {
    color: var(--gold);
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.side a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

.side a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.content-stack {
    display: grid;
    gap: 18px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

th {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

td strong {
    color: var(--text);
}

.progress-line {
    display: grid;
    gap: 14px;
}

.step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.step-level {
    color: var(--gold);
    font-weight: 900;
}

.notice {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(239, 41, 71, 0.25);
    background: rgba(183, 13, 33, 0.13);
    color: var(--muted);
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.timeline-date {
    color: var(--gold);
    font-weight: 900;
}

.footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

@media (max-width: 1030px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: rgba(5, 6, 8, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        border-radius: 12px;
    }

    .hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .layout {
        grid-template-columns: 1fr;
    }

    .side {
        position: static;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--max), calc(100% - 22px));
    }

    .hero {
        min-height: auto;
        padding: 52px 0;
    }

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

    .step,
    .timeline-item {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 42px;
    }
}