/* ==============================================================================
   MIA SYSTEMS AI — MOBILE-FIRST & ULTRA-LEGIBLE DESIGN SYSTEM (2026)
   Typography: Plus Jakarta Sans (Headings) + Inter (Body Copy) — High Optical Comfort
   Aesthetic: Dark Obsidian, Sapphire Ambient Glow, Tactile iPhone Simulator
   ============================================================================== */

:root {
    --bg-base: #080C14;
    --bg-darker: #05080E;
    --bg-card: rgba(16, 24, 40, 0.75);
    --bg-card-hover: rgba(24, 36, 60, 0.85);
    --bg-phone: #0A0F1D;
    
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-card: rgba(255, 255, 255, 0.14);
    --border-focus: rgba(37, 99, 235, 0.45);
    
    --text-white: #FFFFFF;
    --text-body: #E2E8F0;
    --text-muted: #A0ABC0;
    --text-dim: #718096;
    
    --primary: #2563EB;
    --primary-light: #60A5FA;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --emerald: #10B981;
    --emerald-light: #34D399;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    
    /* Tipografía de Máxima Legibilidad */
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    
    --shadow-luxury: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
    --shadow-phone: 0 35px 80px -20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(37, 99, 235, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.4) #080C14;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Custom Scrollbars Globales para Zoom y Scroll Suave */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #080C14;
}

::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.65);
}

body.mobile-optimized-body {
    background-color: var(--bg-base);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px; /* Espacio para sticky bar */
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Ambient Glowing Orbs (Contenidos dentro de la pantalla) */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    max-width: 100vw;
    overflow: hidden;
}

.orb-top {
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(8, 12, 20, 0) 70%);
}

.orb-bottom {
    top: 50%;
    right: 0;
    width: min(500px, 80vw);
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(8, 12, 20, 0) 70%);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Top Enterprise Telemetry Ribbon (Estilo Linear / Apple 2026) */
.top-telemetry-ribbon {
    background: rgba(5, 8, 14, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 0;
    font-size: 0.78rem;
    color: #94A3B8;
    position: relative;
    z-index: 1001;
}

.ribbon-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ribbon-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

/* Navigation Bar — Sincronización Estricta 2026 */
.mobile-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(8, 12, 20, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 24px;
}

.brand-logo-clean {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-icon-gem {
    width: 28px;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3ClinearGradient id='gemGlow' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2300F2FE'/%3E%3Cstop offset='50%25' stop-color='%234FACFE'/%3E%3Cstop offset='100%25' stop-color='%236366F1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' rx='22' fill='%230A0F1D' stroke='%2300F2FE' stroke-width='2'/%3E%3Cpath d='M25 75 L25 28 L40 50 L50 64 L60 50 L75 28 L75 75 L63 75 L63 46 L53 62 L47 62 L37 46 L37 75 Z' fill='url(%23gemGlow)' filter='drop-shadow(0 0 6px %2300F2FE)'/%3E%3C/svg%3E") center/contain no-repeat;
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.45);
    flex-shrink: 0;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.78rem;
    color: #60A5FA;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.header-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-btn-text {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-btn-text:hover { color: #FFFFFF; }

.btn-pill-action {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-pill-action:active { transform: scale(0.96); }

/* Hero Split Grid (Desktop 2-Column Asymmetric Layout) */
.hero-split-section {
    padding: 50px 0 70px;
    position: relative;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.hero-content-left {
    text-align: left;
}

@media (max-width: 960px) {
    .hero-content-left {
        text-align: center;
    }
    .hero-content-left .main-readable-headline,
    .hero-content-left .readable-lead-text {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .dopamine-metrics-row {
        justify-content: center;
    }
}

.live-activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    color: #34D399;
    font-weight: 600;
    margin-bottom: 20px;
}

.pulse-emerald-dot {
    width: 9px;
    height: 9px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--emerald);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.35); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.main-readable-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-white);
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.highlight-emerald {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.readable-lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

.readable-lead-text strong {
    color: #FFFFFF;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563EB 0%, #10B981 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 46px;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.45);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    min-height: 46px;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Dopamine Metrics */
.dopamine-metrics-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dopamine-card {
    background: rgba(18, 26, 44, 0.7);
    border: 1px solid var(--border-subtle);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    min-width: 125px;
    text-align: center;
}

.d-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #34D399;
    line-height: 1.1;
}

.d-txt {
    font-size: 0.76rem;
    color: var(--text-dim);
    margin-top: 4px;
    font-weight: 600;
}

/* Floating iPhone Bezel Simulator (Esbelto, Vertical y 3D Card Tilt) */
.hero-phone-right {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1200px;
}

.mobile-phone-container {
    width: 100%;
    max-width: 380px; /* Proporción natural de smartphone */
    margin: 0 auto;
    perspective: 1200px;
}

.phone-device-bezel {
    background: var(--bg-phone);
    border: 3.5px solid #1E293B;
    outline: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 42px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(37, 99, 235, 0.2);
    overflow: hidden;
    text-align: left;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.phone-device-bezel:hover {
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.98), 0 0 50px rgba(16, 185, 129, 0.35);
}

/* Subtle Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
}

/* Enterprise Real-Time Telemetry Bar */
.telemetry-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 8px 18px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: 0 auto 28px;
    max-width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
}

.telemetry-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #94A3B8;
}

.telemetry-item strong {
    color: #FFFFFF;
}

.telemetry-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: pulseDot 2s infinite;
}

/* Conic Border Laser Animation */
.conic-glow-card {
    position: relative;
    background: rgba(16, 24, 40, 0.85);
    border-radius: var(--radius-lg);
    padding: 2px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.conic-glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(37, 99, 235, 0.4), rgba(16, 185, 129, 0.6), transparent 30%);
    animation: rotateConic 6s linear infinite;
    z-index: 0;
}

.conic-card-inner {
    position: relative;
    background: rgba(10, 15, 29, 0.95);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 32px;
    z-index: 1;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

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

/* Tactile Dark Obsidian Glass Scenario Tabs */
.scenario-console-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(10, 15, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.scenario-tab-glass {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    margin-bottom: 10px;
}

.scenario-tab-glass:hover {
    transform: translateY(-2px) scale(1.01);
    background: rgba(24, 36, 60, 0.9);
}

.scenario-tab-glass.active-urgency, .scenario-tab-glass:hover.tab-urgency {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.scenario-tab-glass.active-high, .scenario-tab-glass:hover.tab-high {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.scenario-tab-glass.active-routine, .scenario-tab-glass:hover.tab-routine {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.tab-badge-pill {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* SVG Node Architecture Animation */
.svg-flow-path {
    stroke-dasharray: 8;
    animation: flowData 1.5s linear infinite;
}

@keyframes flowData {
    from { stroke-dashoffset: 32; }
    to { stroke-dashoffset: 0; }
}

.phone-dynamic-island {
    background: #000000;
    padding: 8px 16px;
    margin: 10px auto 4px;
    width: min(240px, 75%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(16, 185, 129, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.phone-dynamic-island:hover, .phone-dynamic-island.island-expanded {
    width: min(320px, 92%);
    background: #0A0F1D;
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(16, 185, 129, 0.35);
    padding: 10px 18px;
}

.island-camera {
    width: 10px;
    height: 10px;
    background: #1E293B;
    border: 2px solid #0F172A;
    border-radius: 50%;
    box-shadow: inset 0 0 4px #000;
}

.island-status {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #34D399;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
}

/* Audio Waveform Animation in Dynamic Island */
.island-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 14px;
}

.island-waveform span {
    width: 3px;
    background: #34D399;
    border-radius: 3px;
    animation: islandWave 1.2s infinite ease-in-out;
}

.island-waveform span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.island-waveform span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.island-waveform span:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.island-waveform span:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes islandWave {
    0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

.wa-chat-header {
    background: #075E54;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #128C7E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.avatar-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    border: 2px solid #075E54;
}

.wa-doctor-info h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 700;
}

.wa-doctor-info p {
    font-size: 0.75rem;
    color: #E2E8F0;
    opacity: 0.9;
}

.badge-verified {
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.wa-screen-body {
    padding: 20px 16px;
    height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #080D1A;
}

.wa-encryption-pill {
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-row {
    display: flex;
    width: 100%;
}
.wa-row-user { justify-content: flex-end; }
.wa-row-bot { justify-content: flex-start; }

.wa-bubble {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.45;
    position: relative;
}

.wa-bubble-user {
    background: #005C4B;
    color: #E9EDEF;
    border-bottom-right-radius: 4px;
}

.wa-bubble-bot {
    background: #202C33;
    color: #E9EDEF;
    border-bottom-left-radius: 4px;
}

.wa-bubble p {
    margin-bottom: 6px;
}

.wa-bubble p:last-of-type {
    margin-bottom: 0;
}

.wa-bubble-bot strong { color: #60A5FA; }

.wa-call-to-action {
    margin-top: 8px;
    font-weight: 600;
    color: #FFFFFF;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.wa-typing-bar {
    padding: 8px 16px;
    background: #111B21;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #34D399;
}

.typing-bouncing-dots {
    display: flex;
    gap: 4px;
}
.typing-bouncing-dots span {
    width: 6px;
    height: 6px;
    background: #34D399;
    border-radius: 50%;
    animation: bounceDot 1.4s infinite ease-in-out;
}
.typing-bouncing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-bouncing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-bouncing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

.wa-input-bottom, .wa-input-box {
    background: #202C33;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.wa-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.wa-form input, .wa-text-input {
    flex: 1;
    background: #2A3942;
    border: none;
    padding: 12px 16px;
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
}

.wa-btn-send, .wa-send-btn {
    width: 44px;
    height: 44px;
    background: #00A884;
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s;
    flex-shrink: 0;
}
.wa-btn-send:active, .wa-send-btn:active { transform: scale(0.92); }

/* Big Thumb Buttons */
.btn-primary-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
    transition: transform 0.15s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary-mobile:active {
    transform: scale(0.97);
}

.btn-glow-mobile {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.btn-full-width { width: 100%; }

.mobile-cta-box {
    margin-top: 30px;
}

.cta-micro-guarantee {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-top: 14px;
    font-weight: 500;
}

/* ROI Section */
.section-mobile-roi {
    padding: 80px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.roi-card-mobile {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-luxury);
}

.eyebrow-emerald {
    color: #34D399;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.title-h2-readable {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 12px;
}

.sub-readable {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.mobile-slider-wrap {
    margin-bottom: 30px;
}

.slider-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.slider-info-row label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.value-badge-emerald {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #34D399;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

input[type=range] {
    width: 100%;
    accent-color: var(--primary);
    height: 8px;
    cursor: pointer;
}

.roi-mobile-result-box {
    margin-top: 35px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
}

.result-label-top {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.result-number-giant {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: #34D399;
    line-height: 1.1;
    margin-bottom: 6px;
}

.result-annual-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.95rem;
    color: #60A5FA;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
}

/* Offer Section */
.section-mobile-offer {
    padding: 80px 0;
}

.mobile-offer-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    box-shadow: var(--shadow-luxury);
    text-align: center;
}

.offer-pill-badge {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.offer-title-readable {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.offer-prices-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 30px;
}

.chunk-val {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #FFFFFF;
}

.chunk-curr {
    font-size: 1rem;
    color: var(--text-muted);
}

.chunk-lbl {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.price-separator {
    font-size: 2rem;
    color: var(--primary-light);
    font-weight: 700;
}

.guarantee-shield-mobile {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    text-align: left;
}

.shield-icon { font-size: 1.8rem; }
.shield-text h4 { font-family: var(--font-heading); font-size: 1.05rem; color: #34D399; margin-bottom: 4px; }
.shield-text p { font-size: 0.92rem; color: var(--text-body); margin: 0; }

/* Sticky Action Bar on Mobile Only */
.mobile-sticky-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 12, 20, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-card);
    padding: 12px 20px;
    z-index: 999;
}

@media (max-width: 768px) {
    .mobile-sticky-action-bar {
        display: block;
    }
}

.sticky-bar-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-text-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: #FFFFFF;
}

.sticky-text-info span {
    font-size: 0.78rem;
    color: #34D399;
}

.btn-sticky-cta {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.15s;
}
.btn-sticky-cta:active { transform: scale(0.95); }

/* Footer */
.mobile-footer {
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content-mobile {
    text-align: center;
}

.footer-brand-readable p {
    font-size: 0.92rem;
    color: var(--text-dim);
    margin: 10px auto 20px;
    max-width: 450px;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-links-row a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.footer-links-row a:hover { color: #FFFFFF; }

.footer-copy-text {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-readable-headline { font-size: 2.2rem; }
    .readable-lead-text { font-size: 1.1rem; }
    .title-h2-readable { font-size: 1.8rem; }
    .offer-title-readable { font-size: 1.7rem; }
    .offer-prices-mobile { flex-direction: column; gap: 10px; }
    .price-separator { display: none; }
    .header-nav-links .nav-btn-text { display: none; }
    .header-nav-links { gap: 8px; }
    .btn-pill-action { padding: 8px 14px; font-size: 0.82rem; white-space: nowrap; }
    .roi-card-mobile, .mobile-offer-card { padding: 25px 18px; }
}


/* ==============================================================================
   MIA SYSTEMS LUXURY GOVERNANCE DESIGN SYSTEM 2026 — SCROLL & ZOOM ADAPTABILITY
   ============================================================================== */
.glass-card-table {
    background: rgba(16, 24, 40, 0.75) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.5) rgba(15, 23, 42, 0.6);
}

.glass-card-table::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.glass-card-table::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 4px;
}

.glass-card-table::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.4);
    border-radius: 4px;
}

.glass-card-table::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.7);
}

.gov-table {
    width: 100%;
    min-width: 780px; /* Asegura que la tabla mantenga legibilidad y active scroll horizontal en zoom o móvil */
    border-collapse: separate;
    border-spacing: 0;
    color: #E2E8F0;
}

.gov-table th {
    background: rgba(8, 12, 20, 0.9) !important;
    color: #94A3B8 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.gov-table td {
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    color: #CBD5E1 !important;
}

.gov-table tr:hover td {
    background: rgba(37, 99, 235, 0.06) !important;
    color: #FFFFFF !important;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}

.tag-blue {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #60A5FA !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

.tag-green {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #34D399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.tag-purple {
    background: rgba(168, 85, 247, 0.18) !important;
    color: #C084FC !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.kaizen-item {
    background: rgba(16, 24, 40, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 4px solid #10B981 !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6) !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.kaizen-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
}

.gov-banner-2026 {
    background: linear-gradient(135deg, rgba(16, 24, 40, 0.85) 0%, rgba(8, 12, 20, 0.95) 100%) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px !important;
    padding: 36px 44px !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8) !important;
}


/* ==============================================================================
   MIA SYSTEMS EXECUTIVE HERO HEADERS (2026 TIER-1)
   ============================================================================== */
.module-hero {
    padding: 60px 0 35px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto 30px;
}

.module-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 9999px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.module-badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulseDot 2s infinite;
}

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

.module-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.module-hero-title .gradient-text {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.module-hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

/* ==============================================================================
   VANGUARD 2026 BENTO GRID & SPOTLIGHT GLOW (ACETERNITY UI INSPIRATION)
   ============================================================================== */

.section-bento-grid {
    padding: clamp(60px, 5vw + 30px, 110px) 0;
    position: relative;
    z-index: 1;
}

.section-header-bento {
    margin-bottom: clamp(35px, 4vw, 55px);
}

.section-header-bento h2 {
    text-wrap: balance;
    font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem);
}

.section-header-bento p {
    text-wrap: pretty;
    max-width: 680px;
    margin: 12px auto 0;
}

.bento-container-grid {
    container: bento-section / inline-size;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px; /* Gutter = 1/2 del Inner Padding (36px) */
    max-width: 1140px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 36px 32px; /* Inner Padding base (P) */
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(500px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(37, 99, 235, 0.18), transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.25);
}

/* Anchor Cell: 1.75x más grande que las de soporte */
.bento-card-large {
    grid-column: span 7;
}

.bento-card-medium {
    grid-column: span 5;
}

@container bento-section (max-width: 860px) {
    .bento-card-large,
    .bento-card-medium {
        grid-column: span 12;
    }
}

@media (max-width: 900px) {
    .bento-card-large,
    .bento-card-medium {
        grid-column: span 12;
    }
}

.bento-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: #60A5FA;
    margin-bottom: 20px;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 22px;
}

.bento-tag-pill {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: #34D399;
}

.bento-visual-speed {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 15px;
}

.speed-bar-fill {
    height: 8px;
    width: 95%;
    background: linear-gradient(90deg, #10B981 0%, #3B82F6 100%);
    border-radius: 4px;
    margin-bottom: 10px;
    animation: pulseSpeed 3s infinite alternate;
}

@keyframes pulseSpeed {
    0% { width: 85%; opacity: 0.85; }
    100% { width: 98%; opacity: 1; }
}

.speed-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
}

.speed-labels span:first-child {
    color: #34D399;
}

.bento-stats-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.b-stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #94A3B8;
}

.b-stat span {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-right: 4px;
}

