:root {
    --bg: #06111f;
    --bg-soft: #0b1b2d;
    --panel: rgba(13, 31, 52, 0.82);
    --panel-strong: rgba(16, 40, 67, 0.94);
    --line: rgba(148, 197, 255, 0.16);
    --text: #e8f3ff;
    --muted: #9db4cc;
    --cyan: #42d9ff;
    --blue: #2f80ff;
    --green: #35d49b;
    --yellow: #f7c65a;
    --red: #ff647c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 78% 16%, rgba(66, 217, 255, 0.12), transparent 30%),
        linear-gradient(180deg, #06111f 0%, #071827 46%, #08111d 100%);
    color: var(--text);
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 17, 31, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.navbar {
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(66, 217, 255, 0.38);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.34), rgba(66, 217, 255, 0.12));
    color: #dff8ff;
    font-weight: 800;
    font-size: 13px;
}

.brand strong,
.site-footer strong {
    display: block;
    letter-spacing: 0;
    font-size: 15px;
}

.brand small,
.site-footer small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0;
}

.nav-link {
    color: #bdd2e8;
    font-size: 14px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text);
}

.navbar-toggler {
    border: 1px solid var(--line);
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: var(--text);
}

.btn {
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid rgba(66, 217, 255, 0.38);
    outline-offset: 3px;
}

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

.btn-client,
.btn-primary-glow {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border: 0;
    color: #03111d;
    box-shadow: 0 12px 28px rgba(66, 217, 255, 0.18);
}

.btn-client:hover,
.btn-primary-glow:hover {
    color: #03111d;
    box-shadow: 0 16px 36px rgba(66, 217, 255, 0.26);
}

.btn-outline-light {
    border-color: rgba(232, 243, 255, 0.28);
    color: var(--text);
}

.btn-outline-light:hover {
    background: rgba(232, 243, 255, 0.08);
    border-color: rgba(232, 243, 255, 0.48);
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    padding: 96px 0 76px;
}

.hero-grid,
.exposure-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(66, 217, 255, 0.8);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.96;
    margin-bottom: 24px;
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin-bottom: 18px;
    font-weight: 780;
}

h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: #cbe0f5;
    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.35;
    max-width: 720px;
    margin-bottom: 18px;
}

.hero-text,
.content-section p,
.cta p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

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

.intel-panel,
.feature-card,
.exposure-panel,
.steps article,
.source-grid div {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.intel-panel {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 26px;
    animation: panelFloat 6s ease-in-out infinite;
}

.intel-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66, 217, 255, 0.12), transparent 38%);
    pointer-events: none;
}

.panel-header,
.panel-footer,
.severity-list div,
.signal-grid {
    position: relative;
}

.panel-header,
.panel-footer,
.severity-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.panel-header {
    margin-bottom: 24px;
}

.panel-header span,
.panel-title {
    color: #cfe4f9;
    font-weight: 800;
}

.panel-header strong {
    font-size: 52px;
    color: var(--cyan);
}

.severity-list {
    display: grid;
    gap: 12px;
}

.severity-list div,
.panel-footer,
.exposure-row {
    border: 1px solid rgba(148, 197, 255, 0.12);
    border-radius: 10px;
    background: rgba(2, 12, 23, 0.34);
    padding: 12px 14px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 9px;
}

.critical {
    background: var(--red);
}

.high {
    background: var(--yellow);
}

.medium {
    background: var(--green);
}

.signal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.signal-grid div {
    border-radius: 12px;
    background: rgba(66, 217, 255, 0.08);
    padding: 16px;
}

.signal-grid small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.signal-grid strong {
    font-size: 28px;
}

.chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 10px;
    height: 120px;
    margin: 22px 0;
}

.chart span {
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, var(--cyan), rgba(47, 128, 255, 0.35));
}

.status-pill {
    border-radius: 999px;
    background: rgba(255, 100, 124, 0.14);
    color: #ff93a4;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 800;
}

.content-section {
    padding: 92px 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

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

.feature-card {
    border-radius: 14px;
    padding: 24px;
    min-height: 246px;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.source-grid div:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 217, 255, 0.42);
    background: var(--panel-strong);
}

.feature-card-wide {
    grid-column: span 2;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    margin-bottom: 22px;
    background: rgba(66, 217, 255, 0.1);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
}

.workflow {
    background: rgba(2, 12, 23, 0.22);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.steps::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 217, 255, 0.45), transparent);
}

.steps article {
    position: relative;
    border-radius: 14px;
    padding: 26px;
}

.steps span {
    display: inline-flex;
    color: var(--cyan);
    font-weight: 900;
    margin-bottom: 24px;
}

.exposure h2,
.exposure p {
    max-width: 680px;
}

.exposure-panel {
    border-radius: 16px;
    padding: 22px;
}

.panel-title {
    margin-bottom: 14px;
}

.exposure-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(90px, 0.8fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.exposure-row span {
    overflow-wrap: anywhere;
}

.exposure-row small {
    color: var(--muted);
}

.critical-text {
    color: #ff93a4;
}

.high-text {
    color: #ffd77b;
}

.medium-text {
    color: #78e5b7;
}

.source-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.source-grid div {
    min-height: 98px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: #d8eafd;
    font-weight: 800;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.cta {
    padding: 88px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.16), rgba(66, 217, 255, 0.08));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta p {
    max-width: 680px;
    margin: 0 auto;
}

.site-footer {
    padding: 34px 0 24px;
    color: var(--muted);
}

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

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

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

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 24px;
    padding-top: 18px;
    font-size: 13px;
}

.section-fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.section-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes panelFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1199px) {
    .capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 16px;
    }

    .btn-client {
        display: inline-flex;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-grid,
    .exposure-grid {
        grid-template-columns: 1fr;
    }

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

    .steps::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 12px 0;
    }

    h1 {
        font-size: 44px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .capability-grid,
    .source-grid,
    .signal-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-wide {
        grid-column: auto;
    }

    .intel-panel,
    .feature-card,
    .exposure-panel,
    .steps article {
        padding: 20px;
    }

    .exposure-row {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
    }
}
