/* =========================================================
   GenZCrew — Coming Soon
   Tokens
   Color   : bg #0a0a0a · panel #121212 · line #232323
             lime #c8ff2e · lime-dim #8fb31f · white #f3f3f0 · mute #8a8a86
   Type    : display "Teko" (condensed, angular — echoes the logo cut)
             utility "Rajdhani" (technical, tabular-ish — countdown & UI)
   Layout  : single centered stage, hang-tag countdown, stitch-line dividers
   Signature: countdown rendered as swing tags on a string, dashed stitch
              rule under the form, matching the logo's tag + dashed C
   ========================================================= */

:root {
    --bg: #0a0a0a;
    --panel: #121212;
    --line: #232323;
    --lime: #c8ff2e;
    --lime-dim: #8fb31f;
    --white: #f3f3f0;
    --mute: #8a8a86;
    --radius: 4px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--white);
    min-height: 100%;
}

body {
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    position: relative;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- ambient texture ---------- */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(200,255,46,0.10) 0%, rgba(200,255,46,0) 65%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- stage ---------- */
.stage {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

/* ---------- brandmark ---------- */
.brandmark {
    margin-bottom: 8px;
}
.brandmark__logo {
    width: 190px;
    max-width: 55vw;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(200,255,46,0.12));
}

/* ---------- hero ---------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.45em;
    font-size: 12px;
    color: var(--lime);
    margin: 0 0 18px;
    text-indent: 0.45em; /* balance the tracking visually */
}
.hero__eyebrow .dash {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--lime-dim);
}

.hero__headline {
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(48px, 10vw, 84px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 18px;
    transform: skewX(-3deg);
}
.hero__headline .accent {
    color: var(--lime);
    position: relative;
}

.hero__sub {
    max-width: 460px;
    color: var(--mute);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 40px;
}

/* ---------- countdown: swing tags, echoing the logo's price tag ---------- */
.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px;
    animation: swing 5.5s ease-in-out infinite;
    transform-origin: top center;
}
.tag:nth-child(2) { animation-delay: -1.2s; }
.tag:nth-child(3) { animation-delay: -2.6s; }
.tag:nth-child(4) { animation-delay: -3.9s; }

.tag__string {
    width: 1px;
    height: 16px;
    background: var(--mute);
}

.tag__body {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 3px 10px 10px 3px;
    padding: 14px 18px 12px 22px;
    min-width: 68px;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
}
.tag--accent .tag__body {
    border-color: var(--lime-dim);
    box-shadow: 0 0 22px rgba(200,255,46,0.12);
}

.tag__hole {
    position: absolute;
    left: 8px;
    top: 32px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--mute);
}

.tag__num {
    display: block;
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}
.tag--accent .tag__num { color: var(--lime); }

.tag__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--mute);
    margin-top: 4px;
}

@keyframes swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
    .tag { animation: none; }
}

/* ---------- signup form ---------- */
.signup {
    display: flex;
    width: 100%;
    max-width: 420px;
    gap: 10px;
}

.signup__input {
    flex: 1;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.15s ease;
}
.signup__input::placeholder { color: var(--mute); }
.signup__input:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(200,255,46,0.15);
}

.signup__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lime);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 14px;
    padding: 0 20px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.signup__btn:hover { background: #d8ff5c; transform: translateY(-1px); }
.signup__btn:active { transform: translateY(0); }
.signup__btn-slash {
    display: inline-block;
    transform: skewX(-15deg);
    font-weight: 800;
}

.signup:focus-within .signup__btn { outline: 2px solid var(--lime); outline-offset: 2px; }

.signup__message {
    margin: 16px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lime);
}
.signup__message--invalid { color: #ff6b6b; }
.signup__message--exists { color: var(--mute); }

/* ---------- stitch-line divider, matches the logo's dashed C ---------- */
.stitchline {
    width: 100%;
    max-width: 340px;
    height: 0;
    margin: 44px 0 0;
    border-top: 2px dashed var(--line);
}

/* ---------- footer ---------- */
.foot {
    margin-top: auto;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.foot__social {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.15em;
}
.foot__social a {
    color: var(--mute);
    text-decoration: none;
    transition: color 0.15s ease;
}
.foot__social a:hover { color: var(--lime); }
.foot__sep { color: var(--line); }

.foot__copy {
    color: var(--line);
    font-size: 11px;
    letter-spacing: 0.04em;
    margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 480px) {
    .signup { flex-direction: column; }
    .signup__btn { padding: 14px 20px; justify-content: center; }
    .countdown { gap: 12px; }
    .tag__body { min-width: 56px; padding: 12px 14px 10px 18px; }
    .tag__num { font-size: 28px; }
}

/* ---------- keyboard focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}
