/* Flashbay — dark, dramatic, Glint-inspired */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500;600;700&family=Google+Sans+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
    --bg: #0a0a0a;
    --bg-elevated: #111;
    --border: #1a1a1a;
    --text: #999;
    --text-bright: #e0e0e0;
    --white: #fff;
    --accent: #32be78;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--white);
}

/* --- Overline label (small caps) --- */

.overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* --- Nav --- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6rem;
    background: transparent;
    transition: background 0.3s;
}

.logo {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
}

.logo-mark {
    height: 1.4em;
    width: auto;
    vertical-align: -0.25em;
    margin-right: 0.4rem;
}

.dot {
    color: var(--accent);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text);
}

/* --- Hero (fullscreen) --- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6rem;
    background: var(--bg);
}

.hero-content {
    width: 100%;
    max-width: 960px;
    padding-top: 4rem;
}

/* --- Theme A: terminal mono + blinking cursor --- */
.theme-mono .hero h1 {
    font-family: 'Noto Sans Mono', monospace;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.theme-mono .cursor {
    display: inline-block;
    width: 0.6em;
    height: 1lh;
    background: var(--accent);
    opacity: 0.7;
    vertical-align: top;
    /* margin-left: 0.1em; */
    animation: blink 1s step-end infinite;
}

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

/* --- Theme B: elegant serif, no cursor --- */
.theme-serif .hero h1 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.theme-serif .cursor {
    display: none;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-outline {
    color: var(--white);
    border: 1.5px solid var(--white);
    background: transparent;
}

.btn-outline:hover {
    color: var(--bg);
    background: var(--white);
}

.btn-ghost {
    color: var(--text);
    border: 1.5px solid var(--border);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--white);
    border-color: var(--text);
}

/* --- Scroll hint --- */

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-hint span {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--text), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

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

/* --- Stats --- */

.stats {
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 6rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Noto Sans Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* --- Section shared --- */

.features,
.roadmap,
.waitlist {
    max-width: 960px;
    margin: 0 auto;
    padding: 8rem 6rem;
}

.features h2,
.roadmap h2,
.waitlist h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 3.5rem;
    max-width: 560px;
}

/* --- Features --- */

.features {
    border-top: 1px solid var(--border);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.card {
    padding: 2.5rem;
    background: var(--bg);
}

.card-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* --- Roadmap --- */

.roadmap {
    border-top: 1px solid var(--border);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.roadmap-item {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.roadmap-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.roadmap-item p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
}

/* --- Waitlist --- */

.waitlist {
    border-top: 1px solid var(--border);
    text-align: center;
}

.waitlist .overline,
.waitlist h2 {
    margin-left: auto;
    margin-right: auto;
}

.waitlist h2 {
    max-width: 480px;
}

.waitlist-sub {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

#waitlist-email {
    flex: 1;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-right: none;
    background: transparent;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

#waitlist-email:focus {
    border-color: var(--accent);
}

#waitlist-email::placeholder {
    color: #444;
}

button[type="submit"] {
    padding: 0.85rem 1.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1.5px solid var(--white);
    background: var(--white);
    color: var(--bg);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
}

button[type="submit"]:hover {
    background: transparent;
    color: var(--white);
}

.thanks {
    color: var(--accent);
    font-weight: 500;
    margin-top: 1.5rem;
}

/* --- Legal pages --- */

.legal {
    max-width: 640px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.legal h1 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.legal-intro {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.legal h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.legal ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.legal li {
    font-size: 0.9rem;
    color: var(--text);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.legal li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #333;
}

.legal a {
    color: var(--accent);
}

/* --- Footer --- */

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 6rem;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

footer p {
    font-size: 0.8rem;
    color: #444;
}

footer a {
    color: #555;
}

footer a:hover {
    color: var(--text);
}

/* --- Responsive --- */

@media (max-width: 768px) {
    nav {
        padding: 1.25rem 1.5rem;
    }

    .hero {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        text-align: center;
    }

    .scroll-hint {
        display: none;
    }

    .features,
    .roadmap,
    .waitlist {
        padding: 5rem 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    #waitlist-email {
        border-right: 1.5px solid var(--border);
        border-bottom: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

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