/* ==========================================================================
   ESTILOS LANDING PAGE (REDISEÑO)
   ========================================================================== */

/* Hero Section: Fondo degradado corporativo */
.landing-hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 1rem 1rem 3rem 1rem; /* Padding inferior extra para el solapamiento */
    margin-bottom: 3rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* Corte diagonal moderno */
    text-align: center;
}

.landing-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.landing-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

/* Botón de Login mejorado */
.btn-landing-login {
    background-color: var(--warning); /* Amarillo para contraste sobre azul */
    color: #333;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-landing-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    background-color: #ffca2c; /* Un amarillo un poco más claro */
    color: #000;
}

/* Cajas de Características (Iconos) */
.feature-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--bg-body);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.8rem;
    color: var(--primary);
}

/* Bordes de color para diferenciar servicios */
.feature-card.border-primary { border-bottom-color: var(--primary); }
.feature-card.border-success { border-bottom-color: var(--success); }
.feature-card.border-warning { border-bottom-color: var(--warning); }

/* Inputs Django */
input[type="text"], input[type="password"], input[type="email"], input[type="file"], select, textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #ced4da; border-radius: var(--radius-btn);
    display: block; box-sizing: border-box; font-family: var(--font-body); font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

/* Botones genéricos (Pill, Custom) */
.btn-custom {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-btn); transition: all 0.2s;
}

/* Animaciones */
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate { animation-duration: 0.2s; animation-fill-mode: both; }
@keyframes slideIn { from { transform: translateY(1rem); opacity: 0; } to { transform: translateY(0rem); opacity: 1; } }
.slideIn { animation-name: slideIn; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }


