/* =========================================
   SPIREZEN DIMENSION - Distinct 3D Themes
   ========================================= */

body {
    overflow-x: hidden;
    background: #050505;
    /* Deep space black */
}

/* Base resets for sections to allow 3D */
section,
.underquote_container,
.testimun_name-section,
footer {
    transform-style: preserve-3d;
    perspective: 1500px;
    position: relative;
    z-index: 1;
}

/* =========================================
   1. HERO SECTION: "The Quantum Core"
   ========================================= */
.welcome-section {
    position: relative;
    height: 95vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
    /* Below Nav */
}

/* Deep Space Particles (CSS) */
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, #e8aa56, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 150px 160px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 300px 280px, #e8aa56, rgba(0, 0, 0, 0));
    background-size: 400px 400px;
    animation: quantumDrift 60s linear infinite;
    opacity: 0.8;
    z-index: -2;
    transform: translateZ(-1000px) scale(3);
    will-change: transform;
    /* Push deep back */
}

@keyframes quantumDrift {
    0% {
        transform: translateZ(-1000px) scale(3) rotate(0deg);
    }

    100% {
        transform: translateZ(-1000px) scale(3) rotate(360deg);
    }
}

.welcome-section .content {
    display: flex;
    flex-direction: column;
    width: 80%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
    will-change: transform;
    /* Mouse tracking handled by GSAP */
}

/* Text floating off the screen */
.contenth1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
    background: linear-gradient(135deg, #ffffff 0%, #e8aa56 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow:
        0px 5px 15px rgba(232, 170, 86, 0.2),
        /* Soft gold glow */
        0px 10px 30px rgba(0, 0, 0, 0.8);
    /* Deep heavy shadow */
    will-change: transform;
    /* GSAP injects translate/rotate array */
}

/* Logo popping out even further */
.logowel {
    width: 340px !important;
    filter: drop-shadow(0 20px 30px rgba(232, 170, 86, 0.4));
    will-change: transform, filter;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
    z-index: 10;
    pointer-events: none;
    animation: bounceIndicator 2.5s infinite ease-in-out;
}

.scroll-indicator p {
    color: #e8aa56;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(232, 170, 86, 0.8);
    border-radius: 20px;
    position: relative;
    box-shadow:
        0 0 10px rgba(232, 170, 86, 0.2),
        inset 0 0 10px rgba(232, 170, 86, 0.1);
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #e8aa56;
    border-radius: 2px;
    animation: scrollWheel 2s infinite ease-out;
    box-shadow: 0 0 5px #e8aa56;
}

@keyframes bounceIndicator {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 12px);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 16px);
        opacity: 0;
    }
}

/* =========================================
   2. VIDEO SECTION: "Holographic Projection"
   ========================================= */
.video-section {
    padding-bottom: 100px;
    margin-top: -60px;
    /* Overlap hero */
}

.video-wrapper {
    /* GSAP takes over the rotation, but establish base styling */
    border-radius: 16px;
    position: relative;
    /* Complex Glass Border */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(232, 170, 86, 0.15);
    /* Gold aura */
    overflow: hidden;
}

/* Simulated glare sweeping across */
.video-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    transform: skewX(-20deg);
    animation: holographicGlare 6s infinite reverse;
    pointer-events: none;
    z-index: 2;
}

@keyframes holographicGlare {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    /* Fast sweep */
    100% {
        left: 150%;
    }

    /* Pause */
}

/* =========================================
   3. QUOTE SECTION: "Layout Tension"
   ========================================= */
.split-quote-section {
    padding: 180px 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Micro-interaction: slight letter spacing on hover */
.split-quote-section:hover .quote_line {
    letter-spacing: 0.5px;
}

.split-quote-left {
    flex: 1 1 50%;
    text-align: left;
    transform: translateX(-60px);
    /* Base state for animation */
    opacity: 0;
}

.split-quote-right {
    flex: 1 1 50%;
    text-align: right;
    transform: translateX(60px);
    /* Base state for animation */
    opacity: 0;
    padding-right: 5px;
    /* Prevent hover letter-spacing from causing horizontal scroll/cut off */
    white-space: nowrap;
    /* Prevent awkward wrapping for the short right side */
}

.split-quote-section .quote_line {
    margin: 0;
    color: #fff;
    transition: letter-spacing 0.4s ease;
}

.split-quote-left .quote_line {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.3;
}

.split-quote-right .quote_line {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.2;
}

/* Accent words for color transition */
.accent-word {
    color: #fff;
    /* Starts white */
    display: inline-block;
    transition: color 0.6s ease, transform 0.6s ease;
}

/* We will add a class string via JS to trigger this state */
.accent-word.highlight {
    color: #e8aa56;
    transform: scale(1.03);
}

.large-accent.highlight {
    transform: scale(1.05);
    /* slightly bigger punch for the final word */
}

/* Responsive */
@media (max-width: 1024px) {
    .split-quote-section {
        flex-direction: column;
        gap: 60px;
        align-items: flex-start;
        padding: 120px 0;
    }

    .split-quote-left,
    .split-quote-right {
        flex: 1 1 auto;
        width: 100%;
    }

    .split-quote-right {
        text-align: right;
        /* Maintain contrast */
    }
}


/* =========================================
   4. BIO SECTION: "Isometric Split-View"
   ========================================= */
.indeximagebio_section {
    padding: 80px 0;
    overflow: hidden;
}

.indeximagebio_container {
    transform-style: preserve-3d;
    perspective: 1200px;
}

.indeximagebio_image img {
    border-radius: 12px;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    border: 1px solid rgba(232, 170, 86, 0.3);
}

/* Glowing connecting lines effect */
.indeximagebio_content {
    position: relative;
    padding: 30px;
    background: linear-gradient(90deg, rgba(20, 20, 20, 0.6) 0%, transparent 100%);
    border-left: 2px solid rgba(232, 170, 86, 0.8);
    backdrop-filter: blur(10px);
}


/* =========================================
   5. MUNTERRA SECTION: "The Golden Monolith"
   ========================================= */
.amun_intro {
    padding: 80px 0;
}

.amun_container {
    transform-style: preserve-3d;
}

.amun_image {
    position: relative;
    animation: floatMonolith 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes floatMonolith {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.amun_image img {
    border-radius: 0;
    /* Sharp edges for monolith feel */

    /* Huge golden aura */

    /* Solid gold border */
    /* Give it a metallic sheen over top */
    position: relative;
    display: block;
    width: 100%;
}

.amun_image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Use Spirezen gold so it contrasts against the solid white logo */
    background: linear-gradient(135deg, transparent 20%, rgba(232, 170, 86, 0.4) 40%, rgba(232, 170, 86, 1) 50%, rgba(232, 170, 86, 0.4) 60%, transparent 80%);
    background-size: 300% 300%;
    animation: sweepGlare 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    pointer-events: none;
    -webkit-mask-image: url('../img/thedaleDigiNova%20logo%20D%20only%20png.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('../img/thedaleDigiNova%20logo%20D%20only%20png.png');
    mask-size: 100% 100%;
    mask-position: center;
    mask-repeat: no-repeat;
    z-index: 2;
}

@keyframes sweepGlare {
    0% {
        background-position: 100% 100%;
    }

    40% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}


/* =========================================
   6. PRODUCT LINEUP: "Cybernetic Coverflow"
   ========================================= */
.prodlineup_section {
    padding: 100px 0;
}

.prodlineup_container {
    background: transparent;
    border: none;
    border-radius: 16px;
    box-shadow: none;
    /* Removed deep interior */
    padding: 20px 0;
    /* Adjusted padding to remove the boxed feel */
    /* GSAP handles the initial 3D rotation, but we add hover physics */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.prodlineup_container:hover {
    transform: translateZ(20px) !important;
    /* Soft hover lift without jumping sizes or borders */
    box-shadow: none;
}

/* =========================================
   7. STATS SECTION: "Floating Data Orbs"
   ========================================= */
.testimun_name-section {
    padding: 40px 0 80px;
}

.testimun_name-logo {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    /* Orb shape */
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 20px;
    /* Space out the orbs */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure horizontal layout for the wrapper */
.testimun_name-wrapper {
    display: flex;
    flex-wrap: nowrap;
    /* Force single row for testi.js infinite scroll */
    gap: 30px;
}

.testimun_name-logo:hover {
    transform: translateZ(40px) translateY(-10px) !important;
    /* Removed gold glow and border to keep it clean */
}

.testimun_name-title {
    font-size: 2.8rem;
    color: #b0b0b0;
    text-shadow: 0 0 10px rgba(232, 170, 86, 0.4);
}


/* =========================================
   8. TEAM SECTION: "Carousel Dimension"
   ========================================= */
.team-split-section {
    overflow: visible;
    /* Need visible for 3D overflow pop */
    padding: 100px 0;
}

/* .team-carousel is handled by GSAP */

/* team-slide transitions handled by indexstyle.css — no 3D overrides */

/* =========================================
   9. FEATURES SECTION: "Levitating Pillars"
   ========================================= */
.key-features-section {
    padding: 100px 0;
}

.feature-box {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(232, 170, 86, 0.6);
    /* Gold rim light at top */
    border-radius: 8px;
    padding: 40px 30px;
    position: relative;
    /* Soft hover lift */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-20px) translateZ(30px);
    box-shadow:
        0 40px 60px rgba(0, 0, 0, 0.8),
        0 10px 20px rgba(232, 170, 86, 0.1);
}

/* Pillar Shadow underneath */
.feature-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 15px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(5px);
    transition: opacity 0.4s, bottom 0.4s, filter 0.4s;
}

.feature-box:hover::after {
    bottom: -50px;
    /* shadow moves further away as pillar lifts */
    opacity: 0.2;
    filter: blur(10px);
}


/* =========================================
   10. ANNOUNCEMENT SECTION: "Hyper-Tunnel"
   ========================================= */
.announcement_section {
    padding: 120px 0;
    overflow: hidden;
    /* Prevent horizontal scroll from 3D scale */
}

.announcement_card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.announcement_card:hover {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 0 2px rgba(232, 170, 86, 0.5);
    /* Full gold border trace */
}


/* =========================================
   11. FOOTER: "Abyss Reveal"
   ========================================= */
.footer-container {
    background: linear-gradient(180deg, #050505 0%, #000 100%) !important;
    border-top: 1px solid rgba(232, 170, 86, 0.3);
    /* Distinct gold line separating content from abyss */
}

/* =========================================
   12. MOBILE OPTIMIZATIONS
   ========================================= */
@media (max-width: 768px) {

    /* Hero Section */
    .welcome-section {
        height: 50vh;
        min-height: 50vh;
        max-height: 50vh;
        padding-top: 15vh;
        /* Push content down slightly for balance */
    }

    .welcome-section .content {
        flex-direction: column;
        gap: 5px;
        width: 90%;
    }

    .contenth1 {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
        letter-spacing: 1px;
    }

    .logowel {
        width: 140px !important;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator .mouse {
        display: block;
        transform: scale(0.8);
    }

    /* Video Section */
    .video-section {
        padding-bottom: 60px;
        margin-top: -30px;
    }

    /* Layout Tension Quote Section */
    .split-quote-section {
        padding: 80px 0;
        gap: 40px;
    }

    .split-quote-left .quote_line {
        font-size: clamp(24px, 5vw, 32px);
    }

    .split-quote-right .quote_line {
        font-size: clamp(28px, 6vw, 40px);
    }

    /* Generic Paddings */
    .indeximagebio_section,
    .amun_intro,
    .prodlineup_section,
    .team-split-section,
    .key-features-section,
    .announcement_section {
        padding: 60px 0;
    }

    /* Product Lineup */
    .testimun_name-section {
        padding: 40px 0;
    }

    .testimun_name-logo {
        width: 150px;
        height: 150px;
        margin: 0 10px;
    }

    .testimun_name-title {
        font-size: 1.8rem;
    }
}