/* ==========================================================================
   PANCHIA — HERO FULLSCREEN & ESCENA TECNOLÓGICA NOCTURNA (PANTALLA 1)
   Escena Territorial SVG, Satélites, Anillo de Fibra, Data Center y WISP
   ========================================================================== */

.panchia-hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: var(--pl-header-h) 0 32px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 25%, #0F2538 0%, #080F17 75%);
}

.panchia-hero-scene-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.panchia-scene-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--pl-header-h));
    perspective: 1400px;
    margin: 0 auto;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panchia-scene-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.panchia-scene-svg {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 80px);
    overflow: visible;
}

/* Barra Inferior del Hero */
.panchia-hero-bottom-bar {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.panchia-scroll-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(13, 28, 43, 0.85);
    border: 1px solid rgba(59, 195, 221, 0.35);
    border-radius: 24px;
    padding: 10px 22px;
    color: var(--pl-brand-ice);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.panchia-scroll-explore-btn:hover {
    background: rgba(23, 59, 87, 0.95);
    color: #FFFFFF;
    border-color: var(--pl-brand-cyan);
    box-shadow: 0 0 20px var(--pl-brand-cyan-glow);
    transform: translateY(-2px);
}

.panchia-scroll-explore-btn svg {
    animation: panchia-bounce-down 1.8s ease-in-out infinite;
}

@keyframes panchia-bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ==========================================================================
   ESTILOS INTERNOS DE LA ESCENA SVG TERRITORIAL NOCTURNA
   ========================================================================== */
.panchia-tech-label {
    font-family: var(--pl-font-mono);
    font-size: 8.5px;
    fill: #5B82A6;
    letter-spacing: 0.8px;
    font-weight: 500;
    text-transform: uppercase;
}

.panchia-tech-label-val {
    font-family: var(--pl-font-mono);
    font-size: 9.5px;
    fill: var(--pl-brand-cyan);
    letter-spacing: 0.6px;
    font-weight: 600;
}

/* Balizas y LEDs */
.panchia-tower-beacon {
    animation: panchia-beacon-pulse 1.4s ease-in-out infinite alternate;
}
@keyframes panchia-beacon-pulse {
    0% { opacity: 0.35; filter: drop-shadow(0 0 1px rgba(255, 68, 68, 0.3)); }
    100% { opacity: 1; filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.95)); }
}

.panchia-rack-leds {
    animation: panchia-led-blink 1.8s steps(2, start) infinite;
}
@keyframes panchia-led-blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; filter: drop-shadow(0 0 4px #3BC3DD); }
}

/* Ondas Radiofrecuencia WISP */
.panchia-rf-arc {
    transform-origin: 240px 155px;
    animation: panchia-rf-wave 2.4s ease-out infinite;
}
.panchia-rf-arc-2 { animation-delay: 0.8s; }
.panchia-rf-arc-3 { animation-delay: 1.6s; }

@keyframes panchia-rf-wave {
    0% { opacity: 0.85; stroke-width: 1.6px; }
    100% { opacity: 0; stroke-width: 0.5px; transform: scale(1.35); }
}

/* Enlaces Microondas PtP */
.panchia-air-link {
    stroke-dashoffset: 120;
    animation: panchia-air-flow 2.8s linear infinite;
    filter: drop-shadow(0 0 4px rgba(59, 195, 221, 0.6));
}
@keyframes panchia-air-flow {
    to { stroke-dashoffset: 0; }
}

/* Anillo Óptico GPON */
.panchia-fiber-ring-base {
    stroke: rgba(23, 59, 87, 0.55);
}

.panchia-fiber-ring-glow-cyan {
    stroke: var(--pl-brand-cyan);
    stroke-width: 2px;
    stroke-dasharray: 120 400;
    stroke-dashoffset: 520;
    animation: panchia-ring-flow 6.5s linear infinite;
    filter: drop-shadow(0 0 6px rgba(59, 195, 221, 0.8));
}

.panchia-fiber-ring-glow-cold {
    stroke: var(--pl-brand-ice);
    stroke-width: 1.6px;
    stroke-dasharray: 80 440;
    stroke-dashoffset: 520;
    animation: panchia-ring-flow 8s linear infinite reverse;
    filter: drop-shadow(0 0 5px rgba(164, 223, 240, 0.8));
}

@keyframes panchia-ring-flow {
    to { stroke-dashoffset: 0; }
}

/* Haces Láser de Satélites a Data Center Terminal */
.panchia-sat-laser-stream-1 {
    stroke-dashoffset: 60;
    animation: panchia-laser-flow 3.2s linear infinite;
    filter: drop-shadow(0 0 4px rgba(164, 223, 240, 0.75));
}

.panchia-sat-laser-stream-2 {
    stroke-dashoffset: 60;
    animation: panchia-laser-flow 2.5s linear infinite reverse;
    filter: drop-shadow(0 0 4px rgba(59, 195, 221, 0.75));
}

.panchia-sat-laser-stream-3 {
    stroke-dashoffset: 60;
    animation: panchia-laser-flow 1.9s linear infinite;
    filter: drop-shadow(0 0 4px rgba(164, 223, 240, 0.65));
}

@keyframes panchia-laser-flow {
    to { stroke-dashoffset: 0; }
}
