/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-deep: #0a0e27;
    --color-bg-mid: #121a3a;
    --color-blue: #4a8fe7;
    --color-navy: #2e4a8f;
    --color-text: #c8cde8;
    --color-warm: #f0c8a0;
    --color-gold: #e8a84c;
    --color-pink: #d4728c;
    --font-display: 'Sora', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Overpass Mono', monospace;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg-deep);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    overflow-x: hidden;
}

/* === HUD FRAME === */
.hud-frame {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
}

.hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(74, 143, 231, 0.4);
    border-style: solid;
}

.hud-corner--tl { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.hud-corner--tr { top: 20px; right: 20px; border-width: 2px 2px 0 0; }
.hud-corner--bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; }
.hud-corner--br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

.hud-coord {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(74, 143, 231, 0.5);
    letter-spacing: 0.1em;
}

.hud-coord--top { top: 28px; left: 50%; transform: translateX(-50%); }
.hud-coord--bottom { bottom: 28px; left: 50%; transform: translateX(-50%); }

/* === NAV DOTS === */
.nav-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(74, 143, 231, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--color-blue);
    box-shadow: 0 0 12px rgba(74, 143, 231, 0.6);
}

/* === CHAMBERS === */
.chamber {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chamber-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

/* === TYPOGRAPHY === */
.display-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--color-text);
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-blue) 50%, var(--color-warm) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.title-accent {
    color: var(--color-blue);
    -webkit-text-fill-color: var(--color-blue);
}

.subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(200, 205, 232, 0.7);
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

.body-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(200, 205, 232, 0.8);
    max-width: 540px;
    margin: 0 auto;
}

/* === WATERCOLOR BLOBS === */
.watercolor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    animation: blobPulse 8s ease-in-out infinite alternate;
}

.blob--origin {
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, var(--color-blue), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blob--intelligence {
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--color-gold), var(--color-pink), transparent 70%);
    top: 30%;
    right: -100px;
}

.blob--architecture {
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, var(--color-navy), var(--color-blue), transparent 70%);
    bottom: -100px;
    left: -150px;
}

.blob--research {
    width: 450px;
    height: 450px;
    background: radial-gradient(ellipse, var(--color-warm), transparent 70%);
    top: 20%;
    left: -100px;
}

.blob--contact {
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, var(--color-pink), var(--color-blue), transparent 70%);
    bottom: -150px;
    right: -100px;
}

@keyframes blobPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.25; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.4; }
}

/* === SVG LINE ILLUSTRATIONS === */
.line-illustration {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.line-illustration--origin {
    width: 60vmin;
    height: 60vmin;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slowRotate 60s linear infinite;
}

.line-illustration--neural {
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
}

.line-illustration--constellation {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.svg-line {
    fill: none;
    stroke: rgba(74, 143, 231, 0.6);
    stroke-width: 1.5;
}

@keyframes slowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* === PARTICLE CANVAS === */
.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* === METRICS === */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 3rem;
    color: var(--color-warm);
    display: inline;
}

.metric-unit {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: rgba(74, 143, 231, 0.7);
    margin-left: 4px;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(200, 205, 232, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* === CONTACT === */
.contact-field {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1.5px solid rgba(74, 143, 231, 0.4);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(18, 26, 58, 0.6);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.2rem;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
}

.email-input::placeholder {
    color: rgba(200, 205, 232, 0.4);
}

.submit-btn {
    background: var(--color-blue);
    border: none;
    color: var(--color-bg-deep);
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--color-gold);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .metric-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-dots {
        right: 15px;
    }
    .hud-corner { width: 25px; height: 25px; }
}
