/* ========================================
   NYNEL MKT - Sistema de Facturacion Electronica
   Tema oscuro premium
   ======================================== */

/* --- Variables globales --- */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary: #00D4AA;
    --secondary-dark: #00B894;
    --dark: #0A0F1C;
    --dark-lighter: #0F1629;
    --dark-card: #111827;
    --dark-surface: #1A2236;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --gold: #FFD700;
    --gold-dark: #FFA500;
    --danger: #EF4444;
    --whatsapp: #25D366;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Tema claro --- */
[data-theme="light"] {
    --dark: #F5F7FA;
    --dark-lighter: #EBEEF3;
    --dark-card: #FFFFFF;
    --dark-surface: #F0F2F5;
    --text: #1A202C;
    --text-muted: #4A5568;
    --text-dim: #718096;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.1);
}

/* --- Reset y base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

/* --- Contenedor --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.45);
    color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
}

/* --- Secciones --- */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.text-gradient div {
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Animaciones (solo loops CSS, el resto usa GSAP) --- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    padding: 0 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 34px;
    width: auto;
    filter: invert(1) hue-rotate(180deg);
}

.nav-logo span {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-social a {
    color: var(--text-dim);
    font-size: 1rem;
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.nav-social-mobile {
    display: none;
}

/* --- Toggle tema claro/oscuro --- */
.theme-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--dark-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--dark-surface);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.theme-toggle .fa-sun {
    position: absolute;
    color: #FFA500;
    font-size: 0.95rem;
    transition: var(--transition);
    transform: translateY(40px);
    opacity: 0;
}

.theme-toggle .fa-moon {
    position: absolute;
    color: #94A3B8;
    font-size: 0.95rem;
    transition: var(--transition);
    transform: translateY(0);
    opacity: 1;
}

[data-theme="light"] .theme-toggle .fa-sun {
    transform: translateY(0);
    opacity: 1;
}

[data-theme="light"] .theme-toggle .fa-moon {
    transform: translateY(-40px);
    opacity: 0;
}

.nav-cta .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: url('img/hero-bg.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
}

#particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    /* animacion via GSAP */
    bottom: -10px;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    /* animacion via GSAP */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero-text h1 span {
    display: block;
}

.hero-text .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 36px;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

/* --- Hero Dashboard Cards Flotantes --- */
.hero-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.hero-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: heroFloat 6s ease-in-out infinite;
}

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

/* Card principal - Ventas */
.hero-card-main {
    animation-delay: 0s;
}

.hero-card-header {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-header i {
    color: var(--primary);
}

.hero-card-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}

.hero-card-value.small {
    font-size: 1.8rem;
}

.hero-card-trend {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-card-trend.up {
    color: #00D4AA;
}

.hero-card-trend i {
    margin-right: 4px;
}

.hero-card-chart {
    margin-top: 4px;
}

.mini-chart {
    width: 100%;
    height: 40px;
    opacity: 0.9;
}

/* Card factura */
.hero-card-invoice {
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: -1s;
    border-left: 3px solid #00D4AA;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-card-icon.invoice {
    background: rgba(0, 212, 170, 0.15);
    color: #00D4AA;
}

.hero-card-icon.stock {
    background: rgba(0, 102, 255, 0.15);
    color: #0066FF;
}

.hero-card-icon.sunat {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
}

.hero-card-info {
    flex: 1;
    min-width: 0;
}

.hero-card-info strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.hero-card-info span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.hero-card-amount {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-card-amount small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-dim);
}

/* Card stock */
.hero-card-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: -2s;
    border-left: 3px solid #0066FF;
}

/* Card SUNAT */
.hero-card-sunat {
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: -3s;
    border-left: 3px solid #FFD700;
}

.sunat-ok {
    color: #00D4AA !important;
    font-weight: 600;
}

.sunat-ok i {
    font-size: 0.5rem;
    margin-right: 4px;
    animation: pulse 2s ease-in-out infinite;
}

/* Card clientes */
.hero-card-clients {
    animation-delay: -4s;
}

/* Card notificacion */
.hero-card-notif {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 0.82rem;
    padding: 14px 24px;
    border-radius: 40px;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
    animation-delay: -5s;
    white-space: nowrap;
}

.hero-card-notif i {
    color: #FFD700;
    margin-right: 6px;
}

/* Glow de fondo */
.hero-dashboard::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, rgba(0, 212, 170, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--text-dim);
    font-size: 1.2rem;
    animation: float 2s ease-in-out infinite;
    display: block;
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    padding: 24px 0;
    background: rgba(0, 102, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trust-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.trust-text i {
    color: var(--secondary);
    margin-right: 6px;
}

.trust-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    padding: 10px 0;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.trust-track-reverse {
    animation: marqueeScrollReverse 44s linear infinite;
}

.trust-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(calc(-100% / 3)); }
    100% { transform: translateX(0); }
}

.trust-logo {
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-logo:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2);
}

.trust-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ========================================
   SOLUCIONES / FEATURES
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary-light);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.feature-illustration {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.04);
    padding: 16px;
}

.feature-illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   COMO FUNCIONA / PASOS
   ======================================== */
.como-funciona-section {
    background: var(--dark-lighter);
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.pasos-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.2;
    z-index: 0;
}

.paso-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.paso-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.paso-numero {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.paso-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: var(--primary-light);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.paso-illustration {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 12px;
}

.paso-illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.paso-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.paso-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   GALERIA DEL SISTEMA
   ======================================== */
.galeria-section {
    background: var(--dark-lighter);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.galeria-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.galeria-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: var(--shadow-glow);
}

.galeria-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.galeria-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-card:hover .galeria-img-wrapper img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-size: 2rem;
    color: #fff;
}

.galeria-card:hover .galeria-overlay {
    opacity: 1;
}

.galeria-info {
    padding: 20px 24px;
}

.galeria-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.galeria-info h4 i {
    color: var(--primary-light);
    margin-right: 6px;
}

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

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   ANTES / DESPUES
   ======================================== */
.antes-despues-section {
    background: var(--dark);
}

.comparacion-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
}

.comparacion-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    transition: var(--transition);
}

.comparacion-card:hover {
    transform: translateY(-2px);
}

.comparacion-antes {
    border-color: rgba(239, 68, 68, 0.2);
}

.comparacion-antes:hover {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
}

.comparacion-despues {
    border-color: rgba(0, 212, 170, 0.2);
}

.comparacion-despues:hover {
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.1);
}

.comparacion-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.comparacion-badge-antes {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparacion-badge-despues {
    background: rgba(0, 212, 170, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.comparacion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparacion-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.comparacion-antes .comparacion-list li i {
    color: var(--danger);
    font-size: 0.9rem;
    width: 20px;
    flex-shrink: 0;
}

.comparacion-despues .comparacion-list li i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
    flex-shrink: 0;
}

.comparacion-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 8px;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonios-section {
    background: var(--dark-lighter);
}

.testimonios-wrapper {
    position: relative;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.testimonios-wrapper:active {
    cursor: grabbing;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--dark-card);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

.testimonios-carousel {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.testimonio-card {
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    flex-shrink: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
}

.testimonio-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    gap: 3px;
}

.testimonio-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonio-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 102, 255, 0.4);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(0, 102, 255, 0.2);
}

.testimonio-author strong {
    color: #fff;
    font-size: 0.92rem;
}

.testimonio-author span {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* Social Proof Gallery - Capturas de testimonios */
.social-proof-gallery {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.social-proof-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

.social-proof-title i {
    color: var(--primary);
    margin-right: 8px;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-proof-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--dark-card);
}

.social-proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.15);
}

.social-proof-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .social-proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .social-proof-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========================================
   VIDEOS SHORTS
   ======================================== */
.videos-section {
    background: var(--dark);
}

.videos-shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.video-short-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.video-short-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.1);
}

.video-short-placeholder {
    aspect-ratio: 9 / 16;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.video-short-placeholder:hover .video-thumbnail {
    opacity: 1;
}
.video-short-placeholder iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.video-short-placeholder:hover .video-play {
    transform: scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.video-short-label {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    position: relative;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.video-short-label i {
    color: #FF0000;
    margin-right: 4px;
}

.video-info {
    padding: 16px 20px;
}

.video-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   PLANES / PRICING
   ======================================== */
.planes-section {
    background: var(--dark-lighter);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-label.active {
    color: #fff;
}

.toggle-save {
    background: rgba(0, 212, 170, 0.15);
    color: var(--secondary);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider::before {
    left: calc(100% - 25px);
    background: var(--secondary);
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: var(--shadow-glow);
}

/* Plan popular */
.plan-popular {
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.12);
    transform: scale(1.03);
}

.plan-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 6px 24px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Plan empresarial */
.plan-enterprise {
    border-color: rgba(255, 215, 0, 0.2);
}

.plan-enterprise:hover {
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}

.plan-badge-enterprise {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e;
    padding: 6px 24px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.plan-header {
    padding: 36px 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.sunat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--secondary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.sunat-badge-enterprise {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.2);
}

.plan-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.plan-enterprise .plan-icon {
    color: var(--gold);
}

.plan-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.plan-price {
    position: relative;
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.discount-badge {
    display: inline-block;
    background: rgba(0, 212, 170, 0.15);
    color: var(--secondary);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.discount-badge-enterprise {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.2);
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.plan-enterprise .price-amount {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 500;
}

.price-annual-note {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 6px;
    min-height: 20px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.plan-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-restriction {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.restriction-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.restriction-enterprise {
    background: rgba(0, 212, 170, 0.08);
    color: var(--secondary);
    border-color: rgba(0, 212, 170, 0.15);
}

.plan-modulo-group {
    margin-bottom: 14px;
}

.plan-modulo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.plan-enterprise .plan-modulo-title {
    color: var(--gold);
}

.plan-features {
    padding-left: 8px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-features li.included i {
    color: var(--secondary);
    font-size: 0.75rem;
}

.plan-modulos-count {
    text-align: center;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.plan-modulos-count i {
    margin-right: 6px;
}

.plan-toggle-modules {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.plan-toggle-modules:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: var(--primary);
}

.plan-toggle-modules i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.plan-toggle-modules.active i {
    transform: rotate(180deg);
}

.plan-toggle-modules.active {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.plan-modules-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.plan-modules-collapsible.expanded {
    max-height: 2000px;
}

.plan-enterprise .plan-modulos-count {
    color: #FFD700;
}

.plan-enterprise .plan-toggle-modules.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    color: #FFD700;
}

.plan-enterprise .plan-toggle-modules:hover {
    border-color: #FFD700;
}

.plan-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.btn-plan {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
}

.btn-plan-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-plan-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 102, 255, 0.45);
    color: #fff;
}

.btn-enterprise {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.btn-enterprise:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.45);
    color: #1a1a2e;
}

.btn-plan-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.btn-plan-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
    color: var(--whatsapp);
}

/* ========================================
   TABLA COMPARATIVA
   ======================================== */
.comparison-wrapper {
    margin-top: 80px;
}

.comparison-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
}

.comparison-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 20px;
    text-align: center;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: rgba(0, 102, 255, 0.06);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.comparison-table td:first-child {
    text-align: left;
    color: var(--text);
    font-weight: 500;
}

.comparison-table td {
    color: var(--text-muted);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

.comparison-popular {
    background: rgba(0, 102, 255, 0.04) !important;
}

.c-yes {
    color: var(--secondary) !important;
    font-size: 1rem;
}

.c-no {
    color: var(--danger) !important;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ========================================
   GARANTIA
   ======================================== */
.garantia-section {
    background: url('img/garantia-bg.png') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.garantia-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.garantia-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(10, 15, 28, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.garantia-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.garantia-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.garantia-illustration {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 24px;
}

.garantia-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.section-illustration {
    max-width: 520px;
    margin: 24px auto 0;
}

.section-illustration img {
    width: 100%;
    height: auto;
}

.garantia-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.garantia-box p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.garantia-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.garantia-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.garantia-badges span i {
    color: var(--secondary);
    font-size: 1rem;
}

/* ========================================
   FAQ
   ======================================== */
.faq-section {
    background: var(--dark-lighter);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--dark-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.15);
}

.faq-item.active {
    border-color: rgba(0, 102, 255, 0.25);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question i {
    color: var(--text-dim);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: url('img/cta-bg.png') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.cta-box {
    text-align: center;
    background: rgba(10, 15, 28, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: var(--radius);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   URGENCY BANNER / COUNTDOWN
   ======================================== */
.urgency-banner {
    background: url('img/urgency-bg.png') center/cover no-repeat;
    border-top: 2px solid rgba(239, 68, 68, 0.4);
    border-bottom: 2px solid rgba(239, 68, 68, 0.4);
    padding: 50px 0;
    position: relative;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.urgency-icon {
    font-size: 3.5rem;
    color: #FF4500;
    animation: pulse 1.5s ease infinite;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.3);
}

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

.urgency-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.urgency-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.countdown {
    display: flex;
    gap: 12px;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-align: center;
    min-width: 68px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.15);
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.countdown-item small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.urgency-cta {
    animation: pulse 2s ease infinite;
}

/* ========================================
   REDES SOCIALES
   ======================================== */
.redes-section {
    background: var(--dark);
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.red-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--dark-card);
}

.red-card:hover {
    transform: translateY(-4px);
}

.red-card i {
    font-size: 2.2rem;
}

.red-card strong {
    font-size: 1.05rem;
    color: #fff;
}

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

.red-tiktok {
    border-color: rgba(255, 0, 80, 0.2);
}

.red-tiktok:hover {
    border-color: rgba(255, 0, 80, 0.4);
    box-shadow: 0 0 30px rgba(255, 0, 80, 0.1);
    color: #fff;
}

.red-tiktok i {
    color: #FF0050;
}

.red-instagram {
    border-color: rgba(228, 64, 95, 0.2);
}

.red-instagram:hover {
    border-color: rgba(228, 64, 95, 0.4);
    box-shadow: 0 0 30px rgba(228, 64, 95, 0.1);
    color: #fff;
}

.red-instagram i {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.red-facebook {
    border-color: rgba(24, 119, 242, 0.2);
}

.red-facebook:hover {
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 0 30px rgba(24, 119, 242, 0.1);
    color: #fff;
}

.red-facebook i {
    color: #1877F2;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto-section {
    background: var(--dark-lighter);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacto-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contacto-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
}

.contacto-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-light);
    flex-shrink: 0;
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.contacto-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

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

.contacto-form {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.92rem;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark-card);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-light);
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ========================================
   WHATSAPP FLOTANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    left: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ========================================
   CHATBOT
   ======================================== */
.chatbot-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 950;
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
    transition: var(--transition);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 102, 255, 0.5);
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-height: 500px;
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.chatbot-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.chatbot-header strong {
    font-size: 0.92rem;
    display: block;
}

.chatbot-header small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    min-height: 100px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.chatbot-msg-bot,
.chatbot-msg-user {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.chatbot-msg-bot {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chatbot-msg-user {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-options {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.chatbot-option-btn {
    width: 100%;
    padding: 10px 16px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-xs);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: var(--transition);
}

.chatbot-option-btn:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.35);
}

/* ========================================
   NOTIFICACION DE ACTIVIDAD
   ======================================== */
.activity-notification {
    position: fixed;
    bottom: 140px;
    right: 28px;
    background: linear-gradient(135deg, #111d3a 0%, #162040 50%, #0f1a30 100%);
    border: 1.5px solid rgba(0, 212, 170, 0.5);
    border-radius: var(--radius-sm);
    padding: 18px 44px 18px 18px;
    display: none;
    align-items: center;
    gap: 14px;
    z-index: 850;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 170, 0.2), 0 0 60px rgba(0, 102, 255, 0.1);
    max-width: 370px;
    backdrop-filter: blur(16px);
    animation: notifPulse 2s ease-in-out infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 170, 0.2), 0 0 60px rgba(0, 102, 255, 0.1); }
    50% { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 170, 0.35), 0 0 80px rgba(0, 102, 255, 0.15); }
}

.activity-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.activity-notification::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), transparent, rgba(0, 102, 255, 0.1));
    z-index: -1;
    pointer-events: none;
}

/* GSAP controla show/hide de notificaciones */

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 102, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 0 12px rgba(0, 212, 170, 0.2);
}

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

.notification-text strong {
    color: #fff;
    font-weight: 700;
}

.notification-text .notification-highlight {
    color: var(--secondary);
    font-weight: 600;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition);
}

.notification-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   EXIT INTENT POPUP
   ======================================== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
}

.exit-popup-overlay.active {
    display: flex;
}

.exit-popup {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
}

.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.exit-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.exit-popup-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    animation: float 2s ease-in-out infinite;
}

.exit-popup h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.exit-popup p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.exit-popup-code {
    background: rgba(255, 215, 0, 0.08);
    border: 1px dashed rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 24px;
    display: inline-block;
}

.exit-popup .btn {
    margin-bottom: 16px;
}

.exit-popup-dismiss {
    font-size: 0.8rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: underline;
}

.exit-popup-dismiss:hover {
    color: var(--text-muted);
}

/* ========================================
   TEMA CLARO - Overrides
   ======================================== */

/* Navbar */
[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 247, 250, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-logo img {
    filter: invert(1) hue-rotate(180deg);
}

[data-theme="light"] .navbar.scrolled .nav-logo img {
    filter: none;
}

[data-theme="light"] .nav-logo span {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .nav-links li a {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .nav-links li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-social a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .nav-social a:hover {
    color: #fff;
}

[data-theme="light"] .navbar.scrolled .nav-social a {
    color: var(--text-dim);
}

[data-theme="light"] .navbar.scrolled .nav-social a:hover {
    color: var(--secondary);
}

[data-theme="light"] .navbar.scrolled .nav-logo span {
    color: #0a0f1c;
    text-shadow: none;
}

[data-theme="light"] .navbar.scrolled .nav-links li a {
    color: var(--text-muted);
}

[data-theme="light"] .navbar.scrolled .nav-links li a:hover {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.06);
}

/* Hero */
[data-theme="light"] .hero {
    background: url('img/hero-bg.png') center/cover no-repeat;
}

[data-theme="light"] .hero::before {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-badge {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    color: #00D4AA;
}

[data-theme="light"] .hero h1 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .btn-outline {
    color: var(--primary);
    border-color: rgba(0, 102, 255, 0.3);
}

[data-theme="light"] .btn-outline:hover {
    background: rgba(0, 102, 255, 0.06);
}

/* Laptop mockup */
[data-theme="light"] .hero-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--dark-bg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .hero-card-value {
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2744 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .hero-card-info strong {
    color: #1a1a2e;
}

[data-theme="light"] .hero-card-amount {
    color: #1a1a2e;
}

/* Stats */
[data-theme="light"] .stat-number {
    color: #fff !important;
}

[data-theme="light"] .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .hero .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Trust bar */
[data-theme="light"] .trust-bar {
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

[data-theme="light"] .trust-logo {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Cards generales */
[data-theme="light"] .feature-card,
[data-theme="light"] .paso-card,
[data-theme="light"] .galeria-card,
[data-theme="light"] .comparacion-card,
[data-theme="light"] .testimonio-card,
[data-theme="light"] .video-short-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .red-card,
[data-theme="light"] .contacto-card,
[data-theme="light"] .contacto-form {
    background: var(--dark-card);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .paso-card:hover,
[data-theme="light"] .galeria-card:hover,
[data-theme="light"] .video-short-card:hover,
[data-theme="light"] .red-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
}

/* Feature icon backgrounds */
[data-theme="light"] .feature-icon {
    background: rgba(0, 102, 255, 0.08);
}

/* Pasos */
[data-theme="light"] .paso-number {
    color: var(--primary);
}

/* Galeria */
[data-theme="light"] .galeria-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Comparacion */
[data-theme="light"] .comparacion-antes {
    border-color: rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .comparacion-despues {
    border-color: rgba(0, 212, 170, 0.15);
}

/* Video placeholders */
[data-theme="light"] .video-short-placeholder {
    background: linear-gradient(135deg, #E8ECF4, #DDE3EF);
}

/* Planes */
[data-theme="light"] .plan-card {
    background: var(--dark-card);
}

[data-theme="light"] .plan-popular {
    border-color: var(--primary);
}

[data-theme="light"] .plan-empresarial {
    border-color: var(--gold);
}

[data-theme="light"] .plan-features li {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .sunat-badge {
    background: rgba(0, 212, 170, 0.08);
}

[data-theme="light"] .price-original {
    color: var(--text-dim);
}

/* Pricing toggle */
[data-theme="light"] .toggle-switch {
    background: #D1D5DB;
}

[data-theme="light"] .toggle-switch.active {
    background: var(--primary);
}

/* Comparison table */
[data-theme="light"] .comparison-table {
    background: var(--dark-card);
}

[data-theme="light"] .comparison-table th {
    background: #E8ECF4;
    color: #1A202C;
}

[data-theme="light"] .comparison-table td {
    border-color: rgba(0, 0, 0, 0.06);
}

/* Garantia */
[data-theme="light"] .garantia-section {
    background: url('img/garantia-bg.png') center/cover no-repeat;
}

[data-theme="light"] .garantia-section::before {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .garantia-box {
    background: rgba(10, 15, 28, 0.5);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 215, 0, 0.25);
}

[data-theme="light"] .garantia-box h3 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .garantia-box p {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .garantia-badges span {
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ */
[data-theme="light"] .faq-question {
    color: #1A202C;
}

[data-theme="light"] .faq-question:hover {
    background: rgba(0, 102, 255, 0.04);
}

/* CTA section */
[data-theme="light"] .cta-section {
    background: url('img/cta-bg.png') center/cover no-repeat;
}

[data-theme="light"] .cta-section::before {
    background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .cta-box {
    background: rgba(10, 15, 28, 0.4);
    backdrop-filter: blur(8px);
    border-color: rgba(0, 102, 255, 0.3);
}

[data-theme="light"] .cta-box h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .cta-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* Urgency banner */
[data-theme="light"] .urgency-banner {
    background: url('img/urgency-bg.png') center/cover no-repeat;
}

[data-theme="light"] .urgency-banner::before {
    background: rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .urgency-text h3,
[data-theme="light"] .urgency-text p {
    color: #fff;
}

[data-theme="light"] .countdown-item {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

[data-theme="light"] .countdown-item span {
    color: #fff;
}

/* Redes */
[data-theme="light"] .red-tiktok {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .red-instagram {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .red-facebook {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Footer */
[data-theme="light"] footer {
    background: #1A202C;
    color: #E2E8F0;
}

[data-theme="light"] footer a {
    color: #94A3B8;
}

[data-theme="light"] footer a:hover {
    color: #fff;
}

/* Chatbot */
[data-theme="light"] .chatbot-window {
    background: var(--dark-card);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .chatbot-messages {
    background: #F5F7FA;
}

[data-theme="light"] .chatbot-msg-bot {
    background: #E8ECF4;
    color: #1A202C;
}

[data-theme="light"] .chatbot-option-btn {
    background: var(--dark-card);
    border-color: rgba(0, 102, 255, 0.2);
    color: var(--primary);
}

[data-theme="light"] .chatbot-option-btn:hover {
    background: rgba(0, 102, 255, 0.06);
}

/* Notificacion de actividad */
[data-theme="light"] .activity-notification {
    background: var(--dark-card);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(0, 212, 170, 0.1);
}

[data-theme="light"] .notification-text strong {
    color: var(--primary);
}

/* Exit popup */
[data-theme="light"] .exit-popup {
    background: var(--dark-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
[data-theme="light"] .lightbox-overlay {
    background: rgba(0, 0, 0, 0.85);
}

/* WhatsApp tooltip */
[data-theme="light"] .whatsapp-tooltip {
    background: var(--dark-card);
    color: #1A202C;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #F0F2F5;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #C1C8D4;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #A0A8B8;
}

/* Texto blanco hardcodeado a adaptar */
[data-theme="light"] .section-header h2,
[data-theme="light"] .feature-card h3,
[data-theme="light"] .paso-card h3,
[data-theme="light"] .galeria-info h4,
[data-theme="light"] .testimonio-author strong,
[data-theme="light"] .video-info h4,
[data-theme="light"] .plan-header h3,
[data-theme="light"] .price-amount,
[data-theme="light"] .comparison-title,
[data-theme="light"] .red-card strong,
[data-theme="light"] .contacto-card h4,
[data-theme="light"] .exit-popup h3,
[data-theme="light"] .toggle-label.active,
[data-theme="light"] .video-short-label,
[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: #1A202C;
}

[data-theme="light"] .nav-links li a:hover {
    color: var(--primary);
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu */
[data-theme="light"] .nav-links.active {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
}

/* Modulos plan */
[data-theme="light"] .plan-modulos {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .modulo-item {
    border-color: rgba(0, 0, 0, 0.06);
}

/* Input fields */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #F5F7FA;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1A202C;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--primary);
    background: #fff;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94A3B8;
}

/* Seccion par (fondo alterno) */
[data-theme="light"] .section:nth-child(even) {
    background: #EBEEF3;
}

/* Secciones con imagen de fondo AI (override nth-child) */
[data-theme="light"] .section.garantia-section {
    background: url('img/garantia-bg.png') center/cover no-repeat;
}

[data-theme="light"] .section.cta-section {
    background: url('img/cta-bg.png') center/cover no-repeat;
}

/* ========================================
   RESPONSIVE - Tablet (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.1rem;
    }

    .hero-split {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pasos-grid {
        gap: 20px;
    }

    .pasos-grid::before {
        display: none;
    }

    .planes-grid {
        gap: 16px;
    }

    .plan-popular {
        transform: scale(1.01);
    }

    .plan-popular:hover {
        transform: scale(1.01) translateY(-4px);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ========================================
   RESPONSIVE - Mobile (768px)
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
        overflow: hidden;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Navbar mobile */
    .nav-toggle {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .nav-social {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 12px 20px;
    }

    .nav-social-mobile {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
    }

    .nav-social-mobile a {
        color: var(--text-muted);
        font-size: 1.3rem;
        transition: var(--transition);
    }

    .nav-social-mobile a:hover {
        color: var(--primary-light);
    }

    .nav-cta {
        display: none;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: 1;
    }

    .hero-dashboard {
        max-width: 100%;
        gap: 12px;
    }

    /* Features mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pasos mobile */
    .pasos-grid {
        grid-template-columns: 1fr;
    }

    /* Galeria mobile */
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    /* Antes/Despues mobile */
    .comparacion-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .comparacion-vs {
        font-size: 1.2rem;
        padding: 8px 0;
    }

    /* Testimonios mobile */
    .testimonio-card {
        min-width: calc(100% - 0px);
        max-width: calc(100% - 0px);
    }

    /* Videos mobile */
    .videos-shorts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Planes mobile */
    .planes-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .plan-popular {
        transform: none;
    }

    .plan-popular:hover {
        transform: translateY(-4px);
    }

    /* Contacto mobile */
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    /* Urgency mobile */
    .urgency-content {
        flex-direction: column;
        text-align: center;
    }

    /* Redes mobile */
    .redes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .red-card {
        padding: 24px 12px;
    }

    .red-card i {
        font-size: 1.6rem;
    }

    .red-card strong {
        font-size: 0.88rem;
    }

    .red-card span {
        font-size: 0.75rem;
    }

    /* Prueba social - capturas ya tiene media query propia */

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }

    /* Comparison table mobile */
    .comparison-table {
        min-width: 560px;
    }

    /* Garantia mobile */
    .garantia-box {
        padding: 36px 24px;
    }

    .garantia-badges {
        gap: 16px;
    }

    /* CTA mobile */
    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    /* Chatbot mobile */
    .chatbot-window {
        width: calc(100vw - 32px);
        right: -12px;
        bottom: 65px;
        max-height: 70vh;
    }

    /* Activity notification mobile */
    .activity-notification {
        right: 16px;
        left: auto;
        bottom: 140px;
        max-width: 340px;
    }

    /* Trust bar mobile */
    .trust-track {
        gap: 20px;
    }

    .trust-logo {
        padding: 10px 18px;
    }

    .trust-logo img {
        height: 50px;
    }
}

/* ========================================
   RESPONSIVE - Small mobile (480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text .hero-sub {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .hero-dashboard {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-card {
        padding: 16px 20px;
    }

    .hero-card-notif {
        justify-self: start;
    }

    .hero-card-value { font-size: 1.8rem; }
    .hero-card-value.small { font-size: 1.4rem; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .paso-card {
        padding: 28px 20px;
    }

    /* Videos shorts - scroll horizontal en movil */
    .videos-shorts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .video-short-card {
        min-width: 0;
    }

    .video-play {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .video-short-label {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .video-info {
        padding: 8px 10px;
    }

    .video-info h4 {
        font-size: 0.75rem;
    }

    .video-info p {
        font-size: 0.68rem;
        display: none;
    }

    /* Pricing */
    .price-amount {
        font-size: 2.4rem;
    }

    .pricing-toggle {
        gap: 10px;
    }

    .toggle-label {
        font-size: 0.85rem;
    }

    /* Countdown */
    .countdown {
        gap: 8px;
    }

    .countdown-item {
        padding: 8px 10px;
        min-width: 50px;
    }

    .countdown-item span {
        font-size: 1.2rem;
    }

    /* Redes - 1 columna en movil */
    .redes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }

    .red-card {
        padding: 20px 24px;
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }

    .red-card i {
        font-size: 1.6rem;
    }

    .red-card strong {
        font-size: 0.9rem;
    }

    .red-card span {
        font-size: 0.78rem;
    }

    /* Contacto */
    .contacto-form {
        padding: 24px 20px;
    }

    .contacto-info-cards {
        gap: 12px;
    }

    /* Exit popup */
    .exit-popup {
        padding: 36px 24px;
    }

    .exit-popup h3 {
        font-size: 1.25rem;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.9rem;
        gap: 12px;
    }

    .faq-answer p {
        padding: 0 18px 16px;
        font-size: 0.88rem;
        line-height: 1.6;
    }

    /* Comparison table */
    .comparison-table {
        min-width: 500px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    /* Testimonios */
    .testimonio-card {
        padding: 28px 24px;
    }

    .testimonio-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Prueba social - capturas ya tiene media query propia */

    /* Antes/Despues */
    .comparacion-card {
        padding: 24px 20px;
    }

    .comparacion-card li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    /* Trust bar */
    .trust-section {
        padding: 20px 0;
    }

    .trust-text {
        font-size: 0.85rem;
    }

    /* Urgencia */
    .urgency-section {
        padding: 48px 0;
    }

    .urgency-content h2 {
        font-size: 1.5rem;
    }

    /* CTA */
    .cta-box {
        padding: 36px 20px;
        margin: 0 8px;
    }

    .cta-box h2 {
        font-size: 1.4rem;
    }

    /* Galeria movil */
    .galeria-info {
        padding: 16px 18px;
    }

    .galeria-info h4 {
        font-size: 0.9rem;
    }

    .galeria-info p {
        font-size: 0.8rem;
    }

    /* Hero badge */
    .hero-badge {
        font-size: 0.82rem;
        padding: 8px 16px;
    }

    /* Planes badges */
    .plan-badges {
        gap: 6px;
    }

    .plan-badge {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    /* Chatbot - mejor posicionamiento */
    .chatbot-widget {
        bottom: 20px;
        right: 16px;
    }

    .chatbot-toggle {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .chatbot-window {
        right: -8px;
        bottom: 58px;
        width: calc(100vw - 24px);
    }

    /* WhatsApp - no superponer con chatbot */
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        bottom: 20px;
        left: 16px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Activity notification - no tapar contenido */
    .activity-notification {
        bottom: 80px;
        right: 12px;
        left: 12px;
        padding: 12px 36px 12px 14px;
        max-width: none;
    }

    .notification-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    .notification-text {
        font-size: 0.78rem;
    }

    /* Footer movil - padding inferior para flotantes */
    .footer {
        padding-bottom: 80px;
    }

    .footer-bottom {
        padding: 16px 0;
        font-size: 0.78rem;
    }

    /* Pasos mobile */
    .paso-number {
        font-size: 2rem;
    }

    .paso-card h3 {
        font-size: 1.05rem;
    }

    /* Countdown movil */
    .countdown {
        justify-content: center;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Seleccion de texto --- */
::selection {
    background: rgba(0, 102, 255, 0.3);
    color: #fff;
}
