* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-ocean: #0a1628;
    --surface-water: #1a3a5c;
    --coastal-highlight: #5ca8d4;
    --salt-white: #e8f4f8;
    --warm-accent: #c8834a;
    --noise-color: rgba(90, 168, 212, 0.06);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    background-color: var(--deep-ocean);
    color: var(--salt-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Overlay */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    animation: noise-drift 0.5s steps(3) infinite;
}

@keyframes noise-drift {
    0% { background-position: 0 0; }
    33% { background-position: 0.3px 0.3px; }
    66% { background-position: -0.3px 0.6px; }
    100% { background-position: 0.6px -0.3px; }
}

/* Sonar Ping */
#sonar-ping {
    position: fixed;
    bottom: 60px;
    right: 60px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--coastal-highlight);
    z-index: 100;
}

#sonar-ping::before,
#sonar-ping::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--coastal-highlight);
    transform: translate(-50%, -50%) scale(1);
    animation: sonar 3s ease-out infinite;
}

#sonar-ping::after {
    animation-delay: 1.5s;
}

@keyframes sonar {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

/* Navigation */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--deep-ocean), transparent);
}

.nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--coastal-highlight);
}

.nav-timestamp {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--coastal-highlight);
    opacity: 0.7;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 48px;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero-headline {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 5vw;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--salt-white);
    margin-bottom: 32px;
}

.hero-accent {
    color: var(--coastal-highlight);
    display: inline-block;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--salt-white);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 48px;
}

.hero-divider {
    width: 120px;
    height: 2px;
    background: var(--coastal-highlight);
    margin: 0 auto;
    box-shadow: 0 0 12px var(--coastal-highlight), 0 0 24px rgba(92, 168, 212, 0.3);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 8px var(--coastal-highlight), 0 0 16px rgba(92, 168, 212, 0.2); }
    100% { box-shadow: 0 0 16px var(--coastal-highlight), 0 0 32px rgba(92, 168, 212, 0.4); }
}

/* Stagger Section */
.stagger-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 48px;
}

.stagger-block {
    margin-bottom: 80px;
    padding: 40px;
    border-left: 2px solid var(--surface-water);
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-block.stagger-right {
    margin-left: 80px;
    border-left: none;
    border-right: 2px solid var(--surface-water);
    text-align: right;
    transform: translateX(40px);
}

.stagger-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-block .data-label {
    display: block;
    margin-bottom: 12px;
}

.stagger-block h2 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: var(--salt-white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.stagger-block p {
    font-size: 1rem;
    color: var(--salt-white);
    opacity: 0.75;
    line-height: 1.7;
}

/* Data Labels */
.data-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--warm-accent);
    text-transform: uppercase;
}

/* Telemetry Bar */
.telemetry-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 48px;
    max-width: 1000px;
    margin: 0 auto 80px;
    border-top: 1px solid var(--surface-water);
    border-bottom: 1px solid var(--surface-water);
    box-shadow: 0 -1px 12px rgba(92, 168, 212, 0.1), 0 1px 12px rgba(92, 168, 212, 0.1);
}

.telemetry-item {
    text-align: center;
}

.telemetry-item .data-label {
    display: block;
    margin-bottom: 8px;
}

.telemetry-value {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coastal-highlight);
}

/* Footer */
#footer {
    padding: 64px 48px;
    border-top: 1px solid var(--surface-water);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-note {
    margin: 16px 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 8vw;
    }

    .stagger-block.stagger-right {
        margin-left: 0;
    }

    .telemetry-bar {
        flex-wrap: wrap;
        gap: 32px;
    }

    #nav {
        padding: 16px 24px;
    }

    .stagger-section {
        padding: 40px 24px;
    }
}
