/* ========================================
   PÁGINA WELCOME - PÁGINA DE BIENVENIDA
   ======================================== */

/* Variables CSS para welcome */
:root {
    --welcome-primary: #3b82f6;
    --welcome-secondary: #1e40af;
    --welcome-accent: #f59e0b;
    --welcome-success: #10b981;
    --welcome-bg: #f8fafc;
    --welcome-card-bg: #ffffff;
    --welcome-text: #1f2937;
    --welcome-text-light: #6b7280;
    --welcome-border: #e5e7eb;
    --welcome-shadow: rgba(0, 0, 0, 0.1);
    --welcome-gradient: linear-gradient(135deg, var(--welcome-primary), var(--welcome-secondary));
}

/* Estilos globales para la página welcome */
body.welcome-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--welcome-text);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Contenedor principal */
.hero-container {
    background: var(--welcome-card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Header del hero */
.hero-header {
    background: var(--welcome-gradient);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
}

.hero-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero-header .subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hero-header .description {
    font-size: 1.1em;
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Contenido principal */
.hero-content {
    padding: 50px 40px;
}

/* Características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--welcome-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--welcome-shadow);
    background: rgba(59, 130, 246, 0.1);
}

.feature-icon {
    font-size: 3em;
    color: var(--welcome-primary);
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--welcome-text);
}

.feature-description {
    color: var(--welcome-text-light);
    line-height: 1.6;
}

/* Botón de acción */
.cta-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--welcome-border);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--welcome-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.login-btn i {
    font-size: 1.2em;
}

/* Información adicional */
.info-section {
    background: rgba(248, 250, 252, 0.8);
    padding: 30px 40px;
    border-top: 1px solid var(--welcome-border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.info-item {
    padding: 15px;
}

.info-icon {
    font-size: 2em;
    color: var(--welcome-success);
    margin-bottom: 10px;
    display: block;
}

.info-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--welcome-text);
}

.info-text {
    font-size: 0.9em;
    color: var(--welcome-text-light);
}

/* Footer */
.hero-footer {
    background: rgba(31, 41, 55, 0.05);
    padding: 20px 40px;
    text-align: center;
    color: var(--welcome-text-light);
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 10px;
    }

    .hero-header {
        padding: 40px 20px;
    }

    .hero-header h1 {
        font-size: 2.2em;
    }

    .hero-header .subtitle {
        font-size: 1.1em;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-section {
        padding: 20px;
    }

    .hero-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .hero-header h1 {
        font-size: 1.8em;
    }

    .hero-header .subtitle {
        font-size: 1em;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        font-size: 2.5em;
    }

    .login-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}
