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

:root {
    --navy: #071021;
    --text: #e7f1f7;
    --blue: #3aa0ff;
    --blue-deep: #2f6fed;
    --green: #22c55e;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #071021 0%, #0a1a2b 45%, #081724 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

html { scroll-behavior: smooth; }

h1, h2, h3 { font-family: 'Sora', sans-serif; }

a { text-decoration: none; color: inherit; }

img, svg, canvas { display: block; }

/* ---- Background layers ---- */

.bg-base {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(47, 111, 237, 0.18) 0%, rgba(47, 111, 237, 0) 55%),
        radial-gradient(ellipse at 85% 30%, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0) 55%),
        radial-gradient(ellipse at 50% 100%, rgba(58, 160, 255, 0.12) 0%, rgba(58, 160, 255, 0) 60%);
}

#bg-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

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

header.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(7, 16, 33, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    width: 100%; max-width: 1180px; margin: 0 auto;
    padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
    box-sizing: border-box;
}

.logo {
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.35rem;
    letter-spacing: -0.02em;
    display: flex; align-items: baseline; gap: 2px;
}

.logo .vs { color: #ffffff; }

.logo .partner {
    background: linear-gradient(90deg, #3aa0ff 0%, #22c55e 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.logo .tld { color: rgba(231, 241, 247, 0.55); font-weight: 600; font-size: 1rem; }

.nav-link {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6fed 0%, #22c55e 100%);
    color: #ffffff;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 24px rgba(47, 111, 237, 0.25);
    white-space: nowrap;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
    filter: brightness(1.06);
}

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

@media (max-width: 650px) {
    .nav-inner { padding: 14px 20px; }
    .logo { font-size: 1.1rem; }
    .nav-link { padding: 9px 16px; font-size: 0.85rem; }
}

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

.hero {
    position: relative; z-index: 2;
    padding: 16vh 32px 10vh;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    background: rgba(58, 160, 255, 0.1);
    border: 1px solid rgba(58, 160, 255, 0.28);
    color: #8fd0ff;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
    max-width: 900px;
    color: #ffffff;
}

.hero h1 span { display: block; }

.hero p {
    margin-top: 24px;
    max-width: 680px;
    color: rgba(231, 241, 247, 0.75);
    font-size: 1.05rem;
}

@media (max-width: 600px) {
    .hero { padding: 14vh 20px 8vh; }
    .hero p { font-size: 0.95rem; }
}

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

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

.cards-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.cards-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #ffffff;
    font-weight: 700; letter-spacing: -0.01em;
}

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

.card {
    padding: 38px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(58, 160, 255, 0.4);
}

.card-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, #2f6fed 0%, #22c55e 100%);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.card p {
    color: rgba(231, 241, 247, 0.75);
    font-size: 0.97rem;
}

@media (max-width: 600px) {
    .cards-section { padding: 4vh 20px 8vh; }
    .card { padding: 28px; }
}

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

.cta,
.signal-line {
    position: relative; z-index: 2;
    padding: 10vh 32px 14vh;
    text-align: center;
}

.cta-box {
    max-width: 640px; margin: 0 auto;
    padding: 56px 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex; flex-direction: column; align-items: center;
}

.signal-status {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 20px;
}

.signal-cta {
    display: inline-block;
    padding: 18px 44px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6fed 0%, #22c55e 100%);
    color: #ffffff;
    font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
    box-shadow: 0 12px 32px rgba(47, 111, 237, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.signal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(34, 197, 94, 0.4);
    filter: brightness(1.06);
}

.signal-cta:focus-visible { outline: 2px solid #7ad0ff; outline-offset: 3px; }

.signal-sub {
    margin-top: 20px;
    color: rgba(231, 241, 247, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .cta, .signal-line { padding: 8vh 20px 10vh; }
    .cta-box { padding: 40px 24px; }
    .signal-cta { padding: 16px 32px; font-size: 0.95rem; width: 100%; }
}

/* ---- Footer ---- */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   this keeps it readable above the fixed background/canvas layers instead. */

footer {
    position: relative;
    z-index: 5;
    padding: 24px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(231, 241, 247, 0.65);
    background: rgba(7, 16, 33, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer div {
    margin: 4px 0;
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
