/* --- Variables y Reseteo Global --- */
:root {
    --bg-color: #121212; /* Gris carbón oscuro */
    --primary-text-color: #E0E0E0;
    --secondary-text-color: #a0a0a0;
    --accent-color: #007BFF; /* Azul eléctrico */
    --accent-hover-color: #0056b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
  /* Evita el scroll causado por el canvas */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    justify-content: center;
    align-items: center;
}

/* --- Fondo de Partículas --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Detrás de todo */
    pointer-events: none;
}

/* --- Contenedor Principal --- */


/* --- Estilos de Texto y Encabezados --- */
header h1 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

main h2 {
    font-size: clamp(2rem, 5vw, 1rem); /* Tamaño de fuente adaptable */
    font-weight: 600;
    line-height: 1.2;
    margin: 40px 0 20px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.highlight {
    background: linear-gradient(90deg, var(--accent-color), #00c6ff 40%, #00ffea 60%, var(--accent-color) 100%);
    background-size: 400% 100%;
    background-position: 0% 0%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-move 2s linear infinite;
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

main > p {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--secondary-text-color);
}

/* --- Sección de CTA (Llamada a la Acción) --- */
.cta-section {
    margin-top: 50px;
}

.cta-section p {
    margin-bottom: 20px;
    font-weight: 400;
}

#waitlist-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Para que se adapte en móviles */
}

#waitlist-form input[type="email"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--primary-text-color);
    font-size: 1rem;
    min-width: 300px;
    transition: border-color 0.3s ease;
}

#waitlist-form input[type="email"]::placeholder {
    color: var(--secondary-text-color);
}

#waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

#waitlist-form button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#waitlist-form button:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
}

/* --- Footer --- */


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

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}
.fade-in-delay-1 {
    animation: fadeIn 1s 0.3s ease-out forwards;
    opacity: 0;
}
.fade-in-delay-2 {
    animation: fadeIn 1s 0.6s ease-out forwards;
    opacity: 0;
}
.fade-in-delay-3 {
    animation: fadeIn 1s 0.9s ease-out forwards;
    opacity: 0;
}
.fade-in-delay-4 {
    animation: fadeIn 1s 1.2s ease-out forwards;
    opacity: 0;
}