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

/* ==========================================================================
   SISTEMA DE DISEÑO Y VARIABLES
   ========================================================================== */
:root {
    /* Fuentes */
    --font-headers: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Colores Principales (HSL para manipulación de opacidad) */
    --primary-h: 224;
    --primary-s: 100%;
    --primary-l: 58%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 45%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);

    --accent-h: 172;
    --accent-s: 100%;
    --accent-l: 46%;
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
    --accent-glow: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.2);

    --violet-h: 270;
    --violet-s: 95%;
    --violet-l: 65%;
    --violet: hsl(var(--violet-h), var(--violet-s), var(--violet-l));

    /* Modo Claro (Default - 100% Dark Mode Unificado) */
    --bg: #090d16;
    --bg-card: #111c2e;
    --bg-nav: rgba(9, 13, 22, 0.8);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.55);

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Medidas */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --container-width: 1200px;
}

/* Modo Oscuro (Secciones específicas o preferencia del usuario) */
.theme-dark {
    --bg: #090d16;
    --bg-card: rgba(17, 24, 39, 0.65);
    --bg-nav: rgba(9, 13, 22, 0.8);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li,
label,
div {
    cursor: default !important;
}

a,
button,
[role="button"],
.btn,
.nav-link,
.pricing-btn,
.faq-question,
.network-node,
.whatsapp-float,
.menu-toggle,
.bento-card,
.feature-card {
    cursor: pointer !important;
}

input,
textarea {
    cursor: text !important;
}

select {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #090d16 0%, #05070c 100%) fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button,
input,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   EFECTOS DE FONDO (AURORAS Y BLOBS)
   ========================================================================== */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(100px);
    opacity: 0.35;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-primary {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(43, 102, 255, 0) 70%);
}

.blob-accent {
    bottom: -10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--accent) 0%, rgba(0, 245, 212, 0) 70%);
    animation-delay: -5s;
}

.blob-violet {
    top: 40%;
    left: 20%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--violet) 0%, rgba(151, 73, 248, 0) 70%);
    opacity: 0.25;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 8%) scale(1.1);
    }

    100% {
        transform: translate(-3%, -5%) scale(0.95);
    }
}

/* ==========================================================================
   COMPONENTES COMUNES Y UTILIDADES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

section[id], header[id] {
    scroll-margin-top: 90px;
}

/* Efecto Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
    color: var(--text);
}

.glass:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.glass p {
    color: var(--text-muted) !important;
}

.glass h1,
.glass h2,
.glass h3,
.glass h4,
.glass h5,
.glass h6 {
    color: var(--text) !important;
}

.glass span {
    color: var(--text-muted) !important;
}

.glass li {
    color: var(--text) !important;
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 125%;
}

.btn-primary {
    background: linear-gradient(160deg, #00ffe5 0%, #00c9a7 50%, #009e82 100%);
    color: #061210 !important;
    font-weight: 700;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 2px 0 0 rgba(255,255,255,0.30) inset,
        0 8px 24px -4px rgba(0, 220, 185, 0.55),
        0 2px 8px -2px rgba(0, 245, 212, 0.35);
    text-shadow: 0 1px 1px rgba(0,0,0,0.12);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(160deg, #00ffe8 0%, #00d9b5 45%, #00aa8a 100%);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.22) inset,
        0 2px 0 0 rgba(255,255,255,0.35) inset,
        0 14px 32px -4px rgba(0, 220, 185, 0.70),
        0 4px 12px -2px rgba(0, 245, 212, 0.45),
        0 0 40px -8px rgba(0, 245, 212, 0.4);
    color: #061210 !important;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.00);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15) inset,
        0 1px 0 0 rgba(255,255,255,0.20) inset,
        0 4px 12px -4px rgba(0, 220, 185, 0.4);
}

.btn-secondary {
    background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 2px 0 0 rgba(255,255,255,0.12) inset,
        0 6px 20px rgba(0, 0, 0, 0.2),
        0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(160deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.09) 100%);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-3px) scale(1.02);
    color: #ffffff !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.14) inset,
        0 2px 0 0 rgba(255,255,255,0.18) inset,
        0 12px 28px rgba(0, 0, 0, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.00);
}

/* Glass contextual overrides */
.glass .btn-secondary,
.price-card .btn-secondary,
.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.glass .btn-secondary:hover,
.price-card .btn-secondary:hover,
.cta-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.btn-accent {
    background: linear-gradient(160deg, #00ffe5 0%, #00c9a7 50%, #009e82 100%);
    color: #061210;
    font-weight: 700;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 2px 0 0 rgba(255,255,255,0.28) inset,
        0 10px 24px -5px rgba(0, 220, 185, 0.55),
        0 2px 8px -2px rgba(0, 245, 212, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.22) inset,
        0 2px 0 0 rgba(255,255,255,0.32) inset,
        0 16px 32px -5px rgba(0, 220, 185, 0.65),
        0 0 40px -8px rgba(0, 245, 212, 0.4);
}

/* Títulos con Gradientes */
.text-gradient {
    background: linear-gradient(135deg, var(--text) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Separadores con diseño */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header span {
    font-family: var(--font-headers);
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* ==========================================================================
   NAVBAR (CABECERA)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background-color var(--transition-normal), height var(--transition-normal), border-bottom var(--transition-normal);
}

.navbar.scrolled {
    background-color: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 70px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 22px;
    color: var(--text);
    flex-shrink: 0;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* ==========================================================================
   SECCIÓN 1: HERO
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    gap: 32px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer !important;
}

.hero-meta-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Estilos de iconos meta personalizados y no genéricos */
.hero-meta-item .bi-gift-fill {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(0, 245, 212, 0.03) 100%);
    border: 1px solid rgba(0, 245, 212, 0.3);
    color: var(--accent) !important;
    filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.3));
}

.hero-meta-item .bi-lightning-charge-fill {
    background: linear-gradient(135deg, rgba(255, 218, 0, 0.15) 0%, rgba(255, 218, 0, 0.03) 100%);
    border: 1px solid rgba(255, 218, 0, 0.3);
    color: #ffda00 !important;
    filter: drop-shadow(0 0 8px rgba(255, 218, 0, 0.3));
}

.hero-meta-item .bi-robot {
    background: linear-gradient(135deg, rgba(151, 73, 248, 0.15) 0%, rgba(151, 73, 248, 0.03) 100%);
    border: 1px solid rgba(151, 73, 248, 0.3);
    color: var(--violet) !important;
    filter: drop-shadow(0 0 8px rgba(151, 73, 248, 0.3));
}

/* Efectos hover */
.hero-meta-item:hover i {
    transform: translateY(-2px) scale(1.05);
}

.hero-meta-item:hover .bi-gift-fill {
    border-color: rgba(0, 245, 212, 0.6);
    filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.5));
}

.hero-meta-item:hover .bi-lightning-charge-fill {
    border-color: rgba(255, 218, 0, 0.6);
    filter: drop-shadow(0 0 12px rgba(255, 218, 0, 0.5));
}

.hero-meta-item:hover .bi-robot {
    border-color: rgba(151, 73, 248, 0.6);
    filter: drop-shadow(0 0 12px rgba(151, 73, 248, 0.5));
}

/* Hero Mockup (Efecto Notebook Flotante) */
.hero-visual {
    position: relative;
    perspective: 1000px;
    z-index: 5;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 135%;
    height: 135%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(53, 122, 232, 0.5) 0%, rgba(0, 245, 212, 0.25) 45%, rgba(99, 102, 241, 0.15) 75%, transparent 100%);
    filter: blur(55px);
    z-index: -1;
    pointer-events: none;
}

.mockup-wrapper {
    position: relative;
    transform: translateY(0);
    transition: transform var(--transition-slow);
}

.hero-visual:hover .mockup-wrapper {
    transform: translateY(-12px);
}

.mockup-window {
    background: #0f172a;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4), 0 0 30px -5px rgba(53, 122, 232, 0.15);
    border: 1px solid rgba(53, 122, 232, 0.2);
    transition: box-shadow var(--transition-slow);
}

.hero-visual:hover .mockup-window {
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.6), 0 0 50px -5px rgba(53, 122, 232, 0.3);
}

.mockup-header {
    background: #1e293b;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

.dot-red {
    background: #ef4444;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-green {
    background: #10b981;
}

.mockup-header-address {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    height: 20px;
    border-radius: 4px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

.mockup-content {
    background: #090d16;
    padding: 0;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}

.mockup-app {
    display: flex;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    color: #1e293b;
    font-family: var(--font-body);
    font-size: 12.5px;
    text-align: left;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.mockup-sidebar {
    width: 24%;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.mockup-sidebar-logo {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.mockup-sidebar-search {
    background: #f1f5f9;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mockup-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mockup-sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
    padding: 6px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.mockup-sidebar-nav .nav-item i {
    font-size: 12.5px;
}

.mockup-sidebar-nav .nav-item.active {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
}

.mockup-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-main-top {
    height: 36px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 11px;
}

.mockup-top-left {
    color: #64748b;
    font-size: 13px;
}

.mockup-top-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}

.mockup-top-right .user-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.mockup-top-right .stock-pill {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #15803d;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 10px;
}

.mockup-top-right .dot-green-small {
    width: 4px;
    height: 4px;
    background: #22c55e;
    border-radius: 50%;
}

.mockup-top-right .cash-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    font-weight: 500;
    font-size: 10px;
}

.mockup-main-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.mockup-welcome h2 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mockup-welcome p {
    font-size: 11px;
    color: #64748b;
    margin: 3px 0 0 0;
}

.mockup-kpis {
    display: flex;
    gap: 10px;
}

.mockup-kpis .kpi-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 11px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.mockup-kpis .kpi-card .kpi-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-kpis .kpi-card .kpi-title {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.mockup-kpis .kpi-card .kpi-value {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.mockup-kpis .kpi-card .kpi-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.mockup-kpis .kpi-card .kpi-icon.green-icon {
    background: #ecfdf5;
    color: #10b981;
}

.mockup-kpis .kpi-card .kpi-icon.blue-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.mockup-kpis .kpi-card .kpi-icon.purple-icon {
    background: #faf5ff;
    color: #a855f7;
}

.mockup-charts {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    min-height: 0;
}

.mockup-charts .chart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-charts .chart-card.line-chart-card {
    flex: 1.7;
}

.mockup-charts .chart-card.donut-chart-card {
    flex: 1;
}

.mockup-charts .chart-card .chart-header h3 {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mockup-charts .chart-card .chart-header p {
    font-size: 9px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.mockup-charts .chart-card .chart-body-svg {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.mockup-charts .chart-card .svg-line-chart {
    width: 100%;
    height: 100%;
    max-height: 70px;
}

.mockup-charts .donut-chart-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 4px;
    gap: 8px;
}

.mockup-charts .donut-chart {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: conic-gradient(#10b981 0% 40%, #3b82f6 40% 75%, #06b6d4 75% 100%);
    position: relative;
}

.mockup-charts .donut-chart::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #ffffff;
    border-radius: 50%;
}

.mockup-charts .donut-legend {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mockup-charts .donut-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 9.5px;
    color: #64748b;
    font-weight: 500;
}

.mockup-charts .donut-legend .legend-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.mockup-charts .donut-legend .legend-dot.green {
    background: #10b981;
}

.mockup-charts .donut-legend .legend-dot.blue {
    background: #3b82f6;
}

.mockup-charts .donut-legend .legend-dot.cyan {
    background: #06b6d4;
}

/* ==========================================================================
   SECCIÓN 2: INTEGRACIONES (LOGOS)
   ========================================================================== */
.integrations {
    padding: 40px 0;
    background: rgba(9, 13, 22, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    color: var(--text);
}

.integrations .integrations-title {
    color: var(--text-muted) !important;
}

.integrations .logo-item span {
    color: var(--text) !important;
}

.integrations-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.integrations-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logos-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    opacity: 0.7;
    filter: grayscale(0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: auto;
}

/* Brand specific glow effects */
.logo-item.brand-meli:hover {
    background: rgba(255, 218, 0, 0.06);
    border-color: rgba(255, 218, 0, 0.35);
    box-shadow: 0 10px 25px -5px rgba(255, 218, 0, 0.18), 0 0 15px rgba(255, 218, 0, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item.brand-mpago:hover {
    background: rgba(0, 158, 227, 0.06);
    border-color: rgba(0, 158, 227, 0.35);
    box-shadow: 0 10px 25px -5px rgba(0, 158, 227, 0.18), 0 0 15px rgba(0, 158, 227, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item.brand-arca:hover {
    background: rgba(129, 140, 248, 0.06);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 10px 25px -5px rgba(129, 140, 248, 0.18), 0 0 15px rgba(129, 140, 248, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item.brand-tnube:hover {
    background: rgba(0, 132, 255, 0.06);
    border-color: rgba(0, 132, 255, 0.35);
    box-shadow: 0 10px 25px -5px rgba(0, 132, 255, 0.18), 0 0 15px rgba(0, 132, 255, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item.brand-woo:hover {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.18), 0 0 15px rgba(168, 85, 247, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item.brand-vtex:hover {
    background: rgba(247, 25, 99, 0.06);
    border-color: rgba(247, 25, 99, 0.35);
    box-shadow: 0 10px 25px -5px rgba(247, 25, 99, 0.18), 0 0 15px rgba(247, 25, 99, 0.05);
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
}

.logo-item i {
    font-size: 22px;
    transition: transform var(--transition-normal);
}

.logo-item:hover i {
    transform: scale(1.1);
}

.logo-item span {
    font-weight: 700 !important;
    font-family: var(--font-headers);
    font-size: 14.5px;
    color: var(--text-muted) !important;
    transition: color var(--transition-normal);
}

.logo-item:hover span {
    color: var(--text) !important;
}

/* ==========================================================================
   SECCIÓN 3: DOLOR VS SOLUCIÓN (WHY CLINKBOX)
   ========================================================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.comp-card {
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.comp-card-pain {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.comp-card-pain:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08);
}

.comp-card-solution {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 212, 0.25);
}

.comp-card-solution:hover {
    border-color: rgba(0, 245, 212, 0.45);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.08);
}

.comp-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-card-pain h3 {
    color: #ef4444;
}

.comp-card-solution h3 {
    color: var(--accent);
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.comp-item i {
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.comp-card-pain .comp-item i {
    color: #ef4444;
}

.comp-card-solution .comp-item i {
    color: var(--accent);
}

.comp-item-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.comp-item-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   SECCIÓN 5: BENTO GRID DE FUNCIONALIDADES
   ========================================================================== */
.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    grid-auto-rows: 240px;
}

.bento-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), hsla(var(--card-hue), 90%, 55%, 0.12), transparent 60%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--card-hue), 90%, 55%), hsla(var(--card-hue), 90%, 55%, 0.2));
    opacity: 0.6;
    transition: opacity var(--transition-normal);
    z-index: 3;
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: hsla(var(--card-hue), 90%, 55%, 0.3);
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 0 30px -5px hsla(var(--card-hue), 90%, 55%, 0.15);
}

.bento-card * {
    position: relative;
    z-index: 2;
}

/* Bento grid sizing classes */
.bento-card.col-3 {
    grid-column: span 3;
}

.bento-card.col-4 {
    grid-column: span 4;
}

.bento-card.col-6 {
    grid-column: span 6;
}

.bento-card.col-8 {
    grid-column: span 8;
}

.bento-card.col-12 {
    grid-column: span 12;
}

.bento-card.row-2 {
    grid-row: span 2;
}

/* Content structure inside Bento Card */
.bento-info {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, hsla(var(--card-hue), 90%, 55%, 0.15) 0%, hsla(var(--card-hue), 90%, 55%, 0.05) 100%);
    color: hsl(var(--card-hue), 90%, 65%);
    border: 1px solid hsla(var(--card-hue), 90%, 55%, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 0 5px hsla(var(--card-hue), 90%, 65%, 0.15));
}

.bento-card:hover .bento-icon {
    background: linear-gradient(135deg, hsla(var(--card-hue), 90%, 55%, 0.25) 0%, hsla(var(--card-hue), 90%, 55%, 0.1) 100%);
    color: hsl(var(--card-hue), 90%, 65%);
    border-color: hsla(var(--card-hue), 90%, 55%, 0.6);
    transform: scale(1.1) translateY(-2px);
    box-shadow:
        0 10px 20px -5px hsla(var(--card-hue), 90%, 55%, 0.3),
        0 0 15px -3px hsla(var(--card-hue), 90%, 55%, 0.15);
    filter: drop-shadow(0 0 8px hsla(var(--card-hue), 90%, 65%, 0.4));
}

.bento-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

.bento-card.col-3 h3 {
    font-size: 18px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.bento-card.col-3 p {
    font-size: 13px;
    line-height: 1.45;
}

.bento-card.col-3 .bento-info {
    gap: 8px;
}

.bento-card.col-3 .bento-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 10px;
}

@media (min-width: 769px) {

    .bento-card.col-6 .bento-info,
    .bento-card.col-12 .bento-info {
        max-width: 55%;
    }
}

/* Bento card arrow indicator - hidden as per request */
.bento-arrow {
    display: none;
}

/* ==========================================================================
   MOCKUPS VISUALES DENTRO DE LAS CARDS BENTO
   ========================================================================== */
.bento-visual {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 15, 28, 0.6);
    transition: transform var(--transition-slow), opacity var(--transition-normal);
    opacity: 0.55;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.bento-card:hover .bento-visual {
    opacity: 0.85;
    transform: translateY(-4px) scale(1.02);
}

/* 1. Dashboard mockup (Todo en Uno - col-6, row-2) */
.visual-dashboard {
    bottom: -30px;
    right: -20px;
    width: 65%;
    height: 70%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.visual-dashboard-title {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.visual-dashboard-pills {
    display: flex;
    gap: 4px;
}

.visual-dashboard-pill {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.visual-dashboard-pill.active {
    background: hsl(var(--primary-h), 90%, 55%);
}

.visual-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.visual-dashboard-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visual-dashboard-box .line1 {
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.visual-dashboard-box .line2 {
    width: 25px;
    height: 8px;
    background: hsl(var(--card-hue), 90%, 55%);
    border-radius: 2px;
    margin-top: 2px;
}

.visual-dashboard-chart {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    position: relative;
    padding: 10px;
    min-height: 80px;
}

.visual-dashboard-chart-lines {
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    height: 60%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
}

.visual-dashboard-bar {
    flex: 1;
    background: linear-gradient(180deg, hsla(var(--card-hue), 90%, 55%, 0.4) 0%, hsla(var(--card-hue), 90%, 55%, 0.05) 100%);
    border-radius: 2px 2px 0 0;
    transition: height var(--transition-slow);
}

.bento-card:hover .visual-dashboard-bar {
    filter: brightness(1.2);
}

/* 2. Excel import mockup (Carga Masiva - col-6) */
.visual-upload {
    bottom: -20px;
    right: 15px;
    width: 240px;
    height: 140px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visual-upload-zone {
    border: 1px dashed rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.02);
    border-radius: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.visual-upload-icon {
    font-size: 16px;
    color: hsl(145, 90%, 55%);
}

.visual-upload-text {
    font-size: 8px;
    color: var(--text-muted);
}

.visual-upload-bar {
    width: 80%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.visual-upload-progress {
    width: 65%;
    height: 100%;
    background: hsl(145, 90%, 50%);
    border-radius: 2px;
}

.bento-card:hover .visual-upload-progress {
    width: 100%;
    transition: width 1.2s ease-in-out;
}

/* 3. Offline Status mockup (Offline server - col-6) */
.visual-offline {
    bottom: -15px;
    right: 15px;
    width: 200px;
    height: 120px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-offline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visual-offline-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 600;
    color: hsl(275, 90%, 65%);
}

.visual-offline-indicator {
    width: 6px;
    height: 6px;
    background-color: hsl(275, 90%, 55%);
    border-radius: 50%;
    box-shadow: 0 0 8px hsl(275, 90%, 55%);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 2px hsl(275, 90%, 55%);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px hsl(275, 90%, 55%);
    }
}

.visual-offline-toggle {
    width: 34px;
    height: 18px;
    background: hsl(275, 90%, 55%);
    border-radius: 10px;
    position: relative;
}

.visual-offline-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
}

.visual-offline-db {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 8.5px;
    color: var(--text-muted);
}

.visual-offline-db i {
    font-size: 12px;
    color: hsl(275, 90%, 65%);
}

/* 4. Digital Invoice mockup (Factura electronica - col-6) */
.visual-invoice {
    bottom: -35px;
    right: 15px;
    width: 220px;
    height: 150px;
    background: #0d1324;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px 12px 0 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
}

.visual-invoice-top {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.visual-invoice-logo {
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 8px;
    color: #fff;
}

.visual-invoice-type {
    background: #1e293b;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 7px;
    font-weight: 700;
}

.visual-invoice-body {
    flex-grow: 1;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visual-invoice-row {
    display: flex;
    justify-content: space-between;
    font-size: 7px;
    color: var(--text-muted);
}

.visual-invoice-total {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 8px;
    color: #fff;
}

.visual-invoice-badge {
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.2);
    color: #00ffd2;
    border-radius: 4px;
    font-size: 7px;
    padding: 3px;
    text-align: center;
    font-weight: 700;
}

/* 5. Credit Card mockup (Mercado Pago - col-4) */
.visual-card {
    bottom: -25px;
    right: -15px;
    width: 170px;
    height: 105px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(0, 158, 227, 0.4);
    box-shadow: 0 0 15px rgba(0, 158, 227, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(-5deg);
    transition: transform var(--transition-normal);
}

.bento-card:hover .visual-card {
    transform: rotate(0deg) scale(1.05) translate(-5px, -5px);
    box-shadow: 0 5px 20px rgba(0, 158, 227, 0.4);
}

.visual-card-chip {
    width: 20px;
    height: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    border-radius: 3px;
}

.visual-card-number {
    font-family: monospace;
    font-size: 9px;
    color: #fff;
    letter-spacing: 1.5px;
}

.visual-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visual-card-name {
    font-size: 6px;
    color: var(--text-muted);
}

.visual-card-brand {
    font-weight: 800;
    font-size: 10px;
    color: #009ee3;
}

/* 6. Sync box mockup (Mercado Libre - col-4) */
.visual-sync {
    bottom: -25px;
    right: -10px;
    width: 155px;
    height: 80px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0f1322;
}

.visual-sync-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 8px;
}

.visual-sync-title {
    color: #ffd200;
    font-weight: 700;
}

.visual-sync-val {
    color: #fff;
    font-weight: 600;
}

.visual-sync-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.visual-sync-progress {
    width: 100%;
    height: 100%;
    background: #ffd200;
    border-radius: 3px;
    transform: scaleX(0.7);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.bento-card:hover .visual-sync-progress {
    transform: scaleX(1);
}

.visual-sync-status {
    font-size: 7px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

.visual-sync-status::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
}

/* 7. Product mockup (Tienda Nube - col-4) */
.visual-product {
    bottom: -25px;
    right: -10px;
    width: 145px;
    height: 85px;
    padding: 8px;
    display: flex;
    gap: 8px;
    background: #0d1222;
}

.visual-product-img {
    width: 50px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e1b4b 100%);
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.1);
}

.visual-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.visual-product-title {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.visual-product-price {
    font-weight: 800;
    font-size: 10px;
    color: #fff;
}

.visual-product-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 6px;
    padding: 2px 4px;
    border-radius: 4px;
    width: max-content;
}

/* 7.5 WooCommerce mockup (.visual-woo) */
.visual-woo {
    bottom: -25px;
    right: -10px;
    width: 145px;
    height: 80px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0c0f1a;
    border: 1px solid rgba(150, 88, 138, 0.3);
}

.visual-woo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.visual-woo-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(150, 88, 138, 0.15);
    border: 1px solid rgba(150, 88, 138, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #96588a;
    font-size: 20px;
    transition: transform var(--transition-normal);
}

.bento-card:hover .visual-woo-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.visual-woo-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.visual-woo-sync {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    color: #10b981;
    font-weight: 600;
}

.visual-woo-indicator {
    width: 5px;
    height: 5px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.visual-woo-badge {
    background: rgba(150, 88, 138, 0.1);
    border: 1px solid rgba(150, 88, 138, 0.2);
    color: #c786be;
    font-size: 7px;
    padding: 2px 5px;
    border-radius: 4px;
    width: max-content;
    font-weight: 600;
}

/* 7.6 VTEX mockup (.visual-vtex) */
.visual-vtex {
    bottom: -25px;
    right: -10px;
    width: 145px;
    height: 80px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #0f0b12;
    border: 1px solid rgba(249, 7, 71, 0.3);
}

.visual-vtex-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2px 0;
}

.visual-vtex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.visual-vtex-header .vtex-logo {
    font-family: var(--font-headers);
    font-weight: 800;
    font-size: 11px;
    color: #f90747;
    letter-spacing: 0.5px;
}

.visual-vtex-header .vtex-status {
    font-size: 7px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}

.visual-vtex-pulse {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    color: var(--text-muted);
}

.visual-vtex-pulse .pulse-dot {
    width: 6px;
    height: 6px;
    background: #f90747;
    border-radius: 50%;
    position: relative;
}

.visual-vtex-pulse .pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: vtex-pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    top: 0;
    left: 0;
}

@keyframes vtex-pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(2.2);
        opacity: 0;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* 8. Multi-badges banner mockup (Multi modulos - col-12) */
.visual-badges {
    bottom: 16px;
    right: 32px;
    width: 45%;
    height: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border: none;
    background: transparent;
    box-shadow: none;
}

.visual-badge-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.bento-card:hover .visual-badge-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.visual-badge-icon {
    font-size: 16px;
    color: hsl(160, 95%, 45%);
}

.visual-badge-text {
    font-size: 9.5px;
    font-weight: 600;
    color: #fff;
}

/* Responsive fixes for Bento Grid */
@media (max-width: 1100px) {
    .features-bento-grid {
        grid-auto-rows: 220px;
    }

    .bento-card {
        padding: 24px;
    }

    .bento-card.col-3,
    .bento-card.col-4 {
        grid-column: span 6;
    }

    .visual-badges {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 20px;
    }

    .bento-card {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
        min-height: 240px;
        justify-content: flex-start;
        gap: 16px;
        padding-bottom: 120px;
    }

    .bento-visual {
        bottom: 20px;
        right: 20px;
        width: 180px;
        height: 100px;
    }

    .visual-dashboard {
        width: 180px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .features-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: span 1 !important;
        padding-bottom: 20px;
    }

    .bento-visual {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 16px;
        width: 100%;
        height: 120px;
    }

    .visual-dashboard {
        width: 100%;
        height: 120px;
    }
}


/* ==========================================================================
   SECCIÓN 6: TESTIMONIOS (MARQUEE INFINITO DUAL)
   ========================================================================== */
.testimonials-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-row {
    display: flex;
    width: 100%;
    padding: 12px 0;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
}

.track-left {
    animation: marqueeLeft 65s linear infinite;
}

.track-right {
    animation: marqueeRight 65s linear infinite;
}

@keyframes marqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.testimonial-card {
    width: 380px;
    flex-shrink: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-normal), filter var(--transition-normal);
}

.testimonials-marquee-wrap:hover .testimonial-card {
    opacity: 0.45;
    filter: blur(0.5px);
}

.testimonials-marquee-wrap:hover .testimonial-card:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -15px rgba(43, 102, 255, 0.25);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-header .rating {
    display: flex;
    gap: 4px;
    color: #ffb800;
}

.testimonial-header .rating i {
    font-size: 15px;
}

.quote-icon {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.15;
    transition: opacity var(--transition-fast);
}

.testimonial-card:hover .quote-icon {
    opacity: 0.35;
}

.testimonial-content {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Colores personalizados para los avatares */
.avatar-1 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.avatar-2 {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.avatar-3 {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.avatar-4 {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.avatar-5 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.avatar-6 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.avatar-7 {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

@media (max-width: 768px) {
    .testimonial-card {
        width: 320px;
        padding: 24px;
    }

    .track-left {
        animation-duration: 45s;
    }

    .track-right {
        animation-duration: 45s;
    }
}

/* ==========================================================================
   SECCIÓN 7: TARIFARIO (PRICING)
   ========================================================================== */
.pricing-section {
    background: transparent;
}

/* Switch Mensual/Anual */
.pricing-switch-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.pricing-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.pricing-label.active {
    color: var(--text);
}

.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-hover);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.discount-badge {
    background: rgba(0, 245, 212, 0.15);
    color: #00b89f;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Grid de Planes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.price-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
}

.price-header {
    margin-bottom: 24px;
}

.price-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-headers);
}

.plan-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: transform var(--transition-fast);
}

.price-card:hover .plan-icon-wrap {
    transform: scale(1.08) rotate(3deg);
}

.plan-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 8px;
}

.price-features {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.price-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.price-feature i {
    font-size: 16px;
    flex-shrink: 0;
}

.price-feature.included i {
    color: var(--accent);
}

.price-feature.excluded {
    color: var(--text-muted);
    opacity: 0.6;
}

.price-feature.excluded i {
    color: #ef4444;
}

/* Plan Destacado (Popular) */
.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 40px -15px rgba(43, 102, 255, 0.2);
    background: var(--bg-card) !important;
}

/* Borde gradiente animado para el popular */
.price-card.popular::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: calc(var(--radius-md) + 2px);
    background: linear-gradient(135deg, var(--primary), var(--violet), var(--accent));
    z-index: -1;
    opacity: 0.7;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: #fff;
    font-family: var(--font-headers);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(43, 102, 255, 0.3);
}

/* ==========================================================================
   SECCIÓN 8: FAQ & FOOTER
   ========================================================================== */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.faq-item.glass.active {
    background-color: rgba(255, 255, 255, 0.045);
    border-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.35);
    box-shadow:
        0 15px 35px -10px rgba(0, 0, 0, 0.45),
        0 0 20px -5px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.15);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    user-select: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question i {
    font-size: 18px;
    color: var(--primary);
    transition: transform var(--transition-fast), color var(--transition-fast), text-shadow var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1), padding var(--transition-normal);
    color: var(--text-muted);
    font-size: 15px;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Suficientemente grande */
    padding: 0 24px 24px 24px;
    border-top-color: var(--border);
    transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0), padding var(--transition-normal);
}

.faq-item.active .faq-question {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.015);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #fff;
    text-shadow: 0 0 8px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.6);
}

/* CTA Final y Footer */
.cta-final {
    position: relative;
    overflow: hidden;
    background: transparent;
    transition: background-color var(--transition-normal);
}

.theme-dark .cta-final {
    background: linear-gradient(135deg, #090d16 0%, #111827 100%);
}

.cta-final .cta-card {
    padding: 80px 40px;
    text-align: center;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.cta-final h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text);
    font-family: var(--font-headers);
    font-weight: 700;
}

.cta-final p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botón principal cian brillante */
.cta-primary-btn {
    background: linear-gradient(135deg, #00f5d4 0%, #00d3b6 100%);
    color: #0c1322 !important;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(0, 245, 212, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 245, 212, 0.6);
    background: linear-gradient(135deg, #00ffd2 0%, #00e5c6 100%);
}

.cta-primary-btn:active {
    transform: translateY(-1px);
}

/* Botón WhatsApp de cristal plateado */
.cta-whatsapp-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-whatsapp-btn i {
    color: #ffffff;
    font-size: 18px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.cta-whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    transform: translateY(-3px);
}

.cta-whatsapp-btn:hover i {
    color: #25d366;
    transform: scale(1.08);
}

.cta-whatsapp-btn:active {
    transform: translateY(-1px);
}

.footer {
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border);
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(10px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-side p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 15px;
    margin-bottom: 20px;
}

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

.footer-links ul.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 12px 30px;
}

@media (max-width: 400px) {
    .footer-links ul.footer-nav-grid {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: unset;
    }
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP (CONVERSIÓN DIRECTA)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: rgba(13, 19, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f1f5f9;
    font-size: 22px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float i {
    color: #f1f5f9;
    transition: color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover i {
    color: #25d366;
    transform: scale(1.08);
}

/* Tooltip de WhatsApp */
.whatsapp-float::after {
    content: 'Chatear con Sector de Ventas';
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   DISEÑO RESPONSIVO (RESPONSIVE MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1150px) {
    .hero-grid {
        display: block;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .mockup-wrapper {
        transform: none !important;
        max-width: 600px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .price-card.popular {
        transform: none;
    }

    /* Activar Menú Hamburguesa a partir de 1024px */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 24px;
        gap: 24px;
        z-index: 999;
        overflow-y: auto;
    }

    .navbar.scrolled .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px !important;
        font-weight: 600 !important;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-right .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 32px;
    }

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

    .simulator-layout {
        grid-template-columns: 1fr;
    }

    .simulator-screen {
        order: 2;
    }

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

    .cta-final h2 {
        font-size: 32px;
    }

    .cta-final p {
        font-size: 16px;
    }
}

/* ==========================================================================
   FASE 2: SCROLLYTELLING
   ========================================================================== */


/* Clases de revelado por scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform, opacity, filter;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(5px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform, opacity, filter;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(5px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform, opacity, filter;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
    transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform, opacity, filter;
}

/* Estado visible al entrar en pantalla */
.scroll-reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* Staggers (Delays escalonados) */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

.stagger-4 {
    transition-delay: 400ms;
}

.stagger-5 {
    transition-delay: 500ms;
}

.stagger-6 {
    transition-delay: 600ms;
}

.stagger-7 {
    transition-delay: 700ms;
}

.stagger-8 {
    transition-delay: 800ms;
}

/* Scrollspy active navbar highlight */
.nav-link.active {
    color: var(--accent) !important;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--accent) !important;
}

/* Animación del rayito en hover del plan popular */
.price-card:hover .bi-lightning-fill {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 10px #ffda00);
}

.price-card .bi-lightning-fill {
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

/* ==========================================================================
   SECCIÓN: ECOSISTEMA CLINKBOX - RED NEURONAL INTERCONECTADA
   ========================================================================== */
.ecosystem-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
    margin-top: 50px;
}

.ecosystem-network-container {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 6/5;
    margin: 0 auto;
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.network-path {
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 2;
    fill: none;
    transition: stroke var(--transition-normal), stroke-width var(--transition-normal);
}

.network-interconnection {
    stroke: rgba(255, 255, 255, 0.015);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    fill: none;
    transition: stroke var(--transition-normal);
}

.network-path.active {
    stroke: hsla(var(--card-hue), 90%, 55%, 0.35);
    stroke-width: 3;
}

.network-pulse {
    filter: drop-shadow(0 0 6px var(--pulse-color, #00f5d4));
}

/* Nodo central (Clinkbox) */
.central-node-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 20;
}

.central-node {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.central-node img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    filter: drop-shadow(0 0 15px rgba(53, 122, 232, 0.6));
    animation: floatLogo 4s infinite ease-in-out;
}

.central-node-ring {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(53, 122, 232, 0.25);
    border-radius: 50%;
    z-index: 5;
    animation: pulseRing 3.5s infinite linear;
    pointer-events: none;
}

.central-node-ring:nth-child(2) {
    animation-delay: 1.1s;
}

.central-node-ring:nth-child(3) {
    animation-delay: 2.2s;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Nodos orbitantes (Tarjetas Glassmorphic Cuadradas) */
.network-node {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: all var(--transition-normal);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.network-node i {
    font-size: 22px;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.network-node-label {
    position: static;
    white-space: nowrap;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    font-family: var(--font-headers);
}

.network-node:hover,
.network-node.active {
    background: hsla(var(--node-hue), 90%, 55%, 0.08);
    border-color: hsla(var(--node-hue), 90%, 55%, 0.45);
    box-shadow:
        0 0 20px -2px hsla(var(--node-hue), 90%, 55%, 0.25),
        inset 0 0 8px hsla(var(--node-hue), 90%, 55%, 0.05);
    transform: translate(-50%, -50%) scale(1.06);
}

.network-node:hover i,
.network-node.active i {
    color: hsl(var(--node-hue), 90%, 65%);
    transform: scale(1.08);
}

.network-node:hover .network-node-label,
.network-node.active .network-node-label {
    color: #fff;
}

/* Posiciones porcentuales exactas que se alinean con las coordenadas SVG */
.network-node[data-ecosystem="web"] {
    left: 16.66%;
    top: 32%;
}

.network-node[data-ecosystem="desktop"] {
    left: 83.33%;
    top: 32%;
}

.network-node[data-ecosystem="mobile"] {
    left: 16.66%;
    top: 68%;
}

.network-node[data-ecosystem="learning"] {
    left: 83.33%;
    top: 68%;
}

.network-node[data-ecosystem="support"] {
    left: 50%;
    top: 14%;
}

.network-node[data-ecosystem="sofia"] {
    left: 50%;
    top: 86%;
}

/* Panel de detalles dinámico */
.ecosystem-details-panel {
    padding: 35px;
    border-radius: 24px;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ecosystem-tab-pane {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    width: 100%;
}

.ecosystem-tab-pane.active {
    display: grid;
    animation: tabFadeIn var(--transition-normal) forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecosystem-details-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ecosystem-details-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    width: max-content;
    background: hsla(var(--node-hue, 210), 90%, 55%, 0.15);
    color: hsl(var(--node-hue, 210), 90%, 65%);
    border: 1px solid hsla(var(--node-hue, 210), 90%, 55%, 0.25);
    transition: all var(--transition-normal);
}

.ecosystem-details-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.ecosystem-details-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.ecosystem-details-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.ecosystem-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.ecosystem-details-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.ecosystem-details-item i {
    color: hsl(var(--node-hue, 210), 90%, 60%);
    font-size: 15px;
    transition: color var(--transition-normal);
}

/* Area visual del mockup */
.ecosystem-details-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

/* Mockups Generales */
.ecosystem-mockup {
    width: 100%;
    max-width: 220px;
    background: rgba(13, 19, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 1. Web browser simulation */
.web-mockup {
    border-color: hsla(215, 90%, 55%, 0.3);
}

.mockup-browser-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-browser-header .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.mockup-browser-header .dot.red {
    background: #ff5f56;
}

.mockup-browser-header .dot.yellow {
    background: #ffbd2e;
}

.mockup-browser-header .dot.green {
    background: #27c93f;
}

.mockup-browser-bar {
    font-size: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 4px;
    color: var(--text-muted);
    flex-grow: 1;
    text-align: center;
    margin-left: 10px;
    font-family: monospace;
}

.mockup-browser-body {
    padding: 15px;
}

.mini-chart-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 50px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2px;
}

.mini-bar-chart .bar {
    flex-grow: 1;
    background: linear-gradient(180deg, hsla(215, 90%, 55%, 0.6) 0%, hsla(215, 90%, 55%, 0.1) 100%);
    border-radius: 2px 2px 0 0;
}

.mini-chart-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-lbl {
    font-size: 8px;
    color: var(--text-muted);
}

.stat-val {
    font-size: 11px;
    font-weight: 800;
    color: hsl(215, 90%, 60%);
}

/* 2. Desktop simulation */
.desktop-mockup {
    border-color: hsla(270, 90%, 55%, 0.3);
}

.mockup-desktop-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    font-size: 8.5px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-desktop-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offline-badge {
    background: rgba(179, 115, 255, 0.12);
    border: 1px solid rgba(179, 115, 255, 0.25);
    color: #b373ff;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: max-content;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background: #b373ff;
    border-radius: 50%;
    box-shadow: 0 0 6px #b373ff;
    animation: simplePulse 1.2s infinite alternate;
}

@keyframes simplePulse {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.sync-indicator {
    font-size: 8px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3. Mobile frame */
.mobile-mockup {
    border: none;
    background: transparent;
    box-shadow: none;
}

.phone-frame {
    width: 130px;
    height: 200px;
    background: #000;
    border: 4px solid #1e293b;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 10px;
    background: #1e293b;
    border-radius: 0 0 6px 6px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #090d16;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 10px 4px;
    font-size: 7.5px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.phone-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    gap: 12px;
}

.qr-scanner-sim {
    position: relative;
    font-size: 32px;
    color: #00ffd2;
    padding: 10px;
    border: 1px dashed rgba(0, 255, 210, 0.4);
    border-radius: 8px;
    background: rgba(0, 255, 210, 0.02);
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00ffd2;
    box-shadow: 0 0 8px #00ffd2;
    animation: scanAnim 1.8s infinite ease-in-out;
}

@keyframes scanAnim {
    0% {
        top: 0%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0%;
    }
}

.phone-price {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

/* 4. Learning video simulation */
.learning-mockup {
    border-color: rgba(248, 113, 113, 0.3);
}

.video-preview {
    position: relative;
    aspect-ratio: 16/10;
    width: 100%;
    background: #090d16;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

/* Simulación de contenido de video en el fondo */
.video-bg-content {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0.15;
    filter: blur(1.5px);
    pointer-events: none;
}

.video-bg-sidebar {
    width: 25%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.video-bg-main {
    flex-grow: 1;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg-chart {
    width: 70%;
    height: 50%;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0) 100%);
    clip-path: polygon(0 100%, 20% 40%, 40% 60%, 60% 20%, 80% 80%, 100% 0%, 100% 100%);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.play-btn-circle {
    width: 42px;
    height: 42px;
    background: #f87171;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.6);
    animation: playPulse 2s infinite ease-in-out;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
}

.play-btn-circle i {
    margin-left: 3px;
    color: #fff;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(248, 113, 113, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
    }
}

/* Controles glassmorphic del reproductor */
.video-controls {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
    padding: 8px 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-timeline {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.video-progress {
    height: 100%;
    background: #f87171;
    border-radius: 2px;
    box-shadow: 0 0 6px #f87171;
}

.video-controls-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.video-left,
.video-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-btn {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.video-time {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.6);
    font-family: monospace;
}

.video-sub {
    font-size: 8px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    text-align: center;
}

/* 5. Chat simulation */
.support-mockup {
    border-color: hsla(38, 90%, 55%, 0.3);
}

.chat-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: hsla(38, 90%, 55%, 0.15);
    border: 1px solid hsla(38, 90%, 55%, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 9px;
}

.chat-user {
    font-size: 8.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.online-dot {
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
}

.chat-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bubble {
    font-size: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    max-width: 85%;
    line-height: 1.3;
}

.bubble-received {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.bubble-sent {
    background: #25d366;
    color: #000;
    font-weight: 600;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 2.5px;
    margin-top: 2px;
}

.typing-indicator span {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.details-fade-out {
    opacity: 0;
    transform: translateY(8px);
}

.details-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Responsividad para la red */
@media (max-width: 1024px) {
    .ecosystem-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ecosystem-details-panel {
        min-height: auto;
        padding: 30px;
    }

    .ecosystem-tab-pane {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .ecosystem-network-container {
        max-width: 100%;
        aspect-ratio: 1/1;
        padding-bottom: 20px;
    }

    .network-node {
        width: 48px;
        height: 48px;
    }

    .network-node i {
        font-size: 16px;
    }

    .network-node-label {
        font-size: 9px;
        top: 54px;
    }

    .central-node-wrapper {
        width: 70px;
        height: 70px;
    }

    .central-node img {
        width: 40px;
    }
}

/* ==========================================================================
   ENLACES LEGALES (FOOTER)
   ========================================================================== */
.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    font-size: 13px;
    color: var(--text-muted) !important;
    transition: color var(--transition-fast);
}

.footer-legal-link:hover {
    color: var(--text) !important;
}

@media (max-width: 560px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

/* ==========================================================================
   NUEVA SECCIÓN: PLAN GRATIS ILIMITADO VS PREMIUM
   ========================================================================== */
.plans-split-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 25px;
    max-width: 860px;
    margin: 40px auto 0 auto;
    align-items: stretch;
}

.plan-card-premium {
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%;
}

/* Plan Gratis - Prioritario */
.plan-card-premium.free-tier {
    border-color: rgba(43, 102, 255, 0.35);
    background: linear-gradient(135deg, rgba(17, 28, 46, 0.8) 0%, rgba(9, 13, 22, 0.9) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(43, 102, 255, 0.15);
    transform: translateY(-5px);
}

.plan-card-premium.free-tier::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--primary), var(--violet));
    z-index: -1;
    opacity: 0.6;
}

/* Plan Premium - Consulta */
.plan-card-premium.advanced-tier {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.55);
}

/* Badges */
.plan-card-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    background: rgba(43, 102, 255, 0.15);
    color: #5885ff;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(43, 102, 255, 0.25);
    margin-bottom: 16px;
}

.plan-card-badge.accent-badge {
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent);
    border-color: rgba(0, 245, 212, 0.2);
}

/* Header */
.plan-card-header h3 {
    font-family: var(--font-headers);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.plan-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 90%;
}

.plan-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 30px;
}

.plan-card-price .price-val {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-headers);
    line-height: 1;
}

.plan-card-price .price-period {
    font-size: 14px;
    color: var(--text-muted);
}

/* Features */
.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.plan-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
}

.plan-card-features li i {
    font-size: 15px;
    flex-shrink: 0;
}

.free-tier .plan-card-features li i {
    color: var(--primary);
}

.advanced-tier .plan-card-features li i {
    color: var(--accent);
}

/* Actions */
.plan-card-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.plan-btn {
    width: 100%;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast), background var(--transition-fast);
    text-decoration: none;
    display: inline-block;
}

.plan-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(43, 102, 255, 0.35);
}

.plan-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 102, 255, 0.5);
    filter: brightness(1.1);
}

.plan-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plan-btn-secondary:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
    transform: translateY(-2px);
}

.plan-btn-secondary i {
    font-size: 17px;
    color: #25d366;
}

.action-note {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-note i {
    color: var(--accent);
}

/* Responsividad */
@media (max-width: 960px) {
    .plans-split-container {
        grid-template-columns: 1fr;
        max-width: 550px;
        gap: 30px;
    }
    
    .plan-card-premium.free-tier {
        transform: none;
    }
}

/* ==========================================================================
   AJUSTES ADICIONALES DE RESPONSIVIDAD PARA DISPOSITIVOS MÓVILES
   ========================================================================== */

/* Salvaguarda global contra desbordamiento horizontal */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .hero {
        display: block !important;
        min-height: auto !important;
        padding-top: 95px !important;
        padding-bottom: 50px !important;
    }

    /* Centrado absoluto y corrección de anchos en el Hero */
    .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Tipografía fluida ajustada para evitar desbordes */
    .hero-content h1 {
        font-size: clamp(24px, 5.5vw + 8px, 34px) !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    .hero-content p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .section-header h2, .cta-final h2 {
        font-size: clamp(24px, 5vw + 8px, 34px) !important;
        line-height: 1.25 !important;
    }

    /* Espaciado global más holgado para evitar que se vea amontonado */
    .section-padding {
        padding: 60px 0 !important;
    }

    .comp-card {
        padding: 24px 20px !important;
    }

    /* Evitar que las etiquetas horizontales del hero desborden la pantalla */
    .hero-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: fit-content !important;
        margin: 0 auto !important;
        gap: 16px !important;
    }
    
    .hero-actions {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }

    /* Ajustes específicos del mockup del Dashboard en el Hero para móvil/tablets (Escalado Completo) */
    .hero-visual {
        position: relative !important;
        width: 100% !important;
        height: calc((100vw - 48px) * 0.66735) !important;
        margin-bottom: 20px !important;
        overflow: hidden !important;
        display: block !important;
    }

    .mockup-wrapper {
        width: 850px !important;
        transform: scale(calc((100vw - 48px) / 850px)) !important;
        transform-origin: top left !important;
        margin: 0 !important;
    }
}

@media (max-width: 560px) {
    /* Apilar los botones de acción del hero en columna a partir de 560px (Celulares) */
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 290px !important;
        margin: 0 auto 32px auto !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 15px !important;
    }

    /* Grid organizada para logos de integraciones en móvil */
    .logos-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 320px;
        margin: 20px auto 0 auto !important;
    }

    .logo-item {
        justify-content: center !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        opacity: 0.85 !important;
    }
}

@media (max-width: 480px) {
    /* Estilización del Bento Grid en celular */
    .bento-card {
        text-align: center;
        padding: 24px 20px !important;
        min-height: auto !important;
    }

    .bento-info {
        align-items: center;
        max-width: 100% !important;
    }

    .bento-icon {
        margin: 0 auto 12px auto;
    }

    .bento-visual {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        margin: 20px auto 0 auto !important;
        transform: none !important;
        opacity: 0.85 !important;
    }

    /* Evitar distorsión de los mockups en las Bento Cards */
    .visual-dashboard { width: 250px !important; height: 160px !important; }
    .visual-upload { width: 220px !important; height: 140px !important; }
    .visual-offline { width: 200px !important; height: 120px !important; }
    .visual-invoice { width: 190px !important; height: 135px !important; }
    .visual-card { width: 170px !important; height: 105px !important; }
    .visual-sync { width: 160px !important; height: 110px !important; }
    .visual-product { width: 170px !important; height: 115px !important; }
    .visual-woo { width: 170px !important; height: 110px !important; }
    .visual-vtex { width: 170px !important; height: 110px !important; }

    /* Separación vertical limpia para las tarjetas de precios */
    .plans-split-container {
        gap: 24px !important;
        margin-top: 24px !important;
        padding: 0 10px;
    }

    .plan-card-premium {
        padding: 24px 20px !important;
    }
}