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

        /* ========================================
        VARIABLES CSS - MODO OSCURO CON MORADO
        ======================================== */
        :root {
            /* Colores principales con integración morada */
            --primary: #8b5cf6;
            --primary-dark: #7c3aed;
            --primary-light: #a78bfa;
            --secondary: #6b7280;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --info: #06b6d4;
            
            /* Fondos modo oscuro */
            --bg-primary: #1e1b4b;
            --bg-secondary: #1e293b;
            --bg-tertiary: #312e81;
            --bg-card: #1e1b4b;
            --bg-hover: #312e81;
            
            /* Textos modo oscuro */
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #94a3b8;
            
            /* Bordes y líneas */
            --border: #4c1d95;
            --border-light: #5b21b6;
            
            /* Sombras mejoradas */
            --shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 10px 15px -3px rgba(139, 92, 246, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
            --shadow-lg: 0 25px 50px -12px rgba(139, 92, 246, 0.25), 0 8px 16px -4px rgba(0, 0, 0, 0.5);
            
            /* Radianes */
            --radius: 8px;
            --radius-sm: 4px;
            --radius-lg: 12px;
            --radius-xl: 16px;

            --accent-gold: #fbbf24;
            --accent-gold-bright: #f59e0b;
        }
        /* Números importantes resaltados */
        .important-number {
            color: #fbbf24;
            font-weight: 700;
        }

        .pricing-highlight {
            background: rgba(251, 191, 36, 0.1);
            border: 1px solid #fbbf24;
            border-radius: var(--radius);
            padding: 0.75rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            font-weight: 600;
            color: #fbbf24;
            text-align: center;
        }

        body {
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-secondary);
            min-height: 100vh;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Gradiente de fondo morado oscuro */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4c1d95 70%, #5b21b6 100%);
            transition: opacity 0.3s ease;
        }

        /* ESTILOS PARA EL LOGO EDUONE - MORADO */
        .eduone-logo {
            font-family: 'Inter', 'Segoe UI', sans-serif;
            font-weight: 700;
            background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #ddd6fe 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            letter-spacing: -0.5px;
        }

        .eduone-xl { font-size: 4rem; line-height: 1.1; }
        .eduone-lg { font-size: 3rem; line-height: 1.2; }
        .eduone-md { font-size: 2rem; line-height: 1.3; }
        .eduone-sm { font-size: 1.5rem; line-height: 1.4; }
        .eduone-xs { font-size: 1rem; line-height: 1.5; }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--bg-primary);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
            box-shadow: var(--shadow);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .nav-link {
            padding: 0.5rem 1rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            color: var(--primary);
            border: 1px solid transparent;
        }

        .nav-link:hover {
            background: var(--bg-hover);
            border-color: var(--border);
        }

        /* Main Container */
        .container {
            padding-top: 120px;
            padding-bottom: 3rem;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .register-wrapper {
            background: var(--bg-primary);
            border-radius: 25px;
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            max-width: 900px;
            width: 100%;
            margin: 2rem;
            border: 1px solid var(--border);
        }

        .register-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #6d28d9 100%);
            color: white;
            padding: 3rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .register-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
            background-size: cover;
        }

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

        .register-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .register-header p {
            font-size: 1.2rem;
            opacity: 0.95;
            max-width: 600px;
            margin: 0 auto;
        }

        .register-form {
            padding: 3rem 2rem;
            background: var(--bg-primary);
        }

        .form-section {
            margin-bottom: 3rem;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border);
        }

        .section-icon {
            color: var(--primary);
            font-size: 1.2rem;
        }

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

        .form-group {
            position: relative;
            transition: all 0.3s ease;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .required::after {
            content: '*';
            color: var(--danger);
            margin-left: 0.25rem;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="tel"],
        select {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--border);
            border-radius: var(--radius-lg);
            font-size: 1rem;
            transition: all 0.3s ease;
            background: var(--bg-secondary);
            color: var(--text-primary);
        }

        input:focus,
        select:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--bg-primary);
            transform: translateY(-1px);
            box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
        }

        /* Validación en tiempo real */
        .input-validation {
            position: relative;
        }

        .validation-message {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            padding: 0.5rem;
            font-size: 0.85rem;
            border-radius: 0 0 8px 8px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            pointer-events: none;
            z-index: 10;
        }

        .validation-message.show {
            opacity: 1;
            transform: translateY(0);
        }

        .validation-message.error {
            background: rgba(127, 29, 29, 0.9);
            color: #fca5a5;
            border: 1px solid #dc2626;
        }

        .validation-message.success {
            background: rgba(20, 83, 45, 0.9);
            color: #86efac;
            border: 1px solid #16a34a;
        }

        .validation-message.checking {
            background: rgba(30, 58, 138, 0.9);
            color: #93c5fd;
            border: 1px solid #3b82f6;
        }

        .input-error {
            border-color: var(--danger) !important;
        }

        .input-success {
            border-color: var(--success) !important;
        }

        /* Campo WhatsApp con formato */
        .whatsapp-group {
            position: relative;
        }

        .whatsapp-group .whatsapp-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #25d366;
            font-size: 1.2rem;
            z-index: 5;
        }

        .whatsapp-group input {
            padding-left: 3rem;
        }

        .whatsapp-info {
            background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
            border: 1px solid rgba(37, 211, 102, 0.3);
            border-radius: var(--radius);
            padding: 1rem;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .whatsapp-info h4 {
            color: #22c55e;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-box {
            background: var(--bg-hover);
            border: 1px solid var(--border);
            border-radius: var(--radius-xl);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .info-box h3 {
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-box p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Términos y condiciones */
        .terms-section {
            background: var(--bg-hover);
            border: 2px solid var(--border);
            border-radius: var(--radius-xl);
            padding: 2rem;
            margin: 2rem 0;
        }

        .terms-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .terms-checkbox input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin: 0;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .terms-text {
            flex: 1;
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--text-primary);
        }

        .terms-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .terms-link:hover {
            text-decoration: underline;
            color: var(--primary-dark);
        }

        .terms-warning {
            background: rgba(245, 158, 11, 0.15);
            border: 1px solid rgba(245, 158, 11, 0.4);
            color: #fbbf24;
            padding: 0.75rem;
            border-radius: var(--radius);
            font-size: 0.9rem;
            display: none;
            margin-top: 0.5rem;
        }

        .terms-warning.show {
            display: block;
        }

        /* Estilos para múltiples escuelas */
        .schools-container {
            border: 2px dashed var(--border);
            border-radius: var(--radius-xl);
            padding: 2rem;
            background: var(--bg-hover);
            transition: all 0.3s ease;
        }

        .schools-container:hover {
            border-color: var(--primary);
            background: var(--bg-tertiary);
        }

        .school-entry {
            background: var(--bg-primary);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            transition: all 0.3s ease;
        }

        .school-entry:hover {
            box-shadow: var(--shadow-md);
        }

        .school-entry.removing {
            opacity: 0.5;
            transform: scale(0.98);
        }

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

        .school-number {
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .remove-school-btn {
            background: rgba(127, 29, 29, 0.8);
            color: #fca5a5;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .remove-school-btn:hover {
            background: #dc2626;
            color: white;
            transform: scale(1.1);
        }

        .add-school-btn {
            background: linear-gradient(45deg, var(--success), #059669);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--radius-lg);
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: center;
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .add-school-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
        }

        .add-school-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .schools-counter {
            text-align: center;
            margin-bottom: 1rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .submit-section {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .submit-btn {
            background: linear-gradient(45deg, var(--primary), var(--primary-dark), #6d28d9);
            color: white;
            border: none;
            padding: 1.2rem 3rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-width: 250px;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            background: var(--secondary);
        }

        .login-link {
            margin-top: 2rem;
            text-align: center;
        }

        .login-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        /* Success Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: var(--bg-primary);
            border-radius: 20px;
            padding: 3rem;
            max-width: 500px;
            width: 90%;
            text-align: center;
            animation: fadeInScale 0.3s ease;
            position: relative;
            border: 1px solid var(--border);
        }

        .close {
            color: var(--text-muted);
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close:hover,
        .close:focus {
            color: var(--text-primary);
            background: var(--bg-hover);
            text-decoration: none;
        }

        .modal-icon {
            font-size: 4rem;
            color: var(--success);
            margin-bottom: 1rem;
        }

        .modal h2 {
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .modal p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .modal-btn {
            background: var(--success);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-btn:hover {
            background: #059669;
            transform: translateY(-2px);
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Loading animation */
        .loading {
            display: none;
            margin-left: 0.5rem;
        }

        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid #ffffff33;
            border-top: 2px solid #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Select styling - Regional */
        #regional {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--border);
            border-radius: var(--radius-lg);
            font-size: 1rem;
            transition: all 0.3s ease;
            background: var(--bg-secondary);
            color: var(--text-primary);
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23f8fafc' d='M8 12L3 7h10z'/></svg>");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 12px;
        }

        #regional:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--bg-primary);
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
            transform: translateY(-1px);
        }

        #regional:hover {
            border-color: var(--primary-light);
            background: var(--bg-primary);
        }

        #regional optgroup {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--primary-light);
            background: var(--bg-tertiary);
            padding: 8px 0;
            margin: 4px 0;
        }

        #regional option {
            padding: 8px 12px;
            color: var(--text-primary);
            background: var(--bg-secondary);
            font-size: 0.95rem;
            border: none;
        }

        #regional option:hover {
            background: var(--bg-hover);
        }

        #regional option:checked,
        #regional option:selected {
            background: var(--primary);
            color: white;
        }

        /* Plan selection warning */
        .plan-selection-warning {
            background: rgba(245, 158, 11, 0.2);
            border: 2px solid #f59e0b;
            color: #d97706;
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            font-size: 1rem;
            font-weight: 600;
            display: none;
            margin-top: 1.5rem;
            text-align: center;
            animation: warningPulse 0.5s ease-out;
        }

        @keyframes warningPulse {
            0% {
                transform: scale(0.95);
                opacity: 0;
            }
            50% {
                transform: scale(1.02);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .plan-selection-warning.show {
            display: block;
        }

        .plan-selection-warning i {
            margin-right: 0.5rem;
        }

        /* Ocultar sección de escuelas hasta seleccionar plan */
        .schools-section-hidden {
            display: none !important;
        }

        .schools-section-visible {
            display: block;
            animation: fadeInSchools 0.5s ease-out;
        }

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

        .schools-section-hidden input {
            display: none !important;
            visibility: hidden !important;
            position: absolute !important;
            left: -9999px !important;
        }

        /* Selector global de escuelas */
        .global-school-selector {
            background: var(--bg-hover);
            border: 2px solid var(--primary);
            border-radius: var(--radius-xl);
            padding: 1.5rem;
            margin: 1.5rem 0;
            text-align: center;
        }

        .global-school-selector h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .selected-schools-global {
            margin-top: 1rem;
            color: #fbbf24;
            font-weight: 600;
            font-size: 1.1rem;
        }

        #global-schools-selected {
            color: #fbbf24;
            font-weight: 700;
            font-size: 1.2em;
        }

        /* =====================================
        SEGMENTED CONTROL PARA SELECTOR DE ESCUELAS
        ===================================== */
        .segmented-control {
            display: flex;
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 4px;
            border: 2px solid var(--border);
            position: relative;
            overflow: hidden;
            margin: 1.5rem 0;
        }

        .segmented-control input[type="radio"] {
            display: none;
        }

        .segmented-control label {
            flex: 1;
            padding: 12px 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 8px;
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }
        .segmented-control .number {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fbbf24;
            transition: all 0.3s ease;
        }
        .segmented-control .label {
            font-size: 0.7rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }

        .segmented-control input[type="radio"]:checked + label {
            color: white;
        }

        .segmented-control input[type="radio"]:checked + label .number,
        .segmented-control input[type="radio"]:checked + label .label {
            color: white;
        }

        /* Indicador deslizante */
        .segmented-control::before {
            content: '';
            position: absolute;
            top: 4px;
            left: 4px;
            width: calc(20% - 4px);
            height: calc(100% - 8px);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
            box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
        }

        /* Posiciones del indicador */
        .segmented-control:has(input[type="radio"]:nth-child(1):checked)::before { transform: translateX(0%); }
        .segmented-control:has(input[type="radio"]:nth-child(3):checked)::before { transform: translateX(100%); }
        .segmented-control:has(input[type="radio"]:nth-child(5):checked)::before { transform: translateX(200%); }
        .segmented-control:has(input[type="radio"]:nth-child(7):checked)::before { transform: translateX(300%); }
        .segmented-control:has(input[type="radio"]:nth-child(9):checked)::before { transform: translateX(400%); }

        /* Hover effect */
        .segmented-control label:hover .number,
        .segmented-control label:hover .label {
            color: #fbbf24;
            transform: scale(1.1);
        }

        /* =====================================
        ESTILOS PARA PLANES CONSISTENTES
        ===================================== */
        .plans-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-top: 2rem;
        }

        .consistent-plan {
            background: var(--bg-secondary);
            border: 2px solid var(--border);
            border-radius: 20px;
            padding: 0;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 600px;
        }

        .consistent-plan::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(45deg, var(--secondary), var(--primary));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .consistent-plan:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: var(--shadow-lg);
        }

        .consistent-plan:hover::before {
            opacity: 1;
        }

        .consistent-plan.selected {
            border-color: var(--primary);
            background: var(--bg-hover);
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
        }

        .consistent-plan.selected::before {
            opacity: 1;
        }

        /* Popular Badge */
        .popular-badge {
            position: absolute;
            top: -10px;
            right: 20px;
            background: linear-gradient(45deg, #f59e0b, #d97706);
            color: white;
            padding: 8px 16px;
            border-radius: 0 0 12px 12px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 5;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        /* Header del Plan */
        .plan-header {
            padding: 2rem 2rem 1rem;
            text-align: center;
            border-bottom: 1px solid var(--border);
        }

        .plan-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
        }

        .plan-badge-monthly {
            background: linear-gradient(45deg, var(--primary), var(--primary-dark));
            color: white;
        }

        .plan-badge-semester {
            background: linear-gradient(45deg, #f59e0b, #d97706);
            color: white;
        }

        .plan-header h4 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0.5rem 0;
        }

        .plan-description {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* Pricing Section */
        .plan-pricing {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid var(--border);
        }

        .pricing-section {
            margin-bottom: 1rem;
            text-align: center;
        }

        .pricing-section:last-child {
            margin-bottom: 0;
        }

        .pricing-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .plan-price-discount {
            background: var(--success);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .plan-price-main {
            font-size: 2.5rem;
            font-weight: 700;
            color: #fbbf24;
            display: block;
            line-height: 1;
            margin: 0.5rem 0;
        }

        .plan-price-original {
            font-size: 1.2rem;
            color: var(--text-muted);
            text-decoration: line-through;
            margin-bottom: 0.5rem;
        }

        .plan-price-period {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        .price-breakdown {
            font-size: 0.75rem;
            color: var(--text-muted);
            padding: 0.5rem;
            background: var(--bg-tertiary);
            border-radius: 8px;
            margin-top: 0.5rem;
        }

        /* Savings Indicator */
        .savings-indicator {
            background: var(--success);
            color: white;
            padding: 0.75rem 1.5rem;
            margin: 0 2rem;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        /* Features */
        .plan-features {
            padding: 1.5rem 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .plan-feature {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
            padding: 0.5rem 0;
        }

        .plan-feature i {
            color: var(--primary);
            font-size: 1rem;
            width: 20px;
            text-align: center;
            flex-shrink: 0;
        }

        /* Footer del Plan */
        .plan-footer {
            padding: 1.5rem 2rem;
            border-top: 1px solid var(--border);
            background: var(--bg-tertiary);
        }

        .plan-highlight {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .plan-highlight:last-child {
            margin-bottom: 0;
        }

        .plan-highlight i {
            font-size: 0.9rem;
        }

        /* Animation */
        .consistent-plan.selecting {
            animation: planSelect 0.3s ease-out;
        }

        /* Mejoras sutiles para la oferta */
        .offer-enhanced {
            border: 2px solid #fbbf24;
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(139, 92, 246, 0.05));
        }

        .offer-enhanced h3 {
            color: #fbbf24;
            font-size: 1.4rem;
        }

        .price-highlight {
            color: #fbbf24;
            font-weight: 700;
            font-size: 1.1em;
        }

        .free-highlight {
            color: #10b981;
            font-weight: 700;
        }

        .phone-highlight {
            color: #fbbf24;
            font-weight: 700;
            font-size: 1.1em;
        }

                /* Mejoras para touch en el segmented control */
        .segmented-control {
            /* Agregar esto al CSS existente */
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .segmented-control label {
            /* Agregar esto al CSS existente del label */
            position: relative;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            will-change: transform; /* Optimizar animaciones */
        }

        /* Mejorar el área de clic invisible */
        .segmented-control input[type="radio"] {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 3; /* Por encima del label */
            margin: 0;
            padding: 0;
        }

        @keyframes planSelect {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.02);
            }
            100% {
                transform: scale(1) translateY(-5px);
            }
        }

        /* =====================================
        RESPONSIVE DESIGN
        ===================================== */
        @media (max-width: 768px) {
            .header {
                padding: 1rem;
            }

            .nav-links {
                gap: 0.5rem;
            }

            .nav-link {
                padding: 0.4rem 0.8rem;
                font-size: 0.9rem;
            }

            .container {
                padding-top: 100px;
            }

            .register-wrapper {
                margin: 1rem;
            }

            .register-header {
                padding: 2rem 1rem;
            }

            .register-header h1 {
                font-size: 2rem;
            }

            .register-header p {
                font-size: 1rem;
            }

            .register-form {
                padding: 2rem 1rem;
            }

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

            .submit-btn {
                min-width: 200px;
                padding: 1rem 2rem;
            }

            .modal-content {
                padding: 2rem;
                margin: 1rem;
            }

            .schools-container {
                padding: 1rem;
            }

            .school-entry {
                padding: 1rem;
            }

            .terms-checkbox {
                gap: 0.5rem;
            }

            .terms-text {
                font-size: 0.9rem;
            }

            #regional {
                font-size: 16px;
                padding: 0.875rem;
            }
            
            #regional optgroup {
                font-size: 0.85rem;
            }
            
            #regional option {
                font-size: 0.9rem;
                padding: 10px 8px;
            }
    
            .segmented-control {
                padding: 4px; /* Mantener padding original */
                margin: 2rem 0; /* Más espacio alrededor */
            }
            
            .segmented-control label {
                padding: 16px 4px; /* AUMENTAR padding vertical para mejor toque */
                min-height: 44px; /* Área mínima táctil recomendada */
                min-width: 44px;
                gap: 4px; /* Más espacio entre número y texto */
                justify-content: center; /* Centrar contenido */
                touch-action: manipulation; /* Optimizar para touch */
                -webkit-tap-highlight-color: transparent; /* Eliminar highlight azul */
            }
            
            .segmented-control .number {
                font-size: 1.1rem; /* Ligeramente más grande */
                font-weight: 800; /* Más bold para mejor visibilidad */
            }
            
            .segmented-control .label {
                font-size: 0.65rem; /* Ligeramente más grande que 0.6rem */
                font-weight: 600; /* Más bold */
            }
        
            
            .segmented-control .number {
                font-size: 1rem;
            }
            
            .segmented-control .label {
                font-size: 0.6rem;
            }

            .plans-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .consistent-plan {
                min-height: auto;
            }
            
            .plan-header {
                padding: 1.5rem 1.5rem 1rem;
            }
            
            .plan-pricing {
                padding: 1rem 1.5rem;
            }
            
            .plan-features {
                padding: 1rem 1.5rem;
            }
            
            .plan-footer {
                padding: 1rem 1.5rem;
            }
            
            .plan-price-main {
                font-size: 2rem;
            }
            
            .plan-feature {
                font-size: 0.85rem;
            }
        }
