@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;700&display=swap');

:root {
    --bg: #fffbf2;
    --text: #4b2c20;
    --accent: #f9a8d4;
    --highlight: #fdf2f8;
    --button: #fbbf24;
    --muted: #713f12;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Quicksand', 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;
    opacity: 0.6;
}

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

nav {
    padding: 20px 6%;
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 100;
    background: rgba(255, 251, 242, 0.8);
    backdrop-filter: blur(8px);
    gap: 15px;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    color: var(--accent);
    text-shadow: 2px 2px 0px var(--highlight);
    white-space: nowrap;
}

.btn-buy-nav {
    text-decoration: none; color: white;
    background: var(--button);
    font-weight: 700; font-size: clamp(0.65rem, 2vw, 0.85rem);
    padding: 12px 25px; border-radius: 50px;
    box-shadow: 0 4px 0px #d97706;
    transition: 0.2s; white-space: nowrap; flex-shrink: 0;
}

.btn-buy-nav:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0px #d97706;
}

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

.hero {
    padding: 12vh 6% 8vh;
    position: relative; z-index: 1;
    text-align: center;
}

h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(3rem, 12vw, 6.5rem);
    line-height: 1; margin: 0;
    color: var(--text);
}

.hero-p {
    margin: 30px auto; font-size: 1.2rem;
    color: var(--muted); max-width: 600px;
    line-height: 1.6; font-weight: 700;
}

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

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

.card {
    background: white; padding: 40px;
    border-radius: 30px; text-align: center;
    border: 4px solid #fef3c7;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover { transform: scale(1.05) rotate(-1deg); border-color: var(--accent); }

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

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

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

/* ── CTA Box ────────────────────────────────────────────────────── */

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

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

.signal-status {
    font-size: 0.7rem; color: var(--muted);
    letter-spacing: 3px; margin-bottom: 25px;
    text-transform: uppercase; opacity: 0.7;
}

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

.main-cta:hover {
    transform: translateY(5px);
    box-shadow: 0 5px 0px #be185d;
    background: #f472b6;
}

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