:root {
    --bg-1: #06070c;
    --bg-2: #0b0f1a;
    --glass: rgba(255,255,255,0.06);
    --blur: blur(18px);

    --primary: #00ffaa;
    --secondary: #00aaff;

    --text: #e8f0ff;
    --muted: rgba(255,255,255,0.6);
}

/* RESET */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, var(--bg-2), var(--bg-1));
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* BACKGROUND ANIMATION */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, var(--primary) 0%, transparent 35%),
        radial-gradient(circle at 80% 80%, var(--secondary) 0%, transparent 40%);
    opacity: 0.12;
    animation: bgMove 18s linear infinite;
    z-index: -1;
}

@keyframes bgMove {
    0% { transform: translate(0,0); }
    50% { transform: translate(-30px, -20px); }
    100% { transform: translate(0,0); }
}

/* CONTAINER */
.container {
    max-width: 620px;
    margin: auto;
    padding: 70px 30px;
    text-align: center;
}

/* GLASS CARD */
.card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border-radius: 16px;
    padding: 40px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 30px 80px rgba(0,0,0,0.6);
    animation: fadeUp 1.2s ease-out forwards;
    animation-delay: .2s;
    animation-fill-mode: backwards;
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    transition: transform .4s ease;
}

.features div:hover {
    color: var(--primary);
    transform: translateX(5px);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HEADINGS */
.logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    animation: fadeUp 1s ease-out forwards, neonText 4s infinite;
}

.logo span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.05rem;
    color: var(--muted);
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 35px 0;
}

.features div {
    opacity: 0;
    animation: fadeUp .8s ease-out forwards;
}

.features div:nth-child(1) { animation-delay: .3s; }
.features div:nth-child(2) { animation-delay: .5s; }
.features div:nth-child(3) { animation-delay: .7s; }
.features div:nth-child(4) { animation-delay: .9s; }
.features div:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
}

/* FORM */
input, select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: rgba(0,0,0,0.4);
    color: var(--text);
    margin-bottom: 14px;
}

input:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 1px var(--primary);
}

button {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #000;
    transition: transform .2s ease, box-shadow .2s ease;
    animation: glowPulse 3s infinite;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,255,170,0.4);
}

footer {
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--muted);
}
/* ================================
   ANIMATIONS
================================ */

/* Fade & Slide */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow pulse */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px var(--primary);
    }
    50% {
        box-shadow: 0 0 35px var(--secondary);
    }
    100% {
        box-shadow: 0 0 20px var(--primary);
    }
}

/* Neon text */
@keyframes neonText {
    0% { text-shadow: 0 0 10px var(--primary); }
    50% { text-shadow: 0 0 20px var(--secondary); }
    100% { text-shadow: 0 0 10px var(--primary); }
}
