:root {
    --bg: #040a13;
    --bg-soft: #08111f;
    --panel: rgba(8, 18, 34, 0.9);
    --panel-strong: rgba(10, 22, 40, 0.96);
    --panel-row: rgba(19, 34, 57, 0.94);
    --panel-row-alt: rgba(11, 23, 40, 0.94);
    --border: rgba(113, 166, 255, 0.18);
    --text: #f2f6ff;
    --muted: #a8b9d3;
    --blue-bright: #34a2ff;
    --green: #5ce7a1;
    --content-width: min(1320px, calc(100vw - 40px));
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(30, 96, 201, 0.18), transparent 30%),
        linear-gradient(180deg, #040a13 0%, #07101d 50%, #040a13 100%);
    font-family: "Aptos", "Segoe UI", sans-serif;
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(4, 10, 20, 0.92);
    border-bottom: 1px solid rgba(116, 168, 255, 0.12);
    backdrop-filter: blur(18px);
}

.topbar-inner {
    width: var(--content-width);
    min-height: 86px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

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

.brand-mark {
    position: relative;
    width: 42px;
    height: 22px;
    border-top: 5px solid #76bbff;
    border-radius: 999px;
    transform: skewX(-18deg);
    filter: drop-shadow(0 0 10px rgba(51, 144, 255, 0.34));
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    left: 3px;
    border-top: 4px solid rgba(127, 192, 255, 0.82);
    border-radius: 999px;
}

.brand-mark::before {
    top: 7px;
    width: 31px;
}

.brand-mark::after {
    top: 14px;
    width: 21px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-style: italic;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.main-nav,
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.main-nav a,
.ghost-link {
    position: relative;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 600;
    transition: color 180ms ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.ghost-link:hover {
    color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    color: #f8fbff;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #2088ff 0%, #1863ff 100%);
    box-shadow: 0 12px 28px rgba(24, 99, 255, 0.3);
    transition: transform 180ms ease;
}

.primary-link:hover {
    transform: translateY(-2px);
}

.products-page {
    position: relative;
    overflow: hidden;
}

.products-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 520px;
    background:
        linear-gradient(90deg, rgba(3, 8, 18, 0.9) 0%, rgba(4, 10, 19, 0.72) 34%, rgba(4, 10, 19, 0.88) 100%),
        linear-gradient(180deg, rgba(4, 10, 19, 0.16), rgba(4, 10, 19, 0.88)),
        url("../FSFO_V6/landing-cockpit-hero.png") center top / cover no-repeat;
    pointer-events: none;
}

.products-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 75%);
    pointer-events: none;
}

.aircraft-section {
    position: relative;
    z-index: 1;
    padding: 64px 0 72px;
}

.aircraft-shell {
    width: var(--content-width);
    margin: 0 auto;
}

.aircraft-header {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 32px;
    margin-bottom: 28px;
}

.section-kicker {
    margin: 0 0 16px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    font-weight: 800;
}

.aircraft-title-block h1 {
    margin: 0;
    max-width: 780px;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(3rem, 5.6vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.section-note {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
    justify-self: end;
    max-width: 360px;
}

.aircraft-table-wrap {
    overflow-x: auto;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.94), rgba(8, 18, 34, 0.94));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.aircraft-table {
    width: 100%;
    border-collapse: collapse;
}

.aircraft-table thead {
    background: rgba(8, 18, 34, 0.96);
}

.aircraft-table th,
.aircraft-table td {
    padding: 20px 26px;
    text-align: left;
    vertical-align: middle;
}

.aircraft-table th {
    color: #c1cde3;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.aircraft-table tbody tr {
    background: var(--panel-row);
}

.aircraft-table tbody tr:nth-child(even) {
    background: var(--panel-row-alt);
}

.aircraft-table tbody tr + tr {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.aircraft-table td {
    color: #eff4ff;
    font-size: 1.05rem;
    line-height: 1.45;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 132px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-pill.is-live {
    color: #072413;
    background: linear-gradient(135deg, #70ffbb, #4ce29f);
}

.status-pill.is-preview {
    color: #092640;
    background: linear-gradient(135deg, #8dc0ff, #6fa8ff);
}

.footnote {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

@media (max-width: 1040px) {
    .topbar-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 18px 0;
    }

    .aircraft-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .section-note {
        justify-self: start;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .topbar-inner,
    .aircraft-shell {
        width: min(calc(100vw - 20px), 100%);
    }

    .main-nav,
    .topbar-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a::after {
        bottom: -8px;
    }

    .products-page::before {
        height: 440px;
        background-position: 60% top;
    }

    .aircraft-section {
        padding: 46px 0 56px;
    }

    .aircraft-title-block h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .aircraft-table th,
    .aircraft-table td {
        padding: 16px 14px;
        font-size: 0.96rem;
    }

    .status-pill {
        min-width: 116px;
        min-height: 34px;
        font-size: 0.8rem;
    }
}
