 /* Reset y estilos base - IA profesional */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            min-height: 100vh;
            background: linear-gradient(145deg, #f8faff 0%, #edf2f9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 20px;
        }

  /* Fondo con profundidad y elegancia - estilo IA premium */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        /* Capa base con gradiente radial suave */
        radial-gradient(125% 125% at 50% 10%, #0a2540 0%, #0b1a2f 40%, #0c0f1e 100%),
        /* Luces de ambiente - esquinas con brillo */
        radial-gradient(circle at 0% 0%, rgba(0, 180, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(150, 50, 255, 0.12) 0%, transparent 50%),
        /* Patrón de líneas finas tipo "big data" */
        repeating-linear-gradient(90deg, 
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 4px
        ),
        /* Patrón de puntos sutiles en diagonal */
        repeating-linear-gradient(45deg,
            rgba(100, 180, 255, 0.03) 0px,
            rgba(100, 180, 255, 0.03) 2px,
            transparent 2px,
            transparent 16px
        );
    pointer-events: none;
    z-index: 0;
}

/* Capa adicional de brillo dinámico */
body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(100, 200, 255, 0.06) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    animation: subtleShift 15s ease-in-out infinite alternate;
}

@keyframes subtleShift {
    0% {
        opacity: 0.6;
        background-position: 0% 0%;
    }
    100% {
        opacity: 1;
        background-position: 5% 5%;
    }
}

        /* Tarjeta principal - estilo clean */
        .login-card {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 420px;
            background: rgba(255, 255, 255, 0.781);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 32px;
            box-shadow: 
                0 20px 40px -12px rgba(255, 255, 255, 0.699),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 0 0 1px rgba(0, 110, 255, 0.15);
            padding: 44px 40px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .login-card:hover {
            box-shadow: 
                0 30px 50px -15px rgba(0, 60, 150, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.9) inset,
                0 0 0 2px rgba(0, 110, 255, 0.25);
            transform: translateY(-4px);
        }

        /* Logo IA sutil */
        .ai-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 32px;
        }

        .ai-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #0066ff, #5b3cff);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 16px -4px rgba(0, 102, 255, 0.3);
        }

        .ai-icon svg {
            width: 28px;
            height: 28px;
            fill: white;
        }

        .ai-text {
            flex: 1;
        }

        .ai-text h1 {
            font-size: 1.8rem;
            font-weight: 600;
            background: linear-gradient(135deg, #1a2639, #2d3b5a);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .ai-text p {
            color: #64748b;
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        /* Título de bienvenida */
        .welcome {
            margin-bottom: 32px;
        }

        .welcome h2 {
            font-size: 1.4rem;
            font-weight: 500;
            color: #1e293b;
            margin-bottom: 6px;
        }

        .welcome p {
            color: #64748b;
            font-size: 0.95rem;
        }

        /* Grupos de input */
        .input-group {
            margin-bottom: 24px;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #334155;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            color: #94a3b8;
            transition: color 0.2s;
        }

        .input-field {
            width: 100%;
            padding: 14px 20px 14px 48px;
            background: white;
            border: 1.5px solid #e2e8f0;
            border-radius: 18px;
            font-size: 1rem;
            color: #0f172a;
            outline: none;
            transition: all 0.2s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }

        .input-field:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        .input-field:focus + .input-icon {
            color: #3b82f6;
        }

        .input-field::placeholder {
            color: #a0afc0;
            font-weight: 400;
        }

        /* Indicador de seguridad (solo IA) */
        .security-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            font-size: 0.8rem;
            color: #475569;
        }

        .security-badge span {
            display: flex;
            align-items: center;
            gap: 4px;
            background: #f1f5f9;
            padding: 4px 10px;
            border-radius: 30px;
        }

        .security-badge .dot {
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            display: inline-block;
        }

        /* Opciones flexibles */
        .flex-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0 28px;
        }

        .remember {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #475569;
            font-size: 0.95rem;
        }

        .remember input[type="checkbox"] {
            width: 18px;
            height: 18px;
            border-radius: 5px;
            border: 2px solid #cbd5e1;
            accent-color: #3b82f6;
            cursor: pointer;
        }

        .forgot-link {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        .forgot-link:hover {
            color: #2563eb;
            text-decoration: underline;
        }

        /* Botón principal */
        .login-btn {
            width: 100%;
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            border-radius: 18px;
            padding: 16px;
            font-size: 1rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 8px 20px -5px rgba(59, 130, 246, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .login-btn:hover {
            background: linear-gradient(135deg, #1d4ed8, #2563eb);
            transform: scale(1.01);
            box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.6);
        }

        .login-btn:active {
            transform: scale(0.99);
        }

        /* Divider elegante */
        .divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 28px 0 24px;
            color: #94a3b8;
            font-size: 0.85rem;
        }

        .divider-line {
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
        }

        /* Accesos con IA */
        .ai-access-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 28px;
        }

        .ai-access-btn {
            background: white;
            border: 1.5px solid #e2e8f0;
            border-radius: 16px;
            padding: 12px;
            font-size: 0.9rem;
            font-weight: 500;
            color: #334155;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .ai-access-btn:hover {
            background: #f8fafc;
            border-color: #94a3b8;
            transform: translateY(-2px);
        }

        .ai-access-btn svg {
            width: 18px;
            height: 18px;
            fill: #475569;
        }

        /* Registro */
        .register-prompt {
            text-align: center;
            color: #475569;
            font-size: 0.95rem;
        }

        .register-link {
            color: #2563eb;
            font-weight: 600;
            text-decoration: none;
            margin-left: 6px;
        }

        .register-link:hover {
            text-decoration: underline;
        }

        /* Footer con métricas IA */
        .ai-metrics {
            margin-top: 32px;
            display: flex;
            justify-content: center;
            gap: 24px;
            font-size: 0.75rem;
            color: #94a3b8;
            border-top: 1px dashed #cbd5e1;
            padding-top: 20px;
        }

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

        .metric-value {
            color: #2563eb;
            font-weight: 600;
            background: #eef2ff;
            padding: 2px 8px;
            border-radius: 30px;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .login-card {
                padding: 32px 24px;
            }
            
            .ai-access-options {
                grid-template-columns: 1fr;
            }
            
            .ai-metrics {
                flex-wrap: wrap;
                gap: 16px;
            }
        }

        /* Efecto sutil de carga (hover en inputs) */
        .input-wrapper:hover .input-field {
            border-color: #94a3b8;
        }

        /* Animación suave para el foco */
        @keyframes subtlePulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        .login-btn:focus {
            animation: subtlePulse 1.5s infinite;
        }