/* ==========================================================================
   Artifex Cinematic Living Hero Section Styles
   Ultra-High-End 3D Gyroscope, Ambient Aurora Glow & Scroll Parallax
   ========================================================================== */

/* 1. Cinematic Hero Container */
.lwd-hero {
    position: relative !important;
    overflow: hidden !important;
    perspective: 1400px !important;
    -webkit-perspective: 1400px !important;
}

/* 2. Living Ambient Glowing Aurora & Cursor Spotlight */
.artifex-aurora-wrap {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.artifex-aurora-orb {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(85px) !important;
    -webkit-filter: blur(85px) !important;
    opacity: 0.55 !important;
    mix-blend-mode: screen !important;
    will-change: transform, opacity !important;
}

.artifex-aurora-1 {
    width: 700px !important;
    height: 700px !important;
    background: radial-gradient(circle, rgba(37, 99, 245, 0.65) 0%, rgba(14, 44, 126, 0.3) 50%, transparent 72%) !important;
    top: 5% !important;
    right: 8% !important;
    animation: artifexAuroraFloat1 18s ease-in-out infinite alternate !important;
}

.artifex-aurora-2 {
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.55) 0%, rgba(37, 99, 245, 0.25) 50%, transparent 72%) !important;
    bottom: 5% !important;
    right: 22% !important;
    animation: artifexAuroraFloat2 22s ease-in-out infinite alternate !important;
}

.artifex-aurora-3 {
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(37, 99, 245, 0.2) 50%, transparent 72%) !important;
    top: 25% !important;
    left: 5% !important;
    animation: artifexAuroraFloat3 16s ease-in-out infinite alternate !important;
}

/* Dynamic Interactive Spotlight following cursor */
.artifex-cursor-spotlight {
    position: absolute !important;
    width: 600px !important;
    height: 600px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 245, 0.08) 45%, transparent 70%) !important;
    filter: blur(50px) !important;
    -webkit-filter: blur(50px) !important;
    pointer-events: none !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 0.4s ease !important;
    opacity: 0;
    z-index: 1 !important;
    mix-blend-mode: screen !important;
}

@keyframes artifexAuroraFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-70px, 50px, 0) scale(1.15); }
    100% { transform: translate3d(50px, -60px, 0) scale(0.92); }
}

@keyframes artifexAuroraFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, -50px, 0) scale(1.1); }
    100% { transform: translate3d(-40px, 40px, 0) scale(0.9); }
}

@keyframes artifexAuroraFloat3 {
    0% { transform: translate3d(0, 0, 0) scale(0.92); }
    50% { transform: translate3d(50px, 60px, 0) scale(1.18); }
    100% { transform: translate3d(-50px, -30px, 0) scale(1); }
}

/* 3. Shimmering Headline Accent */
.lwd-hero .lwd-serif {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 45%, #93c5fd 80%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
    position: relative !important;
    filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.35)) !important;
}

/* 4. 3D Stage for Hero Mockup Stack */
.lwd-hero-visual {
    perspective: 1400px !important;
    -webkit-perspective: 1400px !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    position: relative !important;
    z-index: 5 !important;
}

.lwd-stack {
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    will-change: transform !important;
    transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1) !important;
}

/* 5. Desktop Mockup: Cinematic Aluminum Frame & Glass Reflections */
.lwd-shot {
    position: relative !important;
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    border: 1px solid rgba(133, 171, 255, 0.3) !important;
    background: #0a0f20 !important;
    border-radius: 14px !important;
    box-shadow: 
        0 40px 100px -20px rgba(0, 0, 0, 0.85),
        0 0 60px -10px rgba(37, 99, 245, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
    will-change: transform !important;
}

/* Glass Screen Glare Reflection */
.lwd-shot::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.04) 28%,
        transparent 45%,
        rgba(37, 99, 245, 0.08) 80%,
        rgba(255, 255, 255, 0.02) 100%
    ) !important;
    border-radius: 14px !important;
    pointer-events: none !important;
    z-index: 10 !important;
    mix-blend-mode: overlay !important;
    transition: opacity 0.3s ease !important;
}

/* Desktop Browser Bar with Colored Controls */
.lwd-shot .bar {
    background: rgba(13, 20, 38, 0.95) !important;
    border-bottom: 1px solid rgba(133, 171, 255, 0.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.lwd-shot .bar i:first-child {
    background: #ff5f56 !important;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.6) !important;
    opacity: 1 !important;
}
.lwd-shot .bar i:nth-child(2) {
    background: #ffbd2e !important;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.6) !important;
    opacity: 1 !important;
}
.lwd-shot .bar i:nth-child(3) {
    background: #27c93f !important;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.6) !important;
    opacity: 1 !important;
}

/* 6. Floating Phone Mockup: Enhanced 3D Depth Layer */
.lwd-phone {
    transform-style: preserve-3d !important;
    -webkit-transform-style: preserve-3d !important;
    border: 1px solid rgba(133, 171, 255, 0.4) !important;
    background: #070b1a !important;
    box-shadow: 
        0 45px 110px -15px rgba(0, 0, 0, 0.9),
        0 0 70px -10px rgba(37, 99, 245, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    will-change: transform !important;
}

/* Phone Glass Reflection */
.lwd-phone::after {
    content: "" !important;
    position: absolute !important;
    inset: 7px !important;
    border-radius: 20px !important;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.04) 35%,
        transparent 55%
    ) !important;
    pointer-events: none !important;
    z-index: 5 !important;
    mix-blend-mode: overlay !important;
}

/* 7. Floating Glass Chips: Multi-depth 3D Elevation */
.lwd-chip {
    background: rgba(10, 16, 35, 0.9) !important;
    border: 1px solid rgba(133, 171, 255, 0.35) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 
        0 22px 55px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(37, 99, 245, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
    will-change: transform !important;
    transition: transform 0.15s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease !important;
}

.lwd-chip:hover {
    border-color: rgba(133, 171, 255, 0.6) !important;
    box-shadow: 
        0 28px 65px rgba(0, 0, 0, 0.75),
        0 0 50px rgba(37, 99, 245, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* Pulsing Status Dot */
.lwd-chip .ic.dot::before {
    animation: artifexLivePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

@keyframes artifexLivePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(37, 99, 245, 0.4);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(37, 99, 245, 0.18), 0 0 20px rgba(37, 99, 245, 0.75);
    }
}

/* 8. Text Column Graceful Parallax & Fade on Scroll */
.fl-node-le7ak0vg8iut {
    will-change: transform, opacity !important;
    transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.12s ease-out !important;
}

/* 9. Scroll Indicator */
.lwd-scroll {
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.lwd-scroll:hover {
    opacity: 1;
    transform: translateY(3px);
}

@media (max-width: 880px) {
    .artifex-aurora-orb {
        opacity: 0.35;
    }
    .artifex-cursor-spotlight {
        display: none !important;
    }
    .lwd-shot::after,
    .lwd-phone::after {
        display: none !important;
    }
}
