/**
 * Estilos para Landing Pública y Formularios de Autenticación
 */

/* Hero Section */
.hero-section {
    padding: 5rem 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.825rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Auth Cards */
.auth-container {
    max-width: 440px;
    margin: 3rem auto;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================================================== */
/* AUTH MODAL OVERLAY (Estilo Contabilidad Express con Fondo Difuminado)          */
/* ============================================================================== */

.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
    animation: authModalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.auth-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 430px;
    border-radius: 16px;
    padding: 2.25rem 2rem 2rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 2501;
    margin: auto;
}

.auth-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ede9fe;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.15rem auto;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.auth-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.02em;
}

.auth-modal-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin: 0 0 1.75rem 0;
    line-height: 1.4;
}

.auth-field-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.45rem;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.auth-btn-primary {
    width: 100%;
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.8rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.35rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.auth-btn-primary:hover {
    background: #4338ca;
}

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

.auth-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.auth-modal-footer a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.auth-modal-footer a:hover {
    text-decoration: underline;
}
