/* ==========================================================================
   SYSTEM DESIGN SYSTEM & CUSTOM VARIABLES (Cyberpunk / High-Tech Theme)
   ========================================================================== */

:root {
    /* Color Palette (Refined Tech Monochrome Theme) */
    --color-bg-darker: #05070c;    /* Deep cosmic obsidian black */
    --color-bg-dark: #0a0d16;      /* Dark metallic slate */
    --color-panel-glass: rgba(10, 14, 23, 0.65); /* Glassmorphic panel bg */
    --border-color-panel: rgba(255, 255, 255, 0.12); /* Glass panel border */
    
    --color-neon-cyan: #ffffff;    /* Core primary accent: Neon White */
    --color-neon-cyan-glow: rgba(255, 255, 255, 0.45);
    
    --color-neon-violet: #cbd5e1;  /* Secondary accent: Metallic Steel/Silver */
    --color-neon-violet-glow: rgba(203, 213, 225, 0.25);
    
    --color-neon-green: #ffffff;   /* Status active: Clean White */
    --color-neon-green-glow: rgba(255, 255, 255, 0.3);
    
    --color-neon-orange: #94a3b8;  /* Mesa redonda warning: Slate Gray */
    
    --color-text-main: #f8fafc;    /* High contrast text */
    --color-text-muted: #94a3b8;   /* Steel text for high legibility */
    --color-text-dark: #0f172a;    /* Contrast dark */
    
    /* Layout Tokens */
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-tech: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* ==========================================================================
   GLOBAL RESET & INITIAL SETUP
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-darker);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-cyan);
}

/* ==========================================================================
   BACKGROUND DESIGN GRID & ORBS
   ========================================================================== */

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -10;
    pointer-events: none;
}

.cyber-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--color-bg-darker) 85%);
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -9;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    right: -10%;
    background: var(--color-neon-cyan);
    animation: pulseOrb 12s infinite alternate;
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    background: var(--color-neon-violet);
    animation: pulseOrb 15s infinite alternate-reverse;
}

@keyframes pulseOrb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    100% { transform: scale(1.2) translate(30px, 30px); opacity: 0.2; }
}

/* ==========================================================================
   SUBTLE TECHNOLOGICAL BACKGROUNDS & INTERACTIVE GLOWS
   ========================================================================== */

/* Utility class for dark sections with a subtle mesh gradient & tech grid pattern */
.tech-bg-mesh-dark {
    position: relative;
    overflow: hidden;
}

.tech-bg-mesh-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(171, 32, 253, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.015) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.tech-bg-mesh-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

/* Ensure container elements in tech-bg sections sit above pseudo-element grids */
.tech-bg-mesh-dark > .container {
    position: relative;
    z-index: 2;
}

/* Interactive Cursor-Following Glow for Glass Cards */
.interactive-glow-card {
    position: relative;
    overflow: hidden;
}

.interactive-glow-card > * {
    position: relative;
    z-index: 2;
}

.interactive-glow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 240, 255, 0.08) 0%,
        rgba(171, 32, 253, 0.04) 40%,
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.interactive-glow-card:hover::after {
    opacity: 1;
}

/* Specific styling modifications for sections */
.hero-section {
    background: 
        radial-gradient(circle at 5% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 35%),
        radial-gradient(circle at 95% 80%, rgba(171, 32, 253, 0.05) 0%, transparent 40%),
        var(--color-bg-darker);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Pulsating green glow specifically for network section behind the map */
.map-section {
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 600px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.04) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: mapPulse 8s infinite alternate;
}

@keyframes mapPulse {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Glow specifically behind CTA button/card (inspired by Google Gemini interface) */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.08) 0%, rgba(171, 32, 253, 0.06) 45%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   REUSABLE HUD STYLING ELEMENTS
   ========================================================================== */

/* Glassmorphism Panel */
.glass-panel {
    background: var(--color-panel-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-smooth);
}

.glow-purple {
    border-color: rgba(171, 32, 253, 0.2);
}

.glow-purple:hover {
    border-color: var(--color-neon-violet);
    box-shadow: 0 0 20px var(--color-neon-violet-glow);
}

/* Tech Scanner Line */
.scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-neon-cyan), transparent);
    top: 0;
    left: 0;
    animation: scanAnimation 4s linear infinite;
    pointer-events: none;
    z-index: 5;
    opacity: 0.4;
}

@keyframes scanAnimation {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* HUD Frame Corners */
.hud-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-color: var(--color-neon-cyan);
    pointer-events: none;
    z-index: 4;
}

.hud-corner.top-left { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud-corner.top-right { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud-corner.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud-corner.bottom-right { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.glow-purple .hud-corner {
    border-color: var(--color-neon-violet);
}

/* Camera Frame Corner style for images */
.dc {
    position: absolute;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: var(--color-text-muted);
    opacity: 0.6;
}
.dc-tl { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.dc-tr { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.dc-bl { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.dc-br { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(135deg, var(--color-neon-cyan) 10%, var(--color-neon-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent-text {
    font-family: var(--font-tech);
    color: var(--color-neon-cyan);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Tech Badges */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--color-neon-cyan);
    font-family: var(--font-tech);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: inset 0 0 8px rgba(0, 240, 255, 0.05);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-neon-cyan);
    animation: blinkDot 1.5s infinite alternate;
}

@keyframes blinkDot {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.blink-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-neon-green);
    animation: blinkDot 1s infinite alternate;
    display: inline-block;
    margin-right: 6px;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
}

.btn-neon {
    background: var(--color-neon-cyan);
    color: var(--color-text-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-neon span {
    position: relative;
    z-index: 2;
}

.btn-neon i {
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: 1;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    background: var(--color-neon-violet);
    color: var(--color-text-main);
    box-shadow: 0 0 20px var(--color-neon-violet-glow);
    transform: translateY(-2px);
}

.btn-neon:hover i {
    transform: translateX(3px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-main);
    backdrop-filter: blur(5px);
}

.btn-glass:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
}

/* Placeholder Frame style for empty asset frames */
.image-placeholder-frame {
    border: 1.5px dashed rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.02);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   NAVIGATION BAR & DRAWER
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(3, 5, 12, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-tech);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-prefix {
    color: var(--color-text-main);
}

.logo-suffix {
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px var(--color-neon-cyan-glow);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-tech);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
}

.nav-links a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(4, 7, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 240, 255, 0.15);
    z-index: 150;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
    right: 0;
}

.close-mobile-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--border-radius-md);
}

.mobile-links a:hover {
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

/* ==========================================================================
   HERO / INTRO SECTION (Boceto 1)
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#hero-badge {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-tech);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-neon-violet);
    text-shadow: 0 0 10px var(--color-neon-violet-glow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* HUD Video Block styling */
.hud-video-wrapper {
    position: relative;
    padding: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--border-radius-lg);
    background: rgba(0, 240, 255, 0.01);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #03060d;
    border-radius: calc(var(--border-radius-lg) - 6px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
    z-index: 2;
}

.tech-circle-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
}

.circle-outer {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 240, 255, 0.25);
    border-top-color: var(--color-neon-cyan);
    animation: rotateCW 8s linear infinite;
}

.circle-mid {
    width: 80%;
    height: 80%;
    border-color: rgba(171, 32, 253, 0.2);
    border-bottom-color: var(--color-neon-violet);
    animation: rotateCCW 6s linear infinite;
}

.circle-inner {
    width: 60%;
    height: 60%;
    background: rgba(3, 5, 12, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

@keyframes rotateCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.play-btn-pulse {
    background: var(--color-neon-cyan);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px var(--color-neon-cyan);
}

.play-btn-pulse:hover {
    background: var(--color-neon-violet);
    color: var(--color-text-main);
    box-shadow: 0 0 20px var(--color-neon-violet);
    transform: scale(1.1);
}

.hud-label {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-neon-cyan);
    letter-spacing: 1px;
}

.hud-sublabel {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* Mock Video Overlay */
.mock-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #03050c;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mock-video-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mock-video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-status {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-neon-green);
    letter-spacing: 1px;
}

.close-video-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-main);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-video-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: red;
    color: white;
}

.mock-video-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 100px;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(to top, var(--color-neon-violet), var(--color-neon-cyan));
    border-radius: 3px;
    animation: mockAudioWave 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { height: 40%; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 70%; animation-delay: 0.5s; }
.wave-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.wave-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 80%; animation-delay: 0.3s; }
.wave-bar:nth-child(7) { height: 30%; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 50%; animation-delay: 0.25s; }

@keyframes mockAudioWave {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

.mock-video-title {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
}

/* ==========================================================================
   LEARNING & LEADERBOARD SECTION (Boceto 1 & 2)
   ========================================================================== */

.aprende-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 50%, var(--color-bg-darker) 100%);
    position: relative;
}

.aprende-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
}

.section-title-wrap {
    margin-bottom: 3.5rem;
}

.tech-pretitle {
    font-family: var(--font-tech);
    color: var(--color-neon-violet);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 580px;
}

.video-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    overflow: hidden;
}

.video-card:hover {
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

.video-card-thumb {
    position: relative;
    aspect-ratio: 16/11;
    background: #040813;
    overflow: hidden;
    border-right: 1px solid rgba(0, 240, 255, 0.15);
}

.video-card-thumb iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 10;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    position: relative;
}

.thumb-icon {
    font-size: 2.2rem;
    opacity: 0.25;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.video-card:hover .thumb-icon {
    opacity: 0.6;
    color: var(--color-neon-cyan);
    transform: scale(1.08);
}

.tech-badge-card {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--color-neon-cyan);
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-play-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: 1.5px solid var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.card-play-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-text-dark);
    box-shadow: 0 0 15px var(--color-neon-cyan);
    transform: scale(1.08);
}

.video-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-card-body h3 {
    font-family: var(--font-tech);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.device-tag {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--color-neon-cyan);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Leaderboard Sidebar styling */
.leaderboard-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(171, 32, 253, 0.2);
}

.hud-title-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    font-size: 1.25rem;
    color: var(--color-neon-violet);
    text-shadow: 0 0 8px var(--color-neon-violet-glow);
}

.hud-title-bar h3 {
    font-family: var(--font-tech);
    font-size: 1.05rem;
    font-weight: 700;
}

.hud-status-badge {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-neon-green);
    letter-spacing: 0.5px;
}

.leaderboard-content {
    padding: 1.5rem;
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
}

.leaderboard-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 0.4fr 2fr 0.8fr 1fr;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.leaderboard-row:hover {
    background: rgba(171, 32, 253, 0.04);
    border-color: rgba(171, 32, 253, 0.2);
}

.header-row {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: bold;
    border: none;
    background: transparent;
    padding-bottom: 0.25rem;
}

.col-rank {
    font-family: var(--font-tech);
    font-weight: bold;
    color: var(--color-text-muted);
}

.gold-crown {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    animation: float 2s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

.col-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.col-name .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lvl-badge {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--color-neon-cyan);
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    text-align: center;
}

.rank-1 .lvl-badge {
    background: rgba(57, 255, 20, 0.12);
    border-color: rgba(57, 255, 20, 0.3);
    color: var(--color-neon-green);
}

.col-pts {
    font-family: var(--font-tech);
    text-align: right;
    font-weight: bold;
    color: var(--color-text-main);
}

/* Image Dropzone Overlay Frame (as requested: "deja los espacios para las imagenes") */
.image-dropzone-frame {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1.5px dashed rgba(171, 32, 253, 0.4);
    background: rgba(3, 5, 12, 0.9);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 8;
    pointer-events: none;
    transition: var(--transition-smooth);
    opacity: 0; /* Default invisible, toggle active via class */
}

.image-dropzone-frame.active {
    opacity: 1;
    pointer-events: all;
}

.dropzone-corners .dc {
    border-color: var(--color-neon-violet);
    width: 14px;
    height: 14px;
}
.dropzone-corners .dc-tl { top: 12px; left: 12px; }
.dropzone-corners .dc-tr { top: 12px; right: 12px; }
.dropzone-corners .dc-bl { bottom: 12px; left: 12px; }
.dropzone-corners .dc-br { bottom: 12px; right: 12px; }

.dropzone-icon {
    font-size: 2.5rem;
    color: var(--color-neon-violet);
    margin-bottom: 1rem;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(171, 32, 253, 0.2)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(171, 32, 253, 0.6)); }
}

.dropzone-text {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    max-width: 250px;
    letter-spacing: 0.5px;
}

/* Level Up Reminder Banner */
.leaderboard-footer-banner {
    display: flex;
    gap: 15px;
    background: rgba(171, 32, 253, 0.08);
    border-top: 1px solid rgba(171, 32, 253, 0.2);
    padding: 1.25rem 1.5rem;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}

.banner-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-neon-green);
    font-size: 1.75rem;
}

.banner-text h4 {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-neon-green);
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.banner-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.animate-bounce {
    animation: bounce 1.5s infinite;
}

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

/* ==========================================================================
   IMPORTANT NEWS SECTION (Boceto 2)
   ========================================================================== */

.noticias-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: var(--color-bg-darker);
}

.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin: 0 auto;
}

/* ==========================================================================
   DIARIO LEGAL SECTION & ASSISTANT ROBOT LAYOUT
   ========================================================================== */

.diario-legal-section {
    padding: 100px 0 60px;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
}

.diario-legal-container {
    position: relative;
    z-index: 2;
}

.diario-legal-content-wrap {
    display: grid;
    grid-template-columns: 3fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.diario-legal-main {
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .diario-legal-content-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Reusable News Grid default rules (Anuncios & Diario Legal) */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Loading Placeholder style */
.news-loading-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 300px;
    font-family: var(--font-tech);
    color: var(--color-neon-cyan);
    text-align: center;
}

.news-loading-placeholder i {
    font-size: 2.5rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Dynamic News Card layout additions */
.news-tech-card.daily-legal-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.news-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: calc(var(--border-radius-lg) - 8px);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

.news-card-source {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--color-neon-cyan);
    font-weight: 700;
}

.news-tech-card.daily-legal-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tech-card.daily-legal-card p.description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-action {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* ==========================================================================
   SEGMENTED NEWS CAROUSELS & COUNTDOWN TIMER
   ========================================================================== */

.news-update-countdown-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius-md);
    background: rgba(10, 15, 28, 0.6) !important;
    border: 1px solid rgba(0, 240, 255, 0.15) !important;
}

.countdown-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--color-neon-cyan);
    letter-spacing: 0.5px;
}

.countdown-time-display {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.countdown-digits {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--color-neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
    margin-left: 5px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.news-segment-block {
    margin-bottom: 3.5rem;
}

.news-segment-block:last-child {
    margin-bottom: 0;
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.segment-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 5px 0;
}

.segment-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

.segment-tag {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.tag-cyan { color: var(--color-neon-cyan); }
.tag-violet { color: var(--color-neon-violet); }
.tag-green { color: var(--color-neon-green); }

.segment-controls {
    display: flex;
    gap: 0.75rem;
}

.segment-controls .carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.4);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.segment-controls .carousel-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.segment-controls .carousel-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.05);
}

.news-carousel-track-wrapper {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px;
}

.news-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.news-carousel-track .news-tech-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
}

@media (max-width: 992px) {
    .news-carousel-track .news-tech-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
    .news-update-countdown-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .news-carousel-track .news-tech-card {
        flex: 0 0 100%;
    }
    .segment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .segment-controls {
        align-self: flex-end;
    }
}

/* ==========================================================================
   ROBOT ASSISTANT CARD STYLING
   ========================================================================== */

.robot-assistant-card {
    border: 1.5px solid rgba(0, 240, 255, 0.25) !important;
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    position: sticky;
    top: 120px;
    box-shadow: 0 15px 35px 0 rgba(3, 5, 12, 0.65), 0 0 12px 0 rgba(0, 240, 255, 0.03) !important;
    transition: var(--transition-smooth) !important;
    background: var(--color-panel-glass);
    overflow: hidden;
}

.robot-assistant-card:hover {
    border-color: rgba(0, 240, 255, 0.65) !important;
    box-shadow: 0 25px 45px 0 rgba(0, 240, 255, 0.18), 0 0 20px 0 rgba(0, 240, 255, 0.08) !important;
    transform: translateY(-8px) !important;
}

.robot-avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    position: relative;
    background: rgba(3, 6, 13, 0.6);
    border-radius: 50%;
    border: 1px dashed rgba(0, 240, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-glow-ring {
    position: absolute;
    width: 115%;
    height: 115%;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--color-neon-cyan);
    border-bottom-color: var(--color-neon-violet);
    opacity: 0.6;
    animation: rotateCW 12s linear infinite;
}

.robot-svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

/* SVG Robot Parts and Colors */
.robot-glow {
    fill: rgba(0, 240, 255, 0.15);
    filter: blur(4px);
}
.robot-head {
    fill: #0c1424;
    stroke: var(--color-neon-cyan);
    stroke-width: 2px;
}
.robot-screen {
    fill: #03060d;
    stroke: rgba(0, 240, 255, 0.4);
    stroke-width: 1.5px;
}
.robot-eye {
    fill: var(--color-neon-cyan);
    filter: drop-shadow(0 0 3px var(--color-neon-cyan));
    transform-origin: center;
    animation: eyeBlink 4s infinite;
}
.robot-antenna-line {
    stroke: var(--color-neon-cyan);
    stroke-width: 2px;
}
.robot-antenna-tip {
    fill: #ef4444;
    filter: drop-shadow(0 0 4px #ef4444);
    animation: pulseAntenna 1.5s infinite alternate;
}
.robot-ear {
    fill: #1e293b;
    stroke: var(--color-neon-cyan);
    stroke-width: 1px;
}
.robot-neck {
    fill: #1e293b;
    stroke: var(--color-neon-cyan);
    stroke-width: 1px;
}
.robot-body {
    fill: #0c1424;
    stroke: var(--color-neon-cyan);
    stroke-width: 2px;
}
.robot-core {
    fill: #39ff14;
    filter: drop-shadow(0 0 5px #39ff14);
    animation: pulseCore 2s infinite alternate;
}

/* Robot Animations */
.robot-head-group {
    animation: robotFloat 3s ease-in-out infinite alternate;
    transform-origin: 50% 45%;
}

@keyframes robotFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

@keyframes eyeBlink {
    0%, 95%, 100% { transform: scaleY(1); }
    97.5% { transform: scaleY(0.1); }
}

@keyframes pulseAntenna {
    0% { fill: #ef4444; filter: drop-shadow(0 0 2px #ef4444); }
    100% { fill: #39ff14; filter: drop-shadow(0 0 6px #39ff14); }
}

@keyframes pulseCore {
    0% { r: 2px; opacity: 0.5; }
    100% { r: 3.5px; opacity: 1; filter: drop-shadow(0 0 8px #39ff14); }
}

/* Robot speech bubble */
.robot-info h4 {
    font-family: var(--font-tech);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.robot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.robot-speech {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    text-align: left;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.robot-speech::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.06) transparent;
}

.robot-speech::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(15, 23, 42, 0.5) transparent;
}

.robot-speech strong {
    color: var(--color-text-main);
    font-weight: 600;
}

.robot-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.robot-status-indicator .status-dot {
    width: 6px;
    height: 6px;
    background: #39ff14;
    border-radius: 50%;
    box-shadow: 0 0 8px #39ff14;
    animation: blinkDot 1s infinite alternate;
}

.robot-status-indicator .status-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   HIGHLIGHTED BORDERS & FLOATING CARDS STYLES
   ========================================================================== */

.news-tech-card,
.glass-panel {
    border: 1.5px solid rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 15px 35px 0 rgba(3, 5, 12, 0.65), 0 0 12px 0 rgba(0, 240, 255, 0.03) !important;
    transition: var(--transition-smooth) !important;
    transform: translateY(0);
}

.news-tech-card:hover,
.glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.65) !important;
    box-shadow: 0 25px 45px 0 rgba(0, 240, 255, 0.18), 0 0 20px 0 rgba(0, 240, 255, 0.08) !important;
    transform: translateY(-8px) !important;
}

.news-tech-card.daily-legal-card {
    border-color: rgba(0, 240, 255, 0.25) !important;
    background: rgba(10, 14, 23, 0.7) !important;
}

/* Light theme section highlighted borders & floating shadow overrides */
.light-theme-section .news-tech-card,
.light-theme-section .glass-panel {
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}

.light-theme-section .news-tech-card:hover,
.light-theme-section .glass-panel:hover {
    border-color: rgba(15, 23, 42, 0.4) !important;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08) !important;
}

.news-tech-card {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.news-tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: var(--transition-smooth);
}

.news-tech-card.border-cyan { border-color: rgba(0, 240, 255, 0.15); }
.news-tech-card.border-cyan::before { background: var(--color-neon-cyan); }
.news-tech-card.border-cyan:hover {
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.news-tech-card.border-violet { border-color: rgba(171, 32, 253, 0.2); }
.news-tech-card.border-violet::before { background: var(--color-neon-violet); }
.news-tech-card.border-violet:hover {
    border-color: var(--color-neon-violet);
    box-shadow: 0 0 20px var(--color-neon-violet-glow);
}

.news-tech-card.border-green { border-color: rgba(57, 255, 20, 0.15); }
.news-tech-card.border-green::before { background: var(--color-neon-green); }
.news-tech-card.border-green:hover {
    border-color: var(--color-neon-green);
    box-shadow: 0 0 20px var(--color-neon-green-glow);
}

.news-tech-card.border-orange { border-color: rgba(255, 159, 0, 0.15); }
.news-tech-card.border-orange::before { background: var(--color-neon-orange); }
.news-tech-card.border-orange:hover {
    border-color: var(--color-neon-orange);
    box-shadow: 0 0 20px rgba(255, 159, 0, 0.15);
}

.news-tech-card:hover {
    transform: translateY(-5px);
}

.card-tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-tech-id {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.card-tech-tag {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.tag-cyan { background: rgba(0, 240, 255, 0.12); color: var(--color-neon-cyan); }
.tag-violet { background: rgba(171, 32, 253, 0.15); color: var(--color-neon-violet); }
.tag-green { background: rgba(57, 255, 20, 0.12); color: var(--color-neon-green); }
.tag-orange { background: rgba(255, 159, 0, 0.12); color: var(--color-neon-orange); }

.card-tech-icon-wrap {
    font-size: 2.2rem;
    color: var(--color-text-muted);
    opacity: 0.3;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.news-tech-card:hover .card-tech-icon-wrap {
    opacity: 0.85;
}
.news-tech-card.border-cyan:hover .card-tech-icon-wrap { color: var(--color-neon-cyan); }
.news-tech-card.border-violet:hover .card-tech-icon-wrap { color: var(--color-neon-violet); }
.news-tech-card.border-green:hover .card-tech-icon-wrap { color: var(--color-neon-green); }
.news-tech-card.border-orange:hover .card-tech-icon-wrap { color: var(--color-neon-orange); }

.card-tech-body h3 {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-tech-highlight {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-neon-cyan);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.border-violet .card-tech-highlight { color: var(--color-neon-violet); }
.border-green .card-tech-highlight { color: var(--color-neon-green); }
.border-orange .card-tech-highlight { color: var(--color-neon-orange); }

.news-tech-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.events-date-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.date-badge {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-tech-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.tech-status {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tech-status.status-active {
    color: var(--color-neon-green);
}

/* ==========================================================================
   ACTIVITY CAROUSEL SECTION (Boceto 2, 3 & 4)
   ========================================================================== */

.actividades-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 50%, var(--color-bg-darker) 100%);
}

.carousel-outer-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.carousel-viewport {
    flex-grow: 1;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 33.333%;
    padding: 0 1rem;
    transition: var(--transition-smooth);
}

.activity-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.activity-card:hover {
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

/* Visual placeholder styling: "deja los espacios para las imágenes" */
.activity-media-placeholder {
    aspect-ratio: 16/9;
    background: #03050c;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 1rem;
}

.activity-card:hover .activity-media-placeholder {
    background: rgba(0, 240, 255, 0.02);
}

.media-icon-center {
    font-size: 2rem;
    color: var(--color-neon-cyan);
    opacity: 0.3;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.activity-card:hover .media-icon-center {
    opacity: 0.8;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--color-neon-cyan));
}

.media-placeholder-txt {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.activity-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-number {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: var(--color-neon-violet);
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.activity-details h3 {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.activity-details p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Control buttons */
.carousel-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13, 21, 40, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-control-btn:hover {
    background: var(--color-neon-cyan);
    color: var(--color-text-dark);
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 15px var(--color-neon-cyan);
}

/* Pagination indicator dots */
.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    width: 40px;
    background: var(--color-neon-cyan);
    box-shadow: 0 0 8px var(--color-neon-cyan-glow);
}

/* ==========================================================================
   HOW ACTIVITIES WORK SECTION (Boceto 5 & 6)
   ========================================================================== */

.funcionamiento-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: var(--color-bg-darker);
}

.tabs-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-top: 4rem;
    overflow: hidden;
}

.tabs-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 240, 255, 0.15);
    background: rgba(3, 5, 12, 0.2);
}

.tab-trigger {
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    color: var(--color-text-muted);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.tab-trigger i {
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.tab-trigger:hover {
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.02);
}

.tab-trigger.active {
    color: var(--color-neon-cyan);
    background: rgba(0, 240, 255, 0.04);
    border-left-color: var(--color-neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.tab-trigger.active i {
    transform: scale(1.15);
}

.tabs-content-container {
    padding: 3rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInTab 0.5s ease-out forwards;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.panel-icon-side {
    font-size: 4rem;
    color: var(--color-neon-cyan);
    opacity: 0.2;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.02);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius-lg);
}

.panel-text-side {
    flex-grow: 1;
}

.panel-text-side h3 {
    font-family: var(--font-tech);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.panel-text-side .accent-text {
    margin-bottom: 1.5rem;
    display: block;
}

.main-explanation {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.main-explanation strong {
    color: var(--color-neon-cyan);
    font-weight: 600;
}

.sub-explanation {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.text-italic {
    font-style: italic;
    border-left: 2px solid var(--color-neon-violet);
    padding-left: 1rem;
    background: rgba(171, 32, 253, 0.03);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   ACCESS CTA SECTION (Boceto 7)
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background: var(--color-bg-darker);
}

.cta-card {
    padding: 5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glow-cyan:hover {
    border-color: var(--color-neon-cyan);
    box-shadow: 0 0 25px var(--color-neon-cyan-glow);
}

.cta-badge {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-neon-green);
    background: rgba(57, 255, 20, 0.12);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.cta-card h2 {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    font-weight: 900;
    max-width: 800px;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.cta-card p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-action-group {
    margin-bottom: 1.5rem;
}

.cta-subtext {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ==========================================================================
   FAQ SECTION (Boceto 7)
   ========================================================================== */

.faq-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 240, 255, 0.05);
    background: linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
}

.faq-accordion-wrap {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-tech-item {
    border-color: rgba(0, 240, 255, 0.12);
    transition: var(--transition-smooth);
}

.faq-tech-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.06);
}

.faq-tech-question {
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.q-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faq-num {
    font-family: var(--font-tech);
    font-size: 0.95rem;
    color: var(--color-neon-cyan);
    font-weight: 700;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.faq-tech-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle-icon {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-tech-item.active {
    border-color: var(--color-neon-cyan);
    background: rgba(13, 21, 40, 0.75);
}

.faq-tech-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--color-neon-cyan);
}

.faq-tech-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.answer-inner {
    padding: 0 2rem 2rem 4.5rem;
}

.answer-inner p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
    background-color: #020409;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    padding: 80px 0 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 80px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.footer-logo {
    font-family: var(--font-tech);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.footer-nav-block h4 {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-nav-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-block a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-nav-block a:hover {
    color: var(--color-neon-cyan);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    background: #010205;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.sys-time {
    color: var(--color-neon-cyan);
    font-weight: bold;
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Design)
   ========================================================================== */

/* IPad & Large Tablets (992px to 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .aprende-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .carousel-slide {
        flex: 0 0 50%;
    }
}

/* IPad Portrait & Tablets (768px to 992px) */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text-block {
        align-items: center;
    }
    
    .hero-description {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .tabs-container {
        grid-template-columns: 1fr;
    }
    
    .tabs-list {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid rgba(0, 240, 255, 0.15);
        overflow-x: auto;
    }
    
    .tab-trigger {
        padding: 1.25rem 1.5rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        flex-shrink: 0;
    }
    
    .tab-trigger.active {
        border-bottom-color: var(--color-neon-cyan);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .video-card {
        grid-template-columns: 1fr;
    }
    
    .video-card-thumb {
        border-right: none;
        border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    }
    
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .tabs-content-container {
        padding: 2rem 1.5rem;
    }
    
    .tab-panel-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .panel-icon-side {
        font-size: 3rem;
        padding: 0.75rem;
        align-self: center;
    }
    
    .answer-inner {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .q-left {
        gap: 12px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   HIGH-TECH MONOCHROME & NEON WHITE OVERRIDES
   ========================================================================== */

.cyber-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

/* Glass panel uniform border */
.glass-panel {
    border-color: var(--border-color-panel, rgba(255, 255, 255, 0.12));
}

/* Logo silver text */
.logo-suffix {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Hero Section Ring Colors */
.circle-outer {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: #ffffff;
}

.circle-mid {
    border-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: #cbd5e1;
}

.circle-inner {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-btn-pulse {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.play-btn-pulse:hover {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.wave-bar {
    background: linear-gradient(to top, #cbd5e1, #ffffff);
}

/* Buttons style override */
.btn-neon {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.btn-neon:hover {
    background: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Glass panel glow classes */
.glow-white {
    border-color: rgba(255, 255, 255, 0.12);
}

.glow-white:hover {
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

/* News Section Cards */
.news-tech-card.border-neon-white {
    border-color: rgba(255, 255, 255, 0.12);
}

.news-tech-card.border-neon-white::before {
    background: #ffffff;
}

.news-tech-card.border-neon-white:hover {
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.tag-tech {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-tech-highlight {
    color: #ffffff !important;
}

.news-tech-card.border-neon-white:hover .card-tech-icon-wrap {
    color: #ffffff;
}

/* Activities Section Carousel */
.activity-card:hover {
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.activity-media-placeholder {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-card:hover .activity-media-placeholder {
    background: rgba(255, 255, 255, 0.02);
}

.media-icon-center {
    color: #ffffff;
}

.activity-card:hover .media-icon-center {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.carousel-dot.active {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.carousel-control-btn:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* CTA and FAQ styling overrides */
.cta-card.glow-white:hover {
    border-color: #ffffff;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

.cta-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.faq-tech-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-tech-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.03);
}

.faq-tech-item.active {
    border-color: #ffffff;
    background: rgba(10, 14, 23, 0.85);
}

.faq-tech-item.active .faq-toggle-icon {
    color: #ffffff;
}

.faq-num {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Footer overrides */
.footer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.footer-nav-block a:hover {
    color: #ffffff;
}

.sys-time {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   LIGHT THEMING FOR SPECIFIC SECTIONS (Aprende & Funcionamiento)
   ========================================================================== */

.light-theme-section {
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(171, 32, 253, 0.04) 0%, transparent 40%),
        #f8fafc !important;
    color: #0f172a !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.light-theme-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.light-theme-section > .container {
    position: relative;
    z-index: 2;
}

.light-theme-section .interactive-glow-card::after {
    background: radial-gradient(
        300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 240, 255, 0.15) 0%,
        rgba(171, 32, 253, 0.08) 40%,
        transparent 80%
    );
}

.light-theme-section .tech-pretitle {
    color: #475569;
}

.light-theme-section .section-title {
    color: #0f172a;
}

.light-theme-section .section-desc {
    color: #475569;
}

.light-theme-section .glass-panel {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.light-theme-section .glass-panel:hover {
    border-color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.light-theme-section .video-card-thumb {
    background: #e2e8f0;
    border-right-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .video-card-body h3 {
    color: #0f172a;
}

.light-theme-section .card-text {
    color: #475569;
}

.light-theme-section .device-tag {
    color: #475569;
}

.light-theme-section .card-play-btn {
    border-color: #0f172a;
    color: #0f172a;
    background: rgba(0, 0, 0, 0.03);
    box-shadow: none;
}

.light-theme-section .card-play-btn:hover {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.light-theme-section .tech-badge-card {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

/* Leaderboard inside light section */
.light-theme-section .leaderboard-wrapper {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .hud-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .hud-title-bar h3 {
    color: #0f172a;
}

.light-theme-section .header-icon {
    color: #0f172a;
    text-shadow: none;
}

.light-theme-section .leaderboard-row {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.light-theme-section .leaderboard-row:hover {
    background: #f1f5f9;
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .col-pts {
    color: #0f172a;
}

.light-theme-section .lvl-badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #334155;
}

.light-theme-section .leaderboard-footer-banner {
    background: #f1f5f9;
    border-top-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .banner-text h4 {
    color: #0f172a;
}

.light-theme-section .banner-text p {
    color: #475569;
}

.light-theme-section .banner-icon-wrap {
    color: #0f172a;
}

/* Tabs container inside light section */
.light-theme-section .tabs-container {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .tabs-list {
    border-right-color: rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.light-theme-section .tab-trigger {
    color: #475569;
}

.light-theme-section .tab-trigger:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.02);
}

.light-theme-section .tab-trigger.active {
    color: #0f172a;
    background: #ffffff;
    border-left-color: #0f172a;
    text-shadow: none;
}

.light-theme-section .tab-panel-inner h3 {
    color: #0f172a;
}

.light-theme-section .main-explanation {
    color: #0f172a;
}

.light-theme-section .main-explanation strong {
    color: #0f172a;
}

.light-theme-section .sub-explanation {
    color: #475569;
}

.light-theme-section .panel-icon-side {
    color: #0f172a;
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme-section .text-italic {
    border-left-color: #0f172a;
    background: #f8fafc;
    color: #475569;
}

@media (max-width: 992px) {
    .light-theme-section .tabs-list {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }
    .light-theme-section .tab-trigger.active {
        border-bottom-color: #0f172a;
        border-left-color: transparent;
    }
}

/* ==========================================================================
   LATIN AMERICAN INTERACTIVE MAP STYLING
   ========================================================================== */

.map-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: 
        radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.04) 0%, transparent 60%),
        var(--color-bg-darker);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.map-wrapper {
    position: relative;
    padding: 3rem 2rem;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.latin-america-svg {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    z-index: 2;
    position: relative;
}

.continent-outline {
    fill: rgba(255, 255, 255, 0.012);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}

.map-container:hover .continent-outline {
    stroke: rgba(255, 255, 255, 0.15);
    fill: rgba(255, 255, 255, 0.02);
}

.map-node {
    cursor: pointer;
}

.node-glow {
    fill: rgba(255, 255, 255, 0.08);
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1.5;
    transform-origin: center;
    transform-box: fill-box;
    animation: pulseNode 3s infinite ease-in-out;
}

.map-node:hover .node-glow,
.map-node.active .node-glow {
    stroke: #ffffff;
    fill: rgba(255, 255, 255, 0.15);
    animation-duration: 1.5s;
}

.node-core {
    fill: #ffffff;
    stroke: #ffffff;
    stroke-width: 1;
    transition: var(--transition-smooth);
}

.map-node:hover .node-core,
.map-node.active .node-core {
    transform: scale(1.4);
    transform-origin: center;
    transform-box: fill-box;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.node-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.map-node:hover .node-label,
.map-node.active .node-label {
    fill: #ffffff;
    font-size: 0.75rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.9);
}

@keyframes pulseNode {
    0% { transform: scale(0.6); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.6); opacity: 0.2; }
}

/* Tooltip (Info card) Glassmorphism */
.map-tooltip {
    position: absolute;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    width: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform: translate(-50%, -120%) scale(0.9);
    top: 0;
    left: 0;
}

.map-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
    pointer-events: all;
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.tooltip-header h4 {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.tooltip-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-neon-violet);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tooltip-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 0.85rem;
    color: #ffffff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    align-items: center;
}

.stat-name {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.stat-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #ffffff;
    font-size: 0.85rem;
}

/* Responsive Map adjustments */
@media (max-width: 768px) {
    .map-wrapper {
        padding: 1.5rem 1rem;
    }
    .node-label {
        font-size: 0.65rem;
    }
    .map-tooltip {
        width: 220px;
        padding: 1rem;
    }
}

/* ==========================================================================
   COUNTDOWN TIMER & ADVANCED MAP CUSTOMIZATIONS
   ========================================================================== */

/* Countdown style inside card */
.news-countdown {
    display: flex;
    gap: 8px;
    margin: 1.25rem 0;
    padding: 0.85rem 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    justify-content: space-around;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cd-unit:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -7px;
    top: 2px;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

.cd-val {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.cd-lbl {
    font-family: var(--font-tech);
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Map Silouette fill override */
.continent-outline {
    fill: rgba(10, 16, 29, 0.8) !important;
    stroke: rgba(255, 255, 255, 0.18) !important;
    stroke-width: 1.5;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.map-container:hover .continent-outline {
    fill: rgba(14, 22, 38, 0.85) !important;
    stroke: rgba(255, 255, 255, 0.25) !important;
}

/* Glowing Neon Green Flow Connection Line */
.connection-flow-line {
    animation: flowDash 20s linear infinite;
    stroke-dashoffset: 0;
}

@keyframes flowDash {
    to {
        stroke-dashoffset: -400;
    }
}

/* Custom country colors */
.map-node[data-country="mexico"] { --country-color: #00f0ff; --country-glow: rgba(0, 240, 255, 0.4); }
.map-node[data-country="colombia"] { --country-color: #ab20fd; --country-glow: rgba(171, 32, 253, 0.4); }
.map-node[data-country="ecuador"] { --country-color: #ffd700; --country-glow: rgba(255, 215, 0, 0.4); }
.map-node[data-country="peru"] { --country-color: #39ff14; --country-glow: rgba(57, 255, 20, 0.5); }
.map-node[data-country="chile"] { --country-color: #ff3366; --country-glow: rgba(255, 51, 102, 0.4); }
.map-node[data-country="argentina"] { --country-color: #00ffcc; --country-glow: rgba(0, 255, 204, 0.4); }
.map-node[data-country="brasil"] { --country-color: #ff9f00; --country-glow: rgba(255, 159, 0, 0.4); }

/* Apply country colors to node elements */
.map-node .node-core {
    fill: var(--country-color, #ffffff) !important;
    stroke: var(--country-color, #ffffff) !important;
}

.map-node .node-glow {
    fill: var(--country-glow, rgba(255, 255, 255, 0.08)) !important;
    stroke: var(--country-color, #ffffff) !important;
}

.map-node:hover .node-label,
.map-node.active .node-label {
    fill: var(--country-color, #ffffff) !important;
    text-shadow: 0 0 8px var(--country-glow, rgba(255, 255, 255, 0.6)), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* ==========================================================================
   LEADERBOARD SCORE STYLING
   ========================================================================== */

.pts-rank-1 { color: #ffd700 !important; text-shadow: 0 0 8px rgba(255, 215, 0, 0.4); }
.pts-rank-2 { color: #b4c6e7 !important; text-shadow: 0 0 8px rgba(180, 198, 231, 0.3); }
.pts-rank-3 { color: #e5a93b !important; text-shadow: 0 0 8px rgba(229, 169, 59, 0.3); }
.pts-rank-4 { color: #00f0ff !important; text-shadow: 0 0 8px rgba(0, 240, 255, 0.4); }
.pts-rank-5 { color: #39ff14 !important; text-shadow: 0 0 8px rgba(57, 255, 20, 0.4); }
.pts-rank-6 { color: #ab20fd !important; text-shadow: 0 0 8px rgba(171, 32, 253, 0.4); }
.pts-rank-7 { color: #ff3366 !important; text-shadow: 0 0 8px rgba(255, 51, 102, 0.4); }
.pts-rank-8 { color: #ff9f00 !important; text-shadow: 0 0 8px rgba(255, 159, 0, 0.4); }
.pts-rank-9 { color: #00ffcc !important; text-shadow: 0 0 8px rgba(0, 255, 204, 0.4); }
.pts-rank-10 { color: #ffffff !important; text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); }

.col-pts {
    font-family: var(--font-mono) !important;
    font-weight: 700;
    font-size: 1.05rem !important;
    text-align: right;
}
