:root {
    --color-bg: #0C0E14;
    --color-chrome-light: #C8CED6;
    --color-chrome-mid: #8A9BAE;
    --color-chrome-pale: #D4D8DC;
    --color-chrome-blue: #B8C4D0;
    --color-chrome-dark: #6B7D8E;
    --color-accent-gold: #D4C89A;
    --color-accent-cream: #E8E0D0;
    --color-card-bg: #1A1D26;
    --color-text-dark: #3A4A5A;
    --color-silver: #9AA8B4;

    --font-display: 'Commissioner', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --perspective: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-silver);
    overflow-x: hidden;
    line-height: 1.72;
}

/* Scroll Track (Fixed Left Edge) */
.scroll-track {
    position: fixed;
    left: 3%;
    top: 15%;
    width: 12px;
    height: 70vh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.scroll-indicator {
    width: 10px;
    height: 10px;
    border: 2px solid var(--color-chrome-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 8px var(--color-accent-gold);
}

.scroll-indicator.active {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 12px var(--color-accent-gold);
}

/* Parallax Container */
.parallax-container {
    perspective: var(--perspective);
    position: relative;
}

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

.section-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient Mesh Background */
.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.zone-1 .gradient-mesh {
    background: radial-gradient(circle at 20% 80%, #D4C89A 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #B8C4D0 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, #9AA8B4 0%, transparent 40%);
}

.zone-2 .gradient-mesh {
    background: radial-gradient(circle at 30% 50%, #D4D8DC 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, #D4C89A 0%, transparent 45%),
                radial-gradient(circle at 45% 30%, #B8C4D0 0%, transparent 50%);
}

.zone-3 .gradient-mesh {
    background: radial-gradient(circle at 40% 40%, #C8CED6 0%, transparent 50%),
                radial-gradient(circle at 60% 80%, #D4C89A 0%, transparent 45%),
                radial-gradient(circle at 20% 20%, #9AA8B4 0%, transparent 40%);
}

.zone-4 .gradient-mesh {
    background: radial-gradient(circle at 50% 50%, #B8C4D0 0%, transparent 50%),
                radial-gradient(circle at 25% 75%, #D4C89A 0%, transparent 45%),
                radial-gradient(circle at 75% 25%, #C8CED6 0%, transparent 50%);
}

.zone-5 .gradient-mesh {
    background: radial-gradient(circle at 35% 65%, #D4D8DC 0%, transparent 50%),
                radial-gradient(circle at 65% 35%, #D4C89A 0%, transparent 45%),
                radial-gradient(circle at 50% 50%, #9AA8B4 0%, transparent 40%);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-left: 8%;
    padding: 60px 80px;
    text-align: left;
}

/* Typography */
h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-chrome-blue);
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    margin-bottom: 15px;
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-chrome-light);
    font-weight: 300;
    max-width: 600px;
    line-height: 1.7;
}

p {
    font-size: 1.1rem;
    color: var(--color-chrome-pale);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-text p,
.integration-narrative p,
.closing-text {
    max-width: 700px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-chrome-light);
}

/* Zone-Specific Styling */

.zone-1 h1 {
    font-size: 5.5rem;
    color: var(--color-accent-gold);
}

.zone-1 .subtitle {
    color: var(--color-chrome-light);
    font-size: 1.5rem;
}

.zone-2 {
    background: linear-gradient(135deg, rgba(107, 125, 142, 0.1) 0%, rgba(180, 196, 208, 0.05) 100%);
}

.zone-3 {
    background: linear-gradient(-45deg, rgba(212, 200, 154, 0.08) 0%, rgba(167, 168, 180, 0.05) 100%);
}

/* Architecture Grid */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.arch-item {
    padding: 30px;
    border-left: 3px solid var(--color-accent-gold);
    background: rgba(26, 29, 38, 0.6);
    transition: all 0.3s ease;
    border: 1px solid var(--color-text-dark);
}

.arch-item:hover {
    background: rgba(26, 29, 38, 0.9);
    transform: translateX(10px);
    border-left-color: var(--color-accent-cream);
}

.arch-icon {
    font-size: 2rem;
    color: var(--color-accent-gold);
    margin-bottom: 15px;
    font-family: var(--font-mono);
}

.arch-item h3 {
    margin-bottom: 12px;
}

.arch-item p {
    color: var(--color-chrome-pale);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pulse Network */
.pulse-network {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pulse-network svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.node {
    fill: var(--color-accent-gold);
    filter: drop-shadow(0 0 8px rgba(212, 200, 154, 0.6));
    animation: pulse-node 2.5s ease-in-out infinite;
}

.center-node {
    fill: var(--color-accent-cream);
    filter: drop-shadow(0 0 12px rgba(232, 224, 208, 0.8));
    animation: pulse-center 2s ease-in-out infinite;
}

.link {
    stroke: var(--color-chrome-blue);
    stroke-width: 2;
    opacity: 0.6;
    filter: drop-shadow(0 0 4px rgba(180, 196, 208, 0.4));
}

@keyframes pulse-node {
    0%, 100% {
        r: 8;
        opacity: 1;
    }
    50% {
        r: 11;
        opacity: 0.7;
    }
}

@keyframes pulse-center {
    0%, 100% {
        r: 12;
        opacity: 1;
    }
    50% {
        r: 15;
        opacity: 0.6;
    }
}

/* Contact Info */
.contact-info {
    margin-top: 60px;
    padding: 30px;
    border: 1px solid var(--color-text-dark);
    background: rgba(26, 29, 38, 0.85);
}

.contact-info p {
    font-family: var(--font-mono);
    color: var(--color-accent-gold);
    font-size: 1rem;
    margin: 0;
}

/* Parallax Transform */
@media (prefers-reduced-motion: no-preference) {
    .parallax-section {
        transform-style: preserve-3d;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .content-wrapper {
        margin-left: 15%;
        padding: 40px 40px;
    }

    .architecture-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .scroll-track {
        left: 2%;
        top: 10%;
        height: 80vh;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-wrapper {
        margin-left: 10%;
        padding: 30px 25px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .vision-text p,
    .integration-narrative p,
    .closing-text {
        font-size: 1rem;
    }

    .arch-item {
        padding: 20px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-section {
    animation: fadeIn 0.8s ease-out forwards;
}

.parallax-section:nth-child(1) { animation-delay: 0s; }
.parallax-section:nth-child(2) { animation-delay: 0.1s; }
.parallax-section:nth-child(3) { animation-delay: 0.2s; }
.parallax-section:nth-child(4) { animation-delay: 0.3s; }
.parallax-section:nth-child(5) { animation-delay: 0.4s; }

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.scroll-indicator,
.arch-item {
    transition: all 0.3s ease;
}
