/* Estilos compartidos para formularios de planes (contratación y registro) */

:root {
            --primary: #4f46e5;
            --primary-dark: #4338ca;
            --secondary: #10b981;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f9fafb;
            color: var(--dark);
            line-height: 1.6;
        }

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

        /* Header */
        header {
            background: linear-gradient(135deg, var(--light), var(--light));
            color: white;
            padding: 20px 0;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
            transform: rotate(30deg);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: #fbbf24;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 30px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            color: #fbbf24;
        }

        .btn {
            display: inline-block;
            background-color: rgb(122, 142, 253);
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

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

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

        /* Hero Section */
        .hero {
            padding: 80px 0;
            text-align: center;
            position: relative;
            background: linear-gradient(135deg, #f9fafb, #e2e8f0);
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--dark);
            font-weight: 800;
        }

        .hero p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 40px;
            color: var(--gray);
        }

        .highlight {
            color: var(--primary);
            font-weight: 700;
        }

        /* Features */
        .features {
            padding: 60px 0;
            background-color: white;
            margin-bottom: -90px;
        }

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

        .section-title h2 {
            font-size: 36px;
            color: var(--dark);
            position: relative;
            display: inline-block;
        }

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

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            font-size: 40px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .feature-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--dark);
        }

        /* Pricing */
        .pricing {
            padding: 80px 0;
            background: linear-gradient(135deg, #f9fafb, #e2e8f0);
            margin-top: -50px;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .pricing-header {
            padding: 30px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
        }

        .pricing-card:first-child {
            border-left: 4px solid #4f46e5;
            /* Color del borde */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            /* Sombra similar */
        }

        .pricing-card:first-child::before {
            content: "Básico";
            position: absolute;
            top: 15px;
            left: 0;
            background-color: #4f46e5;
            color: white;
            padding: 5px 15px;
            border-top-right-radius: 15px;
            border-bottom-right-radius: 15px;
            font-size: 12px;
            font-weight: 600;
        }

        .pricing-card:first-child .pricing-header {
            background: rgba(79, 70, 229, 0.15);
            /* Fondo más contrastado */
        }

        .popular-tag {
            position: absolute;
            top: 20px;
            right: -30px;
            background-color: #f59e0b;
            color: white;
            padding: 5px 30px;
            transform: rotate(45deg);
            font-size: 14px;
            font-weight: 600;
        }

        .pricing-title {
            font-size: 22px;
            margin-bottom: 10px;
        }

        .pricing-price {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .pricing-period {
            font-size: 16px;
            opacity: 0.8;
        }

        .pricing-body {
            padding: 30px;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .pricing-features li {
            margin-bottom: 15px;
            position: relative;
            padding-left: 30px;
        }

        .pricing-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--secondary);
        }

        .pricing-features li.disabled {
            opacity: 0.5;
        }

        .pricing-features li.disabled::before {
            content: '\f00d';
            color: #ef4444;
        }

        .pricing-requirements {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px dashed #ddd;
        }

        .pricing-requirements h4 {
            font-size: 16px;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .requirements-list {
            list-style: none;
        }

        .requirements-list li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 25px;
            font-size: 14px;
        }

        .requirements-list li::before {
            content: '\f054';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary);
            font-size: 12px;
        }

        /* CTA */
        .cta {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            text-align: center;
        }

        .cta h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }

        .cta p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto 40px;
            opacity: 0.9;
        }

        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-column h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .contact-info {
            list-style: none;
        }

        .contact-info li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }

        .contact-info i {
            margin-right: 10px;
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: var(--gray);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }

            .section-title h2 {
                font-size: 30px;
            }

            .nav-links {
                display: none;
            }
        }

        /* Features Section - Improved */
        .features {
            padding: 100px 0;
            background-color: #f8fafc;
            position: relative;
            overflow: hidden;
        }

        .features::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="25" cy="25" r="2" fill="%234f46e5" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="%234f46e5" opacity="0.1"/><circle cx="25" cy="75" r="2" fill="%234f46e5" opacity="0.1"/><circle cx="75" cy="25" r="2" fill="%234f46e5" opacity="0.1"/></svg>');
            background-size: 50px 50px;
            opacity: 0.1;
            z-index: 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }

        .section-title h2 {
            font-size: 42px;
            color: #1e293b;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, #4f46e5, #10b981);
            border-radius: 2px;
        }

        .section-title .subtitle {
            font-size: 18px;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            position: relative;
            z-index: 1;
        }

        .feature-card {
            background-color: white;
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(79, 70, 229, 0.1);
            z-index: 1;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, #4f46e5, #10b981);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15);
        }

        .feature-card-popular {
            border: 1px solid rgba(79, 70, 229, 0.3);
            box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
        }

        .feature-card-popular:hover {
            box-shadow: 0 15px 40px rgba(79, 70, 229, 0.2);
        }

        .feature-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #4f46e5;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .feature-card-popular .feature-badge {
            background-color: #10b981;
        }

        .feature-icon-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            position: relative;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
        }

        .feature-icon-inner {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #4f46e5, #10b981);
            color: white;
            font-size: 24px;
        }

        .feature-dots {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            top: 0;
            left: 0;
        }

        .feature-dots span {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #4f46e5;
            opacity: 0.3;
        }

        .feature-dots span:nth-child(1) {
            top: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .feature-dots span:nth-child(2) {
            top: 50%;
            right: 0;
            transform: translateY(-50%);
        }

        .feature-dots span:nth-child(3) {
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .feature-dots span:nth-child(4) {
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

        .feature-card h3 {
            font-size: 22px;
            margin-bottom: 20px;
            color: #1e293b;
            text-align: center;
            position: relative;
        }

        .feature-card h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(to right, #4f46e5, #10b981);
        }

        .feature-card p {
            color: #64748b;
            text-align: center;
            margin-bottom: 25px;
            font-size: 15px;
            line-height: 1.7;
        }

        .feature-stats {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .featured-text {
            display: block;
            font-size: 16px;
            font-weight: 600;
            color: #464646;
            line-height: 1;
            margin-bottom: 5px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            display: block;
            font-size: 24px;
            font-weight: 700;
            color: #4f46e5;
            line-height: 1;
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 12px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .feature-wave {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 20px;
            overflow: hidden;
        }

        .feature-wave svg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            fill: rgba(79, 70, 229, 0.05);
        }

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

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

            .features-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }
        }

        /* Pricing Section - Enhanced */
        .pricing {
            padding: 100px 0;
            background-color: #f9fafb;
            position: relative;
        }

        .pricing::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M30,30 Q50,20 70,30 T90,30" stroke="%234f46e5" fill="none" stroke-width="0.5" opacity="0.1"/></svg>');
            background-size: 100px 100px;
            opacity: 0.05;
            z-index: 0;
        }

        .pricing .section-title h2 {
            font-size: 42px;
            margin-bottom: 10px;
        }

        .pricing .subtitle {
            font-size: 18px;
            color: #64748b;
            max-width: 600px;
            margin: 0 auto 30px;
        }

        .pricing-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-size: 1.5rem;
            flex-wrap: wrap;
            /* clave para móviles */
            text-align: center;
        }

        .pricing-toggle small {
            display: block;
            font-size: 0.9rem;
            color: #10b981;
            /* verde atractivo */
            margin-top: 2px;
        }

        .pricing-toggle span {
            font-weight: 600;
            color: #4f46e5;
        }

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

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

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #e2e8f0;
            transition: .4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
        }

        input:checked+.slider {
            background-color: #4f46e5;
        }

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

        .slider.round {
            border-radius: 34px;
        }

        .slider.round:before {
            border-radius: 50%;
        }


        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            justify-items: center;
            gap: 30px;
            margin-top: 50px;
        }


        .pricing-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: relative;
            border: none !important;
            border-left: 4px solid transparent !important;
            max-width: 400px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15);
        }

        .pricing-card.popular {
            border: 1px solid rgba(79, 70, 229, 0.3);
            box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
        }

        .pricing-card.popular:hover {
            box-shadow: 0 15px 40px rgba(79, 70, 229, 0.2);
        }

        .pricing-card.enterprise {
            border: 1px solid rgba(16, 185, 129, 0.3);
            border-left: 4px solid #ed7c3a;
        }

        .pricing-card.enterprise:hover {
            box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
        }

        .popular-tag {
            position: absolute;
            top: 20px;
            right: -30px;
            background-color: #f59e0b;
            color: white;
            padding: 5px 30px;
            transform: rotate(45deg);
            font-size: 14px;
            font-weight: 600;
            z-index: 2;
        }

        .pricing-recommendation {
            position: absolute;
            top: 15px;
            left: 0;
            background-color: #4f46e5;
            color: white;
            padding: 5px 15px;
            border-top-right-radius: 15px;
            border-bottom-right-radius: 15px;
            font-size: 12px;
            font-weight: 600;
        }

        .pricing-card.popular .pricing-recommendation {
            background-color: #10b981;
        }

        .pricing-card.enterprise .pricing-recommendation {
            background-color: #ed7c3a;
        }

        .pricing-header {
            padding: 40px 30px 30px;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
            text-align: center;
            position: relative;
        }

        .pricing-card.popular .pricing-header {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
        }

        .pricing-card.enterprise .pricing-header {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
        }

        .pricing-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 24px;
        }

        .pricing-card.popular .pricing-icon {
            background: linear-gradient(135deg, #10b981, #34d399);
        }

        .pricing-card.enterprise .pricing-icon {
            background: linear-gradient(135deg, #ed7c3a, #ed7c3a);
        }

        .pricing-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: #1e293b;
        }

        .pricing-price {
            font-size: 36px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 5px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .currency {
            font-size: 20px;
            margin-right: 5px;
            color: #4f46e5;
            font-weight: 500;
        }

        .pricing-card.popular .currency {
            color: #10b981;
        }

        .pricing-card.enterprise .currency {
            color: #ed7c3a;
        }

        .period {
            font-size: 16px;
            color: #64748b;
            font-weight: 400;
            margin-left: 5px;
            align-self: flex-end;
        }

        .pricing-savings {
            font-size: 14px;
            color: #10b981;
            font-weight: 600;
        }

        .pricing-body {
            padding: 30px;
        }

        .pricing-badge {
            background-color: #e0e7ff;
            color: #4f46e5;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 20px;
        }

        .pricing-card.popular .pricing-badge {
            background-color: #d1fae5;
            color: #10b981;
        }

        .pricing-card.enterprise .pricing-badge {
            background-color: #ede9fe;
            color: #ed7c3a;
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .pricing-features li {
            margin-bottom: 15px;
            position: relative;
            padding-left: 30px;
            color: #475569;
        }

        .pricing-features i {
            position: absolute;
            left: 0;
            top: 3px;
            color: #4f46e5;
        }

        .pricing-card.popular .pricing-features i {
            color: #10b981;
        }

        .pricing-card.enterprise .pricing-features i {
            color: #ed7c3a;
        }

        .pricing-requirements {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px dashed #e2e8f0;
        }

        .requirements-title {
            color: #64748b;
            font-size: 14px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .requirements-title i {
            color: #4f46e5;
        }

        .pricing-card.popular .requirements-title i {
            color: #10b981;
        }

        .pricing-card.enterprise .requirements-title i {
            color: #ed7c3a;
        }

        .requirements-list {
            list-style: none;
            font-size: 14px;
            color: #64748b;
        }

        .requirements-list li {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .requirements-list i {
            color: #4f46e5;
            font-size: 12px;
        }

        .pricing-testimonial {
            background-color: #f8fafc;
            border-radius: 10px;
            padding: 15px;
            margin-top: 25px;
            border-left: 3px solid #4f46e5;
        }

        .pricing-card.popular .pricing-testimonial {
            border-left-color: #10b981;
        }

        .testimonial-text {
            font-style: italic;
            color: #475569;
            margin-bottom: 5px;
        }

        .testimonial-author {
            font-size: 12px;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .testimonial-author i {
            color: #4f46e5;
        }

        .pricing-footer {
            text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
        }

        .pricing-footer p {
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .pricing-footer i {
            color: #4f46e5;
        }

        .payment-methods {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
            font-size: 24px;
            color: #64748b;
        }

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

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

            .pricing-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                margin: 0 auto;
            }

            .popular-tag {
                right: -25px;
                padding: 5px 25px;
                font-size: 12px;
            }
        }



        /* Primera tarjeta (Básico) */
        .pricing-card:first-child {
            border-left-color: var(--primary) !important;
            /* Azul */
        }

        /* Segunda tarjeta (Popular) */
        .pricing-card.popular {
            border-left-color: var(--secondary) !important;
            /* Verde */
        }

        /* Tercera tarjeta (Enterprise) */
        .pricing-card.enterprise {
            border-left-color: #ed7c3a !important;
            /* Morado */
        }

        .pricing-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin: 30px 0;
        }

        .pricing-toggle span {
            font-weight: 600;
            color: var(--dark);
        }

        .pricing-toggle small {
            color: var(--secondary);
            font-weight: bold;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
        }

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

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

        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

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

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

        /* Hero Section Responsive */
        .hero-container {
            display: flex;
            align-items: flex-start;
            gap: 40px;
        }

        .hero-content {
            flex: 1;
        }

        .hero-image {
            flex: 1;
            text-align: center;
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .hero-image img:hover {
            transform: scale(1.02);
        }

        /* Formulario de Contacto */
        /* Sección de Contacto Mejorada */
        .contact-section {
            padding: 100px 0;
            background-color: #f8fafc;
            position: relative;
        }

        .contact-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M30,30 Q50,20 70,30 T90,30" stroke="%234f46e5" fill="none" stroke-width="0.5" opacity="0.1"/></svg>');
            background-size: 100px 100px;
            opacity: 0.05;
            z-index: 0;
        }

        .contact-card {
            display: flex;
            background: white;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            position: relative;
            z-index: 1;
        }

        .contact-image {
            flex: 1;
            background: linear-gradient(rgba(79, 70, 229, 0.7), rgba(79, 70, 229, 0.7)),
                url('https://www.signpost.com/wp-content/uploads/2021/11/call-center-customer-service-tips-scaled.jpeg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
        }

        .image-overlay {
            position: relative;
            z-index: 2;
        }

        .contact-image h3 {
            font-size: 28px;
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 15px;
        }

        .contact-image h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: white;
        }

        .contact-image p {
            margin-bottom: 30px;
            opacity: 0.9;
            font-size: 16px;
        }

        .contact-info {
            margin-top: 40px;
        }

        .contact-info p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .contact-info i {
            width: 20px;
            text-align: center;
        }

        .contact-form {
            flex: 1;
            padding: 50px;
        }

        .contact-form h2 {
            font-size: 32px;
            color: var(--dark);
            margin-bottom: 10px;
        }

        .contact-form .subtitle {
            color: var(--gray);
            margin-bottom: 30px;
            font-size: 16px;
        }

        .modern-form {
            margin-top: 20px;
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
            font-size: 14px;
        }

        .input-with-icon {
            position: relative;
        }

        .input-with-icon i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary);
        }

        .input-with-icon textarea+i {
            top: 20px;
            transform: none;
        }

        .input-with-icon input,
        .input-with-icon textarea {
            width: 100%;
            padding: 12px 15px 12px 45px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .input-with-icon textarea {
            padding: 15px 15px 15px 45px;
            min-height: 120px;
        }

        .input-with-icon input:focus,
        .input-with-icon textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
            outline: none;
        }

        .form-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 30px;
        }

        .checkbox-container {
            display: flex;
            align-items: center;
        }

        .checkbox-container input {
            margin-right: 10px;
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
        }

        .checkbox-container label {
            font-size: 13px;
            color: var(--gray);
        }

        .checkbox-container a {
            color: var(--primary);
            text-decoration: none;
        }

        .checkbox-container a:hover {
            text-decoration: underline;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 25px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .contact-card {
                flex-direction: column;
            }

            .contact-image {
                padding: 40px;
                text-align: center;
            }

            .contact-image h3::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .contact-info {
                margin-top: 30px;
            }

            .contact-form {
                padding: 40px;
            }
        }

        @media (max-width: 576px) {
            .form-footer {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }

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

        /* Responsive: Apila verticalmente en móviles */
        @media (max-width: 768px) {
            .hero-container {
                flex-direction: column;
                gap: 30px;
            }

            .hero-content,
            .hero-image {
                width: 100%;
                text-align: center;
            }

            .hero-image {
                /* order: -1; */
                /* Opcional: coloca la imagen arriba del texto */
                margin-bottom: 20px;
            }

            .hero-content h1 {
                font-size: 32px;
                /* Tamaño más adecuado para móviles */
            }

            .hero-content p {
                font-size: 18px;
            }
        }

        header.sticky {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 999;
            padding: 10px 0;
            /* background: var(--primary-dark); */
            transition: all 0.3s ease;
            box-shadow: var(--shadow);
        }

        header.sticky .logo img {
            max-height: 40px;
            transition: all 0.3s ease;
        }

        header .logo img {
            max-height: 60px;
            transition: all 0.3s ease;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            nav {
                position: relative;
                z-index: 1000;
            }

            .menu-toggle {
                display: block;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                background-color: var(--primary-dark);
                position: fixed;
                top: 70px;
                /* o ajusta según la altura de tu header */
                right: 20px;
                padding: 15px 20px;
                border-radius: 8px;
                box-shadow: var(--shadow);
                z-index: 99999;
            }

            .nav-links.open {
                display: flex !important;
            }

            .nav-links a {
                margin: 10px 0;
                color: white;
            }
        }

        .menu-toggle i {
            color: #1e1e1e;
            /* Cambia a cualquier color que contraste con tu nuevo fondo */
        }

        header {
            margin-bottom: 0;
            /* elimina espacio exterior */
            padding-bottom: 0;
            /* elimina espacio interno si lo hay */
        }

        header .container {
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .hero {
            margin-top: 0;
            padding-top: 20px;
            /* puedes reducir este valor si es muy alto */
        }

/* Estilo base para el drawer */
        .drawer-overlay {
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 100vw;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(2px);
            z-index: 9998;
            display: none;
        }

        .drawer {
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 280px;
            background: white;
            z-index: 9999;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            padding: 20px;
            box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        }

        .drawer.open {
            transform: translateX(0);
        }

        .drawer-header {
            display: flex;
            justify-content: flex-end;
        }

        .drawer-header button {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

        .drawer a {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            font-size: 18px;
            color: #333;
            text-decoration: none;
        }

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

        @media (min-width: 769px) {
            .menu-toggle {
                display: none !important;
            }
        }

        .drawer {
            position: fixed;
            top: 0;
            right: -100%;
            width: 260px;
            height: 100%;
            background: #fff;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            transition: right 0.3s ease;
            z-index: 10000;
            display: flex;
            flex-direction: column;
        }

        .drawer.open {
            right: 0;
        }

        .drawer-header {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }

        .drawer-header button {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

        .drawer a {
            text-decoration: none;
            color: #333;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            font-size: 16px;
        }

        .verify-badge {
            display: block;
            background-color: #eaf4ff;
            color: #007BFF;
            padding: 10px 15px;
            border-radius: 12px;
            margin-bottom: 20px;
            font-weight: bold;
            text-align: center;
        }

        .drawer-demo-btn {
            display: block;
            background-color: #4b3df6;
            color: white !important;
            text-align: center;
            padding: 12px;
            border-radius: 25px;
            font-weight: bold;
            margin: 25px 0 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .user-access {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .user-access .plus {
            font-size: 18px;
            font-weight: bold;
        }

        /* Estilos para el menú horizontal en desktop */
        .desktop-menu {
            display: none;
            margin-left: auto;
        }

        .desktop-menu ul {
            display: flex;
            align-items: center;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .desktop-menu li {
            margin-left: 20px;
            position: relative;
        }

        .desktop-menu a {
            text-decoration: none;
            color: #333;
            font-size: 16px;
            transition: color 0.3s;
            padding: 10px 0;
        }

        .desktop-menu a:hover {
            color: var(--primary);
        }

        .desktop-menu .verify-badge {
            background-color: #eaf4ff;
            color: #007BFF;
            padding: 8px 12px;
            border-radius: 12px;
            font-weight: bold;
            margin-right: 15px;
        }

        .desktop-menu .drawer-demo-btn {
            background-color: #4b3df6;
            color: white !important;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-left: 15px;
        }

        /* Mostrar el menú horizontal solo en desktop */
        @media (min-width: 769px) {
            .desktop-menu {
                display: block;
            }

            .menu-toggle {
                display: none !important;
            }
        }

        /* Estilos mejorados para el menú desktop */
        .desktop-menu ul {
            display: flex;
            align-items: center;
            gap: 15px;
            /* Espacio uniforme entre elementos */
            white-space: nowrap;
            /* Evita el salto de línea */
        }

        .desktop-menu li {
            margin-left: 0;
            /* Elimina el margen izquierdo individual */
            position: relative;
        }

        .desktop-menu a {
            padding: 12px 15px;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
        }

        /* Estilo específico para "Acceso usuarios" */
        .desktop-menu .user-access {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        /* Ajuste para el badge de verificación */
        .desktop-menu .verify-badge {
            white-space: nowrap;
            padding: 8px 15px;
            margin-right: 0;
        }

        /* Botón Demo Gratis */
        .desktop-menu .drawer-demo-btn {
            padding: 10px 20px;
            margin-left: 10px;
            white-space: nowrap;
        }

        /* Ajustes responsivos adicionales */
        @media (min-width: 992px) {
            .desktop-menu ul {
                gap: 20px;
                /* Más espacio en pantallas más grandes */
            }

            .desktop-menu a {
                font-size: 16px;
                padding: 12px 18px;
            }
        }

        /* Ajuste específico para el botón verify-badge */
        .desktop-menu .verify-badge {
            display: inline-flex;
            align-items: center;
            /* Centra verticalmente el contenido */
            height: 100%;
            /* Ocupa toda la altura del li */
            padding: 8px 15px;
            margin: 0;
            transform: none;
            /* Elimina cualquier transformación previa */
            vertical-align: middle;
            /* Alineación vertical adicional */
            line-height: normal;
            /* Reset del line-height */
        }

        /* Asegurar que todos los items del menú tengan la misma alineación */
        .desktop-menu li {
            display: flex;
            align-items: center;
            /* Centra verticalmente todos los elementos */
            height: 100%;
        }

        /* Opcional: ajustar el contenedor del menú */
        .desktop-menu ul {
            height: 100%;
            /* Asegura que el ul ocupe toda la altura disponible */
        }

        /* Añade esto a tu CSS */
        .desktop-menu {
            margin-left: 40px;
            /* Ajusta este valor según necesites */
        }

        /* Versión responsiva si es necesario */
        @media (min-width: 1200px) {
            .desktop-menu {
                margin-left: 60px;
                /* Más espacio en pantallas grandes */
            }
        }

        /* Estilos base del header */
        #mainHeader {
            transition: all 0.3s ease;
            padding: 15px 0;
            /* Ajusta según tus necesidades */
        }

        /* Header sticky normal */
        #mainHeader.sticky {
            position: fixed;
            top: 0;
            width: 100%;
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            padding: 10px 0;
            /* Reduce el padding vertical */
        }

        /* Header comprimido (más angosto) */
        #mainHeader.compressed {
            padding: 5px 0;
            /* Reduce aún más el padding */
        }

        #mainHeader.compressed .logo img {
            height: 50px;
            /* Reduce el tamaño del logo */
            /* transition: height 0.3s ease; */
        }

        #mainHeader.compressed .desktop-menu ul {
            gap: 10px;
            /* Reduce espacio entre items */
        }

        #mainHeader.compressed .desktop-menu a {
            padding: 8px 12px;
            /* Reduce padding de los enlaces */
            font-size: 14px;
            /* Reduce tamaño de fuente si es necesario */
        }

        #mainHeader.compressed .verify-badge,
        #mainHeader.compressed .drawer-demo-btn {
            padding: 6px 10px;
            /* Reduce padding de botones especiales */
            font-size: 13px;
        }

.contact-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .contact-option {
            cursor: pointer;
            padding: 10px 16px;
            border: 2px solid #ccc;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: 0.3s;
            user-select: none;
        }

        .contact-option input[type="radio"] {
            display: none;
        }

        .contact-option i {
            font-size: 1.2em;
        }

        .contact-option span {
            font-weight: 500;
        }

        .contact-option:hover {
            background: #f8f9fa;
        }

        .contact-option input[type="radio"]:checked+i,
        .contact-option input[type="radio"]:checked+i+span {
            color: #fff;
        }

        .contact-option input[type="radio"]:checked~i,
        .contact-option input[type="radio"]:checked~span {
            color: #fff;
        }

        .contact-option input[type="radio"]:checked~* {
            color: #fff;
        }

        .contact-option input[type="radio"]:checked~span {
            font-weight: bold;
        }

        .contact-option input[type="radio"]:checked~* {
            color: #fff;
        }

        .contact-option input[type="radio"]:checked~i {
            color: #fff;
        }

        .contact-option:has(input[type="radio"]:checked) {
            background-color: #28a745;
            border-color: #28a745;
            color: #fff;
        }

        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 80px;
            /* ¡más arriba para evitar el reCAPTCHA! */
            right: 20px;
            background-color: #25d366;
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
            text-decoration: none !important;
            /* elimina subrayado */
        }


        .whatsapp-float:hover {
            transform: scale(1.1);
            text-decoration: none;
        }

        /* Estilos para el texto mejorado */
        .hero-subtitle {
            max-width: 600px;
            margin: 0 auto 30px;
        }

        .hero-lead {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .hero-features {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .feature-icon {
            color: var(--primary);
            margin-right: 12px;
            margin-top: 3px;
            font-size: 1rem;
            flex-shrink: 0;
        }

        /* Versión móvil */
        @media (max-width: 768px) {
            .hero-lead {
                font-size: 1rem;
                text-align: center;
            }

            .hero-features {
                padding: 0 15px;
                margin-top: -30px;
            }

            .feature-item {
                font-size: 0.95rem;
                margin-bottom: 15px;
            }

            .feature-icon {
                font-size: 0.9rem;
            }
        }

        /* Sección de Características */
        .feature-highlights {
            padding: 80px 0;
            background: #f9fafc;
            margin-bottom: -100px;
        }

        .section-title {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 15px;
        }

        .section-subtitle {
            text-align: center;
            color: #555;
            max-width: 700px;
            margin: 0 auto 50px;
            font-size: 1.1rem;
        }

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

        .feature-card {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .feature-icon-circle {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(75, 61, 246, 0.1) 0%, rgba(75, 61, 246, 0.2) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--primary);
            font-size: 1.5rem;
        }

        .feature-card h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: #333;
        }

        .feature-card p {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .feature-highlights {
                padding: 50px 0;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .section-subtitle {
                font-size: 1rem;
                margin-bottom: 30px;
                padding: 0 15px;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 15px;
            }

            .feature-card {
                padding: 20px;
            }

            .feature-icon-circle {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
        }

        /* Estilos para el botón de demostración */
        .demo-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background-color: rgba(75, 61, 246, 0.1);
            color: var(--primary);
            border: none;
            padding: 10px 15px;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            margin-top: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .demo-btn:hover {
            background-color: rgba(75, 61, 246, 0.2);
            transform: translateY(-2px);
        }

        .demo-btn i {
            font-size: 1rem;
        }

        /* Ajuste para mantener el espaciado consistente */
        .feature-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .feature-card p {
            flex-grow: 1;
            margin-bottom: 15px;
        }

        /* Estilos para el modal */
        /* Añade esto a tu CSS */
        .modal {
            position: fixed;
            overflow-y: auto;
            /* Permite scroll dentro del modal si es necesario */
            -webkit-overflow-scrolling: touch;
            /* Suaviza el scroll en iOS */
        }

        /* Evita que el body haga scroll */
        .body-no-scroll {
            overflow: hidden;
            position: fixed;
            width: 100%;
            height: 100%;
        }

        .modal-content {
            position: relative;
            margin: 5% auto;
            padding: 20px;
            width: 80%;
            max-width: 800px;
            animation: modalopen 0.5s;
        }

        @keyframes modalopen {
            from {
                opacity: 0;
                transform: scale(0.8)
            }

            to {
                opacity: 1;
                transform: scale(1)
            }
        }

        .close-modal {
            position: absolute;
            right: 20px;
            top: 10px;
            color: #fff;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }

        .close-modal:hover {
            color: #ccc;
        }

        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            /* Relación 16:9 */
            height: 0;
            overflow: hidden;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .rut-input {
            text-transform: uppercase;
        }

        .invalid-feedback {
            display: none;
        }

        .is-invalid~.invalid-feedback {
            display: block;
        }

        :root {
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
            --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            --input-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            --border-radius: 16px;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 2rem 0;
        }

        .main-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .registration-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .registration-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
        }

        .card-header-modern {
            background: var(--success-gradient);
            padding: 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .card-header-modern::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: shimmer 3s ease-in-out infinite;
        }

        @keyframes shimmer {

            0%,
            100% {
                transform: rotate(0deg);
            }

            50% {
                transform: rotate(180deg);
            }
        }

        .header-content {
            position: relative;
            z-index: 2;
        }

        .plan-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0);
        }

        .price-display {
            font-size: 1.3rem;
            font-weight: 600;
            opacity: 0.95;
        }

        .card-body-modern {
            padding: 3rem;
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
        }

        .section-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, rgba(102, 126, 234, 0.3) 0%, transparent 100%);
        }

        .section-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
        }

        .form-floating-modern {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .form-control-modern {
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem 1.25rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
        }

        .form-control-modern:focus {
            border-color: #667eea;
            box-shadow: var(--input-shadow), 0 0 0 3px rgba(102, 126, 234, 0.1);
            background: white;
            transform: translateY(-2px);
        }

        .form-label-modern {
            font-weight: 500;
            color: #4a5568;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .required-asterisk {
            color: #e53e3e;
            font-weight: bold;
        }

        .selectpicker-modern {
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem 1.25rem;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .selectpicker-modern:focus {
            border-color: #667eea;
            box-shadow: var(--input-shadow);
            background: white;
        }

        .plan-summary {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border-radius: 16px;
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
            border: 2px solid rgba(102, 126, 234, 0.1);
            position: relative;
            overflow: hidden;
        }

        .plan-summary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--success-gradient);
        }

        .plan-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 0.5rem;
        }

        .plan-price {
            font-size: 1.5rem;
            font-weight: 800;
            background: var(--success-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .submit-btn {
            background: var(--success-gradient);
            border: none;
            border-radius: 12px;
            padding: 1rem 3rem;
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(17, 153, 142, 0.4);
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .row-modern {
            margin-bottom: 1rem;
        }

        .invalid-feedback {
            display: block;
            color: #e53e3e;
            font-size: 0.875rem;
            margin-top: 0.5rem;
            font-weight: 500;
        }

        /* Responsive improvements */
        @media (max-width: 768px) {
            .card-body-modern {
                padding: 2rem 1.5rem;
            }

            .plan-title {
                font-size: 1.5rem;
            }

            .submit-btn {
                width: 100%;
                padding: 1.25rem;
            }
        }

        /* Smooth animations for form sections */
        .form-section {
            animation: fadeInUp 0.6s ease-out;
        }

        .form-section:nth-child(2) {
            animation-delay: 0.1s;
        }

        .form-section:nth-child(3) {
            animation-delay: 0.2s;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

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

        /* Estilos para el campo de cupón */
        .cupon-container {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            border-radius: 16px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 2px dashed rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }

        .cupon-container:hover {
            border-color: rgba(102, 126, 234, 0.5);
            transform: translateY(-2px);
        }

        .cupon-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
            color: #2d3748;
        }

        .cupon-header i {
            color: #667eea;
            font-size: 1.3rem;
        }

        .cupon-input-wrapper {
            display: flex;
            gap: 0.75rem;
            align-items: stretch;
        }

        .cupon-input {
            flex: 1;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 0.75rem 1rem;
            font-size: 1rem;
            font-weight: 500;
            text-transform: uppercase;
            transition: all 0.3s ease;
            background: white;
        }

        .cupon-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
        }

        .cupon-input::placeholder {
            text-transform: none;
            font-weight: 400;
        }

        .validar-cupon-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 10px;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .validar-cupon-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .validar-cupon-btn:active {
            transform: translateY(0);
        }

        .cupon-mensaje {
            margin-top: 0.75rem;
            padding: 0.75rem;
            border-radius: 8px;
            font-weight: 600;
            display: none;
            align-items: center;
            gap: 0.5rem;
            animation: fadeIn 0.3s ease;
        }

        .cupon-mensaje.valido {
            display: flex;
            background: rgba(17, 153, 142, 0.1);
            color: #0d7a70;
            border: 2px solid rgba(17, 153, 142, 0.3);
        }

        .cupon-mensaje.valido::before {
            content: '✓';
            font-size: 1.2rem;
            font-weight: bold;
        }

        .cupon-mensaje.invalido {
            display: flex;
            background: rgba(229, 62, 62, 0.1);
            color: #c53030;
            border: 2px solid rgba(229, 62, 62, 0.3);
        }

        .cupon-mensaje.invalido::before {
            content: '✗';
            font-size: 1.2rem;
            font-weight: bold;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 576px) {
            .cupon-input-wrapper {
                flex-direction: column;
            }

            .validar-cupon-btn {
                width: 100%;
            }
        }

/* Fix para Bootstrap Select - evitar tonos azulados */
.bootstrap-select > .dropdown-toggle {
    border: 2px solid #e2e8f0 !important;
    background-color: white !important;
    color: #2d3748 !important;
}

.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > .dropdown-toggle:active {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    background-color: white !important;
}

.bootstrap-select .dropdown-menu {
    border: 2px solid #e2e8f0 !important;
}

.bootstrap-select .dropdown-menu li a {
    color: #2d3748 !important;
}

.bootstrap-select .dropdown-menu li.selected a {
    background-color: #667eea !important;
    color: white !important;
}

.bootstrap-select .dropdown-menu li:hover a {
    background-color: rgba(102, 126, 234, 0.1) !important;
}
