@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-deep: #05040d;
    --text-light: #f2f3fb;
    --text-muted: #c3c8e8;
    --accent-1: #a9c1ff;
    --accent-2: #c9a8ff;
}

* { box-sizing: border-box; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: var(--bg-deep);
}

body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

h1, h2, h3, .wordmark { font-family: 'Orbitron', sans-serif; }

/* ---- Layered background system ---- */

#bg-static {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(76, 40, 140, 0.35), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(30, 60, 160, 0.35), transparent 55%),
        linear-gradient(180deg, #05040d 0%, #0a0818 45%, #0d0a1f 100%);
}

#bg-canvas {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1;
    pointer-events: none;
    display: block;
}

/* ---- Nav ---- */

nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 5vw;
    background: rgba(6, 5, 16, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(150, 140, 255, 0.15);
    box-sizing: border-box;
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

nav.nav-scrolled {
    padding: 13px 5vw;
    background: rgba(6, 5, 16, 0.98);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    nav { transition: none; }
}

.wordmark {
    font-size: clamp(1.1rem, 2.4vw, 1.6rem);
    font-weight: 700; letter-spacing: 0.06em;
    background: linear-gradient(90deg, #9fb4ff 0%, #c9a8ff 50%, #e6e9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: font-size 0.25s ease;
}

nav.nav-scrolled .wordmark {
    font-size: clamp(0.95rem, 2vw, 1.35rem);
}

@media (prefers-reduced-motion: reduce) {
    .wordmark { transition: none; }
}

#buy_now_link, .nav-link {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    color: #05040d;
    background: linear-gradient(90deg, #a9c1ff, #c9a8ff);
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: padding 0.25s ease, font-size 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 rgba(160, 130, 255, 0);
}

nav.nav-scrolled #buy_now_link,
nav.nav-scrolled .nav-link {
    padding: 8px 18px;
    font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
    #buy_now_link, .nav-link { transition: transform 0.25s ease, box-shadow 0.25s ease; }
}

.nav-link:hover, .nav-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160, 130, 255, 0.45);
    outline: none;
}

.nav-link:focus-visible {
    outline: 2px solid #e6e9ff;
    outline-offset: 3px;
}

@media (max-width: 650px) {
    nav { padding: 14px 5vw; }
    .wordmark { font-size: 1rem; }
    .nav-link { padding: 8px 16px; font-size: 0.85rem; }

    nav.nav-scrolled { padding: 11px 5vw; }
    nav.nav-scrolled .wordmark { font-size: 0.9rem; }
    nav.nav-scrolled #buy_now_link,
    nav.nav-scrolled .nav-link { padding: 6px 13px; font-size: 0.76rem; }
}

/* ---- Hero ---- */

.hero {
    position: relative;
    z-index: 2;
    padding: 14vh 6vw 10vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.01em;
    max-width: 16ch;
    background: linear-gradient(120deg, #ffffff 0%, #b9c6ff 35%, #d9b8ff 65%, #9fb4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin-top: 28px;
    max-width: 680px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .hero { padding: 12vh 6vw 8vh; }
    .hero p { font-size: 0.95rem; }
}

/* ---- Cards ---- */

.cards-section {
    position: relative;
    z-index: 2;
    padding: 6vh 6vw 10vh;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    padding: 38px 34px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(160, 140, 255, 0.14), rgba(30, 25, 60, 0.6));
    border: 1px solid rgba(160, 140, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(90, 60, 200, 0.35);
    border-color: rgba(200, 180, 255, 0.5);
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #dbe6ff, #eeddff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #d3d6ef;
}

@media (max-width: 480px) {
    .cards-section { padding: 4vh 6vw 8vh; }
    .card { padding: 28px 24px; }
}

/* ---- CTA / Signal line ---- */

.cta {
    position: relative;
    z-index: 2;
    padding: 8vh 6vw 16vh;
    text-align: center;
}

.signal-line {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.signal-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: #7ee8b8;
    margin-bottom: 22px;
}

#buy_now_bottom, .signal-cta {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 0.04em;
    color: #05040d;
    background: linear-gradient(90deg, #a9c1ff, #c9a8ff);
    padding: 18px 44px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.signal-cta:hover, .signal-cta:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(160, 130, 255, 0.5);
    outline: none;
}

.signal-cta:focus-visible {
    outline: 2px solid #e6e9ff;
    outline-offset: 4px;
}

.signal-sub {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #9298ba;
}

@media (max-width: 480px) {
    .signal-cta, #buy_now_bottom { padding: 15px 32px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* ---- Footer ---- */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   spacing/contrast lives here instead, so text stays legible over the fixed
   cosmic background and canvas animation. */

footer {
    position: relative;
    z-index: 2;
    padding: 24px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(6, 5, 16, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(150, 140, 255, 0.15);
}

footer div {
    margin: 4px 0;
}

footer a {
    color: var(--accent-2);
}

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