/* =====================================================================
   Buzz Agency — Shared style guide
   Source of truth: DESIGN-SYSTEM.md + Buzz Landing.html baseline
   Brand: #70B0FF · System fonts only · Dark only
   ===================================================================== */

:root {
  --bg:          #0d1117;
  --bg-soft:     #0a0d12;
  --surface:     #161b22;
  --surface-2:   #21262d;
  --border:      #30363d;
  --border-hi:   #484f58;

  --text:        #c9d1d9;
  --text-strong: #f0f6fc;
  --text-soft:   rgba(240, 246, 252, 0.78);
  --muted:       #8b949e;
  --muted-dim:   #6e7681;

  --accent:      #70B0FF;
  --accent-hi:   #8FC3FF;
  --accent-lo:   #5191E8;
  --accent-soft: rgba(112, 176, 255, 0.12);
  --accent-line: rgba(112, 176, 255, 0.30);
  --accent-glow: rgba(112, 176, 255, 0.28);
  --accent-ink:  #0d1117;

  --gold:        #f6c344;
  --success:     #3fb950;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; }

/* ---- Variant watermark (visible in every variant for screenshot identification) ---- */
.variant-mark {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 9999;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(13,17,23,0.78);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 4px 9px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  text-transform: uppercase;
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--w); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo-text {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-weight: 800; font-size: 22px; letter-spacing: -0.025em;
  color: var(--text-strong); text-transform: lowercase;
}
.logo-text:hover { text-decoration: none; color: var(--text-strong); }
.logo-text .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}
.logo-text img { height: 30px; width: auto; display: block; transition: transform .2s ease; }
.logo-text:hover img { transform: scale(1.08); }
.nav-links { display: flex; gap: 28px; margin-left: 20px; }
.nav-link { color: var(--text-soft); font-size: 15px; font-weight: 500; }
.nav-link:hover { text-decoration: none; color: var(--accent); }
.nav-spacer { flex: 1; }
.nav-cta-row { display: flex; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 0 22px;
  height: 44px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .1s ease, color .18s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); text-decoration: none; color: var(--accent-ink); }
.btn:active { background: var(--accent-lo); border-color: var(--accent-lo); color: var(--text-strong); transform: translateY(1px); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn .arr { transition: transform .18s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-line);
}
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-hi); border-color: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text-strong); border-color: var(--border-hi); }

/* ---- Eyebrow pill (canonical hero pill) ---- */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}
.eyebrow-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: eyebrow-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes eyebrow-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(112,176,255,0.12); }
  50%      { box-shadow: 0 0 0 8px rgba(112,176,255,0.03); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-pill .dot { animation: none; }
}
.eyebrow-pill b { color: var(--text-strong); font-weight: 700; }
.eyebrow-pill .stars { color: var(--gold); letter-spacing: 1.5px; font-size: 13px; }

/* ---- Eyebrow (uppercase kicker) ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Type utility ---- */
.t-hero {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  text-wrap: balance;
  margin: 0;
}
.t-h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin: 0;
}
.t-h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 0;
}
.t-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.t-stat {
  font-size: clamp(56px, 7vw, 84px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.t-stat .unit { font-size: 0.42em; color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }
.t-accent { color: var(--accent); }
.t-mono { font-family: var(--font-mono); }

/* ---- Hero canonical sub + CTA row ---- */
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
  margin: 24px 0 32px;
}
.hero-sub b, .hero-sub .em { color: var(--text-strong); font-weight: 600; }
.hero-cta-row { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted-dim);
  margin: 4px 0 0;
  letter-spacing: 0.01em;
}
.hero-note b { color: var(--text-soft); font-weight: 600; }

/* ---- Accent blob (one per hero/footer per brand rule) ---- */
.blob {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(160px); pointer-events: none;
  width: 720px; height: 720px;
  background: var(--accent); opacity: 0.16;
}

/* ---- Section base ---- */
section.surface { background: var(--bg); position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
section.surface .container { position: relative; z-index: 1; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--border-hi); transform: translateY(-2px); }

/* ---- Frame.io-style review chip (shared across hero variants that use it) ---- */
.review-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(112,176,255,0.04);
  position: relative;
}
.review-chip-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.01em;
}
.review-chip-head .dots { display: flex; gap: 6px; }
.review-chip-head .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-hi); display: inline-block;
}
.review-chip-head .dots i:nth-child(1) { background: #ff5f57; opacity: 0.7; }
.review-chip-head .dots i:nth-child(2) { background: #f6c344; opacity: 0.7; }
.review-chip-head .dots i:nth-child(3) { background: #3fb950; opacity: 0.7; }
.review-chip-head .url { flex: 1; text-align: center; color: var(--muted-dim); }
.review-chip-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.review-chip-head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 3px rgba(63,185,80,0.18);
}
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.review-cell { background: var(--bg-soft); aspect-ratio: 9 / 16; position: relative; overflow: hidden; }
.review-cell .img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.85) contrast(1.05) brightness(0.85); }
.review-cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,17,23,0) 40%, rgba(13,17,23,0.85) 100%); }
.review-cell .meta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.review-cell .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.review-cell .name { font-size: 13px; font-weight: 700; color: var(--text-strong); letter-spacing: -0.01em; }
.review-cell .num { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.05em; }
.review-cell .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(13,17,23,0.6); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; z-index: 1; backdrop-filter: blur(4px); }
.review-cell .play::after { content: ""; width: 0; height: 0; border-left: 9px solid var(--text-strong); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.review-cell .badge { position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-ink); background: var(--accent); padding: 3px 7px; border-radius: 4px; text-transform: uppercase; z-index: 2; }
.review-chip-foot {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.review-chip-foot .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.review-chip-foot b { color: var(--text-strong); font-weight: 700; }
.review-chip-foot .spacer { flex: 1; }

/* ---- Phone mock (used in some variants) ---- */
.phone-mock {
  position: relative;
  width: 280px; aspect-ratio: 9 / 19;
  background: #000;
  border: 8px solid #1a1f26;
  border-radius: 36px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(112,176,255,0.05);
  overflow: hidden;
}
.phone-mock .vid {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.phone-mock .overlay-bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(13,17,23,0.9));
  display: flex; flex-direction: column; gap: 4px;
}
.phone-mock .overlay-bottom .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; font-weight: 600; }
.phone-mock .overlay-bottom .name { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.phone-mock .play-big {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(13,17,23,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.phone-mock .play-big::after {
  content: ""; width: 0; height: 0;
  border-left: 14px solid var(--text-strong);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

/* ---- Misc ---- */
.divider-soft { height: 1px; background: var(--border); margin: 0; border: 0; }

/* ---- Animations (subtle only) ---- */
@keyframes blink { 50% { opacity: 0; } }
.cursor-blink { display: inline-block; width: 0.55em; height: 1em; background: var(--accent); vertical-align: -0.1em; animation: blink 1s steps(1) infinite; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Mobile ---- */
@media (max-width: 980px) {
  .hide-tablet { display: none !important; }
}
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
}
