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

/* ── Root ── */
:root {
    --bg:        #05060d;
    --bg-2:      #080b18;
    --accent:    #00c8ff;
    --accent-2:  #7b61ff;
    --text:      #f0f4ff;
    --muted:     rgba(240,244,255,0.4);
    --border:    rgba(0,200,255,0.12);
    --glow:      rgba(0,200,255,0.15);
    --font-main: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    width: 100%; height: 100%; min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Canvas grid ── */
#grid-canvas {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

/* ── Noise texture ── */
.noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* ── Glow orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: 600px; height: 600px;
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(0,200,255,0.08) 0%, transparent 70%);
    animation: orbFloat1 18s ease-in-out infinite;
}
.orb-2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -100px;
    background: radial-gradient(circle, rgba(123,97,255,0.1) 0%, transparent 70%);
    animation: orbFloat2 22s ease-in-out infinite;
}
.orb-3 {
    width: 300px; height: 300px;
    top: 50%; left: 60%;
    background: radial-gradient(circle, rgba(0,200,255,0.05) 0%, transparent 70%);
    animation: orbFloat3 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -60px) scale(1.05); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* ── Main layout ── */
.main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem clamp(1.5rem, 5vw, 5rem);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ── Header ── */
.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(0,200,255,0.3);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--text);
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
    background: rgba(0,200,255,0.06);
    border: 1px solid rgba(0,200,255,0.2);
    padding: 0.45rem 1rem;
    border-radius: 100px;
}

.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
    50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

/* ── Hero ── */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 4rem 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--muted);
}

.eyebrow-line {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

/* ── Headline ── */
.headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    user-select: none;
}

.headline-top {
    font-size: clamp(5rem, 18vw, 14rem);
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlideUp 1s ease both;
}

.headline-bottom {
    font-size: clamp(5rem, 18vw, 14rem);
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 60px rgba(0,200,255,0.3));
    animation: fadeSlideUp 1s 0.1s ease both;
}

.cursor {
    animation: blink 1.1s step-end infinite;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* ── Subline ── */
.subline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--muted);
    max-width: 520px;
    animation: fadeSlideUp 1s 0.2s ease both;
}

/* ── Notify form ── */
.notify-form {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeSlideUp 1s 0.3s ease both;
}

.input-wrapper {
    display: flex;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper:focus-within {
    border-color: rgba(0,200,255,0.4);
    box-shadow: 0 0 30px rgba(0,200,255,0.08);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 1rem 1.25rem;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--text);
    font-weight: 400;
    min-width: 0;
}

.input-wrapper input::placeholder {
    color: rgba(240,244,255,0.25);
}

.input-wrapper button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #fff;
    font-family: var(--font-main);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.input-wrapper button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.input-wrapper button:active {
    transform: scale(0.98);
}

.btn-arrow {
    font-size: 1rem;
    transition: transform 0.2s;
}

.input-wrapper button:hover .btn-arrow {
    transform: translateX(3px);
}

.form-note {
    font-size: 0.65rem;
    color: rgba(240,244,255,0.2);
    letter-spacing: 0.05em;
}

/* ── Success message ── */
.success-msg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(0,200,255,0.06);
    border: 1px solid rgba(0,200,255,0.2);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    animation: fadeSlideUp 0.4s ease both;
    max-width: 480px;
}

.success-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 900;
    flex-shrink: 0;
}

/* ── Stats row ── */
.stats-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100%;
    justify-content: center;
    animation: fadeSlideUp 1s 0.4s ease both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.stat-value {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ── Footer ── */
.footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(240,244,255,0.2);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(240,244,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.08em;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .header { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .stats-row { gap: 1.5rem; }
    .footer { flex-direction: column; gap: 0.75rem; text-align: center; align-items: center; }
    .input-wrapper { flex-direction: column; border-radius: 12px; }
    .input-wrapper button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }
}
