/* archetypic.dev — Chrome Void Aesthetic */

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

:root {
    --ice-silver: #e0e8f0;
    --steel-mid: #8898b0;
    --warm-chrome: #b0b8c4;
    --deep-steel: #6a7080;
    --void-black: #0a0e17;
    --void-blue: #1a2030;
    --flare-white: #f0f0ff;
    --rose-chrome: #c0a8b0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void-black);
    color: var(--ice-silver);
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
.display-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    letter-spacing: -0.02em;
    color: var(--ice-silver);
}

.section-heading {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    color: var(--ice-silver);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--steel-mid);
    margin-top: 1rem;
}

.body-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--warm-chrome);
    line-height: 1.8;
    max-width: 560px;
}

.mono-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--deep-steel);
    letter-spacing: 0.05em;
}

/* Chambers */
.chamber {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem;
}

/* Chrome Spheres */
.chrome-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, var(--ice-silver), var(--steel-mid) 40%, var(--void-blue) 70%, var(--void-black));
    opacity: 0.35;
    pointer-events: none;
}

.sphere-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.sphere-2 { width: 200px; height: 200px; bottom: 20%; left: 10%; opacity: 0.2; }
.sphere-3 { width: 350px; height: 350px; top: 10%; left: -100px; }
.sphere-4 { width: 280px; height: 280px; bottom: -80px; right: -60px; }
.sphere-5 { width: 400px; height: 400px; top: -100px; right: -150px; }
.sphere-6 { width: 300px; height: 300px; bottom: -100px; left: -80px; }

/* Lens Flares */
.lens-flare {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,240,255,0.6) 0%, rgba(120,160,220,0.15) 40%, transparent 70%);
    animation: flare-pulse 4s ease-in-out infinite;
}

.flare-1 { width: 40px; height: 40px; top: 25%; right: 30%; }
.flare-2 { width: 25px; height: 25px; bottom: 35%; left: 25%; animation-delay: -1.5s; }
.flare-3 { width: 35px; height: 35px; top: 20%; right: 20%; animation-delay: -0.8s; }
.flare-4 { width: 30px; height: 30px; top: 30%; left: 15%; animation-delay: -2s; }
.flare-5 { width: 45px; height: 45px; bottom: 25%; right: 25%; animation-delay: -1s; }
.flare-6 { width: 20px; height: 20px; top: 40%; left: 30%; animation-delay: -3s; }
.flare-7 { width: 30px; height: 30px; top: 30%; right: 40%; animation-delay: -2.5s; }

@keyframes flare-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Tilt Cards */
.tilt-card {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
    perspective: 1000px;
}

#heroCard {
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--steel-mid), transparent);
    animation: scroll-breathe 2s ease-in-out infinite;
}

@keyframes scroll-breathe {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.capability-card {
    background: linear-gradient(135deg, rgba(26,32,48,0.8), rgba(10,14,23,0.9));
    border: 1px solid rgba(136,152,176,0.15);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
}

.capability-card h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ice-silver);
    margin-bottom: 0.8rem;
}

.cap-icon {
    margin-bottom: 1.5rem;
}

.chrome-orb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 30% 30%, var(--flare-white), var(--steel-mid) 50%, var(--void-blue));
    box-shadow: 0 0 20px rgba(136,152,176,0.3);
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-num {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--steel-mid);
}

.step-label {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--deep-steel);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Signal Pulse */
.signal-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rose-chrome);
    margin-top: 2rem;
    position: relative;
    animation: pulse-ring 2s ease-out infinite;
}

.signal-pulse::before,
.signal-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--rose-chrome);
    animation: pulse-expand 2s ease-out infinite;
}

.signal-pulse::after {
    animation-delay: 0.5s;
}

@keyframes pulse-expand {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

@keyframes pulse-ring {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Footer */
.chamber-footer {
    min-height: 40vh;
}

.footer-mark {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--deep-steel);
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-family: 'Space Mono', monospace;
}

/* Reveal Animation */
.chamber {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.chamber.visible {
    opacity: 1;
    transform: translateY(0);
}
