*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #050505;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-text: #ffffff;
    --color-muted: rgba(255, 255, 255, 0.55);
    --color-accent: #e8e8e8;
    --color-glow: rgba(255, 255, 255, 0.06);
    --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    z-index: 0;
}

.bg-glow--top {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
}

.bg-glow--bottom {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.page {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 2.5rem;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeUp 0.8s ease-out both;
}

.logo {
    width: min(320px, 80vw);
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(255, 255, 255, 0.08));
}

.tagline {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-muted);
    letter-spacing: 0.05em;
    font-style: italic;
}

.headline {
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.launch-date {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown {
    width: 100%;
    max-width: 640px;
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.countdown__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.25rem);
    flex-wrap: wrap;
}

.countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 4vw, 2rem);
    min-width: clamp(72px, 18vw, 110px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--transition), transform var(--transition);
}

.countdown__item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.countdown__value {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.countdown__label {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    font-weight: 500;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.countdown__separator {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
    color: var(--color-muted);
    opacity: 0.4;
    user-select: none;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 480px;
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.cta__text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-muted);
    line-height: 1.6;
}

.notify-form {
    display: flex;
    width: 100%;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-form__input {
    flex: 1 1 200px;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.notify-form__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.notify-form__input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.notify-form__btn {
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-bg);
    background: var(--color-text);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}

.notify-form__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.notify-form__btn:active {
    transform: translateY(0);
}

.notify-form__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.notify-form__message {
    font-size: 0.875rem;
    min-height: 1.25rem;
    color: var(--color-muted);
    transition: color var(--transition);
}

.notify-form__message--success {
    color: #6ee7a0;
}

.notify-form__message--error {
    color: #f87171;
}

.footer {
    margin-top: auto;
    padding-top: 1rem;
    animation: fadeUp 0.8s ease-out 0.45s both;
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.03em;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .countdown__separator {
        display: none;
    }

    .countdown__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .countdown__item {
        min-width: unset;
        width: 100%;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-form__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
