.home-page {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: #0f1f33;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.72) 0 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.72) 0 1px, transparent 1px),
        radial-gradient(circle at 48% 44%, rgba(34,211,238,0.1), transparent 26%),
        radial-gradient(circle at 76% 50%, rgba(14,116,144,0.08), transparent 22%),
        linear-gradient(135deg, #f7fcff 0%, #e9fbff 50%, #fff8ed 100%);
    background-size: 22px 22px, 22px 22px, auto, auto, auto;
}

.home-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-float-rail {
    position: fixed !important;
    z-index: 50 !important;
    left: 20px !important;
    top: 50%;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: grid !important;
    gap: 10px !important;
    justify-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.home-rail-logo,
.home-float-rail a:not(.home-rail-logo) {
    width: 46px;
    min-height: 46px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    text-decoration: none;
    text-align: center;
}

.home-rail-logo {
    color: white;
    background: #0e7490;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(14, 116, 144, 0.28);
}

.home-float-rail a:not(.home-rail-logo) {
    border: 1px solid rgba(14, 116, 144, 0.1);
    color: #35586b;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 15px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.home-float-rail a.active,
.home-float-rail a:hover {
    color: #0e7490;
    background: #e4fbff;
}

.home-float-rail span {
    font-size: 18px;
    line-height: 1;
}

.home-float-rail b {
    margin-top: 2px;
    display: block;
    font-size: 10px;
    line-height: 1;
}

.home-single-screen {
    position: fixed;
    inset: 0;
    z-index: 1;
    height: 100vh;
    padding: 0;
    display: block;
}

.home-fleet-stage {
    position: fixed;
    left: 66px;
    top: 0;
    width: 71vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
}

.home-orbit {
    position: absolute;
    left: 15%;
    top: 12%;
    width: min(58vw, 920px);
    height: min(58vh, 640px);
    border: 1px solid rgba(14, 116, 144, 0.12);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.orbit-two {
    left: 3%;
    top: 1%;
    width: min(72vw, 1120px);
    height: min(72vh, 780px);
    opacity: 0.72;
}

.orbit-three {
    left: 28%;
    top: 32%;
    width: min(42vw, 620px);
    height: min(38vh, 430px);
    opacity: 0.52;
}

.home-agent-ship {
    position: absolute;
    left: 0;
    top: 33%;
    width: min(76vw, 1320px);
    height: min(31vw, 430px);
    max-width: none;
    filter: drop-shadow(0 34px 94px rgba(14, 116, 144, 0.3));
    animation: homeShipFloat 7s ease-in-out infinite;
}

.home-agent-ship svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    opacity: 0.38;
    mix-blend-mode: multiply;
}

.home-agent-ship::before,
.home-agent-ship::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.home-agent-ship::before {
    z-index: 2;
    left: 1%;
    top: 42%;
    width: 98%;
    height: 40%;
    clip-path: polygon(0 54%, 17% 34%, 34% 24%, 58% 21%, 78% 26%, 96% 39%, 100% 53%, 91% 67%, 64% 80%, 32% 88%, 8% 78%);
    background:
        radial-gradient(circle at 47% 43%, rgba(255,255,255,0.96) 0 1px, transparent 1.8px),
        radial-gradient(circle at 52% 50%, rgba(14,116,144,0.8) 0 1.1px, transparent 1.9px),
        linear-gradient(90deg, rgba(103,232,249,0.28), rgba(103,232,249,0.88) 45%, rgba(248,217,147,0.58));
    background-size: 12px 10px, 18px 15px, auto;
    border-top: 1px solid rgba(14,116,144,0.22);
    box-shadow:
        inset 0 -24px 50px rgba(14,116,144,0.24),
        inset 0 18px 36px rgba(255,255,255,0.32);
}

.home-agent-ship::after {
    z-index: 4;
    left: 19%;
    top: 37%;
    width: 76%;
    height: 22%;
    clip-path: polygon(0 72%, 16% 44%, 38% 30%, 70% 32%, 100% 56%, 92% 76%, 48% 88%, 14% 86%);
    background:
        radial-gradient(circle, rgba(14,116,144,0.82) 0 1px, transparent 1.75px),
        linear-gradient(90deg, rgba(194,250,255,0.42), rgba(103,232,249,0.82), rgba(255,255,255,0.48));
    background-size: 12px 10px, auto;
    border-top: 1px solid rgba(14,116,144,0.24);
    filter: drop-shadow(0 -10px 20px rgba(14,116,144,0.12));
}

.home-agent-ship .ship-island {
    position: absolute;
    left: 51%;
    top: 16%;
    width: 23%;
    height: 28%;
    clip-path: polygon(0 88%, 17% 48%, 34% 32%, 60% 14%, 86% 28%, 100% 60%, 88% 84%, 46% 92%);
    background:
        radial-gradient(circle, rgba(14,116,144,0.82) 0 1px, transparent 1.8px),
        linear-gradient(90deg, rgba(103,232,249,0.48), rgba(255,255,255,0.42));
    background-size: 11px 10px, auto;
    z-index: 5;
}

.home-agent-ship .ship-island::before,
.home-agent-ship .ship-island::after {
    content: "";
    position: absolute;
    bottom: 78%;
    width: 3px;
    height: 78px;
    border-radius: 999px;
    background: rgba(14,116,144,0.62);
    box-shadow: 0 0 18px rgba(103,232,249,0.44);
}

.home-agent-ship .ship-island::before {
    left: 34%;
    transform: rotate(-1deg);
}

.home-agent-ship .ship-island::after {
    left: 71%;
    height: 58px;
    transform: rotate(1deg);
}

.ship-tail,
.ship-spark-trail {
    fill: url(#shipDots);
    opacity: 0.18;
}

.ship-hull-svg {
    fill: url(#shipGlow);
    opacity: 0.36;
}

.ship-hull-shadow,
.ship-lower-hull,
.ship-flight-deck-svg,
.ship-island-base-svg,
.ship-island-mid-svg,
.ship-radar-svg {
    fill: url(#shipGlow);
    opacity: 0.78;
}

.ship-dot-fill {
    fill: url(#shipDots);
    opacity: 0.3;
}

.ship-core-light {
    fill: url(#shipCore);
}

.ship-main-deck-svg,
.ship-upper-deck-svg,
.ship-flight-deck-svg,
.ship-island-base-svg,
.ship-island-mid-svg,
.ship-bridge-svg {
    fill: rgba(103, 232, 249, 0.56);
    stroke: rgba(14, 116, 144, 0.22);
    stroke-width: 2;
}

.ship-deck-line {
    fill: none;
    stroke: rgba(14, 116, 144, 0.38);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.ship-deck-dots {
    opacity: 0.42;
}

.ship-mast,
.ship-antenna-svg {
    stroke: rgba(14, 116, 144, 0.76);
    stroke-width: 4;
    stroke-linecap: round;
}

.home-spark-cloud {
    position: absolute;
    height: 120px;
    background-image: radial-gradient(circle, rgba(14,116,144,0.78) 0 1.4px, transparent 1.7px);
    background-size: 16px 14px;
    opacity: 0.58;
    filter: blur(0.1px);
}

.cloud-left {
    left: 4%;
    right: 56%;
    top: 52%;
    transform: skewY(-8deg);
}

.cloud-right {
    left: 74%;
    right: -10%;
    top: 44%;
    opacity: 0.34;
    transform: skewY(8deg);
}

.home-copy-panel {
    position: fixed;
    right: clamp(72px, 7.4vw, 140px);
    top: 39vh;
    width: min(600px, 38vw);
    display: grid;
    gap: 18px;
    justify-items: start;
}

.home-chip {
    min-height: 34px;
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: 999px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0e7490;
    background: rgba(255,255,255,0.62);
    box-shadow: 0 14px 34px rgba(14,116,144,0.1);
    font-weight: 800;
}

.home-chip i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #14b8a6;
    box-shadow: 0 0 0 6px rgba(20,184,166,0.14);
}

.home-copy-panel h1 {
    margin: 0;
    font-size: clamp(38px, 3.05vw, 54px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

.home-copy-panel h1 em {
    color: #0e7490;
    font-style: normal;
}

.home-copy-panel p {
    max-width: 560px;
    margin: 0;
    color: #51677a;
    font-size: 16px;
}

.home-copy-panel strong {
    color: #0e7490;
    font-size: 16px;
}

.home-tags {
    max-width: 620px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-tags span {
    border: 1px solid rgba(14,116,144,0.12);
    border-radius: 999px;
    padding: 7px 12px;
    color: #476174;
    background: rgba(255,255,255,0.52);
}

.home-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes homeShipFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
    50% { transform: translate3d(12px, -12px, 0) rotate(1deg); }
}

@media (max-width: 900px) {
    .home-float-rail {
        left: 12px;
        gap: 9px;
    }

    .home-rail-logo,
    .home-float-rail a:not(.home-rail-logo) {
        width: 40px;
        min-height: 40px;
    }

    .home-float-rail b {
        display: none;
    }

    .home-single-screen {
        min-height: 100vh;
        height: 100vh;
    }

    .home-copy-panel {
        left: 76px;
        right: 16px;
        top: 8vh;
        width: auto;
        gap: 12px;
    }

    .home-fleet-stage {
        left: 76px;
        top: 42vh;
        width: calc(100vw - 92px);
        height: 45vh;
    }

    .home-copy-panel h1 {
        font-size: 38px;
    }

    .home-orbit {
        left: -46%;
        top: 0;
        width: 560px;
        height: 380px;
    }

    .orbit-two {
        width: 660px;
        height: 470px;
    }

    .orbit-three {
        width: 360px;
        height: 260px;
    }

    .home-agent-ship {
        left: -38%;
        top: 22%;
        width: 150vw;
    }

    .home-copy-panel {
        padding-top: 0;
    }
}
