/* ==========================================================================
   Variables de Diseño (Colores extraídos del logo de Tamago Software)
   ========================================================================== */
:root {
    --bg-dark: #121824;
    --text-main: #1d2d44;
    --text-muted: #606f7b;
    --primary-blue: #1c75bc;
    --secondary-orange: #f15a24;
    --white: #ffffff;
}

/* ==========================================================================
   Estilos Base y Reseteo
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8fafc;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Background decorativo sutil */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(28, 117, 188, 0.05), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(241, 90, 36, 0.05), transparent 40%);
    z-index: -1;
}

/* ==========================================================================
   Contenedor Principal (Landing Box)
   ========================================================================== */
.container {
    max-width: 600px;
    width: 100%;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(29, 45, 68, 0.06);
    animation: fadeIn 0.8s ease-out;
}

/* Logotipo */
.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 220px;
    height: auto;
}

/* Textos */
h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ==========================================================================
   Componentes: Barra de Progreso
   ========================================================================== */
.progress-box {
    margin-bottom: 35px;
    width: 100%;
}

.progress-bar {
    background-color: #e2e8f0;
    height: 8px;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-orange));
    height: 100%;
    width: 75%; /* Ajusta el porcentaje actual aquí */
    border-radius: 10px;
    animation: progressLoad 1.5s ease-out forwards;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ==========================================================================
   Componentes: Formulario de Suscripción
   ========================================================================== */
.subscribe-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
    border-color: var(--primary-blue);
}

.subscribe-form button {
    background-color: var(--text-main);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.subscribe-form button:hover {
    background-color: var(--secondary-orange);
}

.subscribe-form button:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes progressLoad {
    from { width: 0%; }
    to { width: 75%; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form button {
        width: 100%;
    }
}
