/* Variables de Color */
:root {
    --bg-dark: #7E001B;
    --accent-red: #7E001B;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background: radial-gradient(circle at top right, #1e293b, var(--bg-dark));
    color: var(--text-light);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.maintenance-container {
    max-width: 800px;
    width: 90%;
    text-align: center;
    padding: 10px;
}

/* Logo Estilo Header */
.logo-header {
    margin-bottom: 50px;
}

.logo-text {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.logo-text b {
    color: var(--accent-red);
}

.logo-header small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Contenedor que ocupa todo el ancho disponible */
.logo-center-container {
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
    padding: 5px 0;         /* Espacio arriba y abajo del logo */
    width: 100%;
}

/* Estilos de la imagen del logo */
.centered-logo {
    max-width: 250px;        /* Tamaño máximo del logo en PC */
    width: 80%;              /* En móviles pequeños usará el 80% del ancho */
    height: auto;            /* Mantiene la proporción original */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); /* Sombra suave para dar profundidad */
    transition: transform 0.3s ease; /* Suaviza el efecto hover */
}

/* Tipografía */
.badge {
    display: inline-block;
    background: rgba(126, 0, 27, 0.2);
    color: #ff4d4d;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid var(--accent-red);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

h1 span {
    color: var(--text-muted);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Formulario */
.waitlist-form {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    outline: none;
}

.waitlist-form button {
    background: var(--accent-red);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.waitlist-form button:hover {
    background: #a30023;
    transform: scale(1.02);
}

/* --- Contenedor de la sección --- */
.notify-section {
    max-width: 550px;
    margin: 20px auto;
    padding: 10px;
}

.notify-intro {
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- Estilo del Formulario --- */
.notify-form {
    position: relative;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group:focus-within {
    border-color: #7E001B;
    box-shadow: 0 0 15px rgba(126, 0, 27, 0.2);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: white;
    font-size: 1rem;
    outline: none;
}

/* --- Botón de Acción --- */
.input-group button {
    background-color: #7E001B;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group button:hover {
    background-color: #a30023;
    transform: translateY(-1px);
}

.input-group button:active {
    transform: translateY(0);
}

/* --- Notas Legales y Estado --- */
.privacy-note {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #64748b;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none; /* Se activa con JS */
    font-size: 0.9rem;
}

.form-status.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.direct-contact {
    font-size: 0.9rem;
}

.direct-contact a {
    color: var(--text-light);
    text-decoration: underline;
}

/* Footer */
.maintenance-footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: var(--text-light);
    margin: 0 10px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    .waitlist-form input {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        margin-bottom: 10px;
    }
}
