@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --bg: #0a0a0f;
    --text: #f5f5f7;
    --accent: #ff007f;
    --accent2: #00d4ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, var(--accent2) 0%, var(--bg) 40%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: hidden;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fadeInDown 1.2s ease;
}

p {
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease;
}

ul {
    list-style: none;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

li {
    font-size: 1.05rem;
    margin: 0.4rem 0;
}

li::before {
    content: "⚡ ";
    color: var(--accent);
}

form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease;
}

input[type="email"] {
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: 2px solid transparent;
    outline: none;
    font-size: 1rem;
    min-width: 260px;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--accent2);
}

button {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--accent2);
}

.msg {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

footer {
    position: absolute;
    bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.5;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    p {
        font-size: 1rem;
    }
    input[type="email"] {
        min-width: 200px;
    }
}