:root {
    --background: #050d2a;
    --foreground: #e8eeff;
    --card: rgba(10, 21, 64, 0.92);
    --card-border: rgba(26, 43, 94, 0.9);
    --input: #0d1e4a;
    --muted: #8da1d6;
    --primary: #1a5cff;
    --accent: #00d4ff;
    --success: #4ce7cf;
    --danger: #ff7884;
    --shadow: 0 28px 64px rgba(0, 0, 0, 0.34);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(26, 92, 255, 0.24), transparent 30%),
        radial-gradient(circle at left 18%, rgba(0, 212, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #040a20 0%, #050d2a 42%, #08133a 100%);
    color: var(--foreground);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(24px);
}

.page-shell::before {
    top: 5rem;
    right: -8rem;
    width: 16rem;
    height: 16rem;
    background: rgba(26, 92, 255, 0.18);
}

.page-shell::after {
    bottom: 8rem;
    left: -6rem;
    width: 14rem;
    height: 14rem;
    background: rgba(0, 212, 255, 0.14);
}

.site-header,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1.5rem 0;
}

.brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand span {
    color: var(--primary);
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    width: min(100%, 74rem);
    margin: 0 auto;
    padding: 3rem 1.25rem 4.5rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.15rem;
    border: 1px solid rgba(0, 212, 255, 0.36);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero__badge-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
    animation: pulse 1.8s infinite;
}

.hero__title {
    max-width: 54rem;
    margin: 0;
    text-align: center;
    font-size: clamp(2.4rem, 7vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.hero__title-primary {
    color: var(--primary);
}

.hero__title-accent {
    display: block;
    color: var(--accent);
}

.hero__lead {
    max-width: 42rem;
    margin: 0;
    color: var(--muted);
    text-align: center;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    line-height: 1.75;
}

.countdown-block {
    width: 100%;
    max-width: 42rem;
}

.countdown-block__label {
    margin: 0 0 1.3rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.countdown__value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.6rem, 14vw, 6.15rem);
    height: clamp(4.6rem, 14vw, 6.15rem);
    border: 1px solid var(--card-border);
    border-radius: 1.1rem;
    background: rgba(10, 21, 64, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.countdown__separator {
    margin-top: 1.2rem;
    color: var(--accent);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1;
}

.waitlist-card {
    width: min(100%, 34rem);
    padding: 2rem;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.waitlist-card__intro h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
}

.waitlist-card__intro p {
    margin: 0 0 1.5rem;
    color: var(--muted);
    line-height: 1.7;
}

#waitlist-form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.5rem;
}

.field label {
    color: var(--muted);
    font-size: 0.93rem;
    font-weight: 700;
}

.input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    background: var(--input);
    color: var(--foreground);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.input::placeholder {
    color: rgba(141, 161, 214, 0.45);
}

.input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.11);
}

.input.is-invalid {
    border-color: rgba(255, 120, 132, 0.9);
    box-shadow: 0 0 0 4px rgba(255, 120, 132, 0.12);
}

.field__error {
    margin: 0;
    color: var(--danger);
    font-size: 0.83rem;
}

.button {
    margin-top: 0.2rem;
    padding: 1rem 1.25rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #1a5cff 0%, #3775ff 100%);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    box-shadow: 0 18px 30px rgba(26, 92, 255, 0.28);
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus {
    outline: none;
    box-shadow:
        0 18px 30px rgba(26, 92, 255, 0.28),
        0 0 0 4px rgba(0, 212, 255, 0.13);
}

.button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 120, 132, 0.28);
    border-radius: 1rem;
    background: rgba(255, 120, 132, 0.09);
    color: #ffd4d9;
    line-height: 1.55;
}

.success-state {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    padding: 1.75rem 1.25rem;
    border: 1px solid rgba(76, 231, 207, 0.26);
    border-radius: 1.2rem;
    background: rgba(76, 231, 207, 0.08);
    text-align: center;
}

.success-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 50%;
    background: rgba(76, 231, 207, 0.12);
    color: var(--success);
}

.success-state__icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.success-state__title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
}

.success-state__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 70rem);
}

.feature-card {
    padding: 1.35rem;
    border: 1px solid var(--card-border);
    border-radius: 1.4rem;
    background: rgba(10, 21, 64, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-card__eyebrow {
    margin: 0 0 0.7rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.feature-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    line-height: 1.45;
}

.feature-card p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

.site-footer {
    padding: 0 1.5rem 2rem;
    color: var(--muted);
    text-align: center;
    font-size: 0.84rem;
}

.noscript-note {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.is-hidden {
    display: none !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
    }
    70% {
        box-shadow: 0 0 0 0.45rem rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

@media (max-width: 860px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 2.25rem;
        padding-bottom: 3rem;
    }

    .hero__badge {
        letter-spacing: 0.11em;
    }

    .countdown {
        gap: 0.6rem;
    }

    .countdown__separator {
        display: none;
    }

    .waitlist-card {
        padding: 1.35rem;
        border-radius: 1.4rem;
    }
}
