/* Gemini Omni Replicate — shared design tokens (dark, sober) */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300..800&family=Geist+Mono:wght@300..700&display=swap');

:root {
  /* Palette — dark only for landings */
  --bg-base:    #0A0A0A;
  --bg-surface: #111111;
  --bg-elev:    #171717;
  --bg-muted:   #1F1F1F;
  --border:     #232325;
  --border-strong: #2E2E30;
  --text:       #FAFAFA;
  --text-dim:   #A1A1AA;
  --text-mute:  #71717A;
  --accent:     #FAFAFA;
  --accent-fg:  #09090B;
  --synthid:    #60A5FA;
  --success:    #22C55E;
  --danger:     #EF4444;

  /* Type */
  --f-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'JetBrains Mono', Menlo, monospace;

  /* Radius */
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Selection */
::selection { background: #2E2E30; color: var(--text); }

/* Buttons — shared */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 80ms ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn:active { transform: translateY(0.5px); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn--primary:hover { background: #E4E4E7; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-elev); border-color: #3A3A3D; }
.btn--soft {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border);
}
.btn--soft:hover { background: var(--bg-muted); }
.btn--lg { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--sm { height: 28px; padding: 0 10px; font-size: 12px; }

/* Mono chip */
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--text-dim);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Dot separator */
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--text-mute); vertical-align: middle; margin: 0 8px; }

/* Subtle grid background utility */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* SynthID badge */
.synthid-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: var(--synthid);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: -0.01em;
}
.synthid-badge::before {
  content: "";
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--synthid); box-shadow: 0 0 8px var(--synthid);
}

/* Mono kbd */
.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: var(--r-sm);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* Topbar — shared baseline; each landing tweaks if needed */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; }
.topbar__brand-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--accent-fg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
}
.topbar__nav { display: flex; align-items: center; gap: 4px; }
.topbar__nav a { padding: 6px 10px; border-radius: var(--r-sm); color: var(--text-dim); font-size: 13px; }
.topbar__nav a:hover { color: var(--text); background: var(--bg-elev); }
.topbar__right { display: flex; align-items: center; gap: 8px; }

/* Footer — shared */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px 64px;
  color: var(--text-mute);
  font-size: 13px;
}
.footer__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h5 {
  font-size: 11px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-mute); margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--text); }
.footer__brand { color: var(--text-dim); max-width: 280px; }
.footer__meta { max-width: 1280px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--text-mute); }

/* Footer language selector */
.footer__locale { max-width: 1280px; margin: 48px auto 0; }
.lang-picker { font-family: var(--f-mono); font-size: 12px; }
.lang-picker__summary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-dim);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 120ms ease, color 120ms ease;
}
.lang-picker__summary::-webkit-details-marker { display: none; }
.lang-picker__summary:hover { color: var(--text); border-color: var(--border-strong); }
.lang-picker__summary svg { color: var(--text-mute); transition: transform 150ms ease; }
.lang-picker[open] .lang-picker__summary svg { transform: rotate(180deg); }
.lang-picker__label {
  color: var(--text-mute);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}
.lang-picker__list {
  margin-top: 12px;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 16px;
}
.lang-picker__list a {
  padding: 6px 8px;
  color: var(--text-dim);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  transition: color 120ms ease, background 120ms ease;
}
.lang-picker__list a:hover { color: var(--text); background: var(--bg-elev); }
.lang-picker__list a.is-active { color: var(--text); background: var(--bg-elev); }
.lang-picker__list a.is-active::after { content: "✓"; color: var(--success); font-size: 10px; }
.lang-picker__list .lang-code { color: var(--text-mute); font-size: 10.5px; }

/* Animations */
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1.05); }
  50% { transform: translate3d(-1.5%, -1%, 0) scale(1.08); }
  100% { transform: translate3d(0,0,0) scale(1.05); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes blink { 50% { opacity: 0; } }

/* Reusable "film still" — placeholder for an Omni-generated video */
.still {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #0E0E10;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.still__bg {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  animation: drift 14s ease-in-out infinite;
  filter: saturate(0.85);
}
.still__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: saturate(0.95);
}
.still::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5));
  pointer-events: none;
}
.still__grain {
  position: absolute; inset: 0;
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}
.still__meta {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--f-mono); font-size: 11px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
  z-index: 2;
}
.still__caption { max-width: 75%; line-height: 1.35; }
.still__time { letter-spacing: 0.04em; }
.still__corner {
  position: absolute; top: 12px; left: 14px;
  z-index: 2;
  font-family: var(--f-mono); font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
.still__synthid {
  position: absolute; top: 12px; right: 14px; z-index: 2;
}

/* Some named gradient "scenes" — never realistic, just evocative film-still color */
.scene-fox     { background: radial-gradient(ellipse at 30% 65%, #E8956A 0%, #8A3A20 35%, #2A1206 75%, #120802 100%); }
.scene-rain    { background: radial-gradient(ellipse at 50% 30%, #3A4A5E 0%, #1A2230 50%, #0A0E14 100%); }
.scene-clay    { background: radial-gradient(ellipse at 40% 50%, #C8B79A 0%, #8A6F4E 40%, #2E2418 90%); }
.scene-neon    { background: radial-gradient(ellipse at 70% 60%, #6E3FE0 0%, #2B1670 45%, #0A0716 90%); }
.scene-pool    { background: radial-gradient(ellipse at 50% 50%, #6EC2D6 0%, #2D7B92 45%, #0E2A36 90%); }
.scene-amber   { background: radial-gradient(ellipse at 40% 60%, #F2C063 0%, #B2701A 40%, #2E1A06 90%); }
.scene-dusk    { background: linear-gradient(180deg, #F0A973 0%, #C26840 30%, #5A2E2A 65%, #1A0E12 100%); }
.scene-mono    { background: radial-gradient(ellipse at 50% 60%, #DCDCDC 0%, #6E6E72 40%, #1B1B1E 90%); }
.scene-forest  { background: radial-gradient(ellipse at 55% 50%, #6FA86E 0%, #2C5430 45%, #0C1A12 90%); }
.scene-desert  { background: linear-gradient(180deg, #E8C18A 0%, #B07840 40%, #4A2A18 70%, #1A0C06 100%); }
.scene-studio  { background: radial-gradient(ellipse at 50% 60%, #2A2A2E 0%, #161618 60%, #0A0A0C 100%); }
.scene-cyan    { background: radial-gradient(ellipse at 35% 55%, #6AD0D4 0%, #2A7C84 45%, #0C2C30 90%); }

/* Soft scan-line motion hint */
.still--motion::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  background-size: 100% 6px;
  animation: scanline 6s linear infinite;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.4;
  z-index: 1;
}
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Tag */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-family: var(--f-mono); font-size: 11px;
  color: var(--text-dim);
}

/* Section heading rhythm */
.section { padding: 96px 32px; }
.section--tight { padding: 64px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.section h2 {
  font-size: 36px; font-weight: 500; letter-spacing: -0.025em;
  margin: 0; line-height: 1.1;
}
.section .h2-sub {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 640px;
}

/* Card */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
