/* =========================================================
   DELHI DIAGNOSTICS - ULTRA ADVANCED FUTURISTIC 3D HOLOGRAM CSS
   ========================================================= */

:root {
    --hologram-cyan: #00f0ff;
    --hologram-orange: #ff6b00;
    --hologram-purple: #b026ff;
    --hologram-emerald: #00ff88;
    --hologram-pink: #ff2a8d;
    --hud-bg: rgba(6, 20, 38, 0.92);
    --hud-border: rgba(0, 240, 255, 0.5);
    --hud-glow: 0 0 35px rgba(0, 240, 255, 0.35);
}

/* 1. Futuristic Hero 3D Stage */
.hero-hologram-stage {
    position: relative;
    width: 100%;
    min-height: 540px;
    background: radial-gradient(circle at 50% 40%, #0d2847 0%, #061527 60%, #020a14 100%);
    border: 2px solid var(--hud-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), var(--hud-glow);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroWebGLContainer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: grab;
}
#heroWebGLContainer:active {
    cursor: grabbing;
}

/* HUD Top Header Overlay */
.hologram-hud-header {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.hud-status-badge {
    background: rgba(3, 14, 28, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--hologram-cyan);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hologram-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.hud-status-badge .hud-live-blink {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.4); }
}

.hud-interactive-tag {
    background: rgba(3, 14, 28, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 0, 0.6);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffaa00;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
}

/* Floating 3D Satellite Badges inside Hero Stage */
.hologram-satellite-pin {
    position: absolute;
    z-index: 25;
    background: var(--hud-bg);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--hologram-cyan);
    border-radius: 30px;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.hologram-satellite-pin:hover {
    transform: scale(1.12) translateY(-4px);
    border-color: #fff;
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.8);
}

.sat-pin-1 { top: 75px; left: 16px; animation: floatPin1 4s ease-in-out infinite; }
.sat-pin-2 { top: 75px; right: 16px; animation: floatPin2 4.5s ease-in-out infinite; }
.sat-pin-3 { bottom: 35px; left: 16px; animation: floatPin3 5s ease-in-out infinite; }
.sat-pin-4 { bottom: 35px; right: 16px; animation: floatPin4 4.2s ease-in-out infinite; }

@keyframes floatPin1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatPin2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes floatPin3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes floatPin4 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* =========================================================
   2. ULTRA FUTURISTIC 3D BODY SCANNER CHAMBER
   ========================================================= */
.cyber-scanner-chamber {
    background: radial-gradient(circle at 50% 30%, #0d2847 0%, #05182e 60%, #020a14 100%);
    border: 2px solid var(--hologram-cyan);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), inset 0 0 50px rgba(0, 240, 255, 0.25);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

/* Continuous Scanning Laser Beam */
.laser-scan-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00f0ff 25%, #00ff88 50%, #00f0ff 75%, transparent 100%);
    box-shadow: 0 0 15px #00f0ff, 0 0 30px #00ff88;
    z-index: 20;
    pointer-events: none;
    animation: laserScanCycle 3.5s ease-in-out infinite alternate;
}

@keyframes laserScanCycle {
    0% { top: 4%; opacity: 0.2; }
    50% { opacity: 1; }
    100% { top: 94%; opacity: 0.2; }
}

/* Organ Buttons Bar */
.cyber-organ-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 30;
    position: relative;
}

.cyber-organ-btn {
    background: rgba(4, 21, 41, 0.85);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(0, 240, 255, 0.4);
    color: #e2e8f0;
    padding: 10px 18px;
    border-radius: 35px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyber-organ-btn:hover, .cyber-organ-btn.active {
    background: linear-gradient(135deg, #0b4f8a 0%, #00f0ff 100%);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
    transform: translateY(-3px) scale(1.05);
}

/* Scanner Layout Grid */
.cyber-scanner-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 35px;
    align-items: center;
    z-index: 30;
    position: relative;
}

/* Hologram Body Silhouette Frame */
.hologram-body-stage {
    position: relative;
    width: 240px;
    height: 440px;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.2) 0%, rgba(3, 17, 34, 0.7) 75%);
    border: 2px dashed rgba(0, 240, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 35px rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hologram-body-svg {
    width: 190px;
    height: 400px;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.7));
}

/* Hologram Anatomical Pulse Nodes */
.hologram-node {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 50;
}

.node-pulse-core {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00f0ff;
    border: 2.5px solid #ffffff;
    box-shadow: 0 0 20px #00f0ff, inset 0 0 10px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #ffffff;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.node-wave-aura {
    position: absolute;
    inset: -8px;
    border: 2px solid #00f0ff;
    border-radius: 50%;
    animation: auraPulse 1.8s infinite;
}

@keyframes auraPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hologram-node.active .node-pulse-core,
.hologram-node:hover .node-pulse-core {
    transform: scale(1.45);
    box-shadow: 0 0 35px #ffffff, 0 0 50px rgba(0, 240, 255, 1);
    border-color: #ffffff;
}

/* Exact Coordinates on 440px Stage */
.h-node-brain { top: 48px; left: 50%; }
.h-node-heart { top: 138px; left: 53%; }
.h-node-breast { top: 158px; left: 34%; }
.h-node-liver { top: 185px; left: 45%; }
.h-node-fetus { top: 228px; left: 50%; }
.h-node-joints { top: 325px; left: 42%; }

/* Scanner Interactive Display Screen */
.cyber-display-screen {
    background: rgba(6, 20, 38, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 240, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 30px 28px;
    color: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.3);
    animation: hudFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hudFadeIn {
    0% { opacity: 0; transform: translateY(12px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.cyber-tag {
    display: inline-block;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid var(--hologram-cyan);
    color: var(--hologram-cyan);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

/* =========================================================
   3. UNIVERSAL 3D CARD HOVER PHYSICS & CURSOR
   ========================================================= */
.card-3d, .special-deal-card, .package-card {
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
    transform-style: preserve-3d;
}

.cursor-glow-3d {
    position: fixed;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.85) 0%, rgba(0, 240, 255, 0) 70%);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

.click-ripple-3d {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #00f0ff;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    animation: clickRippleAnim 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes clickRippleAnim {
    0% { width: 10px; height: 10px; opacity: 1; border-color: #ff6b00; }
    100% { width: 90px; height: 90px; opacity: 0; border-color: #00f0ff; }
}

@media (max-width: 900px) {
    .cyber-scanner-layout {
        grid-template-columns: 1fr;
    }
    .hero-hologram-stage {
        min-height: 480px;
    }
}

/* =========================================================
   ENHANCED 3D SURROUNDING BACKGROUND STAGE INSIDE HERO BOX
   ========================================================= */
.hero-hologram-stage {
    position: relative;
    width: 100%;
    min-height: 530px;
    background: radial-gradient(circle at 50% 50%, #0a2542 0%, #031122 75%, #01060e 100%);
    border: 2px solid #00f0ff;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 240, 255, 0.45);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroBoxThreeCanvasContainer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

/* 3D Holographic Cyber Grid Lines in Background */
.hero-3d-grid-floor {
    position: absolute;
    bottom: -40px;
    left: -20%;
    width: 140%;
    height: 200px;
    background: 
        linear-gradient(rgba(0, 240, 255, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.25) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: perspective(600px) rotateX(70deg);
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 4;
    animation: gridMove 15s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 300px; }
}

/* Building Card Floating in 3D Center */
.building-hologram-card {
    position: relative;
    width: 290px;
    height: 375px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2.5px solid #00f0ff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateZ(50px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    z-index: 15;
    background: #06182e;
}

.building-hologram-card:hover {
    transform: translateZ(75px) scale(1.03);
    border-color: #ff6b00;
    box-shadow: 0 25px 60px rgba(255, 107, 0, 0.6), 0 0 45px rgba(255, 107, 0, 0.7);
}

.building-hologram-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Orbiting 3D Satellites */
.hologram-satellite-pin {
    position: absolute;
    z-index: 25;
    background: rgba(6, 20, 38, 0.94);
    backdrop-filter: blur(14px);
    border: 1.5px solid #00f0ff;
    border-radius: 30px;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.hologram-satellite-pin:hover {
    transform: scale(1.15) translateY(-5px);
    border-color: #fff;
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.9);
}

.sat-pin-1 { top: 70px; left: 12px; animation: floatPin1 4s ease-in-out infinite; }
.sat-pin-2 { top: 70px; right: 12px; animation: floatPin2 4.5s ease-in-out infinite; }
.sat-pin-3 { bottom: 40px; left: 12px; animation: floatPin3 5s ease-in-out infinite; }
.sat-pin-4 { bottom: 40px; right: 12px; animation: floatPin4 4.2s ease-in-out infinite; }

/* 3D Laser Scanline sweeping in background */
.hero-3d-laser-sweep {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00f0ff 25%, #ff6b00 50%, #00f0ff 75%, transparent 100%);
    box-shadow: 0 0 15px #00f0ff, 0 0 30px #ff6b00;
    z-index: 10;
    pointer-events: none;
    animation: heroLaserSweep 4s ease-in-out infinite alternate;
}

@keyframes heroLaserSweep {
    0% { top: 5%; opacity: 0.3; }
    50% { opacity: 1; }
    100% { top: 95%; opacity: 0.3; }
}
