/* ====================================================================
   ESTILO SUIZO / UTILIDAD EDITORIAL PURA (SWISS HIGH-UTILITY)
   Basado en la skill de diseño frontend: cero clichés de IA, alta densidad.
   ==================================================================== */

:root {
    /* Paleta Editorial Estricta (Tinta y Papel) */
    --tinta-fondo: #0c0d10;          /* Fondo negro grafito profundo */
    --tinta-panel: #13151a;          /* Superficie de paneles y cajas */
    --tinta-elevada: #1a1d24;        /* Elementos interactivos */
    --borde-fino: #232731;           /* Líneas estructurales milimétricas */
    --borde-activo: #3e4453;         /* Focos y hover */

    /* Textos con Alta Jerarquía */
    --texto-blanco: #f3f4f6;         /* Titulares y valores clave */
    --texto-apagado: #8a919e;        /* Subtítulos y metadatos */
    --texto-tenue: #525966;          /* Índices y etiquetas técnicas */

    /* Señales Funcionales (Sin saturación fluorescente) */
    --verde-senial: #10b981;         /* Éxito / En línea */
    --ambar-precaucion: #f59e0b;     /* En cola / Jitter en espera */
    --rojo-alerta: #ef4444;          /* Desconectado / Error */

    /* Tipografías Suizas */
    --fuente-display: 'Archivo', -apple-system, sans-serif;
    --fuente-cuerpo: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --fuente-mono: 'JetBrains Mono', monospace;

    /* Escala y Espaciado */
    --radio-cero: 2px;
    --radio-boton: 4px;
    --radio-caja: 6px;
}

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

html {
    background-color: var(--tinta-fondo);
    color: var(--texto-blanco);
    font-family: var(--fuente-cuerpo);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ====================================================================
   TIPOGRAFÍA Y MONOSPACE UTILITY
   ==================================================================== */
h1, h2, h3, .manifesto-title, .brand-name {
    font-family: var(--fuente-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--texto-blanco);
}

.mono, .index-num, .telemetry-item, .time-now, .row-time, .panel-tagline, .tab-index {
    font-family: var(--fuente-mono);
    letter-spacing: -0.02em;
}

/* ====================================================================
   BARRA SUPERIOR (TOP-BAR)
   ==================================================================== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
    background-color: var(--tinta-panel);
    border-bottom: 1px solid var(--borde-fino);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.brand-symbol {
    color: var(--verde-senial);
    font-size: 0.8rem;
}
.brand-name {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.brand-name strong {
    color: var(--verde-senial);
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--verde-senial);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 7px;
    border-radius: var(--radio-cero);
}
.status-pulse {
    width: 6px;
    height: 6px;
    background: var(--verde-senial);
    border-radius: 50%;
}

.separator-v {
    width: 1px;
    height: 20px;
    background-color: var(--borde-fino);
}

.telemetry-bar {
    display: flex;
    gap: 1.25rem;
    font-family: var(--fuente-mono);
    font-size: 0.75rem;
    color: var(--texto-apagado);
}
.telemetry-item .label {
    color: var(--texto-tenue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ====================================================================
   SISTEMA DE BOTONES (SWISS TACTILE)
   ==================================================================== */
button {
    font-family: var(--fuente-cuerpo);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--radio-boton);
    transition: all 0.15s ease-out;
}

.btn-solid {
    background-color: var(--texto-blanco);
    color: var(--tinta-fondo);
    padding: 0.6rem 1.15rem;
}
.btn-solid:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
}
.btn-solid:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--texto-blanco);
    border: 1px solid var(--borde-fino);
    padding: 0.6rem 1.15rem;
}
.btn-ghost:hover {
    background-color: var(--tinta-elevada);
    border-color: var(--borde-activo);
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 0.98rem;
}
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}
.btn-block {
    width: 100%;
}

/* ====================================================================
   ESTRUCTURA EDITORIAL (MANIFESTO HERO)
   ==================================================================== */
.editorial-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
    width: 100%;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--borde-fino);
}

.index-num {
    color: var(--verde-senial);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.manifesto-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.manifesto-lead {
    font-size: 1.1rem;
    color: var(--texto-apagado);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.manifesto-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
}
.note-aside {
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: var(--texto-tenue);
}

/* ====================================================================
   TIMETABLE CARD (THESIS HERO - CRONOGRAMA UNIVERSITARIO)
   ==================================================================== */
.timetable-card {
    background-color: var(--tinta-panel);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
}

.timetable-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: var(--tinta-fondo);
    border-bottom: 1px solid var(--borde-fino);
}
.timetable-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: 700;
}
.tag-live {
    background-color: var(--verde-senial);
    color: var(--tinta-fondo);
    font-size: 0.68rem;
    padding: 1px 6px;
    font-weight: 800;
    border-radius: var(--radio-cero);
}
.time-now {
    font-size: 0.85rem;
    color: var(--verde-senial);
}

.timetable-row {
    display: grid;
    grid-template-columns: 85px 1fr auto;
    align-items: center;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--borde-fino);
    gap: 1rem;
    transition: background-color 0.15s;
}
.timetable-row:hover {
    background-color: var(--tinta-elevada);
}
.timetable-row.active {
    background-color: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--verde-senial);
}

.row-time {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--texto-blanco);
}
.shift-name {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}
.shift-meta {
    font-size: 0.8rem;
    color: var(--texto-apagado);
}

.row-badge {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radio-cero);
}
.row-badge.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--verde-senial);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.row-badge.queue {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--ambar-precaucion);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.timetable-footer {
    padding: 0.85rem 1.25rem;
    background-color: var(--tinta-fondo);
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: var(--texto-apagado);
}
.safety-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.safety-indicator i {
    color: var(--verde-senial);
    font-size: 1.1rem;
}

/* ====================================================================
   PILARES DE UTILIDAD (SIN ICONOS FLOTANTES GENÉRICOS)
   ==================================================================== */
.grid-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3.5rem;
}
.pillar-box {
    border-top: 2px solid var(--borde-fino);
    padding-top: 1.5rem;
}
.pillar-num {
    font-family: var(--fuente-mono);
    font-size: 0.75rem;
    color: var(--verde-senial);
    font-weight: 700;
    margin-bottom: 0.85rem;
}
.pillar-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.pillar-box p {
    color: var(--texto-apagado);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ====================================================================
   VISTA 2: PANEL DE CONTROL DE USUARIO (CONSOLA DE ALTA DENSIDAD)
   ==================================================================== */
.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: var(--tinta-panel);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    margin-bottom: 1.5rem;
}

.user-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.user-status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--verde-senial);
    border-radius: 50%;
}
.console-headline {
    font-weight: 700;
    font-size: 1.05rem;
}
.console-subline {
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    color: var(--texto-apagado);
}

.console-toolbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.toolbar-stat {
    font-family: var(--fuente-mono);
    font-size: 0.82rem;
}
.toolbar-stat .stat-k { color: var(--texto-tenue); }
.toolbar-stat .stat-v { color: var(--texto-blanco); font-weight: 700; }

/* Navegación por Pestañas Suisas */
.console-nav {
    display: flex;
    border-bottom: 1px solid var(--borde-fino);
    margin-bottom: 2rem;
    gap: 0.5rem;
}
.nav-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--texto-apagado);
    font-family: var(--fuente-mono);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}
.nav-tab-btn:hover {
    color: var(--texto-blanco);
}
.nav-tab-btn.active {
    color: var(--verde-senial);
    border-bottom-color: var(--verde-senial);
    background-color: rgba(16, 185, 129, 0.04);
}
.tab-index {
    color: var(--texto-tenue);
    margin-right: 0.3rem;
}

.console-pane {
    display: none;
}
.console-pane.active {
    display: block;
}

/* ====================================================================
   PANELES DIVIDIDOS (SPLIT-VIEW)
   ==================================================================== */
.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.view-panel {
    background-color: var(--tinta-panel);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 1.75rem;
}

.panel-tagline {
    color: var(--verde-senial);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.panel-heading {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
}
.panel-text {
    color: var(--texto-apagado);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* Visor QR Suizo */
.qr-canvas-holder {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 1.5rem auto;
    background: #ffffff;
    padding: 10px;
    border-radius: var(--radio-cero);
    display: grid;
    place-items: center;
}
.qr-surface {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}
.qr-idle-state {
    color: #4b5563;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.qr-idle-state i {
    font-size: 3rem;
    color: #9ca3af;
}

.qr-loading-layer {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: #111;
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}
.radar-scan {
    width: 32px;
    height: 32px;
    border: 3px solid #111;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotar 0.75s linear infinite;
}
@keyframes rotar {
    to { transform: rotate(360deg); }
}

.qr-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--fuente-mono);
    font-size: 0.82rem;
    color: var(--texto-apagado);
    background: var(--tinta-fondo);
    border: 1px solid var(--borde-fino);
    padding: 0.45rem;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.badge-dot.danger { background-color: var(--rojo-alerta); }
.badge-dot.connecting { background-color: var(--ambar-precaucion); }
.badge-dot.success { background-color: var(--verde-senial); }

/* Checklist de Reglas de Operación */
.checklist-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.check-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.check-ico {
    width: 22px;
    height: 22px;
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--verde-senial);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radio-cero);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-item strong {
    font-size: 0.92rem;
    display: block;
    margin-bottom: 0.2rem;
}
.check-item p {
    font-size: 0.85rem;
    color: var(--texto-apagado);
    line-height: 1.45;
}

/* Terminal Log */
.terminal-log-box {
    background-color: var(--tinta-fondo);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-cero);
    overflow: hidden;
}
.terminal-header {
    background-color: #171a21;
    padding: 0.45rem 0.85rem;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-apagado);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--borde-fino);
}
.terminal-dot {
    width: 6px;
    height: 6px;
    background-color: var(--verde-senial);
    border-radius: 50%;
}
.terminal-body {
    padding: 0.85rem;
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: #94a3b8;
    max-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* ====================================================================
   FORMULARIO EDITORIAL (REDACTAR & PROGRAMAR)
   ==================================================================== */
.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.field-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.field-block label {
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--texto-blanco);
}
.field-block input, .field-block textarea {
    background-color: var(--tinta-fondo);
    border: 1px solid var(--borde-fino);
    color: var(--texto-blanco);
    padding: 0.75rem 0.9rem;
    font-family: var(--fuente-cuerpo);
    font-size: 0.92rem;
    border-radius: var(--radio-cero);
}
.field-block input:focus, .field-block textarea:focus {
    outline: none;
    border-color: var(--verde-senial);
}
.field-helper {
    font-size: 0.78rem;
    color: var(--texto-tenue);
}

.drop-zone-tactile {
    border: 1px dashed var(--borde-activo);
    background-color: var(--tinta-fondo);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s;
    border-radius: var(--radio-cero);
}
.drop-zone-tactile:hover {
    border-color: var(--verde-senial);
    background-color: rgba(16, 185, 129, 0.04);
}
.drop-zone-tactile i {
    font-size: 1.8rem;
    color: var(--verde-senial);
}
.drop-zone-tactile span {
    font-size: 0.85rem;
    color: var(--texto-apagado);
}

.foto-preview-container {
    position: relative;
    margin-top: 0.5rem;
    border: 1px solid var(--borde-fino);
    max-height: 180px;
    overflow: hidden;
}
.foto-preview-container img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.btn-delete-float {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    border-radius: var(--radio-cero);
}

.day-toggle-bar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
}
.day-btn {
    border: 1px solid var(--borde-fino);
    background: var(--tinta-fondo);
    font-family: var(--fuente-mono);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    border-radius: var(--radio-cero);
}
.day-btn:has(input:checked) {
    background-color: var(--texto-blanco);
    color: var(--tinta-fondo);
    border-color: var(--texto-blanco);
}

/* Teléfono Táctil Realista */
.tactile-phone {
    background-color: #0c1317;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    overflow: hidden;
}
.phone-top-chat {
    background-color: #1f2c34;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chat-back { color: #aebac1; font-size: 1.1rem; }
.chat-avatar {
    width: 34px;
    height: 34px;
    background-color: #00a884;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
}
.chat-title-group .group-name-preview {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e9edef;
}
.chat-title-group .group-sub-preview {
    font-size: 0.72rem;
    color: #8696a0;
}

.phone-messages-body {
    padding: 1.5rem 1rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.whatsapp-bubble {
    background-color: #005c4b;
    color: #e9edef;
    padding: 0.75rem 0.9rem;
    border-radius: 8px 0 8px 8px;
    max-width: 88%;
    margin-left: auto;
    font-size: 0.92rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.whatsapp-bubble img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.bubble-stamp {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
    color: #8696a0;
    margin-top: 4px;
}
.bubble-stamp i { color: #53bdeb; }

/* ====================================================================
   TABLA SUIZA DE ALTA DENSIDAD (GRUPOS Y AUDITORÍA)
   ==================================================================== */
.panel-flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-cero);
}

.swiss-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.swiss-table th {
    background-color: var(--tinta-fondo);
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--texto-tenue);
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--borde-fino);
}
.swiss-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--borde-fino);
    color: var(--texto-blanco);
}
.swiss-table tr:hover {
    background-color: var(--tinta-elevada);
}
.empty-cell {
    text-align: center;
    padding: 3rem 1rem !important;
    color: var(--texto-tenue);
    font-family: var(--fuente-mono);
    font-size: 0.85rem;
}
.empty-cell i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* ====================================================================
   MODAL EDITORIAL
   ==================================================================== */
.modal-layer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.modal-box {
    background-color: var(--tinta-panel);
    border: 1px solid var(--borde-activo);
    max-width: 440px;
    width: 100%;
    padding: 2.2rem;
    border-radius: var(--radio-caja);
}
.modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--verde-senial);
    margin-bottom: 1.25rem;
}
.modal-close-btn {
    background: transparent;
    color: var(--texto-apagado);
    font-size: 1.5rem;
}
.modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}
.modal-desc {
    font-size: 0.88rem;
    color: var(--texto-apagado);
    margin-bottom: 1.75rem;
}

/* Selector de Modo Login / Registro */
.auth-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    background: var(--tinta-fondo);
    padding: 3px;
    border: 1px solid var(--borde-fino);
    margin-bottom: 1.25rem;
}
.auth-tab-btn {
    background: transparent;
    border: none;
    color: var(--texto-apagado);
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem;
    cursor: pointer;
    text-align: center;
    border-radius: var(--radio-cero);
    transition: all 0.15s;
}
.auth-tab-btn.active {
    background-color: var(--tinta-panel);
    color: var(--texto-blanco);
    border: 1px solid var(--borde-activo);
}

/* Botón Google Auth */
.btn-google-auth {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #ffffff;
    color: #1f2937;
    font-family: var(--fuente-cuerpo);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radio-cero);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.15s;
}
.btn-google-auth:hover {
    background-color: #f3f4f6;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0;
    color: var(--texto-tenue);
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--borde-fino);
}
.auth-divider span {
    padding: 0 0.75rem;
}

/* Avatar de Usuario */
.user-avatar-wrap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--tinta-elevada);
    border: 1px solid var(--borde-activo);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.user-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ticker inferior */
.bottom-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    border-top: 1px solid var(--verde-senial);
    padding: 0.6rem 1.5rem;
    font-family: var(--fuente-mono);
    font-size: 0.82rem;
    color: var(--verde-senial);
    display: flex;
    justify-content: space-between;
    z-index: 90;
}

/* ====================================================================
   BARRA DE ETIQUETAS, CHIPS Y ACCIONES EN LOTE
   ==================================================================== */
.tags-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background-color: var(--tinta-elevada);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    margin-bottom: 1rem;
}

.tags-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--tinta-panel);
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    font-size: 0.78rem;
    color: var(--texto-apagado);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.tag-chip:hover {
    border-color: var(--borde-activo);
    color: var(--texto-blanco);
}

.tag-chip.active {
    background: var(--tinta-fondo);
    border-color: var(--verde-senial);
    color: var(--verde-senial);
    font-weight: 600;
}

.tag-chip .count {
    background: var(--tinta-elevada);
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
    color: var(--texto-blanco);
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
    font-size: 0.72rem;
    font-family: var(--fuente-mono);
    background: rgba(16, 185, 129, 0.1);
    color: var(--verde-senial);
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-right: 0.3rem;
}

.tag-badge-remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 0.8rem;
}
.tag-badge-remove:hover {
    opacity: 1;
    color: var(--rojo-alerta);
}

.btn-tag-add {
    background: transparent;
    border: 1px dashed var(--borde-activo);
    color: var(--texto-apagado);
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    border-radius: var(--radio-boton);
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-tag-add:hover {
    border-color: var(--verde-senial);
    color: var(--verde-senial);
}

.batch-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ====================================================================
   ESTILOS LANDING PAGE FIDEDIGNA FIGMA (POSTEAWSP)
   ==================================================================== */

:root {
    --verde-vibrante: #00e599;
    --verde-vibrante-oscuro: #00b377;
    --verde-vibrante-tenue: rgba(0, 229, 153, 0.12);
}

.text-emerald {
    color: var(--verde-vibrante) !important;
}

.btn-emerald {
    background-color: var(--verde-vibrante) !important;
    color: #0c0d10 !important;
    font-weight: 700 !important;
    border: none !important;
    transition: all 0.2s ease !important;
}

.btn-emerald:hover {
    background-color: #1afca8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 229, 153, 0.3);
}

/* Navegación Landing */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--texto-apagado);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--texto-blanco);
}

/* Hero Section */
.hero-tagline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: var(--texto-apagado);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-main-header {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.hero-title-giant {
    font-size: 3.8rem;
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--texto-blanco);
}

.hero-side-desc {
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--texto-apagado);
    margin-bottom: 1.75rem;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-micro-spec {
    font-family: var(--fuente-mono);
    font-size: 0.75rem;
    color: var(--texto-tenue);
    letter-spacing: 0.02em;
}

/* Terminal Showcase (3 Column Mockup de Figma) */
.showcase-terminal-frame {
    background-color: #0d0f14;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    overflow: hidden;
    margin-bottom: 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.showcase-topbar {
    background-color: #12151b;
    border-bottom: 1px solid var(--borde-fino);
    padding: 0.65rem 1.25rem;
    font-family: var(--fuente-mono);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--texto-apagado);
}

.showcase-topbar .live-chip {
    color: var(--verde-vibrante);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.showcase-grid-3 {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    background-color: #0d0f14;
}

.showcase-col {
    padding: 1.25rem;
    border-right: 1px solid var(--borde-fino);
}
.showcase-col:last-child {
    border-right: none;
}

.showcase-col-header {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-tenue);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Col 1 Mockup Items */
.mockup-chip-card {
    background-color: #151821;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    padding: 0.75rem;
    margin-bottom: 1.25rem;
}

.mockup-chip-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--texto-blanco);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.mockup-chip-sub {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-apagado);
    display: flex;
    justify-content: space-between;
}

.mockup-search-box {
    background: #141720;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    color: var(--texto-apagado);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mockup-group-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #1a1e27;
    font-size: 0.82rem;
    color: var(--texto-blanco);
}

.mockup-group-item input[type="checkbox"] {
    accent-color: var(--verde-vibrante);
}

.mockup-status-footer {
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
    color: var(--verde-vibrante);
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--borde-fino);
}

/* Col 2 Mockup Items */
.mockup-campaign-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.mockup-campaign-title {
    font-size: 1.05rem;
    font-weight: 800;
}

.mockup-editor-toolbar {
    display: flex;
    gap: 0.75rem;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-apagado);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--borde-fino);
    margin-bottom: 0.75rem;
}

.mockup-editor-body {
    font-size: 0.85rem;
    color: var(--texto-blanco);
    line-height: 1.5;
    background: #12151d;
    padding: 0.85rem;
    border-radius: var(--radio-boton);
    border: 1px solid var(--borde-fino);
    margin-bottom: 0.85rem;
}

.mockup-var-pill {
    background: rgba(0, 229, 153, 0.15);
    color: var(--verde-vibrante);
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
}

.mockup-attachment-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #151821;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.mockup-attachment-thumb {
    width: 44px;
    height: 36px;
    border-radius: 3px;
    object-fit: cover;
}

.mockup-attachment-info {
    flex: 1;
}

.mockup-timing-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--borde-fino);
    color: var(--texto-apagado);
}

/* Col 3 Mockup Preview */
.mockup-whatsapp-preview-box {
    background: #0b141a;
    border-radius: var(--radio-boton);
    padding: 0.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid #1a2228;
}

.mockup-wsp-bubble {
    background: #005c4b;
    border-radius: 6px;
    overflow: hidden;
    color: #e9edef;
    font-size: 0.8rem;
    line-height: 1.4;
}

.mockup-wsp-bubble img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.mockup-wsp-bubble-content {
    padding: 0.6rem 0.75rem 0.4rem;
}

.mockup-wsp-meta {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.mockup-monitor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid #191d26;
    font-size: 0.78rem;
}

.mockup-monitor-row .name {
    font-weight: 600;
}
.mockup-monitor-row .status {
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
}
.mockup-monitor-row .status.sent {
    color: var(--verde-vibrante);
}
.mockup-monitor-row .status.waiting {
    color: var(--ambar-precaucion);
}

.showcase-bottom-ticker {
    background-color: #12151b;
    border-top: 1px solid var(--borde-fino);
    padding: 0.85rem 1.25rem;
    font-family: var(--fuente-mono);
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    color: var(--texto-apagado);
}

/* ====================================================================
   SECCIONES GENERALES DE LA LANDING
   ==================================================================== */
.landing-section {
    padding: 6rem 0;
    border-top: 1px solid var(--borde-fino);
}

.section-tag {
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    color: var(--verde-vibrante);
    margin-bottom: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.section-title-large {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--texto-blanco);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-subtitle-text {
    font-size: 1.1rem;
    color: var(--texto-apagado);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 3rem;
}

/* Sección 1: Pilares (3 columnas) */
.grid-3-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: #11141a;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pillar-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radio-boton);
    background: var(--verde-vibrante-tenue);
    color: var(--verde-vibrante);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: var(--texto-apagado);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pillar-footer-tag {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-tenue);
    letter-spacing: 0.05em;
    border-top: 1px solid var(--borde-fino);
    padding-top: 1rem;
}

/* Sección 2: Tres pasos (01, 02, 03) */
.steps-split-head {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

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

.step-card {
    background: #11141a;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 2.25rem 2rem;
    position: relative;
}

.step-number-giant {
    font-family: var(--fuente-mono);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--verde-vibrante);
    line-height: 1;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-number-giant i {
    font-size: 1.5rem;
    color: var(--texto-apagado);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--texto-apagado);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 2rem;
}

.step-footer-tag {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-tenue);
    border-top: 1px solid var(--borde-fino);
    padding-top: 1rem;
}

/* Sección 3 & 4: Split Content (Multi-Cuentas y Cadencia) */
.split-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-bullets {
    list-style: none;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-bullets li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--texto-blanco);
}

.check-bullets li i {
    color: var(--verde-vibrante);
    font-size: 1.1rem;
}

.multi-account-preview-card {
    background: #11141b;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 1.5rem;
}

.multi-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #151821;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    margin-bottom: 0.75rem;
}

.account-chip-side {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.account-chip-side .title {
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.account-chip-side .meta {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-apagado);
}

.campaign-dest-side {
    text-align: right;
}

.campaign-dest-side .name {
    font-size: 0.88rem;
    font-weight: 700;
}
.campaign-dest-side .groups {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-apagado);
}

/* Widget Cadencia Preventiva */
.cadence-widget-box {
    background: #11141b;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 1.75rem;
}

.cadence-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cadence-input-box {
    background: #151821;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-boton);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--fuente-mono);
    font-size: 0.82rem;
}

.cadence-input-box .val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--texto-blanco);
}

.cadence-timeline-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.cadence-block {
    background: var(--verde-vibrante);
    color: #0c0d10;
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 2px;
}

.cadence-gap {
    flex: 1;
    border-top: 1px dashed var(--borde-activo);
    position: relative;
    text-align: center;
}

.cadence-gap span {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #11141b;
    padding: 0 0.4rem;
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
    color: var(--texto-apagado);
}

.box-uso-responsable {
    background: #171612;
    border: 1px solid #332d18;
    border-radius: var(--radio-caja);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #d4cfb8;
}

.box-uso-responsable .tag {
    font-family: var(--fuente-mono);
    color: var(--ambar-precaucion);
    font-size: 0.75rem;
    white-space: nowrap;
    font-weight: 700;
}

/* ====================================================================
   SECCIÓN 5: PLANES DE PRECIOS (4 CARDS)
   ==================================================================== */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: #11141a;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--borde-activo);
}

.plan-card.recommended {
    border-color: var(--verde-vibrante);
    background: #0f1519;
    box-shadow: 0 0 30px rgba(0, 229, 153, 0.08);
}

.plan-top-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--verde-vibrante);
    color: #0c0d10;
    font-family: var(--fuente-mono);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    padding: 0.25rem;
    border-top-left-radius: var(--radio-caja);
    border-top-right-radius: var(--radio-caja);
}

.plan-cat-label {
    font-family: var(--fuente-mono);
    font-size: 0.72rem;
    color: var(--texto-tenue);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.plan-name-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--texto-blanco);
    margin-bottom: 0.35rem;
}

.plan-sub-desc {
    font-size: 0.85rem;
    color: var(--texto-apagado);
    margin-bottom: 1.5rem;
    min-height: 38px;
}

.plan-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--borde-fino);
}

.plan-currency {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--texto-blanco);
}

.plan-price-num {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--texto-blanco);
    font-family: var(--fuente-display);
}

.plan-period {
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: var(--texto-apagado);
}

.plan-metric-spotlight {
    margin-bottom: 1.5rem;
}

.plan-metric-spotlight .num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--texto-blanco);
}

.plan-card.recommended .plan-metric-spotlight .num {
    color: var(--verde-vibrante);
}

.plan-metric-spotlight .label {
    font-size: 0.78rem;
    color: var(--texto-apagado);
}

.plan-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--texto-blanco);
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.plan-features-list li i {
    color: var(--verde-vibrante);
    margin-top: 2px;
    font-size: 0.95rem;
}

.plan-footnote-box {
    background: #11141b;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    padding: 1.25rem 1.75rem;
    font-size: 0.85rem;
    color: var(--texto-apagado);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.plan-footnote-box .tag {
    font-family: var(--fuente-mono);
    color: var(--verde-vibrante);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ====================================================================
   SECCIÓN 6: TABLA COMPARATIVA
   ==================================================================== */
.comparison-table-wrap {
    background: #11141a;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    overflow: hidden;
}

.table-comparativa {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.table-comparativa th {
    background: #141822;
    padding: 1.1rem 1.25rem;
    text-align: left;
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    color: var(--texto-apagado);
    border-bottom: 1px solid var(--borde-fino);
}

.table-comparativa th.highlight-col,
.table-comparativa td.highlight-col {
    background: rgba(0, 229, 153, 0.04);
    color: var(--verde-vibrante);
    font-weight: 700;
}

.table-comparativa td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1a1e27;
    color: var(--texto-blanco);
}

.table-comparativa tr:last-child td {
    border-bottom: none;
}

.table-comparativa td:first-child {
    font-weight: 600;
    color: var(--texto-apagado);
}

/* ====================================================================
   SECCIÓN 7: PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ==================================================================== */
.faq-grid-split {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: flex-start;
}

.faq-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card-item {
    background: #11141a;
    border: 1px solid var(--borde-fino);
    border-radius: var(--radio-caja);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.faq-card-item:hover {
    border-color: var(--borde-activo);
}

.faq-question-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--texto-blanco);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question-btn i {
    font-size: 1.25rem;
    color: var(--verde-vibrante);
    transition: transform 0.2s ease;
}

.faq-card-item.open .faq-question-btn i {
    transform: rotate(45deg);
}

.faq-answer-pane {
    padding: 0 1.5rem 1.25rem;
    color: var(--texto-apagado);
    font-size: 0.92rem;
    line-height: 1.6;
    display: none;
}

.faq-card-item.open .faq-answer-pane {
    display: block;
}

/* ====================================================================
   SECCIÓN 8: BANNER VERDE ESMERALDA FINAL
   ==================================================================== */
.banner-cta-green {
    background: var(--verde-vibrante);
    color: #0c0d10;
    border-radius: var(--radio-caja);
    padding: 4.5rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6rem 0;
    box-shadow: 0 20px 50px rgba(0, 229, 153, 0.25);
}

.banner-green-left .tag {
    font-family: var(--fuente-mono);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.banner-green-left h2 {
    font-size: 3.2rem;
    line-height: 1.05;
    font-weight: 900;
    color: #0c0d10;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.banner-green-left p {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1a221e;
}

.btn-black-giant {
    background: #0c0d10;
    color: #ffffff;
    font-weight: 700;
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radio-boton);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-black-giant:hover {
    background: #1a1e27;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer Oficial */
.site-footer-postea {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--borde-fino);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-disclaimer-text {
    font-size: 0.8rem;
    color: var(--texto-tenue);
    line-height: 1.6;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #171b22;
    padding-top: 1.5rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-main-header, .steps-split-head, .split-content-grid, .faq-grid-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-3-pillars, .steps-grid {
        grid-template-columns: 1fr;
    }
    .banner-cta-green {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
    .hero-title-giant {
        font-size: 2.5rem;
    }
    .banner-green-left h2 {
        font-size: 2.2rem;
    }
    .top-bar-left .nav-links {
        display: none;
    }
}
