/* quantum-sponsor.css */
/* Quantum Impact Design System */

:root {
    --q-deep-space: #05014a;
    /* Main Deep Navy */
    --q-void: #020024;
    /* Darker Void */
    --q-neon-blue: #00d4ff;
    /* Cyan/Electric */
    --q-neon-purple: #9d4edd;
    --q-hologram-bg: rgba(255, 255, 255, 0.03);
    --q-hologram-border: rgba(255, 255, 255, 0.1);
    --q-font-heading: "Playfair Display", serif;
    --q-font-body: "DM Sans", sans-serif;
}

/* --- Main Container (Pinned Section) --- */
.quantum-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height for pinning */
    background: radial-gradient(circle at 50% 50%, var(--q-deep-space) 0%, var(--q-void) 100%);
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* --- Animated Aurora Background --- */
.quantum-aurora {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1), transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.15), transparent 50%);
    filter: blur(80px);
    /* The "Aurora" Softness */
    animation: auroraSpin 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes auroraSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Horizontal Track --- */
.quantum-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    /* Width will be set dynamically or roughly 400% for 4 slides */
    width: 400%;
    will-change: transform;
}

/* --- Slide Sections --- */
.quantum-slide {
    width: 100vw;
    /* Each slide is full viewport width */
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5vw;
}

/* --- Typography --- */
.q-intro-text {
    text-align: center;
    z-index: 2;
}

.q-super-title {
    font-family: var(--q-font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* GSAP Reveal */
    transform: translateY(30px);
}

.q-sub-text {
    font-family: var(--q-font-body);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
}

/* --- Holographic Cards --- */
.q-card-container {
    perspective: 1000px;
    margin-left: 5vw;
    /* Offset for layout */
}

.q-holo-card {
    width: 400px;
    padding: 60px 40px;
    background: var(--q-hologram-bg);
    border: 1px solid var(--q-hologram-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* The scanning light beam */
.q-holo-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: holoScan 6s infinite ease-in-out;
}

@keyframes holoScan {
    0% {
        left: -100%;
    }

    50% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.q-card-icon {
    font-size: 3rem;
    color: var(--q-neon-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--q-neon-blue);
}

.q-card-title {
    font-family: var(--q-font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.q-card-desc {
    font-family: var(--q-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Huge Parallax Text (Background) --- */
.q-parallax-text {
    position: absolute;
    font-family: var(--q-font-body);
    font-weight: 900;
    font-size: 15vw;
    color: rgba(255, 255, 255, 0.02);
    /* Extremely faint */
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .quantum-wrapper {
        height: auto;
        /* Allow vertical scroll on mobile */
        display: block;
        padding: 80px 0;
    }

    .quantum-track {
        display: block;
        /* Stack Vertical */
        width: 100%;
        height: auto;
    }

    .quantum-slide {
        width: 100%;
        height: auto;
        display: block;
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .q-super-title {
        font-size: 3rem;
    }

    .q-holo-card {
        width: 100%;
        margin: 0;
        transform: none !important;
        /* Disable complex 3D on mobile */
    }

    .quantum-aurora {
        /* Reduce heavy GPU usage */
        animation: none;
    }

    /* Disable Horizontal Scroll Trigger on Mobile if desired, 
       but usually we just let it flow vertically via CSS above */
}