@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Inter:wght@400;800&display=swap');

:root {
    --bg: #064e3b;
    --text: #ffffff;
    --accent: #bef264;
    --secondary: #f43f5e;
    --muted: #d1fae5;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', 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: 25px 6%;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 100;
    gap: 15px;
}

.logo {
    font-family: 'Bungee', cursive;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--accent); letter-spacing: 1px;
    white-space: nowrap;
}

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

.btn-nav {
    text-decoration: none; color: var(--bg);
    background: var(--accent);
    font-size: clamp(0.65rem, 2vw, 0.8rem); font-weight: 800;
    padding: 10px 25px; border-radius: 50px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}

.btn-nav:hover { transform: scale(1.1) rotate(-3deg); background: var(--secondary); color: white; }

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

.hero {
    padding: 10vh 6% 5vh;
    position: relative; z-index: 1;
    text-align: center;
    max-width: 900px; margin: 0 auto;
}

h1 {
    font-family: 'Bungee', cursive;
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    line-height: 0.9; margin: 0;
    color: var(--accent);
    text-shadow: 5px 5px 0px var(--secondary);
}

.hero-p {
    margin: 40px auto; font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--muted); max-width: 650px;
    line-height: 1.4; font-weight: 400;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; padding: 0 6% 80px;
    position: relative; z-index: 1;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 30px;
    border: 2px solid rgba(190, 242, 100, 0.2);
    transition: 0.4s;
}

.card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

h3 {
    font-family: 'Bungee', cursive;
    font-size: 1.8rem; margin: 0 0 15px;
    color: var(--accent);
}

p { color: var(--muted); line-height: 1.6; font-size: 1.05rem; margin: 0; }

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

/* ── CTA Section ────────────────────────────────────────────────── */

.cta-section {
    padding: 0px 6% 80px;
    text-align: center;
    position: relative; z-index: 1;
}

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

.signal-status {
    font-size: 0.75rem; color: var(--accent);
    letter-spacing: 3px; margin-bottom: 30px;
    text-transform: uppercase; opacity: 0.8;
}

.main-cta {
    display: inline-block;
    text-decoration: none; color: white;
    background: var(--secondary);
    font-family: 'Bungee', cursive;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    padding: 25px 60px;
    border-radius: 100px;
    transition: 0.3s;
    box-shadow: 0 10px 0px #9f1239;
    text-transform: uppercase;
}

.main-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 0px #9f1239;
    background: var(--accent);
    color: var(--bg);
}

.signal-sub {
    margin-top: 25px;
    font-size: 0.7rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 2px; opacity: 0.6;
}
