.about-apple-dive {
    height: 800vh;
    background-color: var(--bg-color, #0f1011);
    position: relative;
    overflow: clip;
}

.dive-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: hidden;
    background: var(--bg-color, #0f1011);
}

.dive-text {
    position: absolute;
    font-size: 7vw;
    font-weight: 900;
    text-align: center;
    color: #fff;
    opacity: 0;
    white-space: nowrap;
    transform: translateZ(-2000px);
    will-change: transform, opacity;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(0, 238, 255, 0.2);
}

.ai-core {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateZ(-1000px) scale(0.1);
    will-change: transform, opacity;
    width: 100%;
}

.core-ring {
    position: absolute;
    border-radius: 50%;
    transform-style: preserve-3d;
    will-change: transform;
}

.ring-1 {
    width: clamp(120px, 40vw, 250px);
    height: clamp(120px, 40vw, 250px);
    border: 2px solid rgba(0, 119, 255, 0.4);
    border-top: 4px solid #0077ff;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.4) inset;
}

.ring-2 {
    width: clamp(190px, 60vw, 350px);
    height: clamp(190px, 60vw, 350px);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-bottom: 4px solid #0ef;
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
}

.ring-3 {
    width: clamp(260px, 80vw, 450px);
    height: clamp(260px, 80vw, 450px);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-left: 2px solid #fff;
}

.core-center {
    position: absolute;
    z-index: 10;
}

.core-center img {
    max-width: 160px;
    filter: drop-shadow(0 0 25px rgba(0, 238, 255, 0.8));
}

.core-text-box {
    position: absolute;
    top: 55%;
    text-align: center;
    width: 90vw;
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
    padding: clamp(15px, 4vw, 30px);
    background: rgba(31, 36, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.core-text-box h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #0ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.core-text-box p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #eaeaea;
}

@media (max-width: 768px) {
    .dive-text {
        font-size: 3.5rem;
        white-space: normal;
        padding: 0 20px;
    }

    .core-text-box {
        top: 200px;
    }

    .core-text-box h3 {
        font-size: 2rem;
    }

    .ring-3 {
        width: 300px;
        height: 300px;
    }

    .ring-2 {
        width: 230px;
        height: 230px;
    }

    .ring-1 {
        width: 160px;
        height: 160px;
    }

    .core-center {
        font-size: 3.5rem;
    }
}

/* INTERACTIVE SCROLL POPUP */
.interactive-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.interactive-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.interactive-popup-box {
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(0, 238, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 238, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.interactive-popup-overlay.show .interactive-popup-box {
    transform: translateY(0);
}

.ip-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.mouse-scroll {
    width: 30px;
    height: 50px;
    border: 2px solid #0ef;
    border-radius: 15px;
    position: relative;
}

.mouse-scroll::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #0ef;
    border-radius: 4px;
    animation: scrollWheelPulse 1.5s infinite;
}

@keyframes scrollWheelPulse {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

.interactive-popup-box h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.interactive-popup-box p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ip-btn {
    background: linear-gradient(135deg, #0077ff, #0ef);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.3);
}

.ip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 238, 255, 0.5);
}
/* ZERO-COMPROMISE RESPONSIVE OVERRIDES */
/* ZERO-COMPROMISE RESPONSIVE OVERRIDES */
@media (max-width: 768px) {
    .dive-text { font-size: clamp(2rem, 7vw, 3.5rem); }
}

@media (max-width: 480px) { 
    .core-text-box h3 { font-size: 2.5rem; } 
    .core-text-box p { font-size: 1.5rem; line-height: 1.4; } 
    .core-text-box {
        left: 0; right: 0; margin: 0 auto;
        top: 20%;
        max-height: 80vh;
        overflow-y: auto;
    }
}
