/* ============================================
   LANDING PAGE STYLES - GIGABYTE INSPIRED
   ============================================ */

:root {
    --primary-color: #0066ff;
    --secondary-color: #f0f0f0;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e27;
    --light-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: max-content;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-subtext {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    background: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.hero-title-section {
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    animation: slideInUp 0.8s ease;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 53, 0.5);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-split {
    display: flex;
    position: relative;
    min-height: 400px;
}

.hero-left, .hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-left {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-right {
    background: rgba(0, 102, 255, 0.1);
    backdrop-filter: blur(10px);
}

.diagonal-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateY(-50%);
    z-index: 3;
}

.hero-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-visual {
    display: none;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.1);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */

.showcase {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.showcase-content {
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: center;
}

.showcase-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.showcase-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.showcase-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.showcase-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.showcase-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.showcase-item p {
    color: var(--text-secondary);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits {
    padding: 5rem 2rem;
    background: var(--dark-bg);
    color: white;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    background: var(--light-bg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052cc 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */

.registration {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.registration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.registration-form {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group .btn {
    width: 100%;
    justify-content: center;
}

.mensaje {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    display: none;
}

.mensaje.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* El mensaje de registro queda anclado al pie del modal como un toast
   flotante: el holder es sticky con altura 0 (no suma espacio al flow
   del form) y el mensaje se posiciona absolute dentro de él. Así nunca
   obliga a scrollear el form y no deja un hueco cuando está oculto. */
.registro-mensaje-holder {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    z-index: 5;
    pointer-events: none;
}

#registro-mensaje {
    display: none;
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(560px, calc(100% - 2rem));
    padding: 0.85rem 1.1rem;
    margin: 0;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    pointer-events: none;
    animation: registroMensajeIn 0.22s ease;
}

#registro-mensaje.mensaje.error {
    background: rgba(248, 215, 218, 0.95);
    color: #721c24;
    border: 1px solid rgba(245, 198, 203, 0.9);
}

#registro-mensaje.mensaje.success {
    background: rgba(212, 237, 218, 0.95);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.9);
}

@keyframes registroMensajeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Highlight del campo inválido cuando falla la validación del registro. */
.field-invalid {
    animation: fieldInvalidShake 0.45s ease;
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25) !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.field-invalid.subscription-options {
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.5), 0 0 0 6px rgba(231, 76, 60, 0.15) !important;
    border-radius: 0.75rem;
}

@keyframes fieldInvalidShake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-6px); }
    40%  { transform: translateX(6px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

@media (max-width: 640px) {
    #registro-mensaje {
        max-width: calc(100% - 1.5rem);
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        bottom: 0.5rem;
    }
}

.registration-info {
    padding: 2rem;
}

.registration-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.registration-info ul {
    list-style: none;
}

.registration-info li {
    padding: 1rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.registration-info li:last-child {
    border-bottom: none;
}

.registration-info strong {
    color: var(--primary-color);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .registration-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons {
        width: 100%;
    }

    .nav-buttons .btn {
        flex: 1;
        justify-content: center;
    }

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

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta .btn {
        width: 100%;
    }

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

    .hero-split {
        flex-direction: column;
        min-height: auto;
    }

    .hero-left, .hero-right {
        flex: none;
        padding: 1rem;
    }

    .diagonal-line {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .logo {
        flex-direction: row;
        gap: 0.5rem;
    }

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

    .nav-container {
        padding: 1rem;
    }

    .registration-form,
    .registration-info {
        padding: 1.5rem;
    }

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

/* ============================================
   MODAL & WIZARD
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal.show .modal-content {
    animation: slideInFromRight 0.4s ease;
}

.modal.is-closing {
    pointer-events: none;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(270deg, #441d36, #1e2d4c, #441d36);
    background-size: 600% 600%;
    animation: moveGradient 20s ease infinite;
    border-radius: 1rem;
    width: 92%;
    max-width: 1120px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease, max-width 0.35s ease, width 0.35s ease;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
}

/* En el paso de selección de planes el modal se expande para que las cards
   se vean igual que en el modal de "Cambiar plan". */
.modal-content.is-plan-step {
    width: 96vw;
    max-width: 1440px;
}

.modal-content.is-plan-step .wizard-container {
    padding: 1.5rem 1.25rem;
}

.modal-content.is-plan-step .subscription-options .subscription-modal-grid {
    padding: 8px 4px 14px;
    gap: 16px;
}

@media (max-width: 768px) {
    .modal-content.is-plan-step {
        width: 96%;
        max-width: 96%;
    }
    .modal-content.is-plan-step .wizard-container {
        padding: 1.25rem 1rem;
    }
    .modal-content.is-plan-step .subscription-options .subscription-modal-grid {
        padding: 6px 0 10px;
        gap: 12px;
    }

    /* Modal de registro en mobile: header más compacto y padding del wizard acotado. */
    #registroModal .modal-header {
        padding: 0.9rem 1rem;
    }
    #registroModal .modal-header h2 {
        font-size: 1.25rem;
    }
    #registroModal .wizard-container {
        padding: 1rem 0.9rem 1.2rem;
    }
    #registroModal .wizard-progress {
        margin-bottom: 1rem;
    }
    #registroModal .progress-bar {
        margin-bottom: 0.65rem;
    }

    /* En mobile mostramos solo el paso activo + contador "N/T" en lugar de
       apilar todos los nombres de steps. */
    #registroModal .progress-steps {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.6rem;
        padding: 0;
    }
    #registroModal .progress-steps > .step-indicator,
    #registroModal .progress-steps > .step-indicator-persona,
    #registroModal .progress-steps > .step-indicator-contador {
        display: none;
    }
    #registroModal .progress-steps > .step-indicator.active,
    #registroModal .progress-steps > .step-indicator-persona.active,
    #registroModal .progress-steps > .step-indicator-contador.active {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.9rem;
        padding: 0.45rem 0.75rem;
    }
    #registroModal .progress-steps::after {
        content: attr(data-counter);
        flex: 0 0 auto;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        font-size: 0.85rem;
        padding: 0.45rem 0.7rem;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 0.5rem;
        white-space: nowrap;
    }
    #registroModal .progress-steps[data-counter=""]::after,
    #registroModal .progress-steps:not([data-counter])::after {
        display: none;
    }

    /* Botones del wizard en una sola fila, distribuidos equitativamente. */
    #registroModal .wizard-buttons {
        flex-wrap: nowrap;
        gap: 0.5rem;
        margin-top: 1.3rem;
    }
    #registroModal .wizard-buttons .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.7rem 0.5rem;
        font-size: 0.88rem;
        white-space: nowrap;
    }

    /* Ocultar h3 de paso (p. ej. "Información de la Empresa"): en mobile ya se ve el nombre en el indicador. */
    #registroModal .wizard-container .wizard-step > h3,
    #registroModal .wizard-container .wizard-step-persona > h3,
    #registroModal .wizard-container .wizard-step-contador > h3 {
        display: none;
    }
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header h2 {
    margin: 0;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.wizard-container h3 {
    color: white;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group input.required-missing,
.form-group textarea.required-missing {
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3);
}

.form-group.field-error input,
.form-group.field-error textarea {
    border-color: #ff4444;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

@keyframes moveGradient {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.wizard-container {
    padding: 2rem;
}

.wizard-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    font-size: 0.8rem;
    color: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-indicator.visited {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.step-indicator.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
    font-weight: 700;
}

.step-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.wizard-steps {
    position: relative;
    overflow: hidden;
}

.wizard-step {
    display: none;
    animation: slideInRight 0.3s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-step-persona {
    display: none;
    animation: slideInRight 0.3s ease;
}

.wizard-step-contador {
    display: none;
    animation: slideInRight 0.3s ease;
}

.step-indicator-persona {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255,255,255,0.8);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-indicator-persona.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
    font-weight: 700;
}

.step-indicator-contador {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255,255,255,0.8);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-indicator-contador.active {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
    font-weight: 700;
}

.wizard-step.leaving {
    animation: slideOutLeft 0.3s ease;
}

.wizard-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.subscription-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.subscription-card {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.subscription-card:hover {
    border-color: var(--primary-color);
}

.subscription-card:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    outline: none;
}

.subscription-card.selected {
    border-color: var(--primary-color);
    background: rgba(0, 102, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   LANDING VISUAL REFRESH
   Solo look & feel del landing. No toca registro ni cards de planes.
   ============================================ */

:root {
    --landing-primary: #6366f1;
    --landing-primary-dark: #4f46e5;
    --landing-secondary: #ec4899;
    --landing-accent: #0ea5e9;
    --landing-bg: #0a0a0f;
    --landing-surface: #11111f;
    --landing-card: #1a1a2e;
    --landing-text: #f8fafc;
    --landing-text-soft: #cbd5e1;
    --landing-text-muted: #94a3b8;
    --landing-border: rgba(255, 255, 255, 0.1);
    --landing-glass: rgba(17, 17, 31, 0.8);
    --landing-glass-border: rgba(255, 255, 255, 0.15);
    --landing-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --landing-shadow-hover: 0 20px 50px rgba(99, 102, 241, 0.2);
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--landing-bg);
    color: var(--landing-text);
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.10) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.1) 0%, rgba(10, 10, 15, 0.75) 100%);
    z-index: -1;
    pointer-events: none;
}

.navbar,
.hero,
.features,
.showcase,
.benefits,
.about,
.pricing,
.cta,
.footer {
    position: relative;
    z-index: 1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: var(--landing-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--landing-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    padding: 1.15rem 2rem;
}

.logo-text,
.hero-title,
.section-header h2,
.showcase-content h2,
.cta h2,
.footer-section h4,
.feature-card h3,
.showcase-item h4,
.benefit-item h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.logo-text {
    color: #ffffff;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.logo-subtext {
    color: var(--landing-text-muted);
    letter-spacing: 0.18em;
}

.nav-link {
    color: var(--landing-text);
    font-weight: 500;
}

.nav-link::after {
    background: linear-gradient(to right, var(--landing-primary), var(--landing-secondary));
    height: 2px;
}

.nav-link:hover {
    color: #ffffff;
}

.navbar .btn,
.hero .btn,
.cta .btn {
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.navbar .btn {
    padding: 0.9rem 1.4rem;
    box-shadow: var(--landing-shadow);
}

.navbar .btn::before,
.hero .btn::before,
.cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left .7s ease;
}

.navbar .btn:hover::before,
.hero .btn:hover::before,
.cta .btn:hover::before {
    left: 100%;
}

.navbar .btn-primary,
.hero .btn-primary,
.cta .btn-primary {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    color: #fff;
    border: none;
}

.navbar .btn-primary:hover,
.hero .btn-primary:hover,
.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--landing-shadow-hover);
}

.navbar .btn-secondary,
.hero .btn-secondary,
.cta .btn-secondary {
    background: transparent;
    color: var(--landing-text);
    border: 2px solid rgba(99, 102, 241, 0.65);
}

.navbar .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta .btn-secondary:hover {
    background: rgba(99, 102, 241, 0.16);
    color: #fff;
    border-color: var(--landing-primary);
}

.hero {
    padding-top: 110px;
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(10, 10, 15, 0.35) 0%, rgba(10, 10, 15, 0.72) 100%),
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.12) 0%, transparent 38%);
}

.hero-container {
    max-width: 1240px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-title .highlight::after {
    height: 10px;
    bottom: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.35), rgba(236, 72, 153, 0.1));
}

.hero-subtitle {
    color: var(--landing-text-soft);
    font-size: 1.18rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-left,
.hero-right {
    background: var(--landing-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--landing-glass-border);
}

.hero-right {
    background: rgba(99, 102, 241, 0.14);
}

.hero-content h3 {
    color: #fff;
    font-size: 1.7rem;
}

.hero-content p {
    color: var(--landing-text-soft);
}

.diagonal-line {
    background: linear-gradient(to right, transparent, rgba(255,255,255,.3), transparent);
}

.features,
.pricing {
    background: transparent;
}

.about {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(14, 19, 37, 0.9) 0%, rgba(12, 15, 28, 0.92) 100%);
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 2.6rem;
}

.about-kicker {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .78rem;
    color: #dbe6ff;
    border: 1px solid rgba(129, 182, 255, 0.45);
    border-radius: 999px;
    padding: .35rem .8rem;
    margin-bottom: 1rem;
    background: rgba(26, 36, 64, 0.5);
}

.about-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.35rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1rem;
}

.about-head p {
    color: var(--landing-text-soft);
    font-size: 1.05rem;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.about-card {
    background: linear-gradient(170deg, rgba(32, 40, 70, 0.72) 0%, rgba(18, 24, 43, 0.92) 100%);
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    padding: 1.65rem;
    box-shadow: var(--landing-shadow);
}

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 .7rem;
    color: #fff;
    font-size: 1.12rem;
}

.about-card p {
    margin: 0;
    color: var(--landing-text-soft);
    line-height: 1.75;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.about-metric {
    text-align: center;
    background: rgba(20, 27, 51, 0.62);
    border: 1px solid rgba(129, 182, 255, 0.2);
    border-radius: 16px;
    padding: 1.05rem 1rem;
}

.about-metric strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: .35rem;
}

.about-metric span {
    color: var(--landing-text-soft);
    font-size: .92rem;
}

.showcase {
    background: var(--landing-surface);
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
    overflow: hidden;
}

.showcase-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.055) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: showcaseGridShift 5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes showcaseGridShift {
    from { background-position: 0 0; }
    to { background-position: -96px 0; }
}

.showcase > .showcase-content {
    position: relative;
    z-index: 1;
}

.benefits {
    background: linear-gradient(180deg, rgba(17,17,31,0.92) 0%, rgba(10,10,15,0.92) 100%);
}

.section-header h2,
.showcase-content h2,
.cta h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.section-header h2::after,
.showcase-content h2::after,
.cta h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--landing-primary), var(--landing-secondary));
}

.section-header p,
.showcase-item p,
.feature-card p,
.benefit-item p,
.cta p,
.footer-section p,
.footer-section a {
    color: var(--landing-text-soft);
}

.feature-card,
.showcase-item,
.benefit-item {
    background: var(--landing-card);
    border: 1px solid var(--landing-border);
    box-shadow: var(--landing-shadow);
}

.feature-card {
    text-align: left;
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--landing-primary), var(--landing-secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .45s ease;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover,
.showcase-item:hover,
.benefit-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--landing-shadow-hover);
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

.feature-card h3,
.showcase-item h4,
.benefit-item h3 {
    color: #fff;
}

.showcase-item {
    border-left: none;
    border-top: 2px solid transparent;
    border-top-color: var(--landing-primary);
    padding: 2.75rem;
}

.showcase-number {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-secondary));
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.28);
}

.benefits-container {
    gap: 1.8rem;
}

.benefit-item {
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.pricing .section-header {
    margin-bottom: 2.5rem;
}

.cta {
    background: transparent;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(236, 72, 153, 0.18));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    margin-top: 2rem;
}

.footer {
    background: var(--landing-surface);
    border-top: 1px solid var(--landing-border);
}

.footer-content {
    gap: 2.6rem;
}

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

.footer-bottom {
    color: var(--landing-text-muted);
    border-top: 1px solid var(--landing-border);
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-header h2,
    .showcase-content h2,
    .cta h2 {
        font-size: 2.4rem;
    }

    .about-grid,
    .about-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
    }

    .nav-container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.62rem;
        padding: 0.8rem 0.75rem;
    }

    .logo {
        gap: 0.05rem;
        align-items: flex-start;
        min-width: 0;
    }

    .logo-text {
        font-size: 1.2rem;
        line-height: 1;
    }

    .logo-subtext {
        display: none;
    }

    .nav-links {
        display: flex;
        justify-content: flex-end;
        justify-self: end;
        gap: .12rem;
        min-width: 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        /* padding-left: 2.55rem; */
        /* margin-left: 220px; */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        flex: 0 0 auto;
        padding: 0.34rem 0.54rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.05);
        font-size: 0.74rem;
        line-height: 1.1;
    }

    .nav-link::after {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 84px;
    }

    .hero-container {
        padding: 1.1rem 1rem 2rem;
    }

    .hero-title-section {
        margin-bottom: 1.4rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.14;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 33rem;
        margin-bottom: 0;
    }

    .hero-split {
        gap: 0.8rem;
    }

    .hero-left,
    .hero-right {
        padding: 1.15rem;
        border-radius: 20px;
    }

    .hero-content h3 {
        font-size: 1.2rem;
    }

    .hero-content p {
        margin-bottom: 1rem;
    }

    .section-header h2,
    .showcase-content h2 {
        font-size: 2rem;
    }

    .about {
        padding: 4rem 1.2rem;
    }

    .features,
    .showcase,
    .benefits,
    .pricing,
    .cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cta {
        padding-top: 2.85rem;
        padding-bottom: 3.35rem;
        margin-top: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .cta h2 {
        font-size: 1.48rem;
        line-height: 1.26;
        padding: 0 1.15rem;
        max-width: 21rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.95rem;
    }

    .cta h2::after {
        bottom: -8px;
        width: 56px;
        height: 3px;
    }

    .cta p {
        font-size: 0.94rem;
        line-height: 1.45;
        padding: 0 1.05rem;
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
    }

    .about-head h2 {
        font-size: 1.9rem;
    }

    .showcase-tab-selector {
        flex-wrap: nowrap;
        gap: 0.45rem;
    }

    .showcase-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 0.58rem 0.3rem;
        font-size: 0.76rem;
    }

    .showcase-tab-icon {
        font-size: 1rem;
    }

    .about-grid,
    .about-metrics {
        grid-template-columns: 1fr;
    }

    .cta::before {
        inset: 0.9rem 0.8rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.35rem;
    }

    .cta .btn {
        width: auto;
        min-width: 140px;
        flex: 0 0 auto;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 0.45rem;
        row-gap: 1.1rem;
        max-width: 100%;
        padding: 0 0.7rem 1rem;
        box-sizing: border-box;
        align-items: start;
    }

    .footer-content .footer-section:first-child {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        justify-self: center;
    }

    .footer-content .footer-section:first-child h4,
    .footer-content .footer-section:first-child p {
        margin: 0;
    }

    .footer-content .footer-section:first-child p {
        font-size: 0.86rem;
        color: var(--landing-text-muted);
        white-space: normal;
        line-height: 1.45;
        max-width: 22rem;
    }

    .footer-content .footer-section:not(:first-child) {
        margin: 0;
        min-width: 0;
        text-align: center;
    }

    .footer-content .footer-section:not(:first-child) h4 {
        margin: 0 0 0.38rem;
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .footer-content .footer-section:not(:first-child) ul {
        margin: 0;
        padding: 0;
    }

    .footer-content .footer-section:not(:first-child) a {
        font-size: 0.74rem;
        padding: 0.26rem 0.05rem;
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .nav-link {
        font-size: 0.79rem;
        padding: 0.42rem 0.68rem;
    }

    .showcase-tab {
        font-size: 0.72rem;
        padding: 0.52rem 0.22rem;
    }

    .showcase-tab-icon {
        font-size: 0.9rem;
    }
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.mensaje {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.mensaje.success {
    background: rgba(0, 255, 0, 0.1);
    color: green;
    border: 1px solid green;
}

.mensaje.error {
    background: rgba(255, 0, 0, 0.1);
    color: red;
    border: 1px solid red;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   SHOWCASE — TAB SELECTOR + PANELS
   ============================================ */

.showcase-tab-selector {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    border: 1.5px solid var(--landing-border);
    background: transparent;
    color: var(--landing-text-soft);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showcase-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-tab:hover {
    border-color: var(--landing-primary);
    color: var(--landing-text);
}

.showcase-tab:hover::before {
    opacity: 1;
}

.showcase-tab.active {
    background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.showcase-tab.active::before {
    display: none;
}

.showcase-tab-icon {
    font-size: 1.15rem;
    line-height: 1;
}

/* Panels */
.showcase-panels {
    position: relative;
}

.showcase-panel {
    display: none;
}

.showcase-panel.active {
    display: block;
    animation: showcaseFadeIn 0.4s ease;
}

@keyframes showcaseFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.showcase-panel .showcase-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.6rem;
}

.showcase-item h4 {
    margin-bottom: 1.15rem;
}

.showcase-item p {
    line-height: 1.9;
}

/* Icon in new showcase items */
.showcase-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Hover upgrade on new showcase items */
.showcase-item:hover {
    transform: translateY(-6px);
    border-top-color: var(--landing-secondary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.18);
}

/* Responsive: tabs stack on small screens */
@media (max-width: 520px) {
    .showcase-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .showcase-panel .showcase-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-snap-track {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: min(86%, 330px);
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0.25rem;
        padding: 0.2rem 0.15rem 0.8rem;
        scrollbar-width: none;
    }

    .mobile-snap-track::-webkit-scrollbar {
        display: none;
    }

    .mobile-snap-track > * {
        scroll-snap-align: start;
        min-width: 0;
        margin: 0;
    }

    .features-grid.mobile-snap-track,
    .about-grid.mobile-snap-track,
    .benefits-container.mobile-snap-track {
        grid-auto-columns: min(88%, 320px);
    }

    /* About: acercar "Desliza" a la fila de tarjetas superior y alejarlo de las métricas (+50…) */
    .about-grid.mobile-snap-track {
        margin-bottom: 0.2rem;
        padding-bottom: 0.35rem;
    }

    .about-grid.mobile-snap-track + .mobile-carousel-ui {
        margin-top: 0;
        margin-bottom: 1.65rem;
    }

    .showcase-items.mobile-snap-track,
    .pricing-grid.mobile-snap-track,
    #pricing-plans-container .subscription-modal-grid.mobile-snap-track,
    .subscription-options .subscription-modal-grid.mobile-snap-track,
    .pricing-grid .subscription-modal-grid.mobile-snap-track {
        grid-template-columns: none !important;
        grid-auto-columns: min(87%, 340px);
    }

    #pricing-plans-container .subscription-modal-grid.mobile-snap-track,
    .subscription-options .subscription-modal-grid.mobile-snap-track,
    .pricing-grid .subscription-modal-grid.mobile-snap-track {
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.5rem;
    }

    .pricing-grid .subscription-modal-grid.mobile-snap-track .subscription-modal-card {
        min-height: 100%;
    }

    .mobile-carousel-ui {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        margin-top: 0.35rem;
        margin-bottom: 0.4rem;
    }

    .mobile-carousel-hint {
        font-size: 0.74rem;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: rgba(203, 213, 225, 0.7);
    }

    .mobile-carousel-dots {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .mobile-carousel-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.45);
        padding: 0;
        transition: all 0.22s ease;
    }

    .mobile-carousel-dot.is-active {
        width: 24px;
        background: linear-gradient(90deg, var(--landing-primary), var(--landing-secondary));
    }
}

