/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'DM Sans', sans-serif;
    background: #080D18;
    color: #ffffff;
    overflow: hidden;
}

/* ─── BACKGROUND ───────────────────────────────────────────────── */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.bg-glow-1 {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 92, 255, 0.12) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 8s ease-in-out infinite;
}

.bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: float2 10s ease-in-out infinite;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(8, 13, 24, 0.8) 100%);
}

@keyframes float1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(30px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

/* ─── PAGE LAYOUT ──────────────────────────────────────────────── */
.page {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

/* ─── LOGO ─────────────────────────────────────────────────────── */
.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s ease both;
}

.logo span {
    color: #00D4AA;
}

/* ─── BADGE ────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.10);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    color: #00D4AA;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s ease both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00D4AA;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* ─── HEADLINE ─────────────────────────────────────────────────── */
h1 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 6.5rem);
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 28px;
    color: #ffffff;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s ease both;
}

h1 .line2 {
    display: block;
    background: linear-gradient(90deg, #1A5CFF, #00D4AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── SUBTEXT ──────────────────────────────────────────────────── */
.sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.50);
    font-weight: 400;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s ease both;
}

/* ─── FORM ─────────────────────────────────────────────────────── */
.form-wrap {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s ease both;
}

.form-wrap input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 20px;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.form-wrap input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.30);
}

.form-wrap input[type="email"]:focus {
    border-color: rgba(26, 92, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.form-wrap button[type="submit"] {
    background: #1A5CFF;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(26, 92, 255, 0.35);
}

.form-wrap button[type="submit"]:hover {
    background: #3D7AFF;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26, 92, 255, 0.45);
}

/* ─── PRIVACY NOTE ─────────────────────────────────────────────── */
.privacy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s ease both;
}

/* ─── SUCCESS MESSAGE ──────────────────────────────────────────── */
.success-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 170, 0.10);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 10px;
    padding: 14px 24px;
    color: #00D4AA;
    font-size: 15px;
    font-weight: 500;
    max-width: 460px;
    width: 100%;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.6s 0.1s ease both;
}

.success-icon {
    font-size: 16px;
    font-weight: 700;
}

/* ─── ERROR MESSAGE ────────────────────────────────────────────── */
.error-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 80, 80, 0.10);
    border: 1px solid rgba(255, 80, 80, 0.25);
    border-radius: 10px;
    padding: 14px 24px;
    color: #FF7070;
    font-size: 14px;
    font-weight: 500;
    max-width: 460px;
    width: 100%;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s 0.1s ease both;
}

/* ─── DIVIDER ──────────────────────────────────────────────────── */
.divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s ease both;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.foot {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.20);
    opacity: 0;
    animation: fadeUp 0.8s 0.8s ease both;
}

.foot a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.foot a:hover {
    color: rgba(255, 255, 255, 0.65);
}

/* ─── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 520px) {
    .form-wrap {
        flex-direction: column;
    }
    .form-wrap button[type="submit"] {
        width: 100%;
    }
    h1 {
        font-size: 3rem;
    }
    html, body {
        overflow: auto;
    }
}
