/* ==========================================================================
   134skanqdexus.css — DEXUS DEV ULTRA-PREMIUM FUTURISTIC STYLESHEET
   Core Web Vitals 100 | GPU-Accelerated | All-Device Pixel-Perfect
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600&family=Outfit:wght@200;300;400;600;700&display=swap');

:root {
    --bg-void: #030303;
    --bg-charcoal: #0a0a0f;
    --cyan-glow: #00f2fe;
    --pink-aesthetic: #ff2a85;
    --pink-soft: #ff75b5;
    --blue-accent: #3a86ff;
    --glass-border: rgba(255, 255, 255, 0.22);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-void);
    color: #ffffff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   1. FUTURISTIC MECHANICAL & PARTICLE BG
   ========================================= */
#futuristic-bg {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0d0f18 0%, #050508 55%, #020203 100%);
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    will-change: transform;
}

.mech-core-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(78vw, 720px);
    height: min(78vw, 720px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 35px rgba(0, 242, 254, 0.12)) drop-shadow(0 0 55px rgba(255, 42, 133, 0.08));
    will-change: transform;
}

.mech-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.dof-vignette {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: radial-gradient(circle at center, transparent 35%, rgba(3, 3, 3, 0.75) 85%, #030303 100%);
    backdrop-filter: blur(1.5px);
    pointer-events: none;
}

.ambient-light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.28;
    z-index: 2;
    will-change: transform, opacity;
}

.orb-cyan {
    width: 42vw;
    height: 42vw;
    max-width: 480px;
    max-height: 480px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    top: 12%;
    left: 18%;
}

.orb-pink {
    width: 38vw;
    height: 38vw;
    max-width: 440px;
    max-height: 440px;
    background: radial-gradient(circle, var(--pink-aesthetic), transparent 70%);
    bottom: 10%;
    right: 16%;
}

/* =========================================
   2 & 3. MINIMALIST FUTURISTIC SEARCH BAR
   ========================================= */
#search-stage {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
}

.search-shell {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 62px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    opacity: 0;
    will-change: transform, opacity, box-shadow;
}

/* Construction Lines for Search Bar Formation */
.construct-line {
    position: absolute;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #ffffff, var(--cyan-glow), var(--pink-soft), #ffffff, transparent);
    width: 0%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 22;
    pointer-events: none;
}
.construct-line.top-line { top: 0; }
.construct-line.bottom-line { bottom: 0; }

.search-svg-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.search-svg-rect {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.25px;
    rx: 31px;
    ry: 31px;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.35)) drop-shadow(0 0 18px rgba(255, 42, 133, 0.25));
}

.search-text-track {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16px, 3.2vw, 22px);
    font-weight: 400;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--cyan-glow), var(--pink-aesthetic));
    margin-left: 4px;
    opacity: 0;
    box-shadow: 0 0 8px var(--pink-aesthetic);
}

.typing-cursor.blink {
    animation: cursorBlink 0.85s infinite ease-in-out;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.1; }
}

.search-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.4);
    position: relative;
}

.search-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--pink-soft);
    opacity: 0;
    transform: scale(0.6);
}

/* =========================================
   4. CINEMATIC CAMERA APERTURE SHUTTER
   ========================================= */
#shutter-stage {
    position: fixed;
    inset: 0;
    z-index: 35;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

.shutter-blade {
    position: absolute;
    inset: -25%;
    background: linear-gradient(135deg, #020204 0%, #090a10 50%, #030305 100%);
    border: 1px solid rgba(255, 117, 181, 0.14);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), inset 0 0 25px rgba(0, 242, 254, 0.06);
    will-change: transform, clip-path;
}

/* Diagonal & Curved Camera Aperture Blades */
.blade-1 { clip-path: polygon(0 0, 62% 0, 42% 100%, 0 100%); }
.blade-2 { clip-path: polygon(58% 0, 100% 0, 100% 100%, 38% 100%); }
.blade-3 { clip-path: polygon(0 0, 100% 0, 100% 54%, 0 36%); }
.blade-4 { clip-path: polygon(0 64%, 100% 46%, 100% 100%, 0 100%); }

.aperture-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 140vmax;
    height: 140vmax;
    border-radius: 50%;
    border: 2px solid rgba(0, 242, 254, 0.35);
    box-shadow: 0 0 60px rgba(255, 42, 133, 0.3), inset 0 0 60px rgba(0, 242, 254, 0.2);
    pointer-events: none;
    z-index: 38;
}

/* =========================================
   5. ARCHITECTURE REVEAL (PURE TEXT & ICONS)
   ========================================= */
#architecture-stage {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}

.cinematic-canvas {
    position: relative;
    width: 100%;
    max-width: 840px;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene {
    position: absolute;
    opacity: 0;
    transform: translateY(40px);
    text-align: center;
    width: 100%;
    pointer-events: none;
    will-change: transform, opacity;
}

.text-mono {
    font-family: 'JetBrains Mono', monospace;
    color: var(--blue-accent);
    font-size: clamp(11px, 2vw, 13px);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 16px rgba(58, 134, 255, 0.45);
}

.text-mono.pink-accent {
    color: var(--pink-soft);
    text-shadow: 0 0 16px rgba(255, 42, 133, 0.5);
}

.text-hero {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 300;
    letter-spacing: -1px;
    color: #f8fafc;
    margin: 0;
}

.text-bold {
    font-weight: 600;
    background: linear-gradient(90deg, #ffffff 0%, var(--pink-soft) 50%, var(--cyan-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 26px);
    font-size: clamp(34px, 5vw, 46px);
    margin: 30px 0 40px 0;
}

.icon-row i {
    animation: levitate 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 14px rgba(255, 117, 181, 0.25));
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
    pointer-events: auto;
    cursor: pointer;
}

.icon-row i:hover {
    transform: translateY(-16px) scale(1.15) !important;
    filter: drop-shadow(0 0 22px var(--cyan-glow));
}

.icon-row i:nth-child(odd) { animation-delay: 1.5s; }
.icon-row i:nth-child(3n) { animation-delay: 0.7s; }

@keyframes levitate {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.tech-text-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: clamp(16px, 2.5vw, 19px);
    color: #94a3b8;
    font-weight: 300;
}

.tech-item {
    opacity: 0;
    transform: translateY(15px);
}

.tech-item span {
    color: #ffffff;
    font-weight: 600;
    margin-right: 10px;
}

/* Progress Line & Live WIB HUD */
.progress-line {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--blue-accent), var(--pink-aesthetic), var(--cyan-glow));
    box-shadow: 0 0 18px var(--pink-aesthetic), 0 0 12px var(--blue-accent);
    z-index: 60;
}

.hud-telemetry {
    position: fixed;
    bottom: 16px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    z-index: 55;
    pointer-events: none;
}

@media (max-width: 640px) {
    .search-shell { height: 54px; padding: 0 20px; }
    .hud-telemetry { flex-direction: column; gap: 4px; bottom: 12px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
