/* Configuración Base e Institucional */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f6f9; 
    color: #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: radial-gradient(circle at 50% 30%, #ffffff 0%, #e2e8f0 100%);
}

/* Panel Principal (Estilo Tarjeta Tecnológica Sólida) */
.main-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 750px; 
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* Estilos del Logo */
.logo-container {
    margin-bottom: 20px;
}

.institucional-logo {
    max-width: 220px; 
    height: auto;
    display: inline-block;
}

/* Indicador de Estado Tecnológico */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 71, 161, 0.06); 
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(13, 71, 161, 0.15);
    margin-bottom: 25px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #0d47a1; 
    border-radius: 50%;
    animation: pulseEffect 2s infinite ease-in-out;
}

@keyframes pulseEffect {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0d47a1;
}

/* Títulos e Información */
h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 35px 0;
}

.nav-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 20px;
}

/* Contenedor Adaptable (Grid Responsivo) */
.button-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Base de Botones */
.btn-ister {
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.btn-ister i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

/* Botón 1: Portal RUEDGE */
.btn-outline {
    background: #ffffff;
    border: 1px solid #0d47a1;
    color: #0d47a1;
}

.btn-outline:hover {
    background: rgba(13, 71, 161, 0.04);
    transform: translateY(-1px);
}

/* Botón 2: Sistema Académico */
.btn-solid {
    background: #0d47a1;
    border: 1px solid #0d47a1;
    color: #ffffff;
}

.btn-solid:hover {
    background: #0a3982;
    border-color: #0a3982;
    transform: translateY(-1px);
}

/* Botón 3: Admisiones WhatsApp */
.btn-whatsapp {
    background: #051e44; 
    border: 1px solid #051e44;
    color: #ffffff;
}

.btn-whatsapp i {
    color: #25d366; 
    font-size: 1.05rem;
}

.btn-whatsapp:hover {
    background: #020d1f;
    border-color: #020d1f;
    transform: translateY(-1px);
}

.btn-ister:hover i {
    transform: translate(2px, -2px);
}
/* Botón Microsoft 365 */
.btn-microsoft {
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #ffffff;
}

.btn-microsoft i {
    color: #ffffff;
    font-size: 1rem;
}

.btn-microsoft:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}
/* Barra de Progreso */
.progress-container {
    width: 100%;
    height: 2px;
    background: #f1f5f9;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.progress-line {
    width: 25%;
    height: 100%;
    background: #0d47a1;
    position: absolute;
    animation: flow 2.5s infinite ease-in-out;
}

@keyframes flow {
    0% { left: -25%; }
    100% { left: 100%; }
}

/* Pie de Página */
.footer-ister {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #1e293b;
}

.subfooter {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

/* Responsividad para pantallas medianas y PCs */
@media (min-width: 650px) {
    .button-container {
        grid-template-columns: repeat(2, 1fr);
    }
}