/* [10-SOP-MAN-CSS_Global_V1.0] */
/* ==========================================================================
   1. DESIGN TOKENS (PALETA MAESTRA ADA TECH ACADEMY)
   ========================================================================== */
:root {
    --bg-void: #000000;
    /* Vacío absoluto del lienzo */
    --bg-obsidian: #0A0A0B;
    /* Fondo base industrial inmutable */
    --bg-panel: rgba(209, 199, 189, 0.04);
    /* Cristal industrial limpio al 4% */
    --text-main: #F9F9FB;
    /* Luz de la razón (Optical White) */
    --text-muted: #D1C7BD;
    /* Sustrato analógico (Industrial Sand) */
    --accent-teal: #00F2FF;
    /* Pulso mecánico (Singularity Teal) */
    --accent-amber: #E69535;
    /* Ignición orgánica (Amber Pulse) */
    --border-dim: rgba(136, 136, 136, 0.2);
    /* Estructura pasiva de soporte */
    --border-teal-dim: rgba(0, 242, 255, 0.35);
    /* Borde teal apagado para tarjetas en reposo */

    /* CONJUNTOS TIPOGRÁFICOS SUIZOS */
    --font-display: 'Work Sans', 'Helvetica Neue', sans-serif;
    --font-ui: 'Space Mono', 'Courier New', monospace;
    --font-body: 'Work Sans', 'Inter', 'Helvetica Neue', sans-serif;

    --gap-base: 8px;
    --radius-sm: 4px;
    --radius-md: 8px;

    --glow-teal: 0 0 12px rgba(0, 242, 255, 0.2);
    --glow-amber: 0 0 12px rgba(230, 149, 53, 0.2);
    --shadow-depth-1: 0 4px 20px rgba(0, 0, 0, 0.1);

    --text-xs: 0.75rem;
    --text-sm: 0.85rem;
    --text-base: 0.95rem;
    --font-size-h1: clamp(2rem, 5vw, 3.5rem);
    --font-size-h2: clamp(1.8rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.4rem, 3vw, 2.2rem);

    /* TOKENS CINÉTICOS (FÍSICA DE GRAVEDAD Y ACELERACIÓN) */
    --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-kinetic);
    --transition-smooth: 0.35s var(--ease-kinetic);
}

/* Reglas de Resaltado al Seleccionar/Enfocar (Focus State UI) en la Calculadora */
.calc-input-field {
    border: 1px solid var(--border-dim) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.calc-input-teal:focus,
.calc-input-teal:hover {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 0 1px var(--accent-teal) !important;
}

.calc-input-amber:focus,
.calc-input-amber:hover {
    border-color: var(--accent-amber) !important;
    box-shadow: 0 0 0 1px var(--accent-amber) !important;
}

/* Botón Conmutador de Tema (Theme Switcher Button) */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: scale(1.05);
    box-shadow: var(--glow-teal);
}

/* ==========================================================================
   2. RESET Y ENTORNO GLOBAL
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    /* Margen para evitar colisió   n con el status bar */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   3. COMPONENTES DEL CHASIS (FOOTER & STATUS BAR)
   ========================================================================== */
.system-status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 12, 22, 0.90);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 242, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: #556677;
    z-index: 9999;
}

.system-status-bar>div {
    flex: 1;
    display: flex;
    align-items: center;
}

.system-status-bar>div:nth-child(1) {
    justify-content: flex-start;
}

.system-status-bar>div:nth-child(2) {
    justify-content: center;
}

.system-status-bar>div:nth-child(3) {
    justify-content: flex-end;
}

.footer-cta {
    color: var(--accent-teal);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-cta:hover {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--accent-teal);
}

/* ==========================================================================
   4. TERMINAL CARD E INTERFACES DE VISTA
   ========================================================================== */
.terminal-card {
    position: relative;
    background-color: rgba(6, 9, 17, 0.75);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-teal-dim);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 1050px;
    padding: 60px 48px 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.system-badge {
    position: absolute;
    top: -12px;
    left: 40px;
    background-color: var(--bg-void);
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
    padding: 4px 12px;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: var(--glow-teal);
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-card h1 {
    font-family: var(--font-display);
    font-size: var(--font-size-h2);
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 90%;
}

.terminal-card h2 {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 20px;
}

.terminal-card p {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 40px;
}

.divider {
    width: 100%;
    border-top: 1px dashed var(--border-dim);
    margin-bottom: 20px;
}

.card-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: rgba(160, 160, 165, 0.5);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   5. COMPONENTES DE ACCIÓN (CTAs)
   ========================================================================== */
.cta-button {
    display: inline-block;
    text-decoration: none;
    background-color: rgba(230, 149, 53, 0.08);
    border: 2px solid var(--accent-amber);
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 40px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    margin-bottom: 48px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-depth-1);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 15px rgba(230, 149, 53, 0.25);
    background-color: rgba(230, 149, 53, 0.15);
}

.cta-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: var(--shadow-depth-1);
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--bg-obsidian);
    border-color: transparent;
}

.btn-primary:hover {
    background-color: #E0FFFF;
    color: var(--bg-void);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.btn-secondary {
    background-color: rgba(230, 149, 53, 0.08);
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

.btn-secondary:hover {
    background-color: rgba(230, 149, 53, 0.15);
    color: var(--accent-amber);
    box-shadow: 0 0 15px rgba(230, 149, 53, 0.25);
}

/* Estado bloqueado tras hacer click (Motor de Enfriamiento) */
.cta-button.cooling-down {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border-dim);
    color: var(--text-muted);
}

/* ==========================================================================
   6. ORQUESTACIÓN DEL LOGO MAESTRO (SCALING INTELIGENTE)
   ========================================================================== */
.ada-logo-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Escala para el Header (Barra de Navegación) */
#runtime-logo-container .ada-logo-svg {
    width: 35px;
    height: 35px;
}

/* Escala para la Home (Landing principal) */
.logo-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 40px auto;
}

/* ==========================================================================
   7. RESPONSIVIDAD COMPLETA (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */

/* --- HAMBURGER MENU TOGGLE --- */
.hamburger-btn {
    display: none;
    /* Oculto en desktop */
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 8px 8px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 10001;
    line-height: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.hamburger-btn svg {
    transition: filter 0.2s ease;
}

.hamburger-btn:hover {
    color: var(--text-main);
    border-color: var(--accent-teal);
    background: rgba(0, 242, 255, 0.04);
    box-shadow: var(--glow-teal);
}

.hamburger-btn:hover svg {
    filter: drop-shadow(0 0 6px var(--accent-teal));
}

/* ============================================================
   BREAKPOINT: ARCADE LAYOUT (900px)
   Canvas + Dashboard se apilan verticalmente
   ============================================================ */
@media (max-width: 900px) {
    .kiosk-workspace.arcade-mode {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        max-width: 100%;
        padding: 0 8px;
        gap: 8px;
    }

    #arcade-canvas {
        width: 100% !important;
        max-width: 640px !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 auto;
    }

    .arcade-dashboard {
        height: auto !important;
        min-height: 280px !important;
        max-width: 640px !important;
        margin: 0 auto;
        width: 100% !important;
    }

    .game-wrapper {
        display: flex;
        justify-content: center;
    }
}


/* ==========================================================================
   8. NAVEGACIÓN COMPLETA Y BARRA SUPERIOR FIJA (STICKY HEADER)
   ========================================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
    background: rgba(6, 12, 22, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    /* Asegura que flote por encima del app-viewport */
}

/* Compensación de espacio para el viewport dinámico */
#app-viewport {
    padding-top: 90px;
    /* Evita que las tarjetas queden ocultas bajo el header fijo */
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Bloque Identitario de Marca */
.brand-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-text {
    font-family: var(--font-display, 'Work Sans', sans-serif);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-main, #F9F9FB);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dashboard-nav {
    display: flex;
    gap: 8px;
}

.nav-btn {
    color: var(--text-muted);
    font-family: var(--font-ui, 'Space Mono', monospace);
    text-decoration: none;
    padding: 8px 8px;
    border: 1px solid transparent;
    font-size: var(--text-sm);
    transition: color 0.2s ease, background-color 0.2s ease;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.nav-btn:hover {
    color: var(--accent-teal);
    background: rgba(0, 242, 255, 0.05);
}

/* ==========================================================================
   9. FORMATOS CORPORATIVOS DE SECCION Y LED DE OPERATIVIDAD
   ========================================================================== */
/* LED Verde Parpadeante del Sistema */
.status-led {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    /* Verde Terminal puro */
    box-shadow: 0 0 8px #10B981;
    margin-right: 8px;
    opacity: 1;
}

@keyframes ledPulseAnimation {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1.2) drop-shadow(0 0 10px #10B981);
    }

    50% {
        opacity: 0.3;
        filter: brightness(0.8);
    }
}

/* MARCO DE CABECERA DE SECCION (CORREGIDO PARA CENTRADO ABSOLUTO) */
.section-title-frame {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    /* Activamos Flexbox en el marco contenedor */
    flex-direction: column;
    /* Colocamos el badge sobre el titulo de forma vertical */
    align-items: center;
    /* Forzamos el centrado horizontal estricto de todos los hijos */
    justify-content: center;
    /* Centrado sobre el eje principal */
    text-align: center;
    /* Fallback de alineación de texto inline */
}

.section-title-frame h1 {
    font-family: 'Orbitron', var(--font-display), sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-main, #F9F9FB);
    letter-spacing: 0.06em;
    margin-top: 16px;
    text-transform: uppercase;
    text-align: center;
    /* Consistencia en textos multilinea en pantallas moviles */
}

/* El Badge o Etiqueta Tactica */
.status-badge {
    font-family: var(--font-ui, 'Space Mono', monospace);
    font-size: var(--text-xs);
    padding: 4px 16px;
    border: 1px solid;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    /* Permite el cálculo correcto de márgenes y paddings */
}

.state-amber {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
    background: rgba(230, 149, 53, 0.02);
}

.state-teal {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    background: rgba(0, 242, 255, 0.02);
}

/* ==========================================================================
   [ ARCADE CORE: HMI GRID LAYOUT ]
   ========================================================================== */
.kiosk-workspace.arcade-mode {
    display: grid !important;
    grid-template-columns: 540px 340px;
    grid-template-rows: 480px;
    justify-content: center;
    align-content: start;
    gap: 20px;

    /* Restricciones de ContenciÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â³n Estricta */
    width: 100%;
    max-width: 920px;
    margin: 32px auto 0 auto;
    /* Fluye de forma natural bajo el padding del viewport */
    box-sizing: border-box;
}

#arcade-canvas {
    display: block;
    width: 540px;
    height: 480px;
    background-color: #060C16;
    border: 1px solid var(--accent-teal);
    box-shadow: var(--glow-teal);
}

.arcade-dashboard {
    width: 100%;
    height: 480px;
    /* Sincronía matemática exacta con la altura del Canvas */
    background-color: var(--bg-obsidian);
    border: 1px solid var(--accent-teal);
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}

/* ==========================================================================
   10. ANIMACIÓN DE ENTRADA (FADE IN)
   ========================================================================== */
.animate-fade {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   11. HOME HERO LAYOUT
   ========================================================================== */
.home-hero-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: center;
    width: 100%;
    margin-bottom: 32px;
}

.terminal-card .home-text-content {
    text-align: left;
}

.terminal-card .home-text-content h1 {
    text-align: left;
    font-size: var(--font-size-h3);
    margin-bottom: 24px;
    max-width: 100%;
}

.terminal-card .home-text-content p {
    text-align: left;
    margin-bottom: 16px;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    max-width: 100%;
}

.home-video-wrapper {
    border: 1px solid var(--accent-teal);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--glow-teal);
    background-color: var(--bg-void);
    position: relative;
}

.home-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.2);
    pointer-events: none;
}

.home-video-wrapper video,
.video-container video,
video.video-cover-fit {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.5;
    transition: opacity 0.35s var(--ease-kinetic) !important;
    will-change: opacity;
}

.home-video-wrapper:hover video,
.video-container:hover video,
.home-video-wrapper video:hover,
video.video-cover-fit:hover {
    opacity: 1;
}

/* Fallback automático en móvil / tablet (< 768px) */
@media (max-width: 768px) {

    .home-video-wrapper video,
    .video-container video,
    video.video-cover-fit {
        opacity: 0.85 !important;
    }
}

@media (max-width: 900px) {
    .home-hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .terminal-card .home-text-content h1,
    .terminal-card .home-text-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .home-video-wrapper {
        max-width: 260px;
        margin: 0 auto;
        order: -1;
        /* Video arriba en movil */
    }
}

/* ============================================================
   BREAKPOINT: DESKTOP SMALL / IPAD LANDSCAPE (1024px)
   Compresión del nav horizontal para evitar superposición
   ============================================================ */
@media (max-width: 1024px) {
    .app-header {
        padding: 8px 16px;
    }

    .dashboard-nav {
        gap: 2px;
    }

    .nav-btn {
        padding: 4px 8px;
        font-size: var(--text-xs);
        letter-spacing: 0;
    }

    .brand-text {
        font-size: 1rem;
    }
}

/* ============================================================
   BREAKPOINT: TABLET (768px)
   Hamburger menu, nav colapsable, layout compacto
   ============================================================ */
@media (max-width: 768px) {

    /* Mostrar hamburger, ocultar nav inline */
    .hamburger-btn {
        display: block;
    }

    #main-nav {
        display: none;
        /* Oculta por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-obsidian);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 2px solid var(--accent-teal);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        padding: 8px 0;
        z-index: 10000;
    }

    #main-nav.nav-open {
        display: flex;
    }

    .nav-btn {
        padding: 16px 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-dim);
        font-size: var(--text-base);
        color: var(--text-main);
        font-family: var(--font-ui);
        font-weight: 700;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .nav-btn:last-child {
        border-bottom: none;
    }

    .nav-btn:hover,
    .nav-btn:focus {
        background: var(--bg-panel);
        color: var(--accent-teal);
    }

    /* Header compacto */
    .app-header {
        padding: 8px 16px !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
    }

    .brand-text {
        font-size: var(--text-base);
    }

    #runtime-logo-container .ada-logo-svg {
        width: 28px;
        height: 28px;
    }

    /* Viewport con menos padding top */
    #app-viewport {
        padding-top: 80px;
    }

    /* Footer compacto */
    .system-status-bar {
        padding: 8px 16px;
        font-size: var(--text-xs);
    }

    /* Terminal cards */
    .terminal-card {
        padding: 40px 20px 24px 20px;
    }

    .system-badge {
        left: 16px;
        font-size: var(--text-xs);
        max-width: calc(100% - 24px);
    }

    /* Section titles */
    .section-title-frame h1 {
        font-size: 1.6rem;
    }

    /* Logo en home */
    .logo-container {
        max-width: 220px;
    }

    /* CTA buttons */
    .cta-button {
        padding: 12px 32px;
        font-size: var(--text-sm);
        margin-bottom: 32px;
    }

    .btn-primary {
        background-color: var(--accent-teal);
        color: var(--bg-obsidian);
        border-color: transparent;
    }

    .btn-secondary {
        background-color: rgba(230, 149, 53, 0.05);
        color: var(--accent-amber);
        border-color: var(--accent-amber);
    }
}

/* ============================================================
   BREAKPOINT: MÓVIL (480px)
   Máxima compactación, fuentes reducidas
   ============================================================ */
@media (max-width: 480px) {
    .app-header {
        padding: 8px 12px !important;
    }

    .brand-text {
        font-size: var(--text-base) !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .brand-block {
        gap: 8px !important;
        min-width: 0 !important;
    }

    #runtime-logo-container .ada-logo-svg {
        width: 24px;
        height: 24px;
    }

    #app-viewport {
        padding-top: 80px !important;
    }

    body {
        padding-bottom: 90px;
    }

    .kiosk-workspace {
        padding: 8px 4px 20px 4px !important;
    }

    .terminal-card {
        padding: 20px 16px !important;
        border-radius: var(--radius-md);
    }

    .terminal-card h1 {
        font-size: 1.3rem;
    }

    .terminal-card p {
        font-size: var(--text-sm);
        margin-bottom: 24px;
    }

    .system-badge {
        left: 10px;
        font-size: var(--text-xs);
        padding: 4px 8px;
        max-width: calc(100% - 20px);
        letter-spacing: 0.03em;
    }

    .card-footer {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: var(--text-xs);
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .btn-primary {
        background-color: var(--accent-teal);
        color: var(--bg-obsidian);
        border-color: transparent;
    }

    .btn-secondary {
        background-color: rgba(230, 149, 53, 0.05);
        color: var(--accent-amber);
        border-color: var(--accent-amber);
    }

    .section-title-frame h1 {
        font-size: 1.2rem !important;
        letter-spacing: 0.02em !important;
        word-wrap: break-word !important;
    }

    .status-badge {
        font-size: var(--text-xs);
        padding: 4px 8px;
    }

    /* Arcade canvas full-width */
    #arcade-canvas {
        border: none !important;
        box-shadow: none !important;
    }

    .arcade-dashboard {
        min-height: 260px !important;
        padding: 8px !important;
        font-size: 0.85em !important;
    }

    /* Footer ultra-compacto */
    .system-status-bar {
        flex-direction: column;
        text-align: center;
        padding: 8px 8px;
        font-size: var(--text-xs);
        gap: 8px;
    }

    .system-status-bar>div {
        justify-content: center;
    }

    .logo-container {
        max-width: 180px;
        margin-bottom: 24px;
    }
}

/* Reglas Responsivas Estrictas para los Punchlines de la Calculadora B2B */
.punchlines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 820px) {
    .punchlines-grid {
        grid-template-columns: 1fr !important;
        /* 3 filas completas en moviles / pantallas estrechas */
        gap: 16px;
    }
}


/* ========================================================================= */
/* 7. UTILITIES AND EXTRACTED INLINE STYLES */
/* ========================================================================= */
/* === EXTRACTED INLINE STYLES === */
.flex-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.ui-layer {
    color: var(--text-main);
    font-size: var(--text-base);
    font-weight: bold;
}

.txt-teal {
    color: var(--accent-teal);
    font-size: 1.05rem;
    font-family: var(--font-display);
    text-align: right;
    line-height: 1.2;
}

.txt-muted-mb-25 {
    margin-bottom: 24px;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bracket-corner-bl {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--accent-teal);
    border-bottom: 2px solid var(--accent-teal);
}

.txt-center-mt-15 {
    text-align: center;
    width: 100%;
    margin-top: 16px;
}

.txt-muted {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.form-input-styled {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    padding: 12px;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    box-sizing: border-box;
}

.modal-panel-container {
    position: relative;
    padding: 32px;
    background: var(--bg-obsidian);
    border: 2px solid var(--accent-teal);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 242, 255, 0.15);
}

.ai-center-txt-amber {
    padding: 16px 40px;
    font-weight: bold;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mt-20 {
    margin-top: 20px;
}

.glow-effect {
    filter: drop-shadow(0 0 3px var(--accent-amber));
}

.ai-center-txt-amber-1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent-amber);
    font-family: var(--font-ui);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.badge-alert-text {
    color: #ff2255;
    font-weight: bold;
}

.mb-6 {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--text-main);
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.txt-center {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.flex-col-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.txt-amber {
    color: var(--accent-amber);
}

.flex-jc-center-mb-20 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.callout-border-amber {
    background: var(--bg-obsidian);
    padding: 20px;
    border-left: 3px solid var(--accent-amber);
    border-top: 1px solid var(--border-dim);
    border-right: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
}

.box-full-width {
    width: 100%;
    box-sizing: border-box;
}

.mb-15 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    text-align: left;
}

.glow-effect-1 {
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.6));
}

.box-teal {
    padding: 40px;
    margin-bottom: 60px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.txt-amber-1 {
    width: 100%;
    accent-color: var(--accent-amber);
    cursor: pointer;
}

.flex-col-2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(0, 242, 255, 0.02);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 24px;
    border-radius: var(--radius-md);
    height: 100%;
    box-sizing: border-box;
}

.terminal-log-card {
    flex: none;
    width: max-content;
    padding: 16px 24px 16px 16px;
    border: 1px solid rgba(255, 34, 85, 0.4);
    background: var(--bg-obsidian);
    border-radius: var(--radius-sm);
    font-family: 'Space Mono', monospace;
    font-size: var(--text-xs);
    color: #ff2255;
    line-height: 1.6;
    text-align: left;
    box-shadow: var(--shadow-depth-1);
}

.txt-center-txt-teal {
    color: var(--accent-teal);
    font-size: var(--font-size-h2);
    text-align: center;
    margin: 20px 0 20px 0;
    line-height: 1.2;
}

.txt-amber-2 {
    color: var(--accent-amber);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.4;
}

.input-icon-topleft {
    position: absolute;
    left: 12px;
    top: 12px;
    opacity: 0.7;
}

.txt-amber-3 {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

.txt-amber-4 {
    color: var(--accent-amber);
    font-size: 1.05rem;
}

.line-height-snug {
    line-height: 1.4;
}

.glass-panel-card {
    background: var(--bg-panel, rgba(209, 199, 189, 0.04));
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-teal-dim);
    padding: 40px;
    box-sizing: border-box;
}

.txt-muted-1 {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.txt-center-txt-muted-mb-30 {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 32px;
}

.txt-muted-2 {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.form-label-bold {
    font-family: var(--font-ui);
    color: var(--text-main);
    font-size: var(--text-xs);
    font-weight: bold;
    letter-spacing: 0.05em;
}

.kiosk-page-container {
    padding: 20px 8px 40px 8px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

.label-ui-main {
    color: var(--text-main);
    font-size: var(--text-sm);
    font-family: var(--font-ui);
    font-weight: bold;
}

.txt-amber-mb-20 {
    color: var(--accent-amber);
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    border-bottom: 1px dashed rgba(230, 149, 53, 0.3);
    padding-bottom: 16px;
}

.flex-col-ai-center {
    flex-shrink: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.border-top-dashed {
    border-top: 1px dashed var(--border-dim);
    padding-top: 16px;
}

.font-sans-bold {
    font-family: sans-serif;
    font-weight: bold;
}

.txt-teal-1 {
    color: var(--accent-teal);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.flex-jc-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.w-full {
    width: 100%;
}

.mb-16 {
    border-bottom: 1px dashed var(--border-dim);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.txt-amber-5 {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
    box-shadow: var(--glow-amber);
    line-height: 1.4;
}

.b2b-grid-autofit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    width: 100%;
}

.txt-center-mb-40 {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

.flex-col-3 {
    flex: 1.5;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-body-flex {
    flex: 1;
    min-width: 200px;
}

.mb-18 {
    margin-bottom: 16px;
}

.txt-amber-mt-10 {
    color: var(--accent-amber);
    display: block;
    margin-top: 8px;
}

.mb-35 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 32px;
}

.callout-teal-card {
    background: rgba(0, 242, 255, 0.02);
    border: 1px solid var(--border-teal-dim);
    padding: 24px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flex-jc-center-1 {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.flex-ai-center {
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 255, 0.02);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    text-align: left;
}

.mb-10 {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    margin-top: 0;
    margin-bottom: 8px;
}

.txt-amber-6 {
    color: var(--accent-amber);
    font-size: 1.2rem;
    margin: 24px 0 8px;
}

.flex-col-ai-center-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mb-10-1 {
    font-family: var(--font-display);
    font-size: var(--font-size-h2);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.list-bullet-danger {
    color: #ff2255;
    margin-right: 8px;
    font-weight: bold;
}

.txt-muted-3 {
    color: var(--text-muted);
    margin: 0;
}

.txt-teal-mb-0 {
    padding: 40px;
    margin-bottom: 0px;
}

.flex-col-4 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px dashed var(--border-dim);
    padding-top: 8px;
}

.txt-teal-2 {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    box-shadow: var(--glow-teal);
    line-height: 1.4;
}

.mb-60 {
    margin-bottom: 60px;
}

.txt-muted-4 {
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-family: var(--font-ui);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.txt-center-txt-teal-mb-60 {
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.glow-effect-2 {
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.4));
}

.flex-ai-center-mb-15 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.label-ui-bold-xs {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    font-weight: bold;
}

.text-body-main {
    font-size: var(--text-base);
    line-height: 1.6;
}

.txt-teal-3 {
    color: var(--accent-teal);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
}

.mb-60-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.select-input-styled {
    width: 100%;
    background: var(--bg-obsidian);
    color: var(--text-main);
    border: 1px solid var(--border-dim);
    padding: 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    cursor: pointer;
    outline: none;
}

.flex-jc-center-margin-y {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 32px;
}

.txt-muted-mb-30 {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 32px;
}

.b2b-col-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.flex-col-5 {
    flex: 1;
    min-width: 320px;
    padding: 40px;
    text-align: left;
    border: 1px solid var(--border-dim);
    background: var(--bg-obsidian);
    box-shadow: var(--shadow-depth-1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-h3-title {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.glow-effect-3 {
    filter: drop-shadow(0 0 8px rgba(230, 149, 53, 0.2));
}

.flex-col-6 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.txt-center-txt-amber-mb-60 {
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.txt-amber-7 {
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: var(--text-base);
}

.txt-center-txt-amber {
    margin-top: auto;
    margin-bottom: 0;
    padding: 12px 20px;
    font-size: var(--text-xs);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.txt-center-1 {
    text-align: center;
}

.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 242, 255, 0.1) 0%, rgba(10, 10, 11, 0.4) 100%);
    pointer-events: none;
}

.txt-teal-4 {
    color: var(--accent-teal);
    text-decoration: underline;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.txt-muted-5 {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.txt-center-2 {
    text-align: center;
    width: 100%;
}

.txt-muted-6 {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: italic;
}

.txt-teal-5 {
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent-teal);
}

.faq-item-card {
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: border-color 0.3s;
}

.txt-teal-6 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    font-size: 1.2rem;
}

.glow-effect-4 {
    filter: drop-shadow(0 0 8px var(--accent-teal));
    border-radius: var(--radius-md);
    overflow: hidden;
}

.flex-col-min300 {
    flex: 1;
    min-width: 300px;
}

.txt-teal-7 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.1em;
}

.card-h3-title {
    color: var(--text-main);
    margin: 4px 0 8px 0;
    font-size: 1.2rem;
}

.padded-card-body {
    padding: 32px;
}

.flex-jc-center-2 {
    display: flex;
    justify-content: center;
    margin: 32px 0 24px 0;
}

.contrast-fit {
    filter: contrast(1.1) brightness(0.95);
    opacity: 0.95;
}

.flex-col-7 {
    background: var(--bg-panel);
    border: 1px solid var(--accent-teal);
    padding: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.section-cta-group {
    text-align: center;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.txt-center-txt-teal-mb-20 {
    color: var(--accent-teal);
    font-size: var(--font-size-h3);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.txt-muted-7 {
    max-height: 0;
    overflow: hidden;
    will-change: max-height, padding, opacity;
    transition: max-height 0.35s var(--ease-kinetic), padding 0.35s var(--ease-kinetic), opacity 0.25s ease-out;
    padding: 0 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: var(--text-base);
}

.input-with-icon-padded {
    width: 100%;
    box-sizing: border-box;
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    padding: 12px 12px 12px 40px;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mt-30 {
    margin-top: 32px;
}

.txt-amber-mb-10 {
    color: var(--accent-amber);
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.flex-jc-center-mt-20 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.txt-muted-mb-20 {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.flex-col-8 {
    padding: 0;
    text-align: left;
    background: var(--bg-obsidian);
    cursor: pointer;
    transition: transform 0.2s var(--ease-kinetic), box-shadow 0.2s var(--ease-kinetic), border-color 0.2s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-h1-title {
    font-family: var(--font-display);
    font-size: var(--font-size-h1);
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
}

.txt-muted-mb-6 {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.txt-center-txt-amber-1 {
    padding: 40px;
    margin-bottom: 0;
    text-align: center;
}

.card-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: 20px;
}

.flex-col-ai-center-2 {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 75vh;
}

.page-container-max1200 {
    padding: 40px 20px 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.calc-white-label-bold {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: bold;
}

.txt-center-mt-20 {
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mb-15-1 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.5;
    font-weight: bold;
}

.mt-15 {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    margin-top: 16px;
}

.kiosk-center-viewport {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.txt-center-txt-muted-mb-35 {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 100%;
}

.flex-mt-6 {
    border-top: 1px solid var(--border-dim);
    padding-top: 8px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.video-preview-frame {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 9/16;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--accent-teal);
    box-shadow: var(--glow-teal);
    position: relative;
}

.txt-teal-8 {
    color: var(--accent-teal);
    font-size: var(--text-base);
    text-align: right;
    line-height: 1.2;
}

.txt-teal-mb-30 {
    color: var(--accent-teal);
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    padding-right: 32px;
}

.flex-col-txt-center {
    width: 100%;
    max-width: 280px;
    padding: 32px;
    text-align: center;
    background: var(--bg-obsidian);
    cursor: pointer;
    transition: transform 0.2s var(--ease-kinetic), box-shadow 0.2s var(--ease-kinetic), border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.txt-teal-9 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    font-size: var(--text-base);
}

.txt-center-mb-25 {
    text-align: center;
    width: 100%;
    margin-bottom: 24px;
}

.txt-center-mt-60 {
    text-align: center;
    margin-top: 60px;
}

.txt-amber-mb-0 {
    padding: 40px;
    margin-bottom: 0px;
}

.divider-margin-y {
    margin: 40px 0;
}

.txt-amber-mb-20-1 {
    display: inline-block;
    padding: 4px 16px;
    border: 1px dashed var(--accent-amber);
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: var(--text-base);
    margin-bottom: 20px;
}

.mt-15-1 {
    color: #ff2255;
    font-family: var(--font-ui);
    font-size: var(--text-base);
    animation: pulse 1.5s infinite;
    letter-spacing: 0.05em;
    font-weight: bold;
    margin-top: 16px;
}

.flex-ai-center-mb-4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.txt-amber-8 {
    color: var(--accent-amber);
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.1em;
}

.flex-col-9 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.txt-center-txt-muted {
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
}

.txt-muted-mt-20 {
    font-family: 'Space Mono', monospace;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 0.05em;
}

.flex-jc-center-ai-center {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.flex-col-txt-center-1 {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    border: 1px solid var(--border-teal-dim);
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 255, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.flex-ai-center-mb-60 {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    border-left: 4px solid var(--accent-amber);
    padding: 40px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1050px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: var(--shadow-depth-1);
}

.txt-center-mb-30 {
    text-align: center;
    margin-bottom: 32px;
}

.txt-teal-mt-1 {
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent-teal);
    margin-top: 1px;
}

.quote-title-text {
    color: var(--text-main);
}

.flex-mt-8 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px dashed var(--border-dim);
    padding-top: 8px;
    margin-top: 8px;
    gap: 8px;
}

.txt-amber-9 {
    color: var(--accent-amber);
    font-weight: 800;
    letter-spacing: 0.05em;
    font-family: var(--font-ui);
}

.flex-1 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: bold;
    cursor: pointer;
    margin: 0;
}

.txt-amber-10 {
    padding: 16px 40px;
    font-weight: bold;
    margin-bottom: 0;
    min-width: 280px;
    display: inline-block;
}

.txt-amber-mb-5 {
    color: var(--accent-amber);
    font-weight: bold;
    margin-bottom: 4px;
}

.btn-icon-svg {
    opacity: 0.9;
}

button:hover .btn-icon-svg,
button:focus .btn-icon-svg {
    animation: transmit-pulse 1.5s ease-in-out infinite;
}

.txt-teal-10 {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.flex-col-10 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flex-jc-center-mb-15 {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.page-section-max1200 {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-header-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-dim);
}

.mb-20 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.flex-col-11 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flex-jc-center-3 {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    align-items: stretch;
}

.svg-logo-md {
    width: 90px;
    height: auto;
}

.mb-35-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-bottom: 35px;
}

.flex-jc-center-ai-center-1 {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 255, 0.02);
    border: 1px dashed rgba(0, 242, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.txt-teal-11 {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    box-shadow: var(--glow-teal);
    line-height: 1.3;
}

.flex-col-grow-280 {
    flex: 1;
    min-width: 280px;
}

.txt-muted-8 {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.txt-muted-mb-30-1 {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: var(--text-base);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.txt-center-mt-20-1 {
    text-align: center;
    color: var(--text-dim);
    font-size: var(--text-xs);
    margin-top: -32px;
    font-style: italic;
    margin-bottom: 0;
}

.txt-center-mb-50 {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.txt-amber-11 {
    color: var(--accent-amber);
}

.flex-jc-center-margin-sm {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 20px;
}

.box-amber {
    width: 100%;
    padding: 16px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-weight: bold;
    letter-spacing: 0.1em;
}

.mt-15-2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-top: 16px;
}

.flex-jc-center-mb-40 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    font-family: var(--font-display);
}

.txt-amber-mb-60 {
    padding: 40px;
    margin-bottom: 60px;
}

.txt-teal-12 {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    color: var(--accent-teal);
    font-weight: bold;
}

.txt-teal-13 {
    color: var(--accent-teal);
}

.flex-ai-center-1 {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-display);
    font-weight: bold;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.flex-col-12 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    box-sizing: border-box;
}

.txt-muted-mb-4 {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.txt-teal-14 {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--accent-teal);
    font-size: var(--text-base);
    letter-spacing: 0.03em;
}

.flex-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.txt-center-txt-muted-mb-35-1 {
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 35px;
    max-width: 800px;
}

.position-relative {
    position: relative;
}

.txt-muted-9 {
    text-align: left;
    margin: 0 0 24px 0;
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    padding: 0;
    list-style: none;
}

.txt-teal-15 {
    position: absolute;
    color: var(--accent-teal);
    font-size: var(--text-xs);
    font-family: var(--font-ui);
    font-weight: bold;
    letter-spacing: 2px;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.txt-center-mt-20-2 {
    margin-top: -32px;
    font-size: var(--text-sm);
    color: var(--text-dim);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 0;
}

.terminal-cursor-pulse {
    color: #ff2255;
    animation: pulse 1.5s infinite;
}

.txt-teal-16 {
    color: var(--accent-teal);
    font-weight: bold;
}

.mb-8 {
    margin-bottom: 8px;
}

.txt-center-mb-25-1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--border-dim);
    padding-bottom: 8px;
    text-align: center;
}

.glow-effect-5 {
    filter: drop-shadow(0 0 3px rgba(230, 149, 53, 0.5));
}

.flex-jc-center-4 {
    display: flex;
    justify-content: center;
    margin: 40px 0 32px 0;
}

.txt-teal-17 {
    border-color: var(--accent-teal);
    padding: clamp(48px, 6vw, 60px) clamp(16px, 4vw, 40px) 40px clamp(16px, 4vw, 40px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
}

.flex-mb-60 {
    padding: 40px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    background: rgba(255, 34, 85, 0.02);
}

.flex-jc-center-5 {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.txt-amber-12 {
    padding: 16px 40px;
    font-weight: bold;
    margin-bottom: 0;
    display: inline-block;
}

.cta-center-container {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.txt-center-mb-35 {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 35px;
    max-width: 100%;
}

.mt-20-1 {
    border-top: 2px solid var(--accent-teal);
    padding-top: 16px;
    margin-top: 20px;
}

.terminal-teal-bold {
    color: var(--accent-teal);
    font-weight: bold;
}

.txt-teal-mb-60 {
    padding: 40px;
    margin-bottom: 60px;
}

.font-main-bold {
    color: var(--text-main);
    font-size: var(--text-base);
    font-weight: bold;
}

.b2b-info-col {
    flex: 1.2;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
}

.flex-col-13 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.txt-center-mb-30-1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-main);
}

.txt-teal-18 {
    margin-right: 24px;
    flex-shrink: 0;
    color: var(--accent-teal);
    opacity: 0.95;
}

.txt-amber-13 {
    color: var(--accent-amber);
    font-weight: bold;
}

.txt-center-mb-15-mt-0 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-main);
    margin-top: 0px;
    margin-bottom: 16px;
    text-transform: none;
    text-align: center;
}

.mb-4 {
    border-bottom: 1px dashed var(--border-dim);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.glow-effect-6 {
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.4));
}

.flex-3 {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.b2b-features-wrapper {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 34, 85, 0.4);
    background: rgba(255, 34, 85, 0.03);
    position: relative;
    margin-top: 20px;
    border-radius: var(--radius-md);
    padding: 24px;
    gap: 20px;
}

.calc-white-label-sm {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: bold;
}

.txt-center-mt-40 {
    margin-top: 40px;
    text-align: center;
}

.txt-teal-19 {
    color: var(--accent-teal);
    font-size: 1.05rem;
}

.txt-center-3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 20px 0;
    text-align: center;
    text-transform: none;
}

.txt-center-txt-muted-mb-25 {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-subheading-h3 {
    margin: 16px 0;
    font-size: 1.2rem;
}

.partner-logos-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.btn-amber-full {
    width: 100%;
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    background: rgba(230, 149, 53, 0.05);
    margin-top: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.flex-center-y-margin-lg {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 32px;
}

.flex-ai-center-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.flex-column-header {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.glow-effect-7 {
    filter: drop-shadow(0 0 5px rgba(230, 149, 53, 0.5));
}

.txt-center-mb-40-1 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 900;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.txt-center-4 {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(230, 149, 53, 0.03);
    text-align: center;
}

.txt-amber-mb-15 {
    color: var(--accent-amber);
    font-family: var(--font-ui);
    margin-bottom: 16px;
}

.hero-lead-text {
    font-size: 1.15rem;
    font-family: var(--font-display);
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.txt-muted-mt-15 {
    margin-top: 16px;
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
}

.txt-muted-mb-25-1 {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    line-height: 1.5;
    margin-bottom: 24px;
}

.txt-center-txt-amber-mb-20 {
    font-family: var(--font-ui);
    font-weight: bold;
    color: var(--accent-amber);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.section-cta-group .cta-button {
    margin-top: 16px;
}

.video-cover-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex-col-14 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: var(--text-base);
}

.txt-center-5 {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 255, 0.03);
    text-align: center;
}

.mb-25 {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.callout-amber-box {
    background: rgba(230, 149, 53, 0.05);
    border: 1px solid var(--border-teal-dim);
    padding: 24px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.txt-amber-14 {
    color: var(--accent-amber);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: bold;
    cursor: pointer;
}

.terminal-fatal-badge {
    font-weight: bold;
    background: #ff2255;
    padding: 0 8px;
    display: inline-block;
    margin: 4px 0;
}

.flex-center-y-margin-md {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.ai-center-txt-amber-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-amber);
    text-decoration: none;
    font-size: var(--text-sm);
    font-family: var(--font-ui);
    font-weight: bold;
    background: rgba(230, 149, 53, 0.05);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-amber);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.glow-effect-8 {
    filter: drop-shadow(0 0 8px rgba(230, 149, 53, 0.5));
}

.txt-teal-mb-15 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.jc-center-ai-center-txt-amber {
    margin-bottom: 0;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flex-4 {
    border: 1px solid var(--border-dim);
    padding: 12px 16px;
    background: var(--bg-obsidian);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: var(--radius-sm);
    gap: 8px;
    box-sizing: border-box;
}

.form-card-container {
    border: 1px solid var(--border-dim);
    padding: 12px;
    background: var(--bg-obsidian);
    font-family: var(--font-ui);
    border-radius: var(--radius-sm);
}

.txt-teal-20 {
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: bold;
    color: var(--accent-teal);
    outline: none;
}

.badge-danger-border {
    color: #ff2255;
    border-color: #ff2255;
}

.txt-center-mb-20 {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    margin-bottom: 20px;
    text-align: center;
    text-transform: none;
}

.txt-amber-15 {
    font-family: var(--font-ui);
    font-size: var(--text-base);
    color: var(--accent-amber);
    font-weight: bold;
}

.spin-core-junior {
    animation: spinCoreJunior 15s linear forwards;
    transform-origin: 100px 35px;
}

.form-fields-hidden {
    display: none;
    width: 100%;
}

.flex-jc-center-mb-25 {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.txt-muted-10 {
    color: var(--text-muted);
    font-size: var(--text-base);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.5;
}

.txt-center-mb-25-2 {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.mb-15-2 {
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.3));
    display: inline-block;
}

.mt-40 {
    margin-top: 40px;
}

.mb-15-3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-transform: none;
}

.flex-col-ai-center-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.txt-amber-16 {
    margin-bottom: 0;
    font-weight: bold;
    min-width: 280px;
}

.txt-muted-11 {
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: var(--text-base);
}

.glow-effect-9 {
    filter: drop-shadow(0 0 12px rgba(255, 170, 0, 0.3));
}

.txt-amber-17 {
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: 1.2rem;
    margin: 0;
}

.flex-ai-center-3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-xs);
    cursor: pointer;
    margin: 0;
}

.txt-muted-12 {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: var(--text-base);
    margin-bottom: 0;
    line-height: 1.6;
}

.txt-amber-18 {
    padding: 16px 32px;
    font-weight: bold;
    margin-bottom: 0;
    display: inline-block;
}

.blend-screen-mode {
    mix-blend-mode: screen;
}

.txt-center-6 {
    font-size: var(--font-size-h2);
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.mb-10-2 {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.modal-body-container {
    max-width: 800px;
    width: 100%;
    padding: 40px;
    text-align: left;
    position: relative;
}

.txt-center-mb-15 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

.mb-15-4 {
    margin-bottom: 16px;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: var(--bg-obsidian);
}

.flex-ai-center-mt-40 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.txt-teal-mb-12 {
    font-family: var(--font-display);
    font-size: var(--font-size-h1);
    font-weight: 900;
    color: var(--accent-teal);
    line-height: 1.1;
    margin-bottom: 12px;
}

.step-title-h3 {
    margin: 8px 0 16px 0;
}

.flex-col-15 {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.txt-center-txt-amber-mb-0 {
    padding: 40px;
    margin-bottom: 0px;
    text-align: center;
    background: rgba(230, 149, 53, 0.05);
}

.txt-teal-mb-15-1 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    margin-bottom: 16px;
}

.txt-teal-21 {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    padding: 4px 16px;
    font-size: var(--text-xs);
}

.txt-teal-22 {
    width: 100%;
    accent-color: var(--accent-teal);
    cursor: pointer;
}

.ai-center {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0077B5;
    text-decoration: none;
    font-size: var(--text-base);
    font-family: var(--font-display);
    background: rgba(0, 119, 181, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 119, 181, 0.3);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mb-8-1 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-main);
    margin-bottom: 8px;
}

.badge-dim-border {
    border-color: var(--border-dim);
    padding: 8px 20px;
    font-size: var(--text-xs);
    margin-bottom: 0;
}

.txt-muted-13 {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.5;
    margin: 0;
}

.bracket-corner-tr {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--accent-teal);
    border-top: 2px solid var(--accent-teal);
}

.input-field-styled {
    width: 100%;
    background: var(--bg-obsidian);
    color: var(--text-main);
    border: 1px solid var(--border-dim);
    padding: 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    outline: none;
}

.txt-center-mt-25 {
    position: relative;
    margin-top: 24px;
    border: 1px solid var(--border-teal-dim);
    padding: 40px 32px 32px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 255, 0.03);
    text-align: center;
}

.methodology-outcome-box {
    padding: 24px 32px 20px;
}

.grid-col-span-full {
    grid-column: 1 / -1;
}

.txt-center-mb-20-1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.flex-col-txt-center-2 {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    border: 1px solid var(--border-teal-dim);
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(230, 149, 53, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.txt-teal-23 {
    color: var(--accent-teal);
    font-family: var(--font-ui);
    font-size: 0.8rem;
}

.mb-20-1 {
    margin-bottom: 20px;
}

.glow-effect-10 {
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.5));
}

.terminal-text-dim {
    color: rgba(255, 255, 255, 0.7);
}

.txt-teal-mb-60-1 {
    padding: 40px;
    margin-bottom: 60px;
    width: 100%;
}


/* =========================================================
   8. COMPONENTES: LOGOTIPO CINEMATICO ADATECH
   ========================================================= */

@keyframes igniteTopSpark {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--accent-amber)) drop-shadow(0 0 16px var(--accent-teal));
        fill: #FFFFFF;
    }

    50% {
        opacity: 0.95;
        filter: drop-shadow(0 0 28px #FFFFFF) drop-shadow(0 0 45px var(--accent-amber)) drop-shadow(0 0 60px var(--accent-teal));
        fill: #FFFFFF;
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--accent-amber)) drop-shadow(0 0 16px var(--accent-teal));
        fill: #FFFFFF;
    }
}

@keyframes igniteBranchSpark {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--accent-teal)) drop-shadow(0 0 16px var(--accent-amber));
        fill: #FFFFFF;
    }

    50% {
        opacity: 0.95;
        filter: drop-shadow(0 0 28px #FFFFFF) drop-shadow(0 0 45px var(--accent-teal)) drop-shadow(0 0 60px var(--accent-amber));
        fill: #FFFFFF;
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--accent-teal)) drop-shadow(0 0 16px var(--accent-amber));
        fill: #FFFFFF;
    }
}

@keyframes igniteTopAura {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@keyframes igniteBranchAura {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* MODO HOME */
.ada-logo-home .robot-line {
    stroke-dasharray: 480;
    stroke-dashoffset: 480;
    opacity: 0;
    animation: snapVisible 0.01s 0.2s forwards, drawPath 1.2s 0.2s ease-out forwards;
}

.ada-logo-home .genesis-point {
    opacity: 0;
    animation: fadeVisible 0.6s 1.4s ease-in-out forwards;
}

.ada-logo-home .human-stem {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    opacity: 0;
    animation: snapVisible 0.01s 1.8s forwards, drawPath 1.6s 1.8s ease-in-out forwards;
}

.ada-logo-home .top-spark {
    opacity: 0;
    animation: fadeVisible 0.6s 3.4s ease-in-out forwards;
}

.ada-logo-home .top-aura {
    opacity: 0;
    animation: fadeVisible 0.6s 3.4s ease-in-out forwards;
}

.ada-logo-home .human-branch {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    opacity: 0;
    animation: snapVisible 0.01s 3.5s forwards, drawPath 1.1s 3.5s ease-out forwards;
}

.ada-logo-home .branch-spark {
    opacity: 0;
    animation: fadeVisible 0.6s 4.6s ease-in-out forwards;
}

.ada-logo-home .branch-aura {
    opacity: 0;
    animation: fadeVisible 0.6s 4.6s ease-in-out forwards;
}

.ada-logo-home .text-layer {
    opacity: 0;
    animation: fadeVisible 1.2s 4.8s ease-in-out forwards;
}

@keyframes fadeVisible {
    to {
        opacity: 0.95;
    }
}

@keyframes snapVisible {
    to {
        opacity: 1;
    }
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes reveal-spark {
    to {
        opacity: 1;
    }
}

/* MODO HEADER */
.ada-logo-header .robot-line {
    stroke-dasharray: 480;
    stroke-dashoffset: 480;
    animation: loopDrawRobot 8s ease-out forwards;
}

.ada-logo-header .genesis-point {
    opacity: 0;
    animation: loopFadeGenesis 8s ease-in-out forwards;
}

.ada-logo-header .human-stem {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    opacity: 0;
    animation: loopDrawStem 8s ease-in-out forwards;
}

.ada-logo-header .human-branch {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    opacity: 0;
    animation: loopDrawBranch 8s ease-out forwards;
}

.ada-logo-header .top-spark {
    opacity: 0;
    animation: headerLoopTopSpark 8s ease-in-out forwards;
}

.ada-logo-header .branch-spark {
    opacity: 0;
    animation: headerLoopBranchSpark 8s ease-in-out forwards;
}

.ada-logo-header .top-aura {
    opacity: 0;
    animation: headerLoopTopAura 8s ease-in-out forwards;
}

.ada-logo-header .branch-aura {
    opacity: 0;
    animation: headerLoopBranchAura 8s ease-in-out forwards;
}

@keyframes loopDrawRobot {
    0% {
        stroke-dashoffset: 480;
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    18%,
    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    95%,
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes loopFadeGenesis {

    0%,
    15% {
        opacity: 0;
    }

    20%,
    85% {
        opacity: 1;
    }

    95%,
    100% {
        opacity: 1;
    }
}

@keyframes loopDrawStem {

    0%,
    20% {
        stroke-dashoffset: 500;
        opacity: 0;
    }

    21% {
        opacity: 1;
    }

    40%,
    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    95%,
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes loopDrawBranch {

    0%,
    42% {
        stroke-dashoffset: 220;
        opacity: 0;
    }

    43% {
        opacity: 1;
    }

    55%,
    85% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    95%,
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes headerLoopTopSpark {

    0%,
    39% {
        opacity: 0;
        filter: drop-shadow(0 0 0px transparent);
    }

    40% {
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--accent-amber)) drop-shadow(0 0 10px var(--accent-teal));
        fill: #FFFFFF;
    }

    55% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px #FFFFFF) drop-shadow(0 0 35px var(--accent-amber));
        fill: #FFFFFF;
    }

    70% {
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--accent-amber)) drop-shadow(0 0 10px var(--accent-teal));
        fill: #FFFFFF;
    }

    85% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px #FFFFFF) drop-shadow(0 0 35px var(--accent-amber));
        fill: #FFFFFF;
    }

    95%,
    100% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px #FFFFFF) drop-shadow(0 0 35px var(--accent-amber));
        fill: #FFFFFF;
    }
}

@keyframes headerLoopBranchSpark {

    0%,
    54% {
        opacity: 0;
        filter: drop-shadow(0 0 0px transparent);
    }

    55% {
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--accent-teal)) drop-shadow(0 0 10px var(--accent-amber));
        fill: #FFFFFF;
    }

    70% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px #FFFFFF) drop-shadow(0 0 32px var(--accent-teal));
        fill: #FFFFFF;
    }

    85% {
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--accent-teal)) drop-shadow(0 0 10px var(--accent-amber));
        fill: #FFFFFF;
    }

    95%,
    100% {
        opacity: 0.95;
        filter: drop-shadow(0 0 20px #FFFFFF) drop-shadow(0 0 32px var(--accent-teal));
        fill: #FFFFFF;
    }
}

@keyframes headerLoopTopAura {

    0%,
    39% {
        opacity: 0;
    }

    40% {
        opacity: 0.45;
    }

    62% {
        opacity: 0.95;
    }

    85% {
        opacity: 0.45;
    }

    95%,
    100% {
        opacity: 0.45;
    }
}

@keyframes headerLoopBranchAura {

    0%,
    54% {
        opacity: 0;
    }

    55% {
        opacity: 0.45;
    }

    70% {
        opacity: 0.95;
    }

    85% {
        opacity: 0.45;
    }

    95%,
    100% {
        opacity: 0.45;
    }
}

/* IMPRENTA Y MODO CLARO (PAPEL BLANCO) */
@media print {

    .human-stem,
    .human-branch {
        stroke: #C26A1B !important;
    }

    .robot-line {
        stroke: #0284C7 !important;
    }

    .genesis-point {
        fill: #C26A1B !important;
    }

    .top-spark,
    .branch-spark {
        fill: #FFFFFF !important;
        stroke: none !important;
        opacity: 1 !important;
    }

    .text-layer text {
        fill: #0F172A !important;
        opacity: 1 !important;
    }
}

body.light-mode .ada-logo-svg .human-stem,
body.light-mode .ada-logo-svg .human-branch {
    stroke: #C26A1B !important;
}

body.light-mode .ada-logo-svg .robot-line {
    stroke: #0284C7 !important;
}

body.light-mode .ada-logo-svg .genesis-point {
    fill: #C26A1B !important;
}

body.light-mode .ada-logo-svg .top-spark,
body.light-mode .ada-logo-svg .branch-spark {
    fill: #FFFFFF !important;
    stroke: none !important;
}

body.light-mode .ada-logo-svg .text-layer text {
    fill: #0F172A !important;
}

/* =========================================================
   9. VISTAS: FORMULARIO DE REGISTRO
   ========================================================= */

@keyframes transmit-pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 5px currentColor);
    }

    100% {
        opacity: 0.4;
    }
}

#kiosk-lead-form input,
#kiosk-lead-form select {
    border-radius: var(--radius-sm);
}

#kiosk-lead-form input:focus,
#kiosk-lead-form select:focus {
    outline: none;
    box-shadow: 0 0 0 1px var(--accent-teal) !important;
    border-color: var(--accent-teal) !important;
}

#kiosk-lead-form input.human-data:focus {
    box-shadow: 0 0 0 1px var(--accent-amber) !important;
    border-color: var(--accent-amber) !important;
}

/* =========================================================
   10. AUDITORÍA DE ACCESIBILIDAD Y LIGHT MODE FIXES
   ========================================================= */

/* A. Clases de Feedback de Formularios (Éxito) */
.success-border {
    border-color: #10B981 !important;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.08) !important;
}

.success-title {
    color: #10B981 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 2rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 8px !important;
}

/* E. Placeholders Accesibles */
::placeholder {
    color: #64748B;
    opacity: 0.8;
}

/* F. Objetivos Tactiles (Hamburger) */
@media (max-width: 768px) {
    .hamburger-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================================================
   10. RANGE SLIDERS PREMIUM
   ========================================================================== */
input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    margin: 8px 0;
}

input[type="range"]:focus {
    outline: none;
}

/* TRACK */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* THUMB */
input[type="range"]::-webkit-slider-thumb {
    border: 2px solid var(--accent-teal);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--bg-obsidian);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    box-shadow: var(--glow-teal);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* MOZILLA */
input[type="range"]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
}

input[type="range"]::-moz-range-thumb {
    border: 2px solid var(--accent-teal);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--bg-obsidian);
    cursor: pointer;
    box-shadow: var(--glow-teal);
}

/* AMBER SLIDER (e.g. .txt-amber-1) */
input[type="range"].txt-amber-1::-webkit-slider-thumb {
    border-color: var(--accent-amber);
    box-shadow: var(--glow-amber);
}

input[type="range"].txt-amber-1::-moz-range-thumb {
    border-color: var(--accent-amber);
    box-shadow: var(--glow-amber);
}

.badge-inline {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: inline-block;
    margin-bottom: 16px;
}

/* ==========================================================================
   11. MODALS & FORMS (SEMANTIC REFACTOR)
   ========================================================================== */

/* Modals - Físicas Espaciales de Elevación (Plan Cinético Tarea 4) */
.modal-backdrop,
.modal-backdrop-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: modalBackdropFadeIn 0.25s ease-out forwards;
}

.modal-backdrop-dark {
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
}

.modal-card-legal,
.modal-card-fundae,
.modal-backdrop .terminal-card,
.modal-backdrop-dark .terminal-card {
    will-change: transform, opacity;
    animation: modalElevationIn 0.25s var(--ease-kinetic) forwards;
}

.modal-card-legal {
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 20px;
    border-color: var(--accent-teal);
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    box-sizing: border-box;
}

.modal-card-fundae {
    min-width: 0;
    max-width: 900px;
    width: 100%;
    padding: 40px;
    border-color: var(--accent-amber);
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: stretch;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@keyframes modalBackdropFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes modalElevationIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-dim);
    padding-bottom: 12px;
    margin-bottom: 20px;
    width: 100%;
    position: sticky;
    top: 0;
    background: var(--bg-obsidian);
    z-index: 2;
}

.modal-header-static {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-dim);
    padding-bottom: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.modal-title-amber {
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    font-weight: bold;
}

.modal-close-btn-teal {
    background: transparent;
    color: var(--accent-teal);
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-family: var(--font-ui);
    padding: 4px 8px;
}

.modal-close-btn-amber {
    background: transparent;
    color: var(--accent-amber);
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-family: var(--font-ui);
    font-weight: bold;
}

.modal-content-text {
    font-family: var(--font-display);
    font-size: var(--text-base);
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}

.modal-content-list {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: var(--text-base);
    line-height: 1.6;
    text-align: left;
    margin-bottom: 32px;
    padding-left: 20px;
}

.modal-content-list li {
    margin-bottom: 8px;
}

.modal-footer-sticky {
    text-align: right;
    width: 100%;
    position: sticky;
    bottom: 0;
    background: var(--bg-obsidian);
    padding-top: 8px;
    border-top: 1px solid var(--border-dim);
}

.modal-cta-full {
    padding: 12px 32px;
    margin-bottom: 0;
    font-size: var(--text-sm);
    width: 100%;
}

.modal-cta-fundae {
    padding: 8px 24px;
    margin-bottom: 0;
    font-size: var(--text-sm);
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    background: rgba(230, 149, 53, 0.05);
}

/* Fundae Table */
.fundae-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-align: center;
}

.fundae-table-wrapper {
    display: block;
    width: 100%;
    align-self: stretch;
    flex-shrink: 0;
    min-height: 200px;
    overflow-x: auto;
    margin-bottom: 32px;
    border: 1px solid var(--border-dim);
    background: var(--bg-obsidian);
    -webkit-overflow-scrolling: touch;
}

.fundae-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-width: 800px;
    text-align: left;
    font-size: var(--text-base);
}

.fundae-grid-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-dim);
    color: var(--accent-amber);
    font-weight: bold;
    font-family: var(--font-ui);
}

.fundae-grid-cell {
    padding: 16px;
    border-bottom: 1px solid var(--border-dim);
}

.fundae-grid-cell-last {
    padding: 16px;
}

/* Forms */
.form-legal-error {
    color: var(--accent-amber);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    margin: 0;
}

.form-legal-error.critical {
    color: #ff2255;
}

.legal-notice-box {
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 16px;
    margin: 16px 0;
    background: rgba(0, 242, 255, 0.05);
    border-radius: var(--radius-sm);
}

.legal-notice-text {
    font-size: var(--text-xs);
    line-height: 1.4;
    font-family: var(--font-display);
    margin: 0;
}

.legal-notice-text.spaced {
    margin-bottom: 8px;
    margin-top: 0;
}

.legal-notice-input {
    width: 100%;
    margin-top: 8px;
    background: var(--bg-obsidian);
    border: 1px solid var(--border-dim);
    padding: 12px;
    color: var(--text-main);
    font-family: var(--font-ui);
    box-sizing: border-box;
    border-radius: var(--radius-sm);
}

.legal-notice-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-xs);
    cursor: pointer;
    font-family: var(--font-ui);
    margin: 0;
}

.legal-notice-checkbox {
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent-teal);
}

.form-success-workspace {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.form-success-card {
    padding: 40px;
}

.form-success-text {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    margin: 0;
}

.form-success-redirect {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-top: 20px;
}

.form-success-btn {
    margin-bottom: 0;
    margin-top: 20px;
    display: inline-block;
    font-size: 1rem;
    font-family: var(--font-ui);
}


/* ==========================================================================
   12. LIGHT MODE OVERRIDES (CENTRALIZED)
   ========================================================================== */

/* ==========================================================================
   1B. LIGHT MODE (PALETA DE ALTA ACCESIBILIDAD / PLANO TÉCNICO)
   ========================================================================== */
body.light-mode {
    --bg-void: #E2E8F0;
    /* Blanco laboratorio limpio */
    --bg-obsidian: #FFFFFF;
    /* Superficie cristalina pura */
    --bg-panel: rgba(15, 23, 42, 0.05);
    /* Cristal técnico sutil */
    --text-main: #0F172A;
    /* Negro carbón óptico de máxima nitidez */
    --text-muted: #334155;
    /* Gris pizarra oscuro para máxima accesibilidad (WCAG AAA) */
    --accent-teal: #007799;
    /* Cian industrial profundo de alto contraste */
    --accent-amber: #B45309;
    /* Ambar calizo con alto ratio de contraste */
    --border-dim: rgba(15, 23, 42, 0.22);
    /* Trazado técnico para blueprint */
}

/* Adaptaciones de Alta Accesibilidad para Modo Claro (Light Mode) en Calculadora e Formularios */
body.light-mode input[type="text"],
body.light-mode input[type="number"],
body.light-mode select {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}

body.light-mode input[type="text"]:focus,
body.light-mode input[type="number"]:focus,
body.light-mode select:focus {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 0 2px rgba(0, 119, 153, 0.2) !important;
}

body.light-mode input.calc-input-amber:focus,
body.light-mode input.calc-input-amber:hover {
    border-color: var(--accent-amber) !important;
    box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.2) !important;
}

body.light-mode select option {
    background-color: #FFFFFF;
    color: #0F172A;
}

body.light-mode .calc-white-label {
    color: var(--text-main);
}

body.light-mode .calc-input-panel {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
}

body.light-mode .calc-results-panel {
    background-color: rgba(0, 119, 153, 0.12);
    border-color: var(--accent-teal);
}

body.light-mode .punchline-box-amber {
    background-color: rgba(217, 119, 6, 0.14);
    border-color: var(--accent-amber);
}

body.light-mode .punchline-box-teal {
    background-color: rgba(0, 119, 153, 0.14);
    border-color: var(--accent-teal);
}

body.light-mode .calc-source-note {
    color: var(--text-muted);
}

/* Adaptación de sombras y resplandores en Modo Claro */
body.light-mode [class*="glow-effect"] {
    filter: none;
}

/* Eliminada regla nociva de anulación de stroke-width global en Light Mode */

body.light-mode .terminal-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    border-color: var(--border-dim);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .home-video-wrapper {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

body.light-mode #legal-terminal-modal .terminal-card {
    background: #FFFFFF;
    border-color: var(--accent-teal);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
}

body.light-mode #legal-terminal-modal .terminal-card div {
    background: #FFFFFF;
}

body.light-mode .hamburger-btn {
    color: var(--text-main);
}

body.light-mode .system-status-bar,
body.light-mode .app-header {
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    border-color: rgba(15, 23, 42, 0.12);
}

body.light-mode .theme-toggle-btn:hover {
    box-shadow: 0 0 10px rgba(0, 136, 168, 0.25);
}

body.light-mode .success-border {
    border-color: #15803D;
    box-shadow: none;
}

body.light-mode .success-title {
    color: #15803D;
}

/* B. Estados Focus y Hover de CTAs en Light Mode */
body.light-mode .cta-button:hover,
body.light-mode .cta-button:focus {
    background-color: rgba(180, 83, 9, 0.18);
    color: var(--accent-amber);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.15);
    text-shadow: none;
}



/* C. Bordes de Terminal Card en Light Mode */
body.light-mode .terminal-card {
    border-color: var(--border-dim);
}

/* D. Estado Bloqueado (.cooling-down) en Light Mode */
body.light-mode .cta-button.cooling-down {
    opacity: 1;
    background-color: #F1F5F9;
    border-color: #CBD5E1;
    color: #94A3B8;
}

body.light-mode ::placeholder {
    color: #475569;
    opacity: 1;
}

/* G. Diferenciación visual de botones primarios en Light Mode */
body.light-mode .cta-button {
    background-color: rgba(180, 83, 9, 0.08);
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

body.light-mode .btn-primary {
    background-color: var(--accent-teal);
    color: #FFFFFF;
    border-color: var(--accent-teal);
}

body.light-mode .btn-primary:hover,
body.light-mode .btn-primary:focus {
    background-color: #0088AA;
    color: #FFFFFF;
}

/* H. LED de Estado en Light Mode */
body.light-mode .status-led {
    background-color: #15803D;
    box-shadow: none;
}

/* H. Nav-btn en Light Mode */
body.light-mode .nav-btn:hover {
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.06);
}

body.light-mode input[type="range"]::-webkit-slider-runnable-track {
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Light Mode Overrides for Modals & Forms */
body.light-mode .modal-card-legal,
body.light-mode .modal-card-fundae,
body.light-mode .modal-header-sticky,
body.light-mode .modal-footer-sticky,
body.light-mode .fundae-table-wrapper {
    background: #FFFFFF;
}

body.light-mode .legal-notice-input {
    background: #FFFFFF;
    color: var(--text-main);
}

body.light-mode .legal-notice-box {
    background: rgba(0, 119, 153, 0.05);
}

/* ==========================================================================
   STATE SYSTEM: DISABLED (AUDIT ITEM 1)
   ========================================================================== */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
.cta-button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.nav-btn:disabled,
.disabled,
[disabled] {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    filter: grayscale(35%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease !important;
}

button:disabled:hover,
button:disabled:focus,
button:disabled:active,
input:disabled:hover,
input:disabled:focus,
select:disabled:hover,
select:disabled:focus,
textarea:disabled:hover,
textarea:disabled:focus,
.cta-button:disabled:hover,
.cta-button:disabled:focus,
.cta-button:disabled:active,
.btn-primary:disabled:hover,
.btn-primary:disabled:focus,
.btn-primary:disabled:active,
.btn-secondary:disabled:hover,
.btn-secondary:disabled:focus,
.btn-secondary:disabled:active,
.disabled:hover,
.disabled:focus,
.disabled:active,
[disabled]:hover,
[disabled]:focus,
[disabled]:active {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    filter: grayscale(35%) !important;
}

/* Light Mode Overrides for Disabled State */
body.light-mode button:disabled,
body.light-mode input:disabled,
body.light-mode select:disabled,
body.light-mode textarea:disabled,
body.light-mode .cta-button:disabled,
body.light-mode .btn-primary:disabled,
body.light-mode .btn-secondary:disabled,
body.light-mode .disabled,
body.light-mode [disabled] {
    opacity: 0.5 !important;
    background-color: rgba(0, 0, 0, 0.06) !important;
    color: #94A3B8 !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    filter: grayscale(50%) !important;
}

/* ==========================================================================
   STATE SYSTEM: ERROR & LOADING (AUDIT ITEM 2)
   ========================================================================== */

/* --- ERROR STATES --- */
.input-error,
input.error,
textarea.error,
select.error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 1px #EF4444, 0 0 12px rgba(239, 68, 68, 0.25) !important;
    animation: shake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.error-message,
.field-error-text {
    color: #EF4444;
    font-size: var(--text-xs);
    font-family: var(--font-ui);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- LOADING STATES --- */
.is-loading {
    position: relative !important;
    pointer-events: none !important;
    user-select: none !important;
    opacity: 0.85 !important;
}

button.is-loading,
.cta-button.is-loading,
.btn-primary.is-loading,
.btn-secondary.is-loading {
    color: transparent !important;
}

button.is-loading::after,
.cta-button.is-loading::after,
.btn-primary.is-loading::after,
.btn-secondary.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: spin-loading 0.6s linear infinite;
}

@keyframes spin-loading {
    to {
        transform: rotate(360deg);
    }
}

.is-loading.pulse-container,
.skeleton-loading {
    animation: pulse-loading 1.4s ease-in-out infinite;
}

@keyframes pulse-loading {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.85;
    }
}

/* Light Mode Overrides for Error & Loading */
body.light-mode .input-error,
body.light-mode input.error,
body.light-mode textarea.error,
body.light-mode select.error {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 1px #DC2626, 0 0 8px rgba(220, 38, 38, 0.2) !important;
}

body.light-mode button.is-loading::after,
body.light-mode .cta-button.is-loading::after,
body.light-mode .btn-primary.is-loading::after,
body.light-mode .btn-secondary.is-loading::after {
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent-teal);
}

/* ==========================================================================
   STATE SYSTEM: KEYBOARD ACCESSIBILITY (:FOCUS-VISIBLE) (AUDIT ITEM 3)
   ========================================================================== */

/* 1. Reset para enfoque por ratón (evita anillos desalineados en clics) */
:focus:not(:focus-visible) {
    outline: none !important;
}

/* 2. Anillo de foco cibernético global para navegación por teclado */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 2px var(--bg-obsidian), 0 0 0 4px var(--accent-teal), 0 0 12px rgba(0, 242, 255, 0.35) !important;
    transition: box-shadow 0.15s ease-in-out !important;
}

/* 3. Variante Amber para botones secundarios / elementos Amber */
.btn-secondary:focus-visible,
.calc-input-amber:focus-visible,
.hero-badge-amber:focus-visible {
    box-shadow: 0 0 0 2px var(--bg-obsidian), 0 0 0 4px var(--accent-amber), 0 0 12px rgba(230, 149, 53, 0.35) !important;
}

/* 4. Light Mode Overrides para :focus-visible */
body.light-mode button:focus-visible,
body.light-mode a:focus-visible,
body.light-mode input:focus-visible,
body.light-mode select:focus-visible,
body.light-mode textarea:focus-visible,
body.light-mode [tabindex]:focus-visible {
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0088AA, 0 0 8px rgba(0, 136, 170, 0.25);
}

body.light-mode .btn-secondary:focus-visible,
body.light-mode .calc-input-amber:focus-visible {
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #D97706, 0 0 8px rgba(217, 119, 6, 0.25);
}

/* ==========================================================================
   STATE SYSTEM: GLOBAL ACTIVE / PRESSED STATES (AUDIT ITEM 4)
   ========================================================================== */
.btn-primary:not(:disabled):active,
.btn-secondary:not(:disabled):active,
.cta-button:not(:disabled):active,
.nav-btn:not(:disabled):active,
.tab-btn:not(:disabled):active,
.tab-item:not(:disabled):active,
.program-tab:not(:disabled):active,
.modal-close-btn:not(:disabled):active,
button:not(:disabled):active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.08s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.08s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Light mode adjustments for active state shadow */
body.light-mode .btn-primary:not(:disabled):active,
body.light-mode .btn-secondary:not(:disabled):active,
body.light-mode .cta-button:not(:disabled):active,
body.light-mode .nav-btn:not(:disabled):active,
body.light-mode button:not(:disabled):active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   DYNAMIC HOVER ELEVATION: CARDS & CONTAINERS (AUDIT ITEM 5)
   ========================================================================== */
.terminal-card,
.program-card,
.feature-card,
.accordion-item,
.faq-item,
details,
.txt-center-4,
.txt-center-5,
.b2b-card,
.callout-amber-box,
.callout-teal-card,
.methodology-outcome-box {
    will-change: transform, box-shadow;
    transition: transform 0.2s var(--ease-kinetic), box-shadow 0.2s var(--ease-kinetic), border-color 0.2s ease !important;
}

/* ==========================================================================
   12. SISTEMA CINÉTICO Y FÍSICA DE INTERACCIÓN (KINETIC DESIGN SYSTEM)
   ========================================================================== */

/* Utility Classes para Comportamiento Cinemático Reutilizable */
.kinematic-card,
.terminal-card,
.glass-panel-card,
.program-card,
.b2b-card,
.feature-card,
.metric-card,
.info-card,
.flex-col-txt-center-1,
.flex-col-txt-center-2,
.txt-center-mt-25,
.flex-ai-center-mb-60,
.punchline-box-amber,
.punchline-box-teal,
.callout-amber-box,
.callout-teal-card,
.methodology-outcome-box,
.card-grid-2col>.flex-ai-center,
.kiosk-workspace .card,
.card {
    will-change: transform, box-shadow;
    transition: transform 0.2s var(--ease-kinetic), box-shadow 0.2s var(--ease-kinetic), border-color 0.2s ease !important;
}

.kinematic-card:hover,
.terminal-card:hover,
.glass-panel-card:hover,
.program-card:hover,
.b2b-card:hover,
.feature-card:hover,
.metric-card:hover,
.info-card:hover,
.accordion-item:hover,
.faq-item:hover,
.details:hover,
.txt-center-4:hover,
.txt-center-5:hover,
.flex-col-txt-center-1:hover,
.flex-col-txt-center-2:hover,
.txt-center-mt-25:hover,
.flex-ai-center-mb-60:hover,
.punchline-box-amber:hover,
.punchline-box-teal:hover,
.callout-amber-box:hover,
.callout-teal-card:hover,
.methodology-outcome-box:hover,
.card-grid-2col>.flex-ai-center:hover,
.card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-teal) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.25) !important;
}

/* Light mode overrides para hover de contenedores/tarjetas */
body.light-mode .kinematic-card:hover,
body.light-mode .terminal-card:hover,
body.light-mode .program-card:hover,
body.light-mode .b2b-card:hover,
body.light-mode .feature-card:hover,
body.light-mode .metric-card:hover,
body.light-mode .info-card:hover,
body.light-mode .accordion-item:hover,
body.light-mode .faq-item:hover,
body.light-mode details:hover,
body.light-mode .txt-center-4:hover,
body.light-mode .txt-center-5:hover,
body.light-mode .flex-col-txt-center-1:hover,
body.light-mode .flex-col-txt-center-2:hover,
body.light-mode .txt-center-mt-25:hover,
body.light-mode .flex-ai-center-mb-60:hover,
body.light-mode .punchline-box-amber:hover,
body.light-mode .punchline-box-teal:hover,
body.light-mode .card-grid-2col>.flex-ai-center:hover,
body.light-mode .card:hover {
    border-color: rgba(0, 136, 170, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 0 12px rgba(0, 136, 170, 0.15);
}

/* Botones y Elementos de Acción */
.kinematic-button,
button,
.btn-primary,
.btn-secondary,
.cta-button,
.nav-btn,
.modal-close-btn,
.tab-btn {
    transition: transform 0.2s var(--ease-kinetic), box-shadow 0.2s var(--ease-kinetic), opacity 0.2s ease, filter 0.2s ease !important;
}

.kinematic-button:not(:disabled):not(.is-loading):hover,
button:not(:disabled):not(.is-loading):hover,
.btn-primary:not(:disabled):not(.is-loading):hover,
.btn-secondary:not(:disabled):not(.is-loading):hover,
.cta-button:not(:disabled):not(.is-loading):hover,
.nav-btn:not(:disabled):not(.is-loading):hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Entradas de Formulario */
.kinematic-input,
input,
select,
textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

input:not(:disabled):focus,
select:not(:disabled):focus,
textarea:not(:disabled):focus {
    box-shadow: 0 0 0 2px var(--bg-obsidian), 0 0 12px rgba(0, 242, 255, 0.25) !important;
}

body.light-mode input:not(:disabled):focus,
body.light-mode select:not(:disabled):focus,
body.light-mode textarea:not(:disabled):focus {
    box-shadow: 0 0 0 2px #FFFFFF, 0 0 8px rgba(0, 136, 170, 0.2) !important;
}

/* Pestañas y Controles de Selección */
.tab-btn,
.tab-item,
.program-tab,
.option-btn {
    transition: transform 0.15s ease, box-shadow 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease !important;
}

.tab-btn.active,
.tab-btn[aria-selected="true"],
.tab-item.active,
.tab-item[aria-selected="true"],
.program-tab.active,
.program-tab[aria-selected="true"],
.option-btn.active,
.option-btn[aria-selected="true"] {
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.25) !important;
}

body.light-mode .tab-btn.active,
body.light-mode .tab-btn[aria-selected="true"],
body.light-mode .tab-item.active,
body.light-mode .tab-item[aria-selected="true"],
body.light-mode .program-tab.active,
body.light-mode .program-tab[aria-selected="true"],
body.light-mode .option-btn.active,
body.light-mode .option-btn[aria-selected="true"] {
    text-shadow: 0 0 6px rgba(0, 119, 153, 0.3);
    box-shadow: 0 0 8px rgba(0, 136, 170, 0.2) !important;
}

/* Acordeones y Componentes Desplegables */
.faq-item summary,
.accordion-item summary,
details summary {
    cursor: pointer;
    transition: text-shadow 0.2s var(--ease-kinetic), opacity 0.2s ease, border-color 0.2s ease !important;
}

.faq-item:hover summary,
.accordion-item:hover summary,
details:hover summary {
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
    opacity: 0.95;
}

body.light-mode .faq-item:hover summary,
body.light-mode .accordion-item:hover summary,
body.light-mode details:hover summary {
    text-shadow: 0 0 6px rgba(0, 119, 153, 0.3);
}

.faq-answer,
.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-answer,
.accordion-content,
.txt-muted-7,
details>*:not(summary) {
    will-change: max-height, padding, opacity;
    transition: max-height 0.35s var(--ease-kinetic), padding 0.35s var(--ease-kinetic), opacity 0.25s ease-out;
}

/* Animaciones Cinemáticas de Desplazamiento Direccional */
.kinematic-slide-h,
.animate-slide-h,
.tab-content,
.tab-pane,
.tab-panel,
.subpanel-container,
.calc-results-panel {
    will-change: transform, opacity;
    animation: slideInRight 0.22s var(--ease-kinetic) forwards;
}

.kinematic-slide-v,
.animate-slide-v,
.faq-answer,
.accordion-content,
details[open]>summary+* {
    will-change: transform, opacity;
    animation: slideInUp 0.2s var(--ease-kinetic) forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enlaces de Texto Globales */
a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-button):not(.system-badge):not(.nav-btn) {
    transition: color 0.2s ease, text-shadow 0.2s ease, opacity 0.2s ease !important;
}

a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-button):not(.system-badge):not(.nav-btn):hover,
a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-button):not(.system-badge):not(.nav-btn):focus {
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.45);
    opacity: 0.92;
}

body.light-mode a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-button):not(.system-badge):not(.nav-btn):hover,
body.light-mode a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.cta-button):not(.system-badge):not(.nav-btn):focus {
    text-shadow: 0 0 6px rgba(0, 119, 153, 0.35);
}