/* ==========================================================================
   ACADEMIAQR - LANDING PAGE LIGHT LUXURY & AGILE ECOSYSTEM THEME
   Diseñado bajo el principio de "Cero Fricciones" · Ecosistema SOSQR & SUTZ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-brand: 'Quicksand', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Palette */
    --brand-primary: #005a9c;
    --brand-primary-dark: #003f6d;
    --brand-primary-light: #e0f2fe;
    --brand-bright: #0284c7;
    --brand-orange: #ff6600;
    --brand-orange-light: #fff7ed;
    --brand-purple: #800080;
    --brand-purple-light: #faf5ff;
    --brand-emerald: #10b981;
    --brand-emerald-light: #ecfdf5;
    --brand-gold: #d97706;

    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-subtle: #f1f5f9;
    --bg-card: #ffffff;

    /* Typography */
    --text-heading: #091322;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-focus: rgba(0, 90, 156, 0.25);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px -10px rgba(0, 90, 156, 0.12), 0 8px 16px -4px rgba(0, 90, 156, 0.06);
    --shadow-floating: 0 25px 50px -12px rgba(15, 23, 42, 0.12);

    --radius-pill: 9999px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.brand-font {
    font-family: var(--font-brand);
}

/* Background Soft Accents */
.bg-glow-orb {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-blue {
    background: radial-gradient(circle, #0284c7 0%, transparent 70%);
    top: -120px;
    right: -100px;
}

.glow-orange {
    background: radial-gradient(circle, #ff6600 0%, transparent 70%);
    top: 35%;
    left: -150px;
}

.glow-purple {
    background: radial-gradient(circle, #800080 0%, transparent 70%);
    bottom: 20%;
    right: -100px;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FLOATING NAVBAR
   ========================================================================== */
.navbar-wrapper {
    position: fixed;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 999;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(88, 138, 211, 0.28));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand-logo-img:hover {
    transform: scale(1.08) rotate(3deg);
}

.nav-brand-title {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.nav-brand-sub {
    font-size: 0.65rem;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.4rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-premium-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #ffffff !important;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 14px rgba(0, 90, 156, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 90, 156, 0.35);
    background: linear-gradient(135deg, var(--brand-bright), var(--brand-primary));
}

.btn-premium-orange {
    background: linear-gradient(135deg, var(--brand-orange), #ea580c);
    color: #ffffff !important;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.45);
}

.btn-premium-outline {
    background: #ffffff;
    color: var(--text-heading) !important;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.2s ease;
}

.btn-premium-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    transform: translateY(-2px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.tag-blue { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.tag-orange { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.tag-purple { background: #faf5ff; color: #7e22ce; border: 1px solid #f3e8ff; }
.tag-emerald { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.gradient-text-blue {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
    background: linear-gradient(135deg, var(--brand-orange), #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 9rem 0 5rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 980px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-body);
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-bottom: 3.8rem;
}

/* ==========================================================================
   SMARTPHONE MOCKUP CON ESCANEO QR INTERACTIVO
   ========================================================================== */
.hero-scanner-showcase {
    max-width: 1040px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-floating);
    position: relative;
}

.scanner-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.scanner-badge-live {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-heading);
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Selector de Pestañas Interactivas del Simulador */
.simulator-pills-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: var(--radius-pill);
    flex-wrap: wrap;
}

.sim-pill-btn {
    border: none;
    background: transparent;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sim-pill-btn:hover {
    color: var(--text-heading);
}

.sim-pill-btn.active {
    background: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Grid del Simulador: Carnet QR a la izquierda, Teléfono Desplegado a la derecha */
.simulator-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
    text-align: left;
}

/* Carnet Escolar QR (Tarjeta Física) */
.student-id-card-demo {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.id-card-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6600, #588ad3, #800080);
}

.id-card-school-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.id-card-qr-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    position: relative;
}

.qr-scan-line {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6600, transparent);
    box-shadow: 0 0 12px #ff6600;
    animation: qrLaser 2.2s infinite ease-in-out;
}

@keyframes qrLaser {
    0% { top: 15%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

/* Smartphone Mockup */
.phone-mockup-frame {
    background: #0f172a;
    border: 8px solid #1e293b;
    border-radius: 36px;
    padding: 1.2rem 1rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    color: #ffffff;
}

.phone-screen-inner {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.25rem 1rem;
    color: var(--text-heading);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.phone-dynamic-island {
    width: 80px;
    height: 18px;
    background: #0f172a;
    border-radius: 20px;
    margin: -0.4rem auto 1rem auto;
}

.phone-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
}

.phone-screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================================================================
   2. EL PROBLEMA VS LA SOLUCIÓN (MODELO TRADICIONAL VS ACADEMIA QR)
   ========================================================================== */
.section-problem-solution {
    padding: 5.5rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comparison-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

/* Tarjeta Tradicional (Gris / Advertencia) */
.card-traditional {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 6px solid #94a3b8;
}

.card-traditional h3 {
    color: #475569;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Tarjeta Academia QR (Luminosa / Esmeralda / Azul) */
.card-academia {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #86efac;
    border-left: 6px solid #10b981;
    transform: scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}

.card-academia h3 {
    color: #065f46;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.comparison-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comp-icon-neg {
    color: #ef4444;
    font-size: 1.1rem;
    margin-top: 2px;
}

.comp-icon-pos {
    color: #10b981;
    font-size: 1.15rem;
    margin-top: 2px;
}

/* ==========================================================================
   3. CORE MODULES (LAS FUNCIONES MÁS UTILIZADAS AL ALCANCE DE UN ESCANEO)
   ========================================================================== */
.section-core-modules {
    padding: 6rem 0;
    background: #ffffff;
}

.modules-5-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 3.5rem;
}

.core-module-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.core-module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary);
}

.module-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.box-blue { background: #e0f2fe; color: #0284c7; }
.box-emerald { background: #ecfdf5; color: #059669; }
.box-orange { background: #fff7ed; color: #ea580c; }
.box-purple { background: #faf5ff; color: #800080; }
.box-indigo { background: #eef2ff; color: #4f46e5; }

.core-module-title {
    font-size: 1.28rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
    color: var(--text-heading);
}

.core-module-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.module-action-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: gap 0.2s ease;
}

.module-action-link:hover {
    gap: 0.75rem;
    color: var(--brand-bright);
}

/* ==========================================================================
   4. EL PODER DEL ECOSISTEMA: ACADEMIA QR + SOSQR + SUTZ
   ========================================================================== */
.section-ecosystem {
    padding: 6.5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
}

.ecosystem-triad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.ecosystem-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.eco-badge-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    width: fit-content;
}

.eco-sosqr { border-top: 5px solid #ef4444; }
.eco-academia { border-top: 5px solid #005a9c; }
.eco-sutz { border-top: 5px solid #800080; }

.ecosystem-synergy-banner {
    background: linear-gradient(135deg, #091322 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-floating);
    flex-wrap: wrap;
}

.synergy-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   5. BENEFICIOS ESTRATÉGICOS PARA DIRECTIVOS Y COLEGIOS
   ========================================================================== */
.section-directors {
    padding: 5.5rem 0;
    background: #ffffff;
}

.stats-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-metric-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.stat-metric-card:hover {
    background: #ffffff;
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-big-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.stat-label-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.65rem;
}

.stat-label-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   6. SECCIÓN DE CIERRE COMERCIAL & FOOTER
   ========================================================================== */
.section-cta-commercial {
    padding: 6rem 0;
    background: linear-gradient(135deg, #003f6d 0%, #005a9c 60%, #0284c7 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-commercial-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    max-width: 820px;
    margin: 0 auto 1.2rem auto;
}

.cta-commercial-sub {
    font-size: 1.1rem;
    color: #bae6fd;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.cta-commercial-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Footer */
.footer-modern {
    background: #091322;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
    border-top: 1px solid #1e293b;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #38bdf8;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
    background: #25d366;
    color: #ffffff !important;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
    position: absolute;
    right: 74px;
    background: #091322;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(10px);
}

.whatsapp-floating-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   MODAL DE SOLICITUD DE DEMO / CONSULTORÍA
   ========================================================================== */
.demo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 19, 34, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.demo-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    width: 100%;
    max-width: 520px;
    padding: 2.2rem;
    position: relative;
    animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.demo-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.demo-modal-close:hover {
    background: #e2e8f0;
    color: var(--text-heading);
}

.demo-field-group {
    margin-bottom: 1.1rem;
    text-align: left;
}

.demo-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.demo-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.demo-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

/* ==========================================================================
   RESPONSIVIDAD MÓVIL
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .simulator-dual-grid { grid-template-columns: 1fr; }
    .comparison-dual-grid { grid-template-columns: 1fr; }
    .ecosystem-triad-grid { grid-template-columns: 1fr; }
    .stats-3-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-scanner-showcase { padding: 1.4rem 1rem; }
    .simulator-pills-nav { border-radius: var(--radius-sm); }
    .sim-pill-btn { width: 100%; justify-content: center; }
    .cta-commercial-title { font-size: 1.85rem; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .whatsapp-floating-btn { bottom: 1.25rem; right: 1.25rem; width: 54px; height: 54px; font-size: 1.7rem; }
}
