* {
    box-sizing: border-box;
}

:root {
    --bg: #050b1b;
    --bg2: #081226;
    --panel: #0d1830;
    --panel2: #111f3d;
    --line: rgba(255,255,255,0.14);
    --text: #ffffff;
    --muted: #aeb8cc;
    --soft: #dbe3f3;
    --accent: #c9d6ea;
    --glow: rgba(148, 178, 225, 0.22);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 70% 10%, rgba(83,113,170,0.22), transparent 32%),
        linear-gradient(180deg, #050b1b 0%, #081226 45%, #050b1b 100%);
    color: var(--text);
}

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

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

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

.nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 3px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-family: Georgia, serif;
    box-shadow: 0 0 24px var(--glow);
}

.logo strong {
    display: block;
    font-size: 14px;
}

.logo span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
}

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

nav a:hover {
    color: #fff;
}

.nav-button {
    border: 1px solid var(--line);
    padding: 11px 16px;
    border-radius: 999px;
    color: #fff;
}

.hero {
    padding: 105px 0 95px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
}

h1 {
    margin: 14px 0 22px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.95;
    letter-spacing: -3px;
}

h2 {
    margin: 10px 0 18px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -2px;
}

h3 {
    margin-top: 0;
    font-size: 22px;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    font-size: 19px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
}

.button.primary {
    background: #fff;
    color: #050b1b;
}

.button.secondary {
    border: 1px solid var(--line);
    color: #fff;
}

.hero-panel,
.platform-card,
.card,
.contact-box,
.terminal {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--line);
    box-shadow: 0 30px 90px rgba(0,0,0,0.38);
    border-radius: 28px;
}

.hero-panel {
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.hero-panel:before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -90px;
    top: -90px;
    background: radial-gradient(circle, rgba(201,214,234,0.20), transparent 65%);
}

.panel-top,
.metric-row,
.risk-list div,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-top {
    margin-bottom: 24px;
    color: var(--soft);
}

.panel-top strong {
    font-size: 11px;
    color: #050b1b;
    background: #dbe3f3;
    padding: 6px 9px;
    border-radius: 999px;
}

.metric-row {
    gap: 14px;
}

.metric-row div {
    width: 50%;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
}

small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.metric-row strong {
    font-size: 28px;
}

.chart-card {
    margin: 20px 0;
    height: 210px;
    border-radius: 22px;
    background:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 38px 38px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 48%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #dbe3f3, transparent);
    transform: rotate(-8deg);
    box-shadow: 0 0 22px var(--glow);
}

.chart-bars {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: end;
    gap: 12px;
}

.chart-bars span {
    flex: 1;
    border-radius: 8px 8px 0 0;
    background: rgba(219,227,243,0.35);
}

.chart-bars span:nth-child(1) { height: 42px; }
.chart-bars span:nth-child(2) { height: 74px; }
.chart-bars span:nth-child(3) { height: 56px; }
.chart-bars span:nth-child(4) { height: 108px; }
.chart-bars span:nth-child(5) { height: 86px; }
.chart-bars span:nth-child(6) { height: 122px; }

.risk-list {
    display: grid;
    gap: 10px;
}

.risk-list div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
}

.risk-list span {
    color: var(--muted);
}

.section {
    padding: 85px 0;
}

.section-heading {
    max-width: 760px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.card {
    padding: 30px;
}

.split-section {
    padding: 85px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.025);
}

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

.split-text {
    display: grid;
    gap: 8px;
}

.contact-section {
    padding: 90px 0;
}

.contact-box {
    padding: 38px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: center;
}

form {
    display: grid;
    gap: 12px;
}

input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.07);
    color: #fff;
    outline: none;
}

input::placeholder {
    color: #8f9bb3;
}

button {
    border: 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    color: #050b1b;
    font-weight: bold;
    cursor: pointer;
}

footer {
    border-top: 1px solid var(--line);
    padding: 28px 0;
    color: var(--muted);
    font-size: 13px;
}

.page-hero {
    padding: 105px 0 70px;
}

.page-hero .container {
    max-width: 900px;
}

.page-hero p {
    font-size: 19px;
}

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

.platform-card {
    padding: 30px;
}

.platform-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.terminal-section {
    padding: 20px 0 80px;
}

.terminal {
    overflow: hidden;
}

.terminal-header {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.terminal-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

pre {
    margin: 0;
    padding: 34px;
    color: #dbe3f3;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    .nav {
        flex-direction: column;
        gap: 22px;
        padding: 20px 0;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .split,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .cards,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card.large {
        grid-column: auto;
        grid-row: auto;
    }

    h1 {
        letter-spacing: -2px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        padding-top: 70px;
    }

    .metric-row {
        flex-direction: column;
    }

    .metric-row div {
        width: 100%;
    }
}
