/* ==========================================================================
   VARIABLES DE INGENIERÍA VISUAL (PALETA CON CONTRASTE ACCESIBLE WCAG AA)
   ========================================================================== */
:root {
    --bg-main: #FAF8F5;
    --bg-card: #FFFFFF;
    --text-primary: #141413;
    --text-secondary: #52514E;
    --text-muted: #787772;
    --purple-primary: #6D28D9;
    --purple-hover: #5B21B6;
    --purple-deep: #4C1D95;
    --purple-light: #F3E8FF;
    --border-soft: #E8E5DF;
    --border-hover: #D3CEC4;
    --whatsapp-green: #15803D;
    --whatsapp-bright: #16A34A;
    --danger-red: #DC2626;

    /* Sombras multicapa estilo SaaS Premium */
    --shadow-card: 
        0 1px 2px rgba(20, 20, 19, 0.03),
        0 4px 12px -2px rgba(20, 20, 19, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-card-hover: 
        0 4px 8px rgba(20, 20, 19, 0.04),
        0 16px 32px -6px rgba(20, 20, 19, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    --shadow-floating: 
        0 12px 32px -4px rgba(20, 20, 19, 0.12),
        0 2px 6px rgba(20, 20, 19, 0.05);
    --shadow-phone: 
        0 30px 60px -12px rgba(20, 20, 19, 0.22),
        0 18px 36px -18px rgba(109, 40, 217, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET, ACCESIBILIDAD POR TECLADO Y OPTIMIZACIÓN
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background-color: var(--purple-light);
    color: var(--purple-primary);
}

/* Indicador claro de foco para navegación por teclado (Accesibilidad) */
:focus-visible {
    outline: 2.5px solid var(--purple-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--purple-primary);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 500;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-purple {
    color: var(--purple-primary);
}

.ambient-glow {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    filter: blur(90px);
    opacity: 0.65;
}

.glow-hero {
    top: -120px;
    right: 5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, rgba(250, 248, 245, 0) 70%);
}

/* ==========================================================================
   ANIMACIONES SCROLL REVEAL (60/120 FPS)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: 
        opacity 0.7s var(--ease-spring),
        transform 0.7s var(--ease-spring);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   SISTEMA DE BOTONES PREMIUM
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    border-radius: 11px;
    transition: 
        transform 0.2s var(--ease-spring),
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 26px;
    font-size: 0.95rem;
    border-radius: 12px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(180deg, #7C3AED 0%, var(--purple-primary) 100%);
    color: #FFFFFF;
    box-shadow: 
        0 4px 14px rgba(109, 40, 217, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--purple-primary) 0%, var(--purple-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 22px rgba(109, 40, 217, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-spring);
}

.btn-shine:hover::after {
    left: 140%;
}

.btn-outline {
    background-color: #FFFFFF;
    color: var(--text-primary);
    border-color: var(--border-soft);
    box-shadow: var(--shadow-card);
}

.btn-outline:hover {
    background-color: #F6F4F0;
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.btn-arrow .arrow-icon {
    display: inline-block;
    transition: transform 0.25s var(--ease-spring);
}

.btn-arrow:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-white {
    background-color: #FFFFFF;
    color: var(--purple-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.btn-white:hover {
    background-color: #FAF8F5;
    transform: translateY(-2px);
}

.btn-purple-outline {
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.btn-purple-outline:hover {
    background-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (NAVBAR LIMPIA SIN BARRA DE TIEMPO)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 248, 245, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(232, 229, 223, 0.8);
    height: 68px;
    display: flex;
    align-items: center;
    transition: height 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar.scrolled {
    height: 62px;
    background-color: rgba(250, 248, 245, 0.95);
    box-shadow: 0 4px 20px rgba(20, 20, 19, 0.04);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}

.brand-logo-frame {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border-radius: 9px;
}

.brand-logo-img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
    display: block;
}

.brand:hover .brand-logo-img {
    transform: rotate(-6deg) scale(1.05);
}

.card-logo-img {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
    display: block;
}

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

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background-color: rgba(20, 20, 19, 0.04);
}

.nav-link.active {
    color: var(--purple-primary);
    font-weight: 600;
}

.nav-link-staff {
    font-size: 0.82rem;
    color: var(--purple-primary);
    background-color: rgba(109, 40, 217, 0.06);
    font-weight: 600;
}

.nav-link-staff:hover {
    background-color: rgba(109, 40, 217, 0.12);
    color: var(--purple-deep);
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.25s var(--ease-spring);
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION, INDICADOR DE CUPOS Y MAQUETA DEL CELULAR INTERACTIVA
   ========================================================================== */
.hero {
    padding: 64px 0 84px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-top-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--purple-primary);
    font-size: 0.84rem;
    font-weight: 600;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--purple-primary);
    box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.6);
    animation: pulseGlow 2.2s infinite;
}

/* Píldora de Cupos en Vivo conectada a la Base de Datos */
.quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.quota-pill .quota-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #16A34A;
}

.quota-pill.quota-full {
    background-color: #FEE2E2;
    color: #B91C1C;
    border-color: #FECACA;
}

.quota-pill.quota-full .quota-dot {
    background-color: #DC2626;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(109, 40, 217, 0); }
    100% { box-shadow: 0 0 0 0 rgba(109, 40, 217, 0); }
}

.hero-title {
    font-size: clamp(2.45rem, 4.6vw, 3.45rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.62;
    max-width: 540px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.hero-perks {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--purple-light);
    color: var(--purple-primary);
    font-weight: 800;
    font-size: 0.68rem;
    margin-right: 4px;
}

/* Maqueta del Teléfono */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-glow {
    position: absolute;
    width: 320px;
    height: 380px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.16) 0%, rgba(109, 40, 217, 0) 70%);
    filter: blur(35px);
    z-index: 0;
}

.phone-mockup {
    width: 306px;
    background: linear-gradient(145deg, #27272A 0%, #121214 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow: var(--shadow-phone);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-notch {
    width: 96px;
    height: 20px;
    background-color: #121214;
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.notch-speaker {
    width: 28px;
    height: 3px;
    background-color: #27272A;
    border-radius: 4px;
}

.notch-camera {
    width: 6px;
    height: 6px;
    background-color: #1E1B4B;
    border-radius: 50%;
}

.phone-screen {
    background-color: var(--bg-main);
    border-radius: 33px;
    overflow: hidden;
    position: relative;
}

.phone-business-header {
    background: linear-gradient(135deg, #7C3AED 0%, var(--purple-primary) 65%, var(--purple-deep) 100%);
    color: #FFFFFF;
    padding: 30px 18px 18px;
}

.phone-business-cat {
    display: block;
    font-size: 0.7rem;
    opacity: 0.88;
    margin-bottom: 2px;
}

.phone-business-name {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.phone-business-url {
    font-size: 0.68rem;
    opacity: 0.78;
}

.phone-body {
    padding: 14px;
}

.phone-section {
    margin-bottom: 12px;
}

.phone-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 6px;
}

.phone-service-selected {
    background-color: #FAF5FF;
    border: 1.5px solid var(--purple-primary);
    border-radius: 11px;
    padding: 9px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.08);
}

.phone-service-selected strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.phone-service-selected span {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

.phone-service-price {
    font-size: 0.84rem !important;
    font-weight: 800;
    color: var(--purple-primary) !important;
}

.phone-days-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.phone-day-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 6px 4px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s var(--ease-spring);
}

.phone-day-card:hover:not(.active) {
    border-color: var(--purple-primary);
    transform: translateY(-1px);
}

.phone-day-card .day-name,
.phone-day-card .day-month {
    display: block;
    font-size: 0.62rem;
    color: var(--text-secondary);
}

.phone-day-card .day-num {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.phone-day-card.active {
    background-color: var(--purple-primary);
    border-color: var(--purple-primary);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.28);
    transform: scale(1.02);
}

.phone-day-card.active .day-name,
.phone-day-card.active .day-month,
.phone-day-card.active .day-num {
    color: #FFFFFF;
}

.phone-hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.phone-hour-btn {
    background-color: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 7px 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s var(--ease-spring);
}

.phone-hour-btn:hover:not(.active) {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
}

.phone-hour-btn.active {
    background-color: var(--purple-primary);
    border-color: var(--purple-primary);
    color: #FFFFFF;
    box-shadow: 0 3px 10px rgba(109, 40, 217, 0.25);
}

.phone-confirm-btn {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, #7C3AED 0%, var(--purple-primary) 100%);
    color: #FFFFFF;
    border: none;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
    transition: all 0.2s var(--ease-spring);
}

.phone-confirm-btn:hover {
    background: var(--purple-hover);
    transform: translateY(-1px);
}

.phone-confirm-btn.confirmed {
    background: var(--whatsapp-bright);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Notificaciones flotantes */
.floating-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-floating);
    z-index: 5;
    transition: transform 0.3s var(--ease-spring);
}

.badge-top-left {
    top: 26px;
    left: -14px;
    animation: floatSlow 5s ease-in-out infinite;
}

.badge-bottom-right {
    bottom: -16px;
    right: -14px;
    animation: floatSlow 5.5s ease-in-out infinite 1.2s;
}

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

.floating-badge.badge-pop {
    transform: scale(1.06) !important;
}

.badge-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.bell-bg { background-color: #FEF3C7; }
.wa-bg { background-color: #DCFCE7; }

.badge-text strong {
    display: block;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.badge-text .whatsapp-text {
    color: var(--whatsapp-green);
}

.badge-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECCIONES Y TARJETAS CON EFECTO SPOTLIGHT
   ========================================================================== */
.section {
    padding: 76px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--purple-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.18;
}

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

.info-card,
.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: 
        transform 0.3s var(--ease-spring),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        380px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
        rgba(109, 40, 217, 0.055),
        transparent 60%
    );
    pointer-events: none;
}

.info-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(109, 40, 217, 0.28);
}

.card-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background-color: var(--purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.12rem;
    margin-bottom: 16px;
    transition: transform 0.25s var(--ease-spring);
}

.info-card:hover .card-icon-box,
.feature-card:hover .card-icon-box {
    transform: scale(1.08) rotate(-3deg);
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.56;
}

.problem-summary {
    text-align: center;
    max-width: 680px;
    margin: 42px auto 0;
    font-size: 1.06rem;
    color: var(--text-secondary);
}

.problem-summary strong {
    color: var(--text-primary);
}

.underline-purple {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--purple-primary);
    text-decoration-thickness: 2.5px;
    text-underline-offset: 4px;
}

/* ==========================================================================
   SECCIÓN CÓMO FUNCIONA (3 PASOS)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-item {
    padding: 8px;
}

.step-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #7C3AED 0%, var(--purple-primary) 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.step-connector {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.35), rgba(232, 229, 223, 0.2));
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.58;
}

/* ==========================================================================
   SECCIÓN FUNCIONES (8 TARJETAS + PILLS)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.niches-wrapper {
    text-align: center;
    margin-top: 44px;
}

.niches-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.niches-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.niche-pill {
    background-color: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    transition: all 0.2s var(--ease-spring);
}

.niche-pill:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN PRECIO
   ========================================================================== */
.pricing-card-wrapper {
    position: relative;
    max-width: 468px;
    margin: 0 auto;
}

.pricing-glow {
    position: absolute;
    inset: -16px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.14) 0%, transparent 70%);
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
}

.pricing-card {
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
    border: 2px solid var(--purple-primary);
    border-radius: var(--radius-xl);
    padding: 38px 34px;
    box-shadow: var(--shadow-floating);
}

.pricing-badges-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.pricing-badge {
    display: inline-block;
    background-color: var(--purple-light);
    color: var(--purple-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 999px;
}

.pricing-quota-tag {
    display: inline-block;
    background-color: #DCFCE7;
    color: #15803D;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.pricing-quota-tag.tag-full {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.price-number {
    font-size: 3.35rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
}

.price-currency {
    font-size: 0.96rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-subtext {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 0.92rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-footnote {
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-top: 14px;
}

/* ==========================================================================
   SECCIÓN PREGUNTAS FRECUENTES (ACORDEÓN)
   ========================================================================== */
.faq-container {
    max-width: 760px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.faq-item.open {
    border-color: rgba(109, 40, 217, 0.35);
    box-shadow: var(--shadow-card-hover);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--purple-primary);
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.28s var(--ease-spring), background-color 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background-color: var(--purple-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s var(--ease-spring);
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 0.91rem;
    color: var(--text-secondary);
    line-height: 1.62;
}

/* ==========================================================================
   BANNER MORADO FINAL
   ========================================================================== */
.cta-banner-section {
    padding: 32px 0 84px;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, var(--purple-primary) 55%, var(--purple-deep) 100%);
    color: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 68px 24px;
    text-align: center;
    box-shadow: 0 24px 48px -12px rgba(109, 40, 217, 0.32);
}

.cta-banner-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.cta-banner-title {
    position: relative;
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.cta-banner-subtitle {
    position: relative;
    font-size: 1.02rem;
    opacity: 0.92;
    margin-bottom: 30px;
}

.cta-banner-buttons {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER Y ENLACES LEGALES + ACCESO ADMINISTRADORES
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-soft);
    padding: 40px 0 90px;
    font-size: 0.85rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
}

.footer-left {
    max-width: 480px;
}

.footer-left strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-left p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-disclaimer {
    margin-top: 6px;
    font-size: 0.74rem !important;
    color: var(--text-muted) !important;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a,
.footer-legal-btn {
    color: var(--text-secondary);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.83rem;
    cursor: pointer;
    transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-legal-btn:hover {
    color: var(--purple-primary);
    text-decoration: underline;
}

.footer-admin-link {
    font-size: 0.76rem !important;
    color: var(--text-muted) !important;
    padding: 3px 8px;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
}

.footer-admin-link:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   BOTÓN DE WHATSAPP VISIBLE FLOTANTE Y BANNER DE COOKIES
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 150;
    background-color: var(--whatsapp-bright);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
    transition: transform 0.25s var(--ease-spring), background-color 0.2s ease;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-green);
    transform: translateY(-3px);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 520px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-floating);
    z-index: 200;
}

.cookie-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.inline-legal-link {
    background: none;
    border: none;
    color: var(--purple-primary);
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* ==========================================================================
   MODALES (BLOQUEO DE CUPOS, FORMULARIO ANTI-SPAM Y CENTRO LEGAL)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(20, 20, 19, 0.48);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 28px;
    box-shadow: var(--shadow-floating);
    transform: translateY(12px) scale(0.97);
    transition: transform 0.28s var(--ease-spring);
}

.modal-legal-card {
    max-width: 660px;
}

.modal-backdrop.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 6px;
}

.quota-alert-box {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.83rem;
}

.quota-alert-box strong {
    display: block;
    margin-bottom: 4px;
}

.modal-intro {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Honeypot oculto para bots de spam */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.req {
    color: var(--danger-red);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-primary);
    background-color: var(--bg-main);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple-primary);
    background-color: #FFFFFF;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--purple-primary);
    cursor: pointer;
}

.form-error {
    color: var(--danger-red);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 8px;
}

/* Pestañas del Centro Legal */
.legal-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.legal-tab {
    background-color: var(--bg-main);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.legal-tab.active {
    background-color: var(--purple-primary);
    border-color: var(--purple-primary);
    color: #FFFFFF;
}

.legal-scroll-body {
    max-height: 340px;
    overflow-y: auto;
    padding-right: 8px;
}

.legal-scroll-body h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 12px 0 6px;
}

.legal-scroll-body h4:first-child {
    margin-top: 0;
}

.legal-scroll-body p,
.legal-scroll-body li {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.58;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

/* ==========================================================================
   DISEÑO RESPONSIVE (ADAPTABLE A CELULAR Y TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 56px;
    }

    .hero-top-badges {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .cards-grid-3,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

    .footer-links-group {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background-color: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-soft);
        flex-direction: column;
        padding: 20px 24px 26px;
        gap: 8px;
        display: none;
        box-shadow: var(--shadow-floating);
    }

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

    .nav-link {
        width: 100%;
        padding: 10px 12px;
    }

    .nav-actions {
        display: none;
    }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 14px;
        margin-top: 6px;
        border-top: 1px solid var(--border-soft);
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .badge-top-left {
        left: 0;
        top: -16px;
    }

    .badge-bottom-right {
        right: 0;
        bottom: -20px;
    }

    .pricing-card {
        padding: 30px 22px;
    }

    .cta-banner {
        padding: 46px 20px;
    }

    .cookie-banner {
        right: 16px;
        left: 16px;
        bottom: 76px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        bottom: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
