:root {
    --bg-deep: #030014;
    --primary: #7928CA;
    --secondary: #FF0080;
    --cyan: #00DFD8;
    --text-main: #ffffff;
    --text-dim: #8892b0;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
::-webkit-scrollbar { display: none; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

section { scroll-margin-top: 90px; }

/* =============================
   AMBIENT LIGHT
   ============================= */
.ambient-light {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(121,40,202,0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255,0,128,0.15) 0%, transparent 25%);
    z-index: -1;
    pointer-events: none;
    animation: ambientShift 10s ease-in-out infinite alternate;
}
@keyframes ambientShift { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* =============================
   NAVBAR
   ============================= */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 0, 20, 0.6);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    opacity: 0;
    animation: fadeInDown 0.8s forwards 0.3s;
}

/* =============================
   ESTADOS ACTIVOS DEL NAVBAR (SCROLLSPY)
   ============================= */
.nav-link {
    position: relative; /* Súper importante para anclar la línea inferior */
    /* Tus otros estilos de .nav-link se quedan exactamente igual */
}

/* La línea inferior oculta por defecto */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; /* Ajusta si lo quieres más pegado o separado del texto */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Cuando pasas el mouse (Hover), la línea asoma un poco */
.nav-link:hover::after {
    width: 40%;
}

/* --- EL ESTADO ACTIVO (CUANDO ESTÁS EN ESA SECCIÓN) --- */

/* 1. Texto con degradado */
.nav-link.active {
    background: linear-gradient(90deg, var(--cyan), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 2. Línea inferior completa y encendida */
.nav-link.active::after {
    width: 100%;
}

/* (Opcional) En móviles quitamos la línea inferior para no saturar, 
   solo dejamos el texto con degradado */
@media (max-width: 820px) {
    .nav-link::after {
        display: none;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-container {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
    text-decoration: none; color: var(--text-main);
}
.logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-size: 1rem; font-weight: 800;
}

.nav-center {
    display: flex; align-items: center; gap: 0.2rem;
}
.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.06); }

.nav-actions {
    display: flex; align-items: center; gap: 0.75rem;
}

/* Botón secundario (Mi Cuenta) */
.btn-ghost {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.3s;
    white-space: nowrap;
    font-family: var(--font-display);
}
.btn-ghost:hover {
    color: white;
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

/* Botón MEGA (Gradiente animado) */
.mega-btn {
    position: relative;
    padding: 1.5px; border-radius: 8px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--cyan), var(--secondary));
    background-size: 200% auto;
    animation: flowGradient 3s linear infinite;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mega-btn .btn-content {
    display: block;
    padding: 0.55rem 1.4rem;
    background: #000;
    border-radius: 6.5px;
    color: white;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background 0.3s;
}
.mega-btn:hover { box-shadow: 0 0 22px rgba(255,0,128,0.5); transform: translateY(-2px); }
.mega-btn:hover .btn-content { background: transparent; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
@keyframes flowGradient {
    0%   { background-position: 0% center; }
    100% { background-position: -200% center; }
}

/* Hamburguesa */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1010;
    background: none;
    border: none;
    padding: 6px;
}
.hamburger-icon {
    width: 24px; height: 18px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}
.hamburger-icon span {
    display: block; width: 100%; height: 2.5px;
    background: white; border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-btn.open .hamburger-icon span:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.mobile-menu-btn.open .hamburger-icon span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open .hamburger-icon span:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

/* Menú móvil */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 0, 20, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}
.nav-mobile-overlay.open { display: block; }

.nav-mobile-panel {
    position: fixed;
    top: 0; right: -100%;
    width: min(85%, 320px);
    height: 100vh;
    background: rgba(6, 1, 30, 0.97);
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 1005;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 3rem;
    gap: 0.4rem;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-mobile-panel.open { right: 0; }
.nav-mobile-panel .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    display: block;
}
.nav-mobile-panel .nav-link:hover { color: white; background: rgba(255,255,255,0.07); }
.nav-mobile-panel .nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0.8rem 0;
}
.nav-mobile-panel .mobile-cta-group {
    display: flex; flex-direction: column; gap: 0.8rem;
    margin-top: auto;
}
.nav-mobile-panel .btn-ghost { display: block; text-align: center; }
.nav-mobile-panel .mega-btn { display: block; text-align: center; }
.nav-mobile-panel .mega-btn .btn-content { text-align: center; }

/* =============================
   HERO
   ============================= */
.hero-section {
    min-height: 100vh;
    padding-top: 88px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 3%;
    gap: 2rem;
    position: relative;
}

/* Textos */
.hero-text { position: relative; z-index: 10; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,0,128,0.12);
    border: 1px solid rgba(255,0,128,0.45);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    color: #ff3399;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    font-family: var(--font-display);
    box-shadow: 0 0 12px rgba(255,0,128,0.15);
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.0s;
}
.pulse-dot {
    width: 6px; height: 6px;
    background: #ff0080;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0080;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.titan-title {
    font-size: clamp(2.6rem, 4.5vw, 5rem);
    line-height: 1.0;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.2s;
}
.neon-gradient {
    background: linear-gradient(to right, var(--cyan), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.4s;
}

.cta-row {
    display: flex; gap: 16px; align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.6s;
}

.mega-btn-hero {
    position: relative;
    padding: 1.5px; border-radius: 9px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--cyan), var(--secondary));
    background-size: 200% auto;
    animation: flowGradient 3s linear infinite;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.mega-btn-hero .btn-content {
    display: block;
    padding: 0.85rem 2rem;
    background: #000;
    border-radius: 7.5px;
    color: white;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1rem;
    transition: background 0.3s;
}
.mega-btn-hero:hover {
    box-shadow: 0 0 30px rgba(255,0,128,0.6);
    transform: translateY(-3px);
}
.mega-btn-hero:hover .btn-content { background: transparent; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.btn-secondary-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1.5px solid rgba(255,255,255,0.25);
    padding-bottom: 1px;
    transition: border-color 0.3s, color 0.3s;
}
.btn-secondary-link:hover { color: var(--cyan); border-color: var(--cyan); }

/* Trust badges */
.trust-row {
    display: flex; align-items: center; gap: 24px; margin-top: 2.5rem;
    opacity: 0;
    animation: slideInLeft 0.8s forwards 1.8s;
    flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.8rem; color: var(--text-dim);
}
.trust-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(0,223,216,0.15);
    border: 1px solid rgba(0,223,216,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem; color: var(--cyan);
    flex-shrink: 0;
}

/* Animaciones */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); filter: blur(8px); }
    to   { opacity: 1; transform: translateX(0);    filter: blur(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); filter: blur(8px); }
    to   { opacity: 1; transform: translateX(0);   filter: blur(0); }
}

/* =============================
   HERO VISUAL (LADO DERECHO)
   ============================= */
.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 580px;
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 1.0s;
}

/* Glow de fondo */
.hero-glow-bg {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(121,40,202,0.25) 0%, transparent 65%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.7; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.1); } }

/* Dashboard principal */
.dashboard-card {
    width: 440px;
    background: rgba(12, 10, 28, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(121,40,202,0.2);
    animation: floatHero 7s ease-in-out infinite;
    position: relative; z-index: 5;
}
@keyframes floatHero {
    0%, 100% { transform: translateY(0px) rotateX(2deg) rotateY(-3deg); }
    50%       { transform: translateY(-18px) rotateX(2deg) rotateY(-3deg); }
}

.dash-header {
    background: rgba(255,255,255,0.03);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dd-r { background: #ff5f56; } .dd-y { background: #ffbd2e; } .dd-g { background: #27c93f; }
.dash-url {
    flex: 1; text-align: center;
    font-size: 0.68rem; font-family: monospace;
    color: rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.3);
    padding: 3px 10px; border-radius: 4px;
}

.dash-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

/* Fila stats */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 10px 12px;
}
.stat-card .s-label { font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.stat-card .s-val { font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); }
.s-cyan { color: var(--cyan); } .s-pink { color: var(--secondary); } .s-purple { color: #ae4aff; }

/* Gráfica */
.chart-area {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    height: 90px;
    display: flex; align-items: flex-end;
    padding: 10px 14px 0;
    gap: 6px;
    overflow: hidden;
    position: relative;
}
.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: rgba(121,40,202,0.4);
    animation: growBar 1.5s ease-out forwards;
    animation-delay: calc(var(--i, 0) * 0.08s + 2s);
    transform: scaleY(0);
    transform-origin: bottom;
}
.chart-bar.active { background: var(--cyan); box-shadow: 0 0 10px rgba(0,223,216,0.4); }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart-tag {
    position: absolute; top: 8px; right: 12px;
    background: var(--cyan); color: #000;
    font-size: 0.65rem; font-weight: 800; padding: 2px 7px; border-radius: 4px;
    font-family: var(--font-display);
}

/* Lista de features del dashboard */
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feat-row {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 9px 12px;
}
.feat-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.fi-cyan   { background: rgba(0,223,216,0.15); color: var(--cyan); }
.fi-pink   { background: rgba(255,0,128,0.15); color: var(--secondary); }
.fi-purple { background: rgba(121,40,202,0.15); color: #ae4aff; }
.feat-label { font-size: 0.8rem; font-weight: 600; color: white; flex: 1; }
.feat-status {
    font-size: 0.65rem; padding: 2px 8px;
    border-radius: 20px; font-weight: 700;
}
.fs-on { background: rgba(0,223,216,0.15); color: var(--cyan); border: 1px solid rgba(0,223,216,0.3); }
.fs-new { background: rgba(255,0,128,0.15); color: var(--secondary); border: 1px solid rgba(255,0,128,0.3); }

/* Tarjetas flotantes orbitales */
.orbit-card {
    position: absolute;
    background: rgba(12, 10, 28, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 14px;
    backdrop-filter: blur(12px);
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
    white-space: nowrap;
}
.oc-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.oc-text { display: flex; flex-direction: column; gap: 1px; }
.oc-text span { font-size: 0.65rem; color: var(--text-dim); }
.oc-text strong { font-size: 0.85rem; color: white; font-family: var(--font-display); }

/* Posiciones tarjetas flotantes */
.oc-ai {
    top: 8%;
    right: -5%;
    animation: floatA 5s ease-in-out infinite;
}
.oc-calendar {
    bottom: 18%;
    right: -8%;
    animation: floatB 6s ease-in-out infinite 1s;
}
.oc-web {
    bottom: 5%;
    left: -5%;
    animation: floatC 7s ease-in-out infinite 0.5s;
}

@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatC { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* Línea divisora decorativa */
.hero-separator {
    position: absolute;
    top: 50%; right: 0;
    width: 1px; height: 60%;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, transparent, rgba(121,40,202,0.4), transparent);
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1050px) {
    .hero-section { padding-left: 3%; padding-right: 2%; }
    .dashboard-card { width: 380px; }
    .oc-ai { right: -2%; }
    .oc-calendar { right: -4%; }
    .oc-web { left: -2%; }
}

@media (max-width: 820px) {
    /* Navbar compacta */
    .navbar { padding: 1rem 1.4rem; }
    .nav-center { display: none; }
    .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }

    /* Hero stack vertical */
    .hero-section {
        grid-template-columns: 1fr;
        padding: 110px 1.4rem 60px;
        text-align: center;
        gap: 50px;
    }
    .hero-text { order: 1; }
    .pill-badge { margin-left: auto; margin-right: auto; }
    .hero-desc { margin: 0 auto 2rem; }
    .cta-row { justify-content: center; }
    .trust-row { justify-content: center; }

    .hero-visual {
        order: 2;
        height: auto;
        padding: 20px 0 40px;
    }
    .dashboard-card { width: min(380px, 100%); }
    .orbit-card { display: none; }
    .hero-glow-bg { width: 300px; height: 300px; }

    @keyframes floatHero {
        0%, 100% { transform: translateY(0); }
        50%       { transform: translateY(-12px); }
    }
}

@media (max-width: 480px) {
    .titan-title { letter-spacing: -1px; }
    .dashboard-card { width: 100%; border-radius: 14px; }
    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .stat-card .s-val { font-size: 1.1rem; }
    .cta-row { flex-direction: column; align-items: center; }
    .mega-btn-hero { width: 100%; text-align: center; }
    .mega-btn-hero .btn-content { text-align: center; }
}

/* =============================
   MARQUEE INFINITO (CARRUSEL)
   ============================= */
.marquee-section {
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at bottom, rgba(121,40,202,0.05) 0%, transparent 60%);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.marquee-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.marquee-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-top: 10px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Efecto de difuminado en los bordes izquierdo y derecho */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* =============================
   EL FIX DEL BUCLE PERFECTO
   ============================= */
.marquee-track {
    display: flex;
    width: max-content;
    padding: 20px 0;
    /* Quitamos el gap de aquí para que el cálculo del 50% sea exacto */
    animation: scrollMarquee 45s linear infinite;
}

/* Si pones el mouse, se pausa para que puedan leer */
.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 24px;
    /* ESTE ES EL SECRETO: Actúa como el gap entre el grupo 1 y el grupo clonado */
    padding-right: 24px; 
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Ahora el 50% cuadra a la perfección absoluta */
}

/* Diseño de la Tarjeta */
.marquee-card {
    width: 320px;
    min-height: 280px;
    background: rgba(12, 10, 28, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 26px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.marquee-card:hover {
    transform: translateY(-8px);
    border-color: #FF0080;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 223, 216, 0.1);
}

.mc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.mc-icon.cyan   { background: rgba(0,223,216,0.1); color: var(--cyan); border: 1px solid rgba(0,223,216,0.2); }
.mc-icon.pink   { background: rgba(255,0,128,0.1); color: var(--secondary); border: 1px solid rgba(255,0,128,0.2); }
.mc-icon.purple { background: rgba(121,40,202,0.1); color: #ae4aff; border: 1px solid rgba(121,40,202,0.2); }

.mc-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.mc-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.mc-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-display);
    transition: all 0.3s;
    margin-top: auto; /* Se asegura de estar siempre al fondo */
}

/* Al hacer hover en la tarjeta, el botón se enciende */
.marquee-card:hover .mc-btn {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(238, 116, 228, 0);
}

/* =============================
   TÍTULOS DE SECCIÓN
   ============================= */
.section-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem); /* Mínimo 2.2rem, fluido 4vw, máximo 3.8rem */
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* =============================
   RESPONSIVE CARRUSEL
   ============================= */
@media (max-width: 768px) {
    .marquee-card {
        width: 280px;
        min-height: 260px;
        padding: 20px;
    }
    .mc-title { font-size: 1.05rem; }
    .mc-desc { font-size: 0.85rem; }
}

/* =============================
   SECCIÓN DE FUNCIONES DETALLADAS
   ============================= */
.features-detail-section {
    padding: 120px 5%;
    position: relative;
}

.container-fw {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
}

/* Filas Zig-Zag */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-row.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Textos de la Fila */
.fr-text {
    flex: 1;
}

.fr-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.fr-badge.cyan { background: rgba(0,223,216,0.15); color: var(--cyan); border: 1px solid rgba(0,223,216,0.3); }
.fr-badge.pink { background: rgba(255,0,128,0.15); color: var(--secondary); border: 1px solid rgba(255,0,128,0.3); }
.fr-badge.purple { background: rgba(121,40,202,0.15); color: #ae4aff; border: 1px solid rgba(121,40,202,0.3); }
.fr-badge.yellow { background: rgba(255, 189, 46, 0.15); color: #ffbd2e; border: 1px solid rgba(255, 189, 46, 0.3); }

.fr-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -1px;
}

.fr-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}
.fr-desc strong { color: white; font-weight: 600; }

/* Visuales de la Fila (Mockups) */
.fr-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-mockup {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.5));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}
.mockup-header .dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-header .red { background: #ff5f56; }
.mockup-header .yellow { background: #ffbd2e; }
.mockup-header .green { background: #27c93f; }

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.mega-icon {
    font-size: 4rem !important;
    margin-bottom: 20px;
    opacity: 0.8;
}
.cyan-text { color: var(--cyan); text-shadow: 0 0 20px rgba(0,223,216,0.4); }
.pink-text { color: var(--secondary); text-shadow: 0 0 20px rgba(255,0,128,0.4); }
.purple-text { color: #ae4aff; text-shadow: 0 0 20px rgba(121,40,202,0.4); }

.mockup-body h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

/* Caja de advertencia/consejo especial */
.feature-row.warning-box {
    background: linear-gradient(90deg, rgba(255, 189, 46, 0.05), transparent);
    border-left: 4px solid #ffbd2e;
    padding: 40px;
    border-radius: 0 16px 16px 0;
    margin-bottom: 0; /* Al ser el último */
}

/* Responsive */
@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .fr-visual { width: 100%; }
    .fr-desc { margin-left: auto; margin-right: auto; max-width: 600px; }
    .feature-row.warning-box {
        text-align: left;
        padding: 30px 20px;
    }
}

/* =============================
   SECCIÓN CALENDARIO (BENTO PERFECTO)
   ============================= */
.bento-calendar-section {
    padding: 100px 5%;
    position: relative;
    background: radial-gradient(circle at center, rgba(121,40,202,0.03) 0%, transparent 70%);
}

.bento-grid-perfect {
    display: grid;
    /* Grid de 3 columnas iguales */
    grid-template-columns: repeat(3, 1fr);
    /* Altura automática pero manteniendo proporciones */
    grid-auto-rows: minmax(240px, auto);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estructura base de las cajas Bento */
.bento-box {
    background: rgba(12, 10, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    backdrop-filter: blur(10px);
}

.bento-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Caja Alta (La que forma el rectángulo perfecto a la izquierda) */
.bento-tall {
    grid-column: span 1;
    grid-row: span 2; /* Ocupa 2 filas hacia abajo */
}

/* Contenido interno de la caja alta */
.bb-content-tall {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Contenedor de la Imagen Cuadrada */
.bb-image-square {
    width: 100%;
    aspect-ratio: 1 / 1; /* Hace que sea un cuadrado perfecto siempre */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: auto; /* Empuja la imagen hasta el fondo */
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bento-box:hover .bento-img {
    transform: scale(1.05);
}

/* Sombra suave encima de la imagen */
.img-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 28, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Glow interno decorativo */
.bb-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.bento-box:hover .bb-glow { opacity: 0.3; }
.pink-glow { background: var(--secondary); }
.cyan-glow { background: var(--cyan); }
.purple-glow { background: var(--primary); }

/* Textos e íconos */
.bb-content {
    position: relative;
    z-index: 1;
}

.bb-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
.bb-icon.cyan   { background: rgba(0,223,216,0.1); color: var(--cyan); border: 1px solid rgba(0,223,216,0.2); }
.bb-icon.pink   { background: rgba(255,0,128,0.1); color: var(--secondary); border: 1px solid rgba(255,0,128,0.2); }
.bb-icon.purple { background: rgba(121,40,202,0.1); color: #ae4aff; border: 1px solid rgba(121,40,202,0.2); }

.bb-title {
    font-size: 1.3rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.bento-tall .bb-title {
    font-size: 1.6rem;
}

.bb-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.bb-desc strong {
    color: white;
    font-weight: 600;
}

/* =============================
   RESPONSIVE BENTO GRID
   ============================= */
@media (max-width: 1024px) {
    /* En Tablets lo pasamos a 2 columnas */
    .bento-grid-perfect {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-tall { 
        grid-column: span 2; /* Ocupa las dos columnas */
        grid-row: span 1; 
    }
    .bb-content-tall {
        gap: 20px;
    }
    .bb-image-square {
        aspect-ratio: 2 / 1; /* En tablet la hacemos más ancha para que no quite tanto espacio */
    }
}

@media (max-width: 768px) {
    /* En Móviles se apila todo perfectamente 1 debajo del otro */
    .bento-grid-perfect {
        grid-template-columns: 1fr;
    }
    .bento-tall {
        grid-column: span 1;
    }
    .bento-box {
        padding: 25px;
    }
    .bb-image-square {
        aspect-ratio: 1 / 1; /* Vuelve a ser cuadrada en celular */
    }
}

/* =============================
   SECCIÓN BASE DE DATOS Y LEADS (CENTRADA)
   ============================= */
.leads-database-section {
    padding: 100px 5%;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(0, 223, 216, 0.03) 100%);
}

/* Contenedor central para la terminal */
.leads-hero-visual {
    position: relative;
    max-width: 850px; /* Evita que la terminal sea ridículamente ancha en monitores grandes */
    margin: 0 auto 80px; /* Centrado con margen inferior */
}

.leads-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 223, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.code-window {
    background: #0d0d12;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.code-header {
    background: #1a1a24;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots .red { background: #ff5f56; }
.code-dots .yellow { background: #ffbd2e; }
.code-dots .green { background: #27c93f; }

.code-title {
    flex: 1;
    text-align: center;
    color: var(--text-dim);
    font-family: monospace;
    font-size: 0.85rem;
    padding-right: 40px;
}

.code-body {
    padding: 35px;
    overflow-x: auto;
}

.code-body pre {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e2e2;
    margin: 0;
}

/* Colores de sintaxis */
.c-tag { color: #FF0080; }
.c-attr { color: #00DFD8; }
.c-string { color: #27c93f; }

/* Alerta Flotante */
.floating-email-alert {
    position: absolute;
    bottom: -25px;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    z-index: 2;
    animation: floatAlert 4s ease-in-out infinite;
    max-width: 340px;
}

.alert-icon {
    width: 42px;
    height: 42px;
    background: #FF0080;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.alert-text { display: flex; flex-direction: column; }
.alert-text strong { color: #030014; font-size: 0.95rem; font-family: var(--font-display); }
.alert-text span { color: #4a4a4a; font-size: 0.85rem; line-height: 1.3; }
.alert-time { font-size: 0.75rem; color: #888; margin-left: auto; align-self: flex-start; }

@keyframes floatAlert {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Cuadrícula de Funciones (Llena los huecos) */
.leads-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.lf-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s, background 0.3s;
}

.lf-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.lf-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 223, 216, 0.1);
    border: 1px solid rgba(0, 223, 216, 0.2);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lf-title {
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.lf-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 992px) {
    .leads-features-grid {
        grid-template-columns: 1fr; /* Tarjetas apiladas en móvil/tablet */
        gap: 20px;
    }
    
    .floating-email-alert {
        right: 50%;
        transform: translateX(50%);
        bottom: -30px;
        width: 90%;
        animation: floatAlertCenter 4s ease-in-out infinite;
    }

    @keyframes floatAlertCenter {
        0%, 100% { transform: translate(50%, 0); }
        50% { transform: translate(50%, -10px); }
    }
}

/* =============================
   SECCIÓN AGENTE IA (CHAT WIDGET)
   ============================= */
.ai-agent-section {
    padding: 120px 5%;
    position: relative;
}

.agent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Dividimos la pantalla */
    gap: 80px;
    align-items: center;
}

/* --- Lado Izquierdo: Mockup del Chat --- */
.agent-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.agent-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(121,40,202,0.3) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}

.chat-widget-mockup {
    width: 100%;
    max-width: 380px;
    background: rgba(12, 10, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(121,40,202,0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform: rotateY(5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.chat-widget-mockup:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
}

.agent-avatar span { font-size: 1.5rem; }

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #27c93f;
    border: 2px solid var(--secondary);
    border-radius: 50%;
}

.agent-info h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.agent-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

.chat-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.2);
    min-height: 300px;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e2e2e2;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    background: var(--cyan);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

/* Animación de "Escribiendo" */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chat-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.4);
}

.chat-input-fake {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 50px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.chat-send-btn span { font-size: 1.1rem; margin-left: 2px; }

/* --- Lado Derecho: Textos y Nuevas Tarjetas --- */
.agent-subtitle {
    margin-bottom: 35px;
    text-align: left;
}

.agent-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduje el gap porque las tarjetas ya tienen su propio padding */
}

/* El diseño de la nueva Tarjeta */
.ai-feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(12, 10, 28, 0.5); /* Fondo de cristal oscuro */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Borde sutil */
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

/* Efecto Hover: La tarjeta se levanta y se ilumina ligeramente */
.ai-feature-card:hover {
    transform: translateX(10px); /* Se desliza un poquito a la derecha */
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Línea indicadora de Neón en el borde izquierdo */
.af-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    opacity: 0; /* Oculta por defecto */
    transition: opacity 0.3s ease;
}

.ai-feature-card:hover .af-indicator {
    opacity: 1; /* Se enciende al pasar el mouse */
}

.cyan-line { background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.pink-line { background: var(--secondary); box-shadow: 0 0 15px var(--secondary); }
.purple-line { background: var(--primary); box-shadow: 0 0 15px var(--primary); }
.yellow-line { background: #ffbd2e; box-shadow: 0 0 15px #ffbd2e; }

/* Íconos y Textos (Ajustados para la tarjeta) */
.af-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.03); /* Fondo por defecto más apagado */
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

/* Al hacer hover, el ícono toma su color real */
.ai-feature-card:hover .af-icon.cyan   { background: rgba(0,223,216,0.15); color: var(--cyan); border-color: rgba(0,223,216,0.3); }
.ai-feature-card:hover .af-icon.pink   { background: rgba(255,0,128,0.15); color: var(--secondary); border-color: rgba(255,0,128,0.3); }
.ai-feature-card:hover .af-icon.purple { background: rgba(121,40,202,0.15); color: #ae4aff; border-color: rgba(121,40,202,0.3); }
.ai-feature-card:hover .af-icon.yellow { background: rgba(255,189,46,0.15); color: #ffbd2e; border-color: rgba(255,189,46,0.3); }

.af-content h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.af-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================
   RESPONSIVE (Ajustes extra para las tarjetas en móvil)
   ============================= */
@media (max-width: 992px) {
    .ai-feature-card {
        padding: 20px;
    }
    .ai-feature-card:hover {
        transform: translateY(-5px); /* En móvil es mejor que se levanten en lugar de moverse a la derecha */
    }
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 992px) {
    .agent-container {
        grid-template-columns: 1fr; /* Pasa a 1 columna */
        gap: 60px;
    }
    
    .agent-visual {
        order: 2; /* Bajamos el celular en pantallas chicas */
    }
    
    .agent-text {
        order: 1; /* Subimos el texto */
        text-align: center;
    }
    
    .agent-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .af-item {
        text-align: left; /* Mantenemos las listas alineadas a la izq para leerlas bien */
    }

    .chat-widget-mockup {
        transform: none; /* Quitamos la rotación en móvil para que se vea derecho */
    }
    .chat-widget-mockup:hover {
        transform: translateY(-10px);
    }
}

/* =============================
   SECCIÓN DE CIERRE (CTA FINAL)
   ============================= */
.cta-closing-section {
    padding: 80px 5% 120px;
    position: relative;
}

.cta-box {
    background: rgba(12, 10, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.cta-glow-bg {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(121,40,202,0.2) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.cta-desc {
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.scale-up { transform: scale(1.05); }
.scale-up:hover { transform: scale(1.1) translateY(-2px); }

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 1;
    color: var(--text-dim);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

/* =============================
   PIE DE PÁGINA (FOOTER)
   ============================= */
.site-footer {
    background: #02000a; /* Aún más oscuro que el fondo principal */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 350px;
}

/* Botones de Redes Sociales (COLORES OFICIALES) */
.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* Ajuste especial para TikTok */
.social-btn.tiktok img {
    background: white;
    border-radius: 6px;
    padding: 2px;
}

/* --- EFECTOS HOVER PERSONALIZADOS POR MARCA --- */

/* Facebook (Azul) */
.social-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    border-color: #1877F2;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

/* Instagram (Degradado Rosa/Naranja) */
.social-btn.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    border-color: #E1306C;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

/* TikTok (Cyan y Rojo oscuro) */
.social-btn.tiktok:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: #00f2fe;
    transform: translateY(-4px);
    box-shadow: -4px 8px 15px rgba(0, 242, 254, 0.2), 4px 8px 15px rgba(255, 0, 80, 0.2);
}

/* YouTube (Rojo) */
.social-btn.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

/* Efecto de zoom en el logo al pasar el mouse */
.social-btn:hover img {
    transform: scale(1.15);
}

/* Enlaces de las columnas */
.footer-links-col h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 15px;
    transition: color 0.2s, transform 0.2s;
}

.footer-links-col a:hover {
    color: var(--cyan);
    transform: translateX(5px); /* Pequeño desplazamiento al pasar el mouse */
}

/* Derechos de autor */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    color: rgba(136, 146, 176, 0.6);
    font-size: 0.85rem;
}

/* =============================
   RESPONSIVE (CTA & FOOTER)
   ============================= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columnas en tablet */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .cta-box {
        padding: 50px 20px;
    }
    .cta-badges {
        flex-direction: column;
        gap: 10px;
    }
    .footer-grid {
        grid-template-columns: 1fr; /* 1 sola columna en celular */
        text-align: center;
    }
    .footer-desc {
        margin: 0 auto 30px; /* Centra el texto de descripción */
    }
    .social-links {
        justify-content: center; /* Centra los botones de redes */
    }
    .footer-links-col a:hover {
        transform: none; /* Quitamos el desplazamiento lateral en móvil */
        color: var(--cyan);
    }
}

/* =============================
   SECCIÓN CALCULADORA DE PRECIOS
   ============================= */
.pricing-calculator-section {
    padding: 100px 5%;
    position: relative;
    background: radial-gradient(circle at left center, rgba(0, 223, 216, 0.04) 0%, transparent 60%);
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Controles de la calculadora */
.calc-controls {
    background: rgba(12, 10, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.calc-heading {
    font-size: 1.5rem;
    font-family: var(--font-display);
    margin-bottom: 30px;
    color: white;
}

.slider-group {
    margin-bottom: 30px;
}
.slider-group:last-child { margin-bottom: 0; }

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-header label {
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
}

.slider-val {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: bold;
}

.slider-help {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.mt-10 { margin-top: 15px; }

/* =============================
   SELECTOR CUSTOM (MODELOS IA)
   ============================= */
.custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    user-select: none;
    z-index: 10; /* Lo ponemos por encima del slider por defecto */
}

.custom-dropdown.open {
    z-index: 999; /* Cuando se abre, se va hasta el frente de toda la página */
}

.dropdown-trigger {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.dropdown-trigger:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Estado abierto */
.custom-dropdown.open .dropdown-trigger {
    border-color: var(--cyan);
    background: rgba(0, 223, 216, 0.05);
    box-shadow: 0 0 15px rgba(0, 223, 216, 0.2);
}

.custom-dropdown.open .chevron {
    transform: rotate(180deg);
}

.dt-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dt-icon { font-size: 1.8rem; }
.dt-text { display: flex; flex-direction: column; }
.dt-text strong { color: white; font-family: var(--font-display); font-size: 0.95rem; }
.dt-text span { color: var(--text-dim); font-size: 0.8rem; }
.chevron { color: var(--text-dim); transition: transform 0.3s; }

/* La lista que se despliega */
.dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(12, 10, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    overflow: hidden;
}

.custom-dropdown.open .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-option:last-child { border-bottom: none; }

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-option.selected {
    background: rgba(0, 223, 216, 0.05);
}

.dropdown-option .material-symbols-outlined { font-size: 1.5rem; }

.opt-info { display: flex; flex-direction: column; }
.opt-info strong { color: white; font-size: 0.9rem; }
.opt-info span { color: var(--text-dim); font-size: 0.75rem; }
.nahui-select:focus { border-color: var(--cyan); }
.nahui-select option { background: #0c0a1c; color: white; }

/* Estilo de la barra (Rango) */
.nahui-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}
.nahui-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 223, 216, 0.5);
    transition: transform 0.1s;
}
.nahui-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* Recibo / Resumen de Costos */
.calc-receipt {
    position: sticky;
    top: 100px; /* Para que baje contigo si haces scroll */
}

.receipt-inner {
    background: linear-gradient(145deg, rgba(121,40,202,0.15) 0%, rgba(255,0,128,0.05) 100%);
    border: 1px solid rgba(121,40,202,0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.receipt-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.receipt-inner h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: white;
    margin-bottom: 25px;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.receipt-line strong { color: white; font-size: 1.1rem; }

.receipt-total {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.rt-currency { font-size: 1.5rem; color: var(--cyan); font-weight: 700; }
.rt-amount { font-size: 4rem; color: white; font-weight: 800; font-family: var(--font-display); line-height: 1; }

.domain-note {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-left: 3px solid var(--secondary);
}

.domain-note .material-symbols-outlined { color: var(--secondary); }
.domain-note strong { display: block; color: white; font-size: 0.9rem; margin-bottom: 4px; }
.domain-note p { color: var(--text-dim); font-size: 0.8rem; margin: 0; line-height: 1.4; }

/* =============================
   RESPONSIVE CALCULADORA
   ============================= */
@media (max-width: 992px) {
    .calculator-layout {
        grid-template-columns: 1fr; /* Apilado en tablets y celulares */
        gap: 30px;
    }
    .calc-receipt {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .calc-controls, .receipt-inner { padding: 25px; }
    .rt-amount { font-size: 3rem; }
}

.legal-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 140px 20px 80px;
            position: relative;
            z-index: 10;
        }
        .legal-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        .legal-header h1 {
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1.1;
            font-weight: 800;
            font-family: var(--font-display);
            margin-bottom: 1rem;
        }
        .legal-content {
            background: rgba(12, 10, 28, 0.6);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(12px);
        }
        .legal-content h3 {
            font-family: var(--font-display);
            color: var(--text-main);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1.4rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 0.5rem;
        }
        .legal-content h3:first-child {
            margin-top: 0;
        }
        .legal-content p, .legal-content li {
            color: var(--text-dim);
            line-height: 1.7;
            margin-bottom: 1.2rem;
            font-size: 1rem;
        }
        .legal-content ul {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .legal-content strong {
            color: var(--cyan);
        }
        
        @media (max-width: 768px) {
            .legal-content { padding: 25px; }
        }

         .legal-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 140px 20px 80px;
            position: relative;
            z-index: 10;
        }
        .legal-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        .legal-header h1 {
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1.1;
            font-weight: 800;
            font-family: var(--font-display);
            margin-bottom: 1rem;
        }
        .legal-content {
            background: rgba(12, 10, 28, 0.6);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(12px);
        }
        .legal-content h3 {
            font-family: var(--font-display);
            color: var(--text-main);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1.4rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 0.5rem;
        }
        .legal-content h3:first-child {
            margin-top: 0;
        }
        .legal-content p, .legal-content li {
            color: var(--text-dim);
            line-height: 1.7;
            margin-bottom: 1.2rem;
            font-size: 1rem;
        }
        .legal-content ul {
            padding-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .legal-content strong {
            color: var(--cyan);
        }
        
        @media (max-width: 768px) {
            .legal-content { padding: 25px; }
        }
/* =============================
   COOKIE BANNER (GRANDE Y CENTRADO)
   ============================= */
.cookie-toast-large {
    position: fixed;
    bottom: -350px; /* Oculto por defecto */
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 750px); /* El triple de ancho y centrado */
    background: rgba(12, 10, 28, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    z-index: 9999;
    /* Sombras más fuertes para destacar el tamaño */
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(121,40,202,0.3);
    transition: bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Clase para mostrarlo animado */
.cookie-toast-large.show {
    bottom: 30px;
}

.ct-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(0, 223, 216, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
}

.ct-icon-large span {
    font-size: 42px; /* Icono gigante */
}

.ct-content-large {
    flex: 1;
}

.ct-content-large strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem; /* Título mucho más grande */
    color: white;
    margin-bottom: 12px;
}

.ct-content-large p {
    font-size: 1.05rem; /* Texto de lectura fácil */
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ct-content-large a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
}
.ct-content-large a:hover {
    text-decoration: underline;
}

/* Contenedor de los dos botones */
.ct-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Botón Aceptar (Principal) */
.ct-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ct-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.5);
}

/* Botón Rechazar (Secundario) */
.ct-btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: 1.05rem;
    cursor: pointer;
    transition: 0.3s;
}

.ct-btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

/* Responsive para móviles (para que no se rompa la pantalla) */
@media (max-width: 768px) {
    .cookie-toast-large {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 92%;
        padding: 24px;
        gap: 20px;
    }
    .ct-actions {
        width: 100%;
        flex-direction: column;
    }
    .ct-btn, .ct-btn-ghost {
        width: 100%;
    }
}

/* =============================
   COOKIE MODAL CON SWITCHES
   ============================= */
.cookie-modal-glass {
    position: fixed;
    bottom: -800px; /* Oculto por defecto */
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 460px);
    background: rgba(12, 10, 28, 0.95);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(121,40,202,0.3);
    transition: bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Animación de entrada */
.cookie-modal-glass.show {
    bottom: 24px;
}

.cm-header { display: flex; gap: 16px; align-items: flex-start; }
.cm-icon { 
    color: var(--cyan); font-size: 28px; 
    background: rgba(0, 223, 216, 0.12); 
    padding: 12px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cm-title-area strong { color: white; font-size: 1.15rem; font-family: var(--font-display); display: block; margin-bottom: 4px; }
.cm-title-area p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.5; }

/* Botón desplegable */
.cm-details-btn {
    background: transparent; border: none; color: var(--cyan); 
    font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; 
    display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 0; 
    align-self: flex-start; transition: color 0.3s;
}
.cm-details-btn:hover { color: white; }
.cm-details-btn span { transition: transform 0.3s ease; font-size: 1.2rem; }
.cm-details-btn.open span { transform: rotate(180deg); }

/* Acordeón de detalles */
.cm-details-section {
    max-height: 0; overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
    opacity: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.cm-details-section.open {
    max-height: 400px; opacity: 1;
    padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); 
    margin-top: 4px;
}

/* Filas de los switches */
.cookie-switch-row { 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(255,255,255,0.02); padding: 12px 14px; 
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); gap: 10px;
}
.cs-info strong { color: white; font-family: var(--font-display); font-size: 0.9rem; display: block; margin-bottom: 2px;}
.cs-info span { color: var(--text-dim); font-size: 0.75rem; line-height: 1.3; display: block; }

/* ==================
   DISEÑO DEL SWITCH
   ================== */
.nahui-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.nahui-switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { 
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; 
    background-color: rgba(255,255,255,0.1); transition: .4s; 
    border-radius: 24px; border: 1px solid rgba(255,255,255,0.2); 
}
.switch-slider:before { 
    position: absolute; content: ""; height: 16px; width: 16px; 
    left: 3px; bottom: 2px; background-color: var(--text-dim); 
    transition: .4s; border-radius: 50%; 
}
/* Estado Encendido */
.nahui-switch input:checked + .switch-slider { 
    background: linear-gradient(90deg, var(--cyan), var(--primary)); 
    border-color: transparent; box-shadow: 0 0 10px rgba(0, 223, 216, 0.4);
}
.nahui-switch input:checked + .switch-slider:before { 
    transform: translateX(18px); background-color: white; 
}
/* Estado Bloqueado (Esenciales) */
.nahui-switch input:disabled + .switch-slider { cursor: not-allowed; opacity: 0.5; }
.nahui-switch input:disabled:checked + .switch-slider { background: var(--primary); box-shadow: none;}

/* Botones de acción inferiores */
.cm-actions { display: flex; gap: 12px; margin-top: 8px; }
@media (max-width: 480px) {
    .cm-actions { flex-direction: column; }
}

/* =============================
   BOTÓN BLANCO SÓLIDO (SECUNDARIO)
   ============================= */
.btn-white {
    background: #ffffff00;
    color: #d4d3d7; /* Usa el color deep de tu fondo para contrastar */
    border: 1px;

    padding: 12px 24px;
    border-radius: 9px;
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 2px 4px 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(113, 55, 249, 0.3);
}

/* Modificador para asegurar que .cm-actions se comporte bien */
.cm-actions { 
    display: flex; 
    gap: 12px; 
    margin-top: 8px; 
    width: 100%;
}
@media (max-width: 480px) {
    .cm-actions { flex-direction: column; }
}