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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #c4f0e8;
    background: #0d1b2a;
    background: linear-gradient(180deg, #0d1b2a 0%, #050a12 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.75;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
}

/* ===== PARTICLES LAYER ===== */
.particles-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* ===== DEPTH GAUGE ===== */
.depth-gauge {
    position: fixed;
    right: 24px;
    top: 20vh;
    width: 4px;
    height: 60vh;
    z-index: 10;
}

.depth-gauge-track {
    width: 100%;
    height: 100%;
    background: rgba(45, 107, 122, 0.3);
    border-radius: 2px;
}

.depth-gauge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ecdc4;
    position: absolute;
    left: -3px;
    top: 0;
    transition: top 100ms ease-out, background-color 300ms ease;
    box-shadow: 0 0 12px rgba(78, 205, 196, 0.6);
}

/* ===== TIMELINE LINE ===== */
.timeline-line {
    position: fixed;
    left: calc(50% - 8% - 340px);
    top: 100vh;
    width: 1px;
    height: calc(100vh * 4);
    background: rgba(45, 107, 122, 0.4);
    z-index: 0;
    animation: pulse-line 8s ease-in-out infinite;
    pointer-events: none;
    /* Trench Teal: #2d6b7a */
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ===== MAIN DESCENT COLUMN ===== */
.descent-column {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    margin-left: calc(50% - 8% - 340px);
    padding: 0 1.5rem;
}

@media (max-width: 900px) {
    .descent-column {
        margin-left: auto;
        margin-right: auto;
    }
    .timeline-line {
        display: none;
    }
}

/* ===== SURFACE ZONE ===== */
.zone-surface {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.site-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.03em;
    font-feature-settings: 'ss01';
    background: linear-gradient(180deg, #c4f0e8 0%, #c4f0e8 55%, #1a2744 55.1%, #1a2744 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInTitle 1200ms 400ms ease-out forwards;
}

.title-dot {
    -webkit-text-fill-color: #4ecdc4;
    animation: aurora-dot 12s linear infinite;
}

@keyframes aurora-dot {
    0%   { -webkit-text-fill-color: #00f5d4; color: #00f5d4; }
    25%  { -webkit-text-fill-color: #7b2d8e; color: #7b2d8e; }
    50%  { -webkit-text-fill-color: #e63b7a; color: #e63b7a; }
    75%  { -webkit-text-fill-color: #f0a500; color: #f0a500; }
    100% { -webkit-text-fill-color: #00f5d4; color: #00f5d4; }
}

@keyframes fadeInTitle {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.site-subtitle {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #6b8a9e;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInTitle 1000ms 1800ms ease-out forwards;
}

.scroll-chevron {
    position: absolute;
    bottom: 3rem;
    animation: bobChevron 2s ease-in-out infinite;
    opacity: 0;
    animation: bobChevron 2s ease-in-out infinite, fadeInTitle 800ms 2400ms ease-out forwards;
}

@keyframes bobChevron {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ===== AURORA BANDS ===== */
.aurora-band {
    width: 100vw;
    height: 200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(78,205,196,0.15) 20%, rgba(123,45,142,0.12) 50%, rgba(230,59,122,0.08) 80%, transparent);
    background-size: 200% 100%;
    animation: aurora-drift 15s ease-in-out infinite alternate;
    -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
    margin: 4rem 0;
}

@keyframes aurora-drift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ===== DEPTH MARKERS ===== */
.depth-marker {
    margin: 4rem 0 2rem;
}

.depth-reading {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #4ecdc4;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.4);
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(26, 39, 68, 0.35), rgba(13, 27, 42, 0.5));
    border: 1px solid rgba(78, 205, 196, 0.12);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 8rem;
    position: relative;
}

.material-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #c4f0e8;
}

.lifecycle-ring {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.lifecycle-ring svg {
    filter: drop-shadow(0 0 6px rgba(78, 205, 196, 0.5));
}

.lifecycle-path {
    transition: stroke-dashoffset 1.5s ease-out;
}

.lifecycle-path.animate {
    stroke-dashoffset: 0;
}

.review-text {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #c4f0e8;
    max-width: 62ch;
    margin-bottom: 1.5rem;
}

.verdict {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.verdict-success { color: #4ecdc4; }
.verdict-failure { color: #e63b7a; }
.verdict-neutral { color: #f0a500; }

/* ===== SPECIMEN TAGS ===== */
.specimen-tag {
    position: absolute;
    left: -120px;
    top: 2rem;
    transform: rotate(-3deg);
    border: 1px dashed #6b8a9e;
    padding: 0.4rem 0.8rem;
    display: inline-block;
}

.specimen-tag::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #6b8a9e;
    opacity: 0.5;
}

.specimen-code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: #6b8a9e;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .specimen-tag {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 1rem;
        transform: rotate(-3deg);
        display: inline-block;
    }
    .specimen-tag::after {
        display: none;
    }
}

/* ===== ZONE TITLES ===== */
.zone-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    color: #c4f0e8;
    margin-bottom: 3rem;
    text-align: center;
}

/* ===== COMPARISON GRID ===== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 4px 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

.comparison-divider {
    width: 4px;
    background: linear-gradient(180deg, #4ecdc4, #7b2d8e);
    border-radius: 2px;
    filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.4));
    min-height: 100%;
}

.comparison-column {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(26, 39, 68, 0.35), rgba(13, 27, 42, 0.5));
    border: 1px solid rgba(78, 205, 196, 0.12);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.comparison-failure {
    border-color: rgba(230, 59, 122, 0.15);
}

.comparison-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #c4f0e8;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .comparison-divider {
        width: 100%;
        height: 4px;
        min-height: 4px;
        background: linear-gradient(90deg, #4ecdc4, #7b2d8e);
    }
}

/* ===== PRESSURE RINGS ===== */
.pressure-rings {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    opacity: 0.5;
}

.pressure-ring {
    animation: pressure-contract 20s ease-in-out infinite;
    transform-origin: center;
}

.pressure-ring:nth-child(2) { animation-delay: -3s; }
.pressure-ring:nth-child(3) { animation-delay: -6s; }
.pressure-ring:nth-child(4) { animation-delay: -9s; }
.pressure-ring:nth-child(5) { animation-delay: -12s; }
.pressure-ring:nth-child(6) { animation-delay: -15s; }

@keyframes pressure-contract {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(0.92); }
}

/* ===== ABYSSAL ZONE ===== */
.abyssal-section {
    max-width: 480px;
    margin: 0 auto;
    filter: blur(0.3px);
}

.abyssal-entry {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(26, 39, 68, 0.25), rgba(13, 27, 42, 0.4));
    border: 1px solid rgba(78, 205, 196, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.abyssal-entry .review-text {
    color: rgba(107, 138, 158, 0.8);
    line-height: 1.9;
}

.abyssal-entry .material-name {
    font-size: 1.5rem;
}

/* ===== FADE REVEAL ===== */
.fade-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.fade-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.site-footer {
    text-align: center;
    padding: 6rem 0 4rem;
}

.footer-text {
    font-family: 'Instrument Sans', sans-serif;
    font-style: italic;
    color: #6b8a9e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-domain {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #c4f0e8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .depth-gauge {
        right: 12px;
        width: 3px;
        height: 40vh;
    }
    .depth-gauge-dot {
        width: 8px;
        height: 8px;
        left: -2.5px;
    }
    .review-card {
        padding: 2rem 1.5rem;
        margin-bottom: 5rem;
    }
    .descent-column {
        padding: 0 1rem;
    }
}
