:root {
    --bg-color: #050505;
    --text-main: #e0e0e0;
    --text-sub: #888;
    --accent: #fff;
    --mono-font: 'JetBrains Mono', monospace;
    --sans-font: 'Inter', sans-serif;
    --section-spacing: 120px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--sans-font);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Nav */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    /* Let clicks pass through if needed, but links need pointer-events auto */
}

.logo {
    font-family: var(--mono-font);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.05em;
    pointer-events: auto;
}

.logo .highlight {
    color: #555;
}

.nav-links {
    display: flex;
    gap: 2rem;
    pointer-events: auto;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--mono-font);
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Utilities */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    scroll-margin-top: 120px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.mono-label {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: var(--text-sub);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

/* Section 1: Frontier */
.hero-section h1 {
    font-size: 6rem;
    line-height: 0.95;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-sub);
    max-width: 600px;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Section 2: Data Gap */
.inverted {
    background: #111;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.text-block h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.text-block p {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.visual-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card .number {
    display: block;
    font-size: 4rem;
    font-family: var(--mono-font);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

/* Section 3: Protocol */
.dark-section h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.tech-card {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}

/* Section 4: Access */
.final-section {
    justify-content: space-between;
    padding-top: 20vh;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.success-message {
    display: none;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 0;
}

.terminal-text {
    font-family: var(--mono-font);
    background: #111;
    color: #0f0;
    padding: 2rem;
    text-align: left;
    margin: 2rem 0;
    border-radius: 4px;
    border: 1px solid #222;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-container p {
    color: #666;
    margin-bottom: 3rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 0.75rem;
}

.mono-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: var(--mono-font);
    font-size: 1.25rem;
    padding: 0.5rem 0;
    outline: none;
    transition: border-color 0.3s;
}

.mono-input:focus {
    border-color: #fff;
}

.submit-btn {
    margin-top: 2rem;
    background: #fff;
    color: #000;
    border: none;
    font-family: var(--mono-font);
    font-weight: 700;
    padding: 1.25rem 3rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.partners span {
    display: block;
    font-family: var(--mono-font);
    font-size: 0.7rem;
    color: #444;
    margin-bottom: 0.5rem;
}

.partners .partner-name {
    color: #888;
}

.copyright {
    font-family: var(--mono-font);
    font-size: 0.7rem;
    color: #333;
}

/* LIVE TELEMETRY */
.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-indicator .dot {
    width: 8px;
    height: 8px;
    background-color: #0f0;
    border-radius: 50%;
    box-shadow: 0 0 10px #0f0;
    animation: blink 2s infinite;
}

.live-indicator .status {
    font-family: var(--mono-font);
    font-size: 0.7rem;
    color: #444;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.analytics-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    height: 400px;
}

.graph-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

canvas {
    width: 100%;
    height: 100%;
}

.data-stream {
    background: #000;
    border: 1px solid #333;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stream-content {
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: #0f0;
    margin-top: 1rem;
    line-height: 1.8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}