/* ==========================================================================
   The Edu Consultant - Mobile Scroll Journey Flow Engine
   Interactive Smartphone Simulator, 3D Z-Axis Zoom In/Out & Telemetry
   ========================================================================== */

.mobile-journey-wrapper {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--secondary-bg) 50%, #ffffff 100%);
    overflow: hidden;
}

/* Smartphone Bezel & Shell */
.phone-mockup-container {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    perspective: 1200px;
}

.phone-device {
    background: #000000;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 100, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 35px rgba(245, 220, 60, 0.2);
    border: 4px solid #232736;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-screen {
    background: #050b1d;
    border-radius: 40px;
    height: 720px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    color: #ffffff;
    scrollbar-width: none;
    perspective: 1000px;
}

.phone-screen::-webkit-scrollbar {
    display: none;
}

/* Dynamic Island */
.phone-island {
    position: sticky;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 32px;
    background: #000000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 11px;
    color: var(--button);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 0 auto 10px;
}

.island-camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111425;
}

/* 3D Zoom In/Out Journey Tunnel inside Phone */
.journey-mobile-chamber {
    padding: 20px 16px 80px;
    transform-style: preserve-3d;
    min-height: 100%;
}

.journey-step-slide {
    background: rgba(18, 29, 53, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    position: relative;
}

.journey-step-slide.active-step {
    border-color: var(--button);
    box-shadow: 0 10px 30px rgba(245, 220, 60, 0.25);
    transform: scale(1.02);
}

.journey-step-slide.zoom-in {
    transform: scale(1.08) translateZ(30px);
}

.journey-step-slide.zoom-out {
    transform: scale(0.92) translateZ(-40px);
    opacity: 0.6;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(245, 220, 60, 0.15);
    border: 1px solid var(--button);
    border-radius: 20px;
    color: var(--button);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.step-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-card-preview {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

/* Phone Floating Bottom Dock Controls */
.phone-bottom-nav {
    position: sticky;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0, 0, 100, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 90;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.step-bullet-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.step-bullet-btn.active {
    background: var(--button);
    color: var(--brand-primary);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(245, 220, 60, 0.6);
}

/* Floating Launcher Pill removed per user request */
.journey-launcher-pill {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* ==========================================================================
   Mobile Device & Touch Responsiveness (< 768px and < 576px)
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-journey-wrapper {
        padding: 40px 0;
    }

    .phone-mockup-container {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }

    .phone-screen {
        height: 640px;
    }

    .journey-launcher-pill {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .phone-mockup-container {
        padding: 0 4px;
        perspective: none;
    }

    .phone-device {
        border-radius: 28px;
        padding: 8px;
        border-width: 3px;
        box-shadow: 0 15px 35px -10px rgba(0, 0, 100, 0.3);
    }

    .phone-screen {
        border-radius: 22px;
        height: 560px;
        max-height: 75vh;
    }

    .phone-island {
        width: 110px;
        height: 26px;
        font-size: 10px;
        padding: 0 8px;
        margin-bottom: 6px;
    }

    .journey-mobile-chamber {
        padding: 12px 10px 70px;
    }

    .journey-step-slide {
        border-radius: 18px;
        padding: 16px 14px;
        margin-bottom: 16px;
    }

    .step-title {
        font-size: 17px;
    }

    .step-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .step-badge {
        font-size: 10px;
        padding: 3px 10px;
    }

    .phone-bottom-nav {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 6px 8px;
        border-radius: 20px;
    }

    .step-bullet-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .journey-launcher-pill {
        bottom: 12px;
        right: 12px;
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
    }
}

