@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto+Mono:wght@500&display=swap');

:root {
    --bg: #111827;
    --text: #ffffff;
    --accent: #dc2626;
    --muted: #6b7280;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Oswald', sans-serif;
    overflow-x: hidden;
}

/* Reset Bootstrap interference */
main.flex-fill { display: block !important; padding: 0 !important; }

/* ── Canvas ─────────────────────────────────────────────────────── */

#canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* ── Nav ────────────────────────────────────────────────────────── */

nav {
    padding: 20px 6%;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 100;
    background: rgba(17, 24, 39, 0.8);
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    gap: 15px;
}

.logo {
    font-size: clamp(1.2rem, 4vw, 1.8rem); font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    white-space: nowrap; color: var(--text);
}

.logo span { color: var(--accent); }

.btn-buy-nav {
    text-decoration: none; color: #fff;
    background: var(--accent);
    font-size: clamp(0.65rem, 2vw, 0.8rem); font-weight: 700;
    padding: 12px 28px; text-transform: uppercase;
    transition: 0.3s; display: inline-block;
    white-space: nowrap; flex-shrink: 0;
}

.btn-buy-nav:hover {
    transform: skew(-10deg);
    box-shadow: 5px 5px 0px #fff;
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
    padding: 15vh 6% 10vh;
    position: relative; z-index: 1;
}

.tagline {
    font-family: 'Roboto Mono', monospace;
    color: var(--accent); font-size: 0.9rem;
    margin-bottom: 10px; display: block;
}

h1 {
    font-size: clamp(4rem, 15vw, 9rem);
    line-height: 0.9; margin: 0;
    text-transform: uppercase; letter-spacing: -2px;
    color: var(--text);
}

.hero-p {
    margin-top: 30px; font-size: 1.2rem;
    color: var(--muted); max-width: 500px;
    line-height: 1.5; font-weight: 300;
    font-family: 'Roboto Mono', monospace;
}

/* ── Bento Grid ─────────────────────────────────────────────────── */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px; background: rgba(220, 38, 38, 0.2);
    position: relative; z-index: 1;
}

.card {
    background: var(--bg); padding: 60px 40px;
    transition: 0.3s;
}

.card:hover { background: #1e293b; }

h3 {
    font-size: 1.8rem; margin: 0 0 15px;
    text-transform: uppercase; color: var(--accent);
}

p {
    color: #9ca3af; line-height: 1.6; font-size: 1rem;
    font-family: 'Roboto Mono', monospace; margin: 0;
}

@media (max-width: 600px) {
    .card { padding: 30px 24px; }
}

/* ── CTA Footer ─────────────────────────────────────────────────── */

.cta-footer {
    padding: 50px 6% 100px;
    text-align: center;
    position: relative; z-index: 1;
}

.signal-inner { max-width: 600px; margin: 0 auto; }

.signal-status {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem; color: var(--muted);
    letter-spacing: 3px; margin-bottom: 30px;
    text-transform: uppercase; opacity: 0.8;
}

.main-cta {
    display: inline-block;
    text-decoration: none; color: #fff;
    border: 2px solid var(--accent);
    font-size: clamp(1.2rem, 4vw, 2rem);
    padding: 25px 60px; text-transform: uppercase;
    transition: 0.4s; letter-spacing: 2px;
}

.main-cta:hover {
    background: var(--accent);
    letter-spacing: 10px;
}

.signal-sub {
    margin-top: 30px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem; color: #4b5563;
    text-transform: uppercase; letter-spacing: 2px;
}
