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

:root {
    --green: #39ff14;
    --cyan: #00f0ff;
    --dark: #06060a;
    --light: #f0f0ff;
    --deep-dark: #0a0a0f;
    --violet: #7b2fff;
    --muted: #b8b8c4;
    --magenta: #ff2d6b;
    --amber: #ffbe0b;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.chromatic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(123, 47, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%);
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(6, 6, 10, 0.9), transparent);
}

.nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: var(--amber);
}

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

.nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.flow-zone {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.parallel-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.parallel-lines svg {
    width: 100%;
    height: 100%;
}

.display-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.1;
    color: var(--light);
}

.accent-text {
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.accent-magenta {
    color: var(--magenta);
    text-shadow: 0 0 30px rgba(255, 45, 107, 0.5);
}

.accent-green {
    color: var(--green);
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

.zone-subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1.5rem;
    letter-spacing: 0.05em;
}

.section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.mono-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    text-align: left;
}

/* Zone 1 */
.zone-1 {
    background: radial-gradient(ellipse at center 70%, rgba(123, 47, 255, 0.1) 0%, var(--dark) 60%);
}

/* Zone 2 */
.zone-2 {
    background: var(--deep-dark);
    min-height: 120vh;
}

.zone-2 .zone-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-block {
    text-align: left;
    max-width: 500px;
}

.data-bar {
    width: 100%;
    height: 4px;
    background: rgba(240, 240, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.data-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    border-radius: 2px;
    transition: width 1.5s ease-out;
}

/* Zone 3 */
.zone-3 {
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.05) 0%, var(--dark) 70%);
}

.prism-container {
    margin-bottom: 3rem;
}

.prism-svg {
    width: 300px;
    height: 300px;
    opacity: 0.8;
}

/* Zone 4 */
.zone-4 {
    background: var(--deep-dark);
}

.flicker-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.flicker-lines svg {
    width: 100%;
    height: 100%;
}

.flicker-line {
    animation: flicker 0.8s infinite alternate;
}

.flicker-line:nth-child(1) { animation-delay: 0s; }
.flicker-line:nth-child(2) { animation-delay: 0.15s; }
.flicker-line:nth-child(3) { animation-delay: 0.3s; }
.flicker-line:nth-child(4) { animation-delay: 0.45s; }
.flicker-line:nth-child(5) { animation-delay: 0.6s; }

@keyframes flicker {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.flicker-content {
    position: relative;
    z-index: 10;
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Zone 5 */
.zone-5 {
    background: radial-gradient(ellipse at center 30%, rgba(255, 45, 107, 0.08) 0%, var(--dark) 60%);
}

.cta-block {
    margin-top: 3rem;
}

.cta-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    text-decoration: none;
    border: 1px solid var(--cyan);
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-link:hover {
    background: var(--cyan);
    color: var(--dark);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

/* Scroll reveal */
.zone-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zone-content.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-bar {
        padding: 1rem 1.5rem;
    }
    .zone-content {
        padding: 1.5rem;
    }
    .prism-svg {
        width: 200px;
        height: 200px;
    }
}
