        :root {
            --primary: #2563eb;
            --primary-dark: #1e40af;
            --secondary: #0ea5e9;
            --accent: #f59e0b;
            --dark: #0f172a;
            --light: #f8fafc;
        }

        body {
            font-family: 'Segoe UI', sans-serif;
            overflow-x: hidden;
            padding-top: env(safe-area-inset-top);
            padding-right: env(safe-area-inset-right);
            padding-bottom: env(safe-area-inset-bottom);
            padding-left: env(safe-area-inset-left);
        }

        /* Navbar */
        .navbar {
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            top: env(safe-area-inset-top);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: #fff !important;
        }

        .navbar-brand i {
            color: var(--accent);
        }

        .nav-link {
            color: #fff !important;
            font-weight: 500;
            margin: 0 10px;
        }

        .nav-link:hover {
            color: var(--accent) !important;
        }

        /* Hero */
        .hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
            color: #fff;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
            border-radius: 50%;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .hero .badge-rocket {
            background: var(--accent);
            color: #000;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 20px;
        }

        .hero p.lead {
            font-size: 1.3rem;
            opacity: 0.9;
            margin: 20px 0 30px;
        }

        .btn-demo {
            background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
            color: #fff;
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
            transition: all 0.3s;
        }

        .btn-demo:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
            color: #fff;
        }

        .btn-outline-light-custom {
            border: 2px solid #fff;
            color: #fff;
            padding: 13px 35px;
            border-radius: 50px;
            font-weight: 600;
        }

        .btn-outline-light-custom:hover {
            background: #fff;
            color: var(--dark);
        }

        /* Features */
        .features {
            padding: 80px 0;
            background: var(--light);
        }

        .feature-card {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            height: 100%;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: #fff;
            margin-bottom: 20px;
        }

        .feature-card h4 {
            font-weight: 700;
            margin-bottom: 15px;
        }

        /* Stats */
        .stats {
            background: var(--dark);
            color: #fff;
            padding: 60px 0;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--accent);
        }

        /* Testimonials */
        .testimonials {
            padding: 80px 0;
            background: var(--dark);
            color: #fff;
        }

        .testimonial-card {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            border-left: 4px solid var(--primary);
            color: var(--dark);
        }

        h2{
            color: var(--warning);
        }

        .testimonial-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.5rem;
        }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #fff;
            padding: 80px 0;
            text-align: center;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: #94a3b8;
            padding: 50px 0 20px;
        }

        footer h5 {
            color: #fff;
            font-weight: 600;
            margin-bottom: 20px;
        }

        footer a {
            color: #94a3b8;
            text-decoration: none;
        }

        footer a:hover {
            color: var(--accent);
        }

        /* ============ MODAL WIZARD ============ */
        .modal-wizard .modal-dialog {
            max-width: 700px;
        }

        .modal-wizard .modal-content {
            border: none;
            border-radius: 20px;
            overflow: hidden;
        }

        .wizard-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #fff;
            padding: 30px;
            text-align: center;
        }

        .wizard-header h3 {
            margin: 0;
            font-weight: 700;
        }

        .wizard-header p {
            margin: 5px 0 0;
            opacity: 0.9;
        }

        .progress-container {
            padding: 20px 30px 0;
        }

        .progress {
            height: 8px;
            border-radius: 10px;
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.5s;
        }

        .steps-indicator {
            display: flex;
            justify-content: space-between;
            padding: 15px 30px 0;
        }

        .step-dot {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: #e2e8f0;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .step-dot.active {
            background: var(--primary);
            color: #fff;
            transform: scale(1.1);
        }

        .step-dot.completed {
            background: #10b981;
            color: #fff;
        }

        .step-label {
            font-size: 0.75rem;
            color: #64748b;
            text-align: center;
            margin-top: 5px;
            font-weight: 500;
        }

        .step-dot.active+.step-label,
        .step-dot.completed+.step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .wizard-body {
            padding: 30px;
        }

        .wizard-step {
            display: none;
            animation: fadeIn 0.4s;
        }

        .wizard-step.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .wizard-step h4 {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 5px;
        }

        .wizard-step .subtitle {
            color: #64748b;
            margin-bottom: 25px;
            font-size: 0.95rem;
        }

        .form-group label {
            font-weight: 600;
            color: #334155;
            font-size: 0.9rem;
        }

        .form-control,
        .form-control:focus {
            border-radius: 10px;
            border: 2px solid #e2e8f0;
            padding: 12px 15px;
            transition: all 0.3s;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
        }

        .input-icon {
            position: relative;
        }

        .input-icon i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }

        .input-icon .form-control {
            padding-left: 45px;
        }

        .wizard-footer {
            padding: 20px 30px;
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
        }

        .btn-wizard {
            padding: 12px 30px;
            border-radius: 10px;
            font-weight: 600;
            border: none;
            transition: all 0.3s;
        }

        .btn-prev {
            background: #e2e8f0;
            color: #475569;
        }

        .btn-prev:hover {
            background: #cbd5e1;
        }

        .btn-next {
            background: var(--primary);
            color: #fff;
        }

        .btn-next:hover {
            background: var(--primary-dark);
            color: #fff;
        }

        .btn-submit {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: #fff;
        }

        .btn-submit:hover {
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
        }

        /* Success screen */
        .success-screen {
            text-align: center;
            padding: 20px 0;
        }

        .success-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 3rem;
            color: #fff;
            animation: scaleIn 0.5s;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
            }

            to {
                transform: scale(1);
            }
        }

        .credentials-box {
            background: #f1f5f9;
            border-radius: 12px;
            padding: 20px;
            margin: 20px 0;
            text-align: left;
        }

        .credential-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .credential-item:last-child {
            border-bottom: none;
        }

        .credential-label {
            font-weight: 600;
            color: #64748b;
        }

        .credential-value {
            font-weight: 700;
            color: var(--dark);
            font-family: monospace;
            font-size: 1.05rem;
        }

        .copy-btn {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            margin-left: 10px;
            cursor: pointer;
        }

        .loading-screen {
            text-align: center;
            padding: 40px 0;
        }

        .spinner-demo {
            width: 80px;
            height: 80px;
            border: 5px solid #e2e8f0;
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p.lead {
                font-size: 1rem;
            }

            .step-label {
                display: none;
            }
        }


        /* ✅ NUEVO: Ajuste de selects en el wizard de demo */
        .modal-wizard select.form-control {
            padding-top: 5px;
            padding-bottom: 5px;
            padding-left: 15px;
            padding-right: 15px;
            height: auto;
            line-height: 1.5;
            appearance: auto;
            -webkit-appearance: auto;
            -moz-appearance: auto;
        }

        .modal-wizard select.form-control option {
            padding: 8px 12px;
            color: #334155;
            background-color: #fff;
        }

        .modal-wizard select.form-control option:hover {
            background-color: #e0e7ff;
        }

        /* ========================================== */
/* SECCIÓN DE PRECIOS                         */
/* ========================================== */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.pricing .badge-rocket {
    background: var(--accent);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

/* Toggle Mensual/Anual */
.pricing-toggle {
    border: 2px solid #e2e8f0;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s;
    position: relative;
}

.toggle-btn.active {
    background: var(--primary);
    color: #fff;
}

.toggle-btn:hover:not(.active) {
    color: var(--primary);
}

.discount-badge {
    background: #10b981;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 700;
    vertical-align: middle;
}

/* Cards de Planes */
.pricing-cards {
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid #e2e8f0;
    height: 100%;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card-featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
    color: #fff;
    padding: 6px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 0 12px;
    z-index: 2;
}

.card-header-custom {
    padding: 30px 25px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.card-header-custom h4 {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 10px 0 5px;
    color: var(--dark);
}

.plan-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.plan-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-free { background: #e0f2fe; color: #0369a1; }
.badge-starter { background: #f1f5f9; color: #475569; }
.badge-professional { background: #dbeafe; color: var(--primary); }
.badge-enterprise { background: #fef3c7; color: #92400e; }

.card-body-custom {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.price-display {
    text-align: center;
    margin-bottom: 5px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    vertical-align: top;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.price-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.onboarding-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px dashed #cbd5e1;
}

.onboarding-box strong {
    font-size: 1.1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: #10b981;
    margin-right: 8px;
    width: 16px;
}

.plan-features li.text-muted i {
    color: #cbd5e1;
}

.btn-plan {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.btn-plan:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-featured:hover {
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Desarrollo a medida */
.custom-dev-section {
    max-width: 900px;
    margin: 0 auto;
}

.custom-dev-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 30px;
}

.dev-rate {
    text-align: right;
}

.rate-amount {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
    display: block;
}

/* Notas aclaratorias */
.pricing-notes {
    max-width: 900px;
    margin: 40px auto 0;
}

.note-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.note-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.note-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-card-featured {
        transform: scale(1);
    }
    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }
    
    .price-amount {
        font-size: 2.8rem;
    }
    
    .custom-dev-card .row {
        text-align: center;
    }
    
    .dev-rate {
        text-align: center;
        margin-top: 15px;
    }
}

        @media (max-width: 768px) {
            /* ... */
        }