/**
 * CINEMATIC JOURNEY - PERFORMANCE OPTIMIZED
 * No blur, no backdrop-filter, simple transforms
 */

/* ========================================
   1. SCENE CONTAINER
   ======================================== */

.about-journey-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem 2rem;
}

/* ========================================
   2. LAYERS (lightweight)
   ======================================== */

.journey-data-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
    z-index: 1;
}

.journey-data-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, transparent, #72808D, #4F6070);
    box-shadow: 0 0 20px rgba(114, 128, 141, 0.6);
}

/* Rail glow - simple */
.rail-glow {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 60px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(114, 128, 141, 0.08), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Hide expensive layers */
.noise-overlay,
.dust-particles,
.ambient-beams {
    display: none;
}

/* Camera rig - no transforms */
.camera-rig {
    position: relative;
}

/* ========================================
   3. JOURNEY PODS - SIMPLE TRANSFORMS
   ======================================== */

.journey-pod {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 180px;
    z-index: 10;

    /* Transitions for state changes */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.journey-pod.left {
    flex-direction: row;
}

.journey-pod.right {
    flex-direction: row-reverse;
}

/* States */
.journey-pod.inactive {
    opacity: 0.4;
    transform: translateY(20px);
}

.journey-pod.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   4. POD NODE
   ======================================== */

.pod-node {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    transition: all 0.4s ease;
}

.journey-pod.active .pod-node {
    border-color: #72808D;
    box-shadow: 0 0 15px #72808D;
    background: #72808D;
    transform: translate(-50%, -50%) scale(1.3);
}

/* Hide portal ring */
.portal-ring {
    display: none;
}

/* ========================================
   5. POD CARD - NO BACKDROP-FILTER
   ======================================== */

.pod-card {
    width: 42%;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.journey-pod.active .pod-card {
    border-color: rgba(114, 128, 141, 0.3);
    box-shadow: 0 0 30px rgba(114, 128, 141, 0.1);
}

/* Simple glow */
.pod-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(114, 128, 141, 0.12), transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    border-radius: 30px;
    transition: opacity 0.4s ease;
}

/* Hide expensive pseudo-elements */
.pod-card::before,
.pod-card::after {
    display: none;
}

/* ========================================
   6. CONTENT
   ======================================== */

.pod-year {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #72808D;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.2em;
}

.pod-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pod-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
}

.pod-info {
    width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pod-info.milestone-photo-large {
    width: 38%;
}

.pod-info.milestone-photo-large img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 0 40px rgba(114, 128, 141, 0.15);
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.info-metric {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* ========================================
   7. HERO STATION
   ======================================== */

.journey-pod.hero-station.active .pod-card {
    box-shadow: 0 0 50px rgba(114, 128, 141, 0.15);
}

/* ========================================
   8. MOBILE
   ======================================== */

@media (max-width: 768px) {
    .journey-data-line {
        left: 2rem;
    }

    .pod-node {
        left: 2rem;
    }

    .pod-card,
    .pod-info {
        width: calc(100% - 4rem);
        margin-left: 4rem;
    }

    .journey-pod {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 120px;
    }

    .pod-info {
        margin-top: 1.5rem;
    }

    .pod-info.milestone-photo-large {
        width: calc(100% - 4rem);
    }

    .pod-info.milestone-photo-large img {
        height: 250px;
    }

    .rail-glow {
        display: none;
    }
}

/* ========================================
   8b. VERY SMALL SCREENS
   ======================================== */

@media (max-width: 480px) {
    .about-journey-container {
        padding: 2rem 0.5rem 4rem 0.5rem;
    }

    .journey-data-line {
        left: 1rem;
    }

    .pod-node {
        left: 1rem;
        width: 12px;
        height: 12px;
    }

    .pod-card,
    .pod-info {
        width: calc(100% - 2.5rem);
        margin-left: 2.5rem;
    }

    .pod-card {
        padding: 1.5rem;
    }

    .pod-title {
        font-size: 1.2rem;
    }

    .pod-desc {
        font-size: 0.8rem;
    }

    .pod-info.milestone-photo-large {
        width: calc(100% - 2.5rem);
    }

    .pod-info.milestone-photo-large img {
        height: 200px;
    }

    .journey-pod {
        margin-bottom: 80px;
    }
}

/* ========================================
   9. REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .journey-pod {
        transition: opacity 0.2s ease;
        transform: none !important;
    }

    .pod-node {
        transition: none;
    }
}