/* simulai.tech - Cinematic Technology Showcase */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --stage-black: #0A0A0A;
    --carbon: #1A1A1A;
    --tech-cyan: #22D3EE;
    --deep-violet: #7C3AED;
    --signal-white: #FFFFFF;
    --cyan-glow: rgba(34,211,238,0.15);
    --clean-white: #F5F5F5;
    --soft-gray: #9CA3AF;
}
body {
    background: var(--stage-black);
    color: var(--clean-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
}

/* Hero */
#hero {
    text-align: center;
    padding: 8rem 2rem 5rem;
}
.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--signal-white);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--soft-gray);
    margin-top: 0.5rem;
    filter: blur(0);
    animation: focusPull 1.5s ease-out;
}
@keyframes focusPull {
    0% { filter: blur(8px); opacity: 0; }
    100% { filter: blur(0); opacity: 1; }
}

/* Content */
#content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

/* Reveal Sections */
.reveal-section {
    margin-bottom: 4rem;
    position: relative;
}
.reveal-content {
    background: var(--carbon);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 3rem;
    position: relative;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s ease;
}

/* Floating Diagrams */
.floating-diagram {
    position: absolute;
    top: -20px;
    left: -30px;
    z-index: 2;
    opacity: 0.6;
}
.floating-right {
    left: auto;
    right: -20px;
    top: -10px;
}

/* Labels */
.tech-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--tech-cyan);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--signal-white);
    margin-bottom: 1rem;
}
.section-body {
    font-size: 1rem;
    color: var(--soft-gray);
    margin-bottom: 1.5rem;
}

/* Spec Block */
.spec-block {
    background: rgba(0,0,0,0.4);
    border-left: 2px solid var(--deep-violet);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.spec-line {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--soft-gray);
}
.spec-key {
    color: var(--tech-cyan);
    margin-right: 1rem;
}

/* Section animation - blur to sharp */
.section {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Footer */
#footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--soft-gray);
}

/* Responsive */
@media (max-width: 600px) {
    .reveal-content { padding: 2rem; }
    .floating-diagram { display: none; }
}
