﻿:root {
    --bg: #03050a;
    --bg2: #070b12;
    --panel: rgba(11, 17, 27, .78);
    --panel-solid: #0b111b;
    --line: rgba(151, 177, 202, .14);
    --line-strong: rgba(151, 177, 202, .25);

    --text: #f6f9fc;
    --muted: #8c9aac;
    --muted2: #637181;

    --cyan: #67dcff;
    --cyan2: #a9efff;
    --blue: #4f8cff;
    --green: #72e8b0;
    --amber: #ffd36b;

    --shadow:
        0 30px 80px rgba(0,0,0,.42);

    --radius: 18px;
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%,
            rgba(79,140,255,.15),
            transparent 35%),
        radial-gradient(circle at 85% 20%,
            rgba(103,220,255,.08),
            transparent 28%),
        radial-gradient(circle at 15% 65%,
            rgba(50,95,160,.08),
            transparent 30%),
        linear-gradient(180deg,#02040a,#050811 45%,#03050a);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    overflow-x: hidden;
}

/* cinematic grid */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );
    background-size: 64px 64px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,1),
            rgba(0,0,0,.08) 75%,
            transparent
        );
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .16;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.03) 0,
            rgba(255,255,255,.03) 1px,
            transparent 1px,
            transparent 4px
        );
    mix-blend-mode: soft-light;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.topline {
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--cyan),
            var(--blue),
            transparent
        );
    box-shadow:
        0 0 22px rgba(103,220,255,.38);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: min(var(--max), calc(100% - 40px));
    min-height: 78px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(
            180deg,
            rgba(4,8,14,.90),
            rgba(4,8,14,.68)
        );
}

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

.brand-mark {
    position: relative;
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(103,220,255,.4);

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(103,220,255,.13),
            transparent 50%
        ),
        rgba(255,255,255,.02);

    box-shadow:
        inset 0 0 28px rgba(103,220,255,.05),
        0 0 25px rgba(103,220,255,.05);

    font-weight: 900;
    letter-spacing: -2px;
}

.brand-mark::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    right: 5px;
    top: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.brand-mark span {
    color: var(--cyan);
}

.brand-name {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .17em;
}

.brand-sub {
    margin-top: 4px;
    color: var(--muted2);
    font-size: 8px;
    letter-spacing: .22em;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav nav a {
    position: relative;
    color: #c9d4df;
    text-decoration: none;
    font-size: 9px;
    letter-spacing: .14em;
    transition: color .2s ease;
}

.nav nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--cyan);
    transition: transform .2s ease;
}

.nav nav a:hover {
    color: var(--cyan);
}

.nav nav a:hover::after {
    transform: scaleX(1);
}

.nav-button {
    padding: 12px 15px;
    border: 1px solid rgba(103,220,255,.7);
    color: var(--cyan);
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;

    background:
        linear-gradient(
            180deg,
            rgba(103,220,255,.08),
            rgba(103,220,255,.02)
        );

    box-shadow:
        inset 0 0 18px rgba(103,220,255,.03),
        0 0 18px rgba(103,220,255,.05);

    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.nav-button:hover {
    background: rgba(103,220,255,.12);
    box-shadow:
        0 0 25px rgba(103,220,255,.10);
    transform: translateY(-1px);
}

/* HERO */

.hero {
    width: min(var(--max), calc(100% - 40px));
    min-height: 760px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    gap: 50px;

    padding: 90px 0 105px;
}

.eyebrow,
.section-number {
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .22em;
    color: var(--cyan);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow:
        0 0 0 0 rgba(103,220,255,.5),
        0 0 16px rgba(103,220,255,.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(103,220,255,.42),
            0 0 16px rgba(103,220,255,.8);
    }
    70% {
        box-shadow:
            0 0 0 12px rgba(103,220,255,0),
            0 0 20px rgba(103,220,255,.45);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(103,220,255,0),
            0 0 16px rgba(103,220,255,.8);
    }
}

.hero h1 {
    max-width: 850px;
    margin: 24px 0;

    font-size: clamp(58px, 8vw, 116px);
    line-height: .84;
    letter-spacing: -.075em;
    font-weight: 850;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(255,255,255,.28);
    text-shadow:
        0 0 40px rgba(103,220,255,.05);
}

.hero-text {
    max-width: 690px;
    color: #aab6c4;
    font-size: 15px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    min-height: 46px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(103,220,255,.55);

    text-decoration: none;

    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.button.primary {
    color: #021019;
    background:
        linear-gradient(
            135deg,
            var(--cyan),
            var(--cyan2)
        );
    border-color: transparent;
    box-shadow:
        0 12px 30px rgba(103,220,255,.13);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 35px rgba(103,220,255,.19);
}

.button.secondary {
    color: var(--cyan);
    background: rgba(103,220,255,.025);
}

.button.secondary:hover {
    transform: translateY(-2px);
    background: rgba(103,220,255,.07);
}

.hero-status {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-status span {
    padding: 7px 9px;
    border: 1px solid var(--line);
    color: #778595;
    background: rgba(255,255,255,.018);
    font-size: 7px;
    letter-spacing: .16em;
}

/* ORBITAL SYSTEM */

.orbital-panel {
    position: relative;
    min-height: 560px;

    display: grid;
    place-items: center;

    isolation: isolate;
}

.orbital-panel::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(103,220,255,.08),
            transparent 68%
        );

    filter: blur(10px);
    animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
    0%,100% {
        transform: scale(.96);
        opacity: .7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.orbit {
    position: absolute;
    border: 1px solid rgba(103,220,255,.16);
    border-radius: 50%;
}

.orbit-1 {
    width: 295px;
    height: 295px;
    box-shadow:
        0 0 35px rgba(103,220,255,.03);
    animation: rotate1 26s linear infinite;
}

.orbit-2 {
    width: 430px;
    height: 430px;
    transform: rotate(67deg);
    border-color: rgba(79,140,255,.14);
    animation: rotate2 34s linear infinite reverse;
}

.orbit-3 {
    width: 530px;
    height: 245px;
    transform: rotate(-28deg);
    border-color: rgba(103,220,255,.12);
    animation: rotate3 40s linear infinite;
}

@keyframes rotate1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate2 {
    from { transform: rotate(67deg); }
    to { transform: rotate(427deg); }
}

@keyframes rotate3 {
    from { transform: rotate(-28deg); }
    to { transform: rotate(332deg); }
}

.core {
    position: relative;
    z-index: 5;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid rgba(103,220,255,.58);

    background:
        radial-gradient(
            circle at 50% 38%,
            rgba(103,220,255,.28),
            rgba(8,15,24,.96) 62%
        );

    box-shadow:
        inset 0 0 55px rgba(103,220,255,.08),
        0 0 65px rgba(103,220,255,.11),
        0 0 150px rgba(79,140,255,.06);
}

.core::before {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid rgba(103,220,255,.12);
}

.core::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(103,220,255,.17);
    animation: coreSpin 10s linear infinite;
}

@keyframes coreSpin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.core-small {
    color: var(--cyan);
    font-size: 10px;
    letter-spacing: .32em;
    margin-left: .32em;
    z-index: 2;
}

.core strong {
    z-index: 2;
    margin-top: 10px;
    font-size: 23px;
    line-height: .95;
    letter-spacing: -.04em;
}

.core span {
    z-index: 2;
    margin-top: 11px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .26em;
}

.telemetry {
    position: absolute;
    z-index: 10;

    min-width: 155px;
    padding: 14px 16px;

    border: 1px solid rgba(151,177,202,.18);

    background:
        linear-gradient(
            145deg,
            rgba(11,17,27,.93),
            rgba(5,10,17,.85)
        );

    box-shadow:
        var(--shadow);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.telemetry::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cyan);
    box-shadow: 0 0 13px rgba(103,220,255,.5);
}

.telemetry span {
    display: block;
    color: var(--muted2);
    font-size: 7px;
    letter-spacing: .16em;
}

.telemetry strong {
    display: block;
    margin-top: 5px;
    font-size: 25px;
    letter-spacing: -.04em;
}

.t1 {
    top: 30px;
    right: 4px;
}

.t2 {
    left: 0;
    bottom: 92px;
}

.t3 {
    right: 28px;
    bottom: 2px;
}

/* STATS */

.stats-section {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    position: relative;
    padding: 30px 20px;
    border-right: 1px solid var(--line);
    overflow: hidden;
}

.stat::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            120deg,
            rgba(103,220,255,.04),
            transparent 55%
        );
    opacity: 0;
    transition: opacity .25s ease;
}

.stat:hover::before {
    opacity: 1;
}

.stat:last-child {
    border-right: 0;
}

.stat span {
    color: var(--muted2);
    font-size: 8px;
    letter-spacing: .16em;
}

.stat strong {
    display: block;
    margin: 9px 0;
    font-size: 38px;
    letter-spacing: -.055em;
}

.stat small {
    color: #687586;
    line-height: 1.55;
    font-size: 10px;
}

/* SECTION */

.section {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
    padding: 115px 0;
}

.dark-section {
    width: 100%;
    max-width: none;

    padding-left: max(
        20px,
        calc((100% - var(--max)) / 2)
    );

    padding-right: max(
        20px,
        calc((100% - var(--max)) / 2)
    );

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.015),
            rgba(255,255,255,0)
        ),
        #070b11;

    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .62fr;
    gap: 60px;
    margin-bottom: 60px;
}

.section-heading h2,
.about h2,
.contact-copy h2 {
    margin: 16px 0 0;

    font-size: clamp(40px, 5vw, 74px);
    line-height: .93;
    letter-spacing: -.065em;
    font-weight: 820;
}

.section-heading > p {
    align-self: end;
    max-width: 520px;
    color: #8794a4;
    line-height: 1.82;
    font-size: 13px;
}

/* ENGINES */

.engine-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1px;

    border: 1px solid var(--line);
    background: var(--line);
}

.engine {
    position: relative;
    min-height: 300px;

    padding: 26px;

    background:
        linear-gradient(
            160deg,
            rgba(15,23,34,.98),
            rgba(7,12,19,.98)
        );

    transition:
        transform .25s ease,
        background .25s ease;
}

.engine:hover {
    z-index: 2;
    transform: translateY(-6px);

    background:
        linear-gradient(
            160deg,
            rgba(17,28,42,1),
            rgba(7,13,21,1)
        );
}

.engine-code {
    color: #556475;
    font-size: 8px;
    letter-spacing: .17em;
}

.engine h3 {
    margin: 72px 0 15px;
    font-size: 25px;
    letter-spacing: -.04em;
}

.engine p {
    color: #7e8b9b;
    line-height: 1.72;
    font-size: 12px;
}

.engine-line {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 22px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            transparent
        );

    opacity: .55;
}

/* FLOW */

.mission-flow {
    display: flex;
    align-items: center;
    gap: 12px;

    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.flow-item {
    position: relative;
    min-width: 145px;
    padding: 18px;

    border: 1px solid var(--line);

    background:
        linear-gradient(
            150deg,
            rgba(12,19,29,.92),
            rgba(5,9,14,.92)
        );
}

.flow-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 1px;
    background: var(--cyan);
    opacity: .55;
}

.flow-item span {
    color: var(--cyan);
    font-size: 8px;
}

.flow-item strong {
    display: block;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: .10em;
}

.flow-item small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
}

.flow-line {
    min-width: 36px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            rgba(103,220,255,.05)
        );
}

/* PROGRESS */

.progress-card {
    margin-top: 58px;
    padding: 30px;

    border:
        1px solid var(--line);

    background:
        linear-gradient(
            160deg,
            rgba(12,20,31,.95),
            rgba(6,10,16,.95)
        );

    box-shadow: var(--shadow);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #7d8b9b;
    font-size: 8px;
    letter-spacing: .18em;
}

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

.progress-track {
    height: 8px;
    margin: 22px 0;
    overflow: hidden;
    background: #151e29;
}

.progress-fill {
    width: 69.35%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #2a9ec3,
            var(--cyan2)
        );

    box-shadow:
        0 0 20px rgba(103,220,255,.18);
    position: relative;
}

.progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    animation: sweep 3.5s linear infinite;
}

@keyframes sweep {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    color: #647282;
    font-size: 8px;
    letter-spacing: .1em;
}

/* DASHBOARD */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 14px;
}

.dashboard-card {
    position: relative;
    min-height: 285px;

    padding: 25px;

    border: 1px solid var(--line);

    background:
        linear-gradient(
            145deg,
            rgba(12,19,30,.92),
            rgba(5,9,15,.92)
        );

    box-shadow: 0 20px 45px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    border-color: rgba(103,220,255,.23);
}

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

.card-header,
.bar-row,
.mini-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header {
    color: #748293;
    font-size: 8px;
    letter-spacing: .16em;
}

.live {
    color: var(--green);
}

.bars {
    margin-top: 55px;
}

.bar-row {
    gap: 14px;
    margin: 23px 0;

    color: #788594;
    font-size: 8px;
}

.bar-row > span {
    width: 78px;
}

.bar-row strong {
    width: 45px;
    text-align: right;
    color: white;
}

.bar {
    flex: 1;
    height: 7px;
    overflow: hidden;
    background: #141d29;
}

.bar i {
    display: block;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            #2a9ec3,
            var(--cyan2)
        );
}

.big-number {
    margin-top: 48px;
    font-size: 72px;
    line-height: .9;
    letter-spacing: -.07em;
}

.dashboard-card p {
    color: var(--muted);
    font-size: 11px;
}

.mini-list {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.mini-list div {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);

    color: #627181;
    font-size: 8px;
    letter-spacing: .11em;
}

.mini-list b {
    color: #eef4f8;
}

.supervisor {
    margin-top: 43px;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

.supervisor strong {
    font-size: 27px;
}

.supervisor span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .14em;
}

.signal {
    position: relative;

    width: 46px;
    height: 46px;

    border-radius: 50%;
    border: 1px solid rgba(103,220,255,.35);

    box-shadow:
        0 0 25px rgba(103,220,255,.10);
}

.signal::before,
.signal::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.signal::before {
    inset: 7px;
    border: 1px solid rgba(103,220,255,.17);
}

.signal::after {
    inset: 15px;
    background: var(--cyan);
    box-shadow:
        0 0 18px rgba(103,220,255,.8);
}

/* SECURITY */

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

    border: 1px solid var(--line);
    background: var(--line);
}

.security-item {
    min-height: 200px;
    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #091019,
            #060a10
        );
}

.security-item span {
    color: var(--cyan);
    font-size: 8px;
}

.security-item strong {
    display: block;
    margin-top: 35px;
    font-size: 13px;
    letter-spacing: .08em;
}

.security-item p {
    color: #788696;
    line-height: 1.7;
    font-size: 11px;
}

/* ABOUT */

.about {
    max-width: 900px;
    text-align: center;
}

.about h2 {
    margin-top: 18px;
}

.mission-text {
    color: #9aa6b4;
    font-size: 15px;
    line-height: 1.95;
}

.principles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 35px;
}

.principles span {
    padding: 9px 11px;

    border: 1px solid var(--line);

    color: #7e8c9c;
    background: rgba(255,255,255,.015);

    font-size: 7px;
    letter-spacing: .14em;
}

/* CONTACT */

.contact-section {
    width: 100%;
    padding:
        120px
        max(20px, calc((100% - var(--max)) / 2));

    background:
        radial-gradient(
            circle at 72% 40%,
            rgba(103,220,255,.08),
            transparent 28%
        ),
        #061019;

    border-top: 1px solid var(--line);
}

.contact-copy {
    max-width: 770px;
}

.contact-copy p {
    max-width: 650px;
    color: #98a5b4;
    line-height: 1.8;
}

.contact-copy small {
    display: block;
    margin-top: 14px;
    color: #5e6c7b;
    font-size: 9px;
}

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

    margin-top: 56px;

    border: 1px solid var(--line);
}

.contact-grid div {
    padding: 22px;
    border-right: 1px solid var(--line);
    background: rgba(255,255,255,.012);
}

.contact-grid div:last-child {
    border-right: 0;
}

.contact-grid span {
    display: block;
    color: #627182;
    font-size: 7px;
    letter-spacing: .16em;
}

.contact-grid strong {
    display: block;
    margin-top: 9px;
    font-size: 11px;
}

/* FOOTER */

footer {
    width: min(var(--max), calc(100% - 40px));
    margin: auto;
    padding: 42px 0 25px;
}

.footer-brand strong {
    display: block;
    font-size: 11px;
    letter-spacing: .15em;
}

.footer-brand span {
    display: block;
    margin-top: 7px;
    color: #657282;
    font-size: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.footer-links a {
    color: #7b8998;
    text-decoration: none;
    font-size: 8px;
    letter-spacing: .11em;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;

    margin-top: 30px;
    padding-top: 18px;

    border-top: 1px solid var(--line);

    color: #536170;
    font-size: 7px;
    letter-spacing: .12em;
}

/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1080px) {

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

    .orbital-panel {
        min-height: 500px;
    }

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

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

    .dashboard-card.large {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

@media (max-width: 800px) {

    .nav {
        width: calc(100% - 26px);
        flex-wrap: wrap;
        padding: 13px 0;
    }

    .nav nav {
        width: 100%;
        order: 3;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-button {
        margin-left: auto;
    }

    .stats-section {
        width: calc(100% - 26px);
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 22px;
    }

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

    .contact-grid div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .contact-grid div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 650px) {

    .hero,
    .section {
        width: calc(100% - 26px);
        padding: 72px 0;
    }

    .dark-section,
    .contact-section {
        padding-left: 13px;
        padding-right: 13px;
    }

    .hero h1 {
        font-size: clamp(50px, 15vw, 82px);
    }

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

    .orbital-panel {
        min-height: 400px;
    }

    .core {
        width: 176px;
        height: 176px;
    }

    .orbit-1 {
        width: 240px;
        height: 240px;
    }

    .orbit-2 {
        width: 330px;
        height: 330px;
    }

    .orbit-3 {
        width: 390px;
        height: 185px;
    }

    .telemetry {
        min-width: 120px;
        padding: 11px 12px;
    }

    .telemetry strong {
        font-size: 21px;
    }

    .t1 {
        top: 10px;
        right: 0;
    }

    .t2 {
        left: 0;
        bottom: 58px;
    }

    .t3 {
        right: 0;
        bottom: 0;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }

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

    .progress-meta {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* AI BUSINESS OS V3 - FINAL TYPOGRAPHY / SPACING FIX */
.site-header,
.site-header .container,
.nav,
nav,
.nav-links,
.navigation,
header nav,
footer,
.footer,
.footer-links {
  gap: 1rem;
}

nav a + a,
.nav a + a,
.nav-links a + a,
.footer a + a,
.footer-links a + a {
  margin-left: 1rem;
}

h1 > * + *,
h2 > * + *,
h3 > * + *,
.hero-title > * + *,
.brand > * + *,
.logo > * + * {
  margin-left: 0.16em;
}

.hero h1,
.hero-title,
.page-title,
.section-title {
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.eyebrow,
.kicker,
.label,
.metric-label,
.stat-label,
.card-label {
  letter-spacing: 0.08em;
}

.footer,
.site-footer {
  line-height: 1.5;
}

.footer strong + *,
.footer span + *,
.site-footer strong + *,
.site-footer span + * {
  margin-left: 0.25em;
}

/* Prevent inline branding words from visually touching */
.brand span + span,
.logo span + span,
.brand strong + span,
.brand span + strong,
.logo strong + span,
.logo span + strong {
  margin-left: 0.18em;
}

/* Mobile spacing */
@media (max-width: 768px) {
  nav a + a,
  .nav a + a,
  .nav-links a + a {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  nav,
  .nav,
  .nav-links {
    gap: 0.7rem;
  }
}

/* FINAL VISUAL TEXT-SEPARATION FALLBACK */
.hero h1 span + span,
.hero h1 strong + span,
.hero h1 span + strong,
.hero-title span + span,
.hero-title strong + span,
.hero-title span + strong,
.brand span + span,
.brand strong + span,
.brand span + strong,
.site-footer span + span,
.site-footer strong + span,
.site-footer span + strong,
footer span + span,
footer strong + span,
footer span + strong {
  margin-left: .18em;
}

.eyebrow span + span,
.kicker span + span,
.badge span + span,
.stat span + span,
.metric span + span {
  margin-left: .14em;
}

/* Visual text separators */
.visual-text-separator {
  display: inline;
  width: auto;
  min-width: .18em;
  white-space: pre;
}
