/* 4-Phones Visible, Scroll One at a Time */

.experiences-section {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 77, 31, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 34, 51, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle tech pattern background */
.experiences-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 77, 31, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(37, 34, 51, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.experiences-section .container {
    position: relative;
    z-index: 2;
}

/* Journey Carousel Container */
.cinema-journey-container {
    max-width: 1400px;
    margin: 60px auto 0;
    position: relative;
}

/* Carousel Wrapper */
.journey-carousel {
    position: relative;
    padding: 40px 80px;
    overflow: hidden;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 77, 31, 0.8), rgba(37, 34, 51, 0.7));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 77, 31, 0.4);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Carousel Track - Shows exactly 4 phones */
.journey-track {
    width: 100%;
    max-width: 1200px; /* 4 phones × 300px (280px + 20px padding) */
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Phone Container - Horizontal scroll container */
.phone-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 4800px; /* 16 phones × 300px for seamless loop */
}

/* Individual Phone Step */
.phone-step {
    flex: 0 0 300px; /* Fixed width: 280px + 20px padding (10px each side) */
    text-align: center;
    padding: 15px 10px 0;
    opacity: 0.6;
    transform: scale(0.95);
    transition: all 0.4s ease;
    box-sizing: border-box;
    overflow: visible;
}

.phone-step.active {
    opacity: 1;
    transform: scale(1);
}

/* Step Number Circle */
.step-circle {
    width: 50px;
    height: 50px;
    margin: 10px auto 25px;
    background: linear-gradient(135deg, rgba(255, 77, 31, 0.9), rgba(37, 34, 51, 0.8));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.phone-step.active .step-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 77, 31, 0.4);
}

/* Phone Mockup */
.step-phone {
    width: 180px;
    height: 360px;
    margin: 0 auto 25px;
    position: relative;
    background: linear-gradient(135deg, #0f1419, #1e2936);
    border-radius: 35px;
    padding: 12px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.phone-step.active .step-phone {
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(255, 77, 31, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-step:hover .step-phone {
    transform: translateY(-5px);
}

/* Phone Notch */
.step-phone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 2;
}

/* Phone Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    background: #000;
    z-index: 5;
}

.phone-screen img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.phone-step:hover .phone-screen img {
    transform: scale(1.02);
}

/* Step Content */
.step-content h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.phone-step.active .step-content h3 {
    color: var(--brand-orange);
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.phone-step.active .step-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Progress Indicators */
.journey-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: linear-gradient(135deg, rgba(255, 77, 31, 0.9), rgba(37, 34, 51, 0.8));
    transform: scale(1.3);
}

.progress-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Experience Metrics Enhancement */
.experience-metrics {
    margin-top: 80px;
    padding: 50px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 77, 31, 0.2);
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1300px) {
    /* Adjust for smaller screens while maintaining 4 phones visible */
    .journey-track {
        max-width: 1000px; /* 4 phones × 250px */
    }
    
    .phone-container {
        width: 4000px; /* 16 phones × 250px */
    }
    
    .phone-step {
        flex: 0 0 250px;
        padding: 0 5px;
    }
    
    .step-phone {
        width: 240px;
        height: 480px;
    }
}

@media (max-width: 1100px) {
    /* Show 3 phones on medium screens */
    .journey-track {
        max-width: 750px; /* 3 phones × 250px */
    }
    
    .phone-container {
        width: 4000px; /* 16 phones × 250px */
    }
}

@media (max-width: 900px) {
    /* Show 2 phones on smaller screens */
    .journey-track {
        max-width: 500px; /* 2 phones × 250px */
    }
    
    .step-phone {
        width: 160px;
        height: 320px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .journey-carousel {
        padding: 40px 20px;
    }
    
    /* Show 1 phone on mobile */
    .journey-track {
        max-width: 250px; /* 1 phone × 250px */
    }
    
    .phone-step {
        padding: 0 10px;
    }
    
    .step-phone {
        width: 160px;
        height: 320px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}