/* ══════════════════════════════════════════════════════════════
   Gracenote Systems — marketing site
   Brand: blue #395bc3 → green #2f673d (from the GS gear logo)
   ══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
    --blue:   #4a72e8;      /* brightened brand blue for dark bg */
    --blue-2: #395bc3;      /* core brand blue */
    --green:  #3f8a53;      /* brightened brand green */
    --green-2:#2f673d;      /* core brand green */
    --bg:     #080b11;
    --bg-2:   #0d1219;
    --panel:  #101722;
    --line:   rgba(120, 150, 210, 0.12);
    --line-2: rgba(120, 150, 210, 0.22);
    --text:   #eef2f8;
    --muted:  #9aa7bd;
    --muted-2:#67748c;
    --grad:   linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
    --grad-soft: linear-gradient(120deg, rgba(74,114,232,0.14) 0%, rgba(63,138,83,0.14) 100%);
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}

/* ── Nav ─────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(8, 11, 17, 0.72);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(8, 11, 17, 0.9); }
.nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-icon-img { width: 38px; height: 38px; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 11px; font-weight: 600; font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    cursor: pointer; white-space: nowrap;
}
.btn-small { padding: 9px 18px; font-size: 13.5px; border-radius: 9px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(57, 91, 195, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(57, 91, 195, 0.4); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(74, 114, 232, 0.08); }

/* ── Hero ────────────────────────────────── */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 80%);
}
.hero-glow {
    position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 620px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(57, 91, 195, 0.22) 0%, rgba(47,103,61,0.10) 45%, transparent 72%);
    filter: blur(8px);
}
.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px 7px 12px; border-radius: 999px; margin-bottom: 26px;
    background: var(--grad-soft); border: 1px solid var(--line-2);
    font-size: 13px; font-weight: 500; color: var(--text);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 {
    font-size: clamp(38px, 6.4vw, 68px); font-weight: 600; line-height: 1.05;
    letter-spacing: -0.03em; margin-bottom: 22px;
}
.hero-tagline { font-size: clamp(18px, 2.4vw, 23px); color: var(--text); font-weight: 500; margin-bottom: 18px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 38px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Trust / logos strip ─────────────────── */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { padding: 30px 0; display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trust-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.trust-tags { display: flex; gap: 12px 28px; flex-wrap: wrap; justify-content: center; }
.trust-tags span { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.trust-tags span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ── Section shells ──────────────────────── */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); line-height: 1.7; }

/* ── Feature grid ────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 16px; padding: 30px; transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: #121a26; }
.card-icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 18px;
    color: var(--blue);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── Split / showcase rows ───────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-copy h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px; }
.split-copy > p { font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 26px; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.check-list li svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--green); }

/* exclusive badge */
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(63, 138, 83, 0.12); border: 1px solid rgba(63, 138, 83, 0.35);
    color: #7fd394; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 20px;
}

/* media card mock */
.media-card {
    position: relative; border-radius: 18px; border: 1px solid var(--line-2);
    background: linear-gradient(160deg, #0f1620 0%, #0a0e15 100%);
    padding: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.media-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 200px at 20% -10%, rgba(74,114,232,0.16), transparent 60%);
}
.mc-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.mc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3444; display: block; }
.mc-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); margin-bottom: 10px; }
.mc-row .k { width: 34px; height: 34px; border-radius: 8px; background: var(--grad-soft); border: 1px solid var(--line-2); flex: 0 0 auto; }
.mc-row .lines { flex: 1; }
.mc-row .lines b { display: block; height: 9px; width: 55%; border-radius: 4px; background: rgba(230,238,250,0.5); margin-bottom: 7px; }
.mc-row .lines s { display: block; height: 7px; width: 80%; border-radius: 4px; background: rgba(230,238,250,0.16); text-decoration: none; }
.mc-row .pill { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(63,138,83,0.15); color: #7fd394; border: 1px solid rgba(63,138,83,0.3); }
.mc-row .pill.blue { background: rgba(74,114,232,0.15); color: #93aef5; border-color: rgba(74,114,232,0.3); }

/* ── Product screenshots (media-card w/ real image) ─ */
.media-card.has-shot { padding: 14px; }
.media-card .shot-img { display: block; width: 100%; border-radius: 9px; border: 1px solid var(--line); }
.shot-caption { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); text-align: center; }
.shot-caption b { color: var(--muted); font-weight: 600; }

/* ── Highlight / comparison cards ────────── */
.mini-badge {
    display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
    background: rgba(63, 138, 83, 0.15); color: #7fd394; border: 1px solid rgba(63, 138, 83, 0.32);
    margin-bottom: 16px;
}
.card.highlight {
    border-color: rgba(63, 138, 83, 0.4);
    background: linear-gradient(160deg, rgba(63, 138, 83, 0.10) 0%, var(--panel) 55%);
}
.card.highlight:hover { border-color: rgba(63, 138, 83, 0.55); }
.card-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.card-list li svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; color: var(--green); }

/* ── Services ────────────────────────────── */
.services { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Stats band ──────────────────────────── */
.stats { padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-value { display: block; font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 600; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ── CTA ─────────────────────────────────── */
.cta-wrap { padding: 40px 0 120px; }
.cta {
    position: relative; overflow: hidden; text-align: center;
    border: 1px solid var(--line-2); border-radius: 24px; padding: 72px 32px;
    background: linear-gradient(160deg, #0f1725 0%, #0a0e15 100%);
}
.cta::before { content:''; position:absolute; top:-150px; left:50%; transform:translateX(-50%); width:700px; height:420px; background: radial-gradient(ellipse, rgba(57,91,195,0.22), transparent 70%); pointer-events:none; }
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { font-size: 13.5px; color: var(--muted-2); }
.fineprint { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; max-width: 640px; }
.fineprint strong { color: var(--muted); font-weight: 600; }

/* ── Reveal animation ────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse .split-media { order: 0; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
        position: absolute; top: 70px; left: 0; right: 0; padding: 22px 24px 26px;
        background: rgba(8,11,17,0.97); border-bottom: 1px solid var(--line);
    }
    .nav-toggle { display: block; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero { padding: 140px 0 70px; }
    .section-pad { padding: 80px 0; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
