/**
 * AEGIS - Infraestructura Operacional
 * AZENIS - División de Infraestructura Resiliente
 * DISEÑO PREMIUM - INTERFAZ INSTITUCIONAL
 * VERSIÓN: 4.2 - Constelaciones estilo Scorecard
 * CSP Compatible - Sin fuentes externas
 */

:root {
    --aegis-black: #050505;
    --aegis-graphite: #111827;
    --aegis-steel: #1E3A5F;
    --aegis-steel-light: #2A4A7A;
    --aegis-cyan: #00F0FF;
    --aegis-cyan-glow: rgba(0, 240, 255, 0.4);
    --aegis-cyan-dark: #00B4CC;
    --aegis-cyan-darker: #00D4FF;
    --aegis-gray: #9CA3AF;
    --aegis-gray-light: #B0B8C8;
    --aegis-gray-dark: #6B7280;
    --aegis-white: #F8FAFC;
    --aegis-border: rgba(0, 240, 255, 0.15);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --red-glow: rgba(180, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--aegis-black);
    color: var(--aegis-white);
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    cursor: default;
    overflow-x: hidden;
}

/* ============================================================
   LÍNEAS DIVISORIAS DEGRADADAS AMARILLO ORO
   ============================================================ */
.divider-gold {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.1) 20%,
        rgba(212, 175, 55, 0.5) 40%,
        rgba(212, 175, 55, 0.8) 50%,
        rgba(212, 175, 55, 0.5) 60%,
        rgba(212, 175, 55, 0.1) 80%,
        transparent 100%
    );
    margin: 0 auto;
}

.divider-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================================
   HERO AEGIS - IDÉNTICO AL SCORECARD
   ============================================================ */

.hero-aegis {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('https://azenis.com.gt/assets/images/aegis/hero-home.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #0A1628;
}

/* Overlay de opacidad - IGUAL QUE SCORECARD (0.65) */
.hero-aegis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.65);
    z-index: 1;
    pointer-events: none;
}

.hero-aegis .cyber-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.70;
    pointer-events: none;
    z-index: 0;
}

.hero-aegis .constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-aegis .constellation-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Línea inferior animada - IGUAL QUE SCORECARD */
.hero-aegis::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        transparent 5%,
        #00D4FF 20%,
        #00F0FF 40%,
        #00F0FF 60%,
        #00D4FF 80%,
        transparent 95%,
        transparent 100%
    );
    z-index: 3;
}

/* ============================================================
   CONTENIDO DEL HERO - IGUAL QUE SCORECARD
   ============================================================ */

.hero-aegis .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-aegis .hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    padding-left: 0;
}

.hero-aegis .hero-left h1 {
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-align: left;
    max-width: 100%;
}

.hero-aegis .hero-left h1 .cyan {
    color: #00D4FF;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-aegis .hero-left .subheadline {
    font-size: 1.2rem;
    color: #B0B8C8;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.6;
    text-align: left;
}

.hero-aegis .hero-left .subheadline strong {
    color: #00D4FF;
}

.hero-aegis .hero-left .description {
    font-size: 1rem;
    color: #B0B8C8;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.6;
    text-align: left;
}

.hero-aegis .btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.hero-aegis .btn-primary,
.hero-aegis .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-aegis .btn-primary {
    background: linear-gradient(135deg, #00D4FF, #00B4CC);
    color: #0A1628;
    border: none;
}

.hero-aegis .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.hero-aegis .btn-secondary {
    background: transparent;
    color: #00D4FF;
    border: 1.5px solid #00D4FF;
}

.hero-aegis .btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00F0FF;
    transform: translateY(-2px);
    border-color: #00F0FF;
}

/* ============================================================
   BLOQUE QUÉ ES INFRA-OPERACIONAL
   ============================================================ */
.what-is {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.88) 0%, rgba(17,24,39,0.82) 100%);
    position: relative;
    overflow: hidden;
}

.what-is::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://azenis.com.gt/assets/images/aegis/quienes-somos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
    z-index: 0;
}

.what-is::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.5) 100%);
    z-index: 0;
}

.what-is-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.what-is-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.what-is-text h2 span {
    color: var(--aegis-cyan);
}

.what-is-text p {
    font-size: 1rem;
    color: var(--aegis-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.what-is-visual {
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid var(--aegis-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(8px);
}

.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 240, 255, 0.08);
    transform: translateX(10px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aegis-cyan);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.75rem;
    color: var(--aegis-gray);
}

/* ============================================================
   CAPACIDADES DE INFRAESTRUCTURA
   ============================================================ */
.capabilities {
    padding: 100px 0;
    background: linear-gradient(135deg, #050505 0%, #0a0000 35%, #1a0202 65%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://azenis.com.gt/assets/images/aegis/arquitectura-operacional.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.capabilities::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(180, 0, 0, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.08);
    border-radius: 9999px;
    border: 1px solid var(--aegis-border);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    color: var(--aegis-cyan);
}

.capabilities-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.capability-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(10, 10, 10, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out forwards;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.35), transparent);
    opacity: 0.6;
}

.capability-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 240, 255, 0.1) inset;
}

.card-micro {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.7;
}

.card-icon-tech {
    margin-bottom: 24px;
}

.card-icon-tech svg {
    width: 42px;
    height: 42px;
    stroke: var(--aegis-cyan);
    stroke-width: 1.5;
    fill: none;
    opacity: 0.9;
}

.capability-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--aegis-white);
    letter-spacing: -0.01em;
}

.capability-card p {
    font-size: 0.85rem;
    color: var(--aegis-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-telemetry {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 16px;
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--aegis-gray);
    opacity: 0.5;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.telemetry-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 4px #10B981;
}

.telemetry-dot.warning {
    background: #F59E0B;
    box-shadow: 0 0 4px #F59E0B;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--aegis-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 40px;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid transparent;
}

.card-link:hover {
    gap: 12px;
    opacity: 1;
    border-color: var(--aegis-border);
    background: rgba(0, 240, 255, 0.1);
}

/* ============================================================
   DIFERENCIADOR
   ============================================================ */
.diferenciador {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0000 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.diferenciador::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.06), transparent 60%);
    pointer-events: none;
}

.diferenciador::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.diferenciador-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.diferenciador-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.diferenciador-left {
    padding-right: 20px;
}

.micro-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.7;
}

.diferenciador-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--aegis-white);
}

.diferenciador-title span {
    color: var(--aegis-cyan);
    display: block;
    margin-top: 8px;
}

.diferenciador-text {
    font-size: 1.1rem;
    color: var(--aegis-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.diferenciador-strong {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--aegis-white);
    line-height: 1.4;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
}

.diferenciador-right {
    position: relative;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.operational-module {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
}

.operational-module:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.03);
}

.module-number {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 240, 255, 0.04);
    font-family: monospace;
    line-height: 1;
    pointer-events: none;
}

.operational-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.operational-module:hover::before {
    opacity: 1;
}

.module-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.7;
}

.module-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--aegis-white);
    line-height: 1.3;
}

.module-description {
    font-size: 0.8rem;
    color: var(--aegis-gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.module-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--aegis-cyan), transparent);
    margin-top: 8px;
    transition: width 0.3s ease;
}

.operational-module:hover .module-line {
    width: 50px;
}

/* ============================================================
   ECOSISTEMA + MAPA REGIONAL
   ============================================================ */
.ecosistema {
    padding: 100px 0;
    background: linear-gradient(180deg, #050505 0%, #0a0000 100%);
    position: relative;
    overflow: hidden;
}

.ecosistema::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://azenis.com.gt/assets/images/aegis/mapa-amenazas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.ecosistema::after {
    display: none;
}

.ecosistema-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.ecosistema-header {
    text-align: center;
    margin-bottom: 60px;
}

.ecosistema-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--aegis-white);
}

.ecosistema-title span {
    color: var(--aegis-cyan);
}

.ecosistema-subtitle {
    font-size: 1rem;
    color: var(--aegis-gray);
    max-width: 700px;
    margin: 0 auto;
}

.operational-map {
    position: relative;
    min-height: 500px;
    margin-bottom: 80px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 32px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    overflow: hidden;
}

.core-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.core-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
    animation: corePulse 3s ease-in-out infinite;
}

.core-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.4);
    animation: radarPulse 2s ease-out infinite;
}

.core-pulse:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.core-content {
    text-align: center;
    z-index: 5;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(8px);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.core-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.core-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--aegis-white);
    margin-bottom: 4px;
}

.core-subtitle {
    font-size: 0.7rem;
    color: var(--aegis-gray);
    font-family: monospace;
}

.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.conn-line {
    stroke: rgba(0, 240, 255, 0.2);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    animation: flowLine 20s linear infinite;
}

@keyframes flowLine {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -20; }
}

.data-particle {
    fill: var(--aegis-cyan);
    animation: dataFlow 4s ease-in-out infinite;
    filter: blur(0.5px);
}

@keyframes dataFlow {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

.operational-node {
    position: absolute;
    width: 180px;
    padding: 20px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 15;
}

.operational-node:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.node-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aegis-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.operational-node:hover .node-glow {
    opacity: 1;
}

.node-icon {
    font-size: 2rem;
    color: var(--aegis-cyan);
    margin-bottom: 12px;
}

.node-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--aegis-white);
}

.node-desc {
    font-size: 0.7rem;
    color: var(--aegis-gray);
    margin-bottom: 12px;
}

.node-telemetry {
    font-size: 0.6rem;
    font-family: monospace;
    color: var(--aegis-gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.node-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.node-status.active {
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.node-coords {
    font-size: 0.55rem;
    font-family: monospace;
    color: rgba(0, 240, 255, 0.5);
}

.node-oraculo { top: 20px; left: 20px; }
.node-sentinel { top: 20px; right: 20px; }
.node-nemesis { bottom: 20px; left: 20px; }
.node-aegis { bottom: 20px; right: 20px; }

.regional-map {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    margin-top: 20px;
}

.regional-header {
    text-align: center;
    margin-bottom: 40px;
}

.regional-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--aegis-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.7;
}

.regional-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.regional-title span {
    color: var(--aegis-cyan);
}

.regional-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.regional-node {
    text-align: center;
    padding: 25px 35px;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 140px;
}

.regional-node:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.03);
}

.regional-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aegis-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.regional-node:hover .regional-glow {
    opacity: 1;
}

.regional-flag {
    font-size: 2rem;
    margin-bottom: 10px;
}

.regional-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--aegis-cyan);
    margin-bottom: 5px;
}

.regional-name {
    font-size: 0.8rem;
    color: var(--aegis-gray);
    margin-bottom: 12px;
}

.regional-telemetry {
    font-size: 0.6rem;
    font-family: monospace;
    color: var(--aegis-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.regional-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--aegis-cyan), transparent);
    opacity: 0.3;
}

.regional-footer {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.sync-status {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--aegis-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
}

.coverage-status {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--aegis-gray);
}

/* ============================================================
   FINAL CTA CON IMAGEN DE FONDO
   ============================================================ */
.final-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--aegis-black);
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://azenis.com.gt/assets/images/aegis/cta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.final-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.7) 100%);
    z-index: 0;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.final-cta h2 span {
    color: var(--aegis-cyan);
}

.cyber-line {
    width: 100%;
    max-width: 600px;
    height: 2px;
    margin: 40px auto;
    position: relative;
    background: linear-gradient(90deg, transparent, var(--aegis-cyan), var(--aegis-cyan), transparent);
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}

.cyber-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
    animation: cyberPulse 4s ease-in-out infinite;
}

@keyframes cyberPulse {
    0% { left: -100%; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.single-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--aegis-cyan), var(--aegis-cyan-dark));
    color: var(--aegis-black);
    padding: 16px 48px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 40px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.single-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-aegis .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 80px 40px 60px;
    }
    .hero-aegis .hero-left {
        align-items: center;
        text-align: center;
    }
    .hero-aegis .hero-left h1 {
        font-size: 3.5rem;
        text-align: center;
    }
    .hero-aegis .hero-left .subheadline,
    .hero-aegis .hero-left .description {
        max-width: 100%;
        text-align: center;
    }
    .hero-aegis .btn-group {
        justify-content: center;
    }
    .what-is-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .diferenciador-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .diferenciador-left {
        text-align: center;
        padding-right: 0;
    }
    .diferenciador-title {
        font-size: 2.5rem;
    }
    .diferenciador-strong {
        font-size: 1.2rem;
    }
    .modules-grid {
        gap: 20px;
    }
    .operational-map {
        min-height: 600px;
    }
    .node-oraculo, .node-sentinel, .node-nemesis, .node-aegis {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 10px auto;
        width: calc(50% - 20px);
        display: inline-block;
    }
    .operational-node {
        width: calc(50% - 20px);
        margin: 10px;
    }
    .connections-svg {
        display: none;
    }
    .core-node {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 40px auto;
    }
    .regional-nodes {
        flex-direction: column;
    }
    .regional-line {
        width: 1px;
        height: 20px;
        background: linear-gradient(180deg, var(--aegis-cyan), transparent);
    }
    .regional-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero-aegis {
        min-height: auto;
        padding: 60px 0 40px;
        background-attachment: scroll;
    }
    .hero-aegis .hero-content {
        padding: 60px 32px 40px;
        gap: 24px;
    }
    .hero-aegis .hero-left h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 16px;
    }
    .hero-aegis .hero-left .subheadline {
        font-size: 1rem;
        max-width: 100%;
        text-align: center;
        margin-bottom: 24px;
    }
    .hero-aegis .hero-left .description {
        font-size: 0.9rem;
        text-align: center;
        max-width: 100%;
        margin-bottom: 24px;
    }
    .hero-aegis .btn-group {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        width: 100%;
    }
    .hero-aegis .btn-primary,
    .hero-aegis .btn-secondary {
        white-space: normal;
        flex-shrink: 1;
        padding: 12px 20px;
        font-size: 0.7rem;
        width: auto;
        max-width: 280px;
        text-align: center;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .what-is-text h2 {
        font-size: 1.6rem;
    }
    .final-cta h2 {
        font-size: 1.5rem;
        padding: 0 20px;
    }
    .diferenciador-title {
        font-size: 2rem;
    }
    .diferenciador-text {
        font-size: 1rem;
    }
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .operational-module {
        padding: 22px 20px;
    }
    .module-number {
        font-size: 3.5rem;
    }
    .module-title {
        font-size: 1rem;
    }
    .ecosistema-title {
        font-size: 1.8rem;
    }
    .operational-node {
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .core-node {
        margin: 30px auto;
    }
    .core-content {
        width: 120px;
        height: 120px;
    }
    .regional-map {
        padding: 25px;
    }
    .regional-node {
        padding: 20px;
        min-width: 120px;
    }
    .cyber-line {
        max-width: 90%;
    }
    .single-cta {
        padding: 12px 32px;
        font-size: 0.75rem;
    }
    .what-is::before,
    .ecosistema::before,
    .capabilities::before {
        background-size: cover;
        background-position: center;
    }
    .capabilities::before {
        opacity: 0.15;
    }
    .final-cta::before {
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .hero-aegis {
        padding: 40px 0 30px;
    }
    .hero-aegis .hero-content {
        padding: 40px 24px 30px;
        gap: 20px;
    }
    .hero-aegis .hero-left h1 {
        font-size: 1.9rem;
        margin-bottom: 14px;
    }
    .hero-aegis .hero-left .subheadline {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .hero-aegis .hero-left .description {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    .hero-aegis .btn-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }
    .hero-aegis .btn-primary,
    .hero-aegis .btn-secondary {
        font-size: 0.7rem;
        padding: 12px 20px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .final-cta h2 {
        font-size: 1.3rem;
        padding: 0 16px;
    }
    .single-cta {
        padding: 10px 24px;
        font-size: 0.7rem;
        width: 90%;
        max-width: 280px;
        justify-content: center;
    }
    .diferenciador-title {
        font-size: 1.6rem;
    }
    .diferenciador-strong {
        font-size: 1rem;
    }
    .micro-label {
        font-size: 0.55rem;
    }
    .module-number {
        font-size: 3rem;
        bottom: 5px;
        right: 10px;
    }
    .capabilities::before {
        opacity: 0.12;
    }
    .final-cta::before {
        opacity: 0.15;
    }
}