/* ════════════════════════════════════════════════════════
   Yoagent Design System — Portal Styles
   ════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg-void:    #05070b;
  --bg-base:    #0a0e14;
  --bg-surface: #11161f;
  --bg-elevated:#181f2b;
  --bg-sunken:  #060910;

  /* Signal — Cyan (primary) */
  --cyan:        #00d4ff;
  --cyan-strong: #19e1ff;
  --cyan-deep:   #0a84ff;
  --cyan-ink:    #002a66;

  /* Identity — Heat orange */
  --heat:        #ff7a18;
  --heat-bright: #ffa54a;
  --heat-deep:   #c43e00;

  /* Presence — Radar green */
  --radar:       #5fb83a;
  --radar-deep:  #2f8a18;

  /* Secondary — Violet (bots) */
  --violet:      #8b5cff;

  /* Chrome ramp */
  --chrome-100:#e6ecf3; --chrome-200:#c1cbd7; --chrome-300:#8a96a6;
  --chrome-400:#555f6f; --chrome-500:#2a3340; --chrome-600:#161c27;

  /* Ink (text) */
  --ink-100:#f1f5fa;
  --ink-200:#c8d1de;
  --ink-300:#8c96a6;
  --ink-400:#5d6675;
  --ink-500:#3a414e;

  /* Lines & status */
  --line:        #1a212d;
  --line-strong: #2a3340;
  --ok:#3fd97a;  --warn:#f5b347;  --bad:#ff4d5e;

  /* Radii */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.5);
  --shadow-2: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 28px -10px rgba(0,0,0,0.7);
  --shadow-glow-cyan: 0 0 0 1px rgba(0,212,255,0.35), 0 0 28px -4px rgba(0,212,255,0.45);
  --shadow-glow-heat: 0 0 0 1px rgba(255,122,24,0.4), 0 0 28px -4px rgba(255,122,24,0.45);

  /* Type */
  --f-display: 'Space Grotesk', 'Inter Tight', system-ui, sans-serif;
  --f-ui:      'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--ink-200);
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 1200px 700px at 50% -20%, rgba(0,212,255,0.14), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 80%, rgba(255,122,24,0.07), transparent 60%),
    radial-gradient(ellipse 800px 600px at 0% 100%, rgba(95,184,58,0.04), transparent 60%);
  background-attachment: fixed;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ════════ TOPBAR ════════ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(5,7,11,0.7);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 20px;
}
.logo-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
  color: var(--ink-100); letter-spacing: -0.02em;
  text-decoration: none;
}
.logo-mark:hover { text-decoration: none; }
.logo-mark .yo {
  background: linear-gradient(180deg, #fff, var(--chrome-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-mark .agent {
  background: linear-gradient(180deg, var(--heat-bright), var(--heat-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── W-bot with cursor-tracking eyes ── */
.wbot {
  position: relative;
  background: url('assets/wbot-head.png') center/contain no-repeat;
  flex: none;
}
.wbot .eye {
  position: absolute; width: 16%; height: 22%;
  border-radius: 50%; overflow: hidden;
}
.wbot .eye.left  { top: 33%; left: 32.5%; }
.wbot .eye.right { top: 33%; left: 51.5%; }
.wbot .pupil {
  position: absolute; top: 50%; left: 50%;
  width: 40%; height: 36%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, var(--cyan-strong) 25%, var(--cyan) 60%, var(--cyan-deep) 100%);
  box-shadow: 0 0 10px rgba(0,212,255,0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  animation: pulseEye 2.4s ease-in-out infinite;
}
.wbot .pupil::after {
  content: ""; position: absolute;
  width: 28%; height: 28%; top: 12%; left: 22%;
  background: #ffffff; border-radius: 50%;
}
@keyframes pulseEye { 50% { box-shadow: 0 0 18px rgba(0,212,255,1); } }

.logo-mark .wbot {
  width: 34px; height: 34px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.5));
}

/* Inline title bot */
.wbot-inline {
  display: inline-block; vertical-align: -0.36em;
  width: 1.9em; height: 1.9em;
  margin: -0.45em -0.34em -0.45em -0.22em;
  animation: wbotFloat 5s ease-in-out infinite;
}
@keyframes wbotFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-4px) rotate(2deg); }
}

/* ── Nav ── */
.topbar-nav {
  display: flex; gap: 6px; margin-left: 24px;
}
.topbar-nav a {
  padding: 6px 12px; border-radius: 8px; text-decoration: none;
  color: var(--ink-300); font-size: 13px; font-weight: 500;
}
.topbar-nav a:hover { color: var(--ink-100); background: var(--bg-elevated); text-decoration: none; }
.topbar-nav a.active { color: var(--cyan); }

.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ════════ BUTTONS ════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  letter-spacing: -0.01em; border: 1px solid transparent;
  cursor: pointer; transition: transform 120ms, filter 120ms, border-color 120ms, background 120ms;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .ic { width: 14px; height: 14px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, #1ad9ff, #0a84ff); color: #001025;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 8px 24px -10px rgba(0,132,255,0.55);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-heat {
  background: linear-gradient(180deg, var(--heat-bright), var(--heat), var(--heat-deep)); color: #2a0e00;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 24px -10px rgba(255,122,24,0.5);
}
.btn-heat:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-radar {
  background: transparent; color: var(--radar); border-color: var(--radar);
}
.btn-radar:hover { background: rgba(95,184,58,0.08); }
.btn-ghost {
  background: var(--bg-elevated); color: var(--ink-100); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--chrome-400); }
.btn-outline {
  background: transparent; color: var(--ink-200); border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--bg-elevated); color: var(--ink-100); }
.btn-chrome {
  background: linear-gradient(180deg, #f0f4f9, #b6c1cf 50%, #6a7585); color: #0a0e14;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px -4px rgba(0,0,0,0.6);
}
.btn-danger {
  background: transparent; color: var(--bad); border-color: rgba(255,77,94,0.4);
}
.btn-danger:hover { background: rgba(255,77,94,0.08); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn-icon { width: 38px; padding: 0; justify-content: center; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ════════ PILLS & BADGES ════════ */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
}
.pill .ldot { width: 6px; height: 6px; border-radius: 50%; }
.pill.live  { background: rgba(63,217,122,0.10); border: 1px solid rgba(63,217,122,0.35); color: var(--ok); }
.pill.live .ldot { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: livePulse 1.8s ease-in-out infinite; }
.pill.cyan  { background: rgba(0,212,255,0.10); border: 1px solid rgba(0,212,255,0.35); color: var(--cyan); }
.pill.heat  { background: rgba(255,122,24,0.10); border: 1px solid rgba(255,122,24,0.40); color: var(--heat-bright); }
.pill.violet{ background: rgba(139,92,255,0.10); border: 1px solid rgba(139,92,255,0.40); color: var(--violet); }
.pill.ghost { background: var(--bg-elevated); border: 1px solid var(--line-strong); color: var(--ink-300); }

.vbadge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(0,212,255,0.15); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.4);
  font-size: 9px; font-weight: 700;
}
.botbadge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 1px 6px 1px 5px; border-radius: 4px;
  background: rgba(139,92,255,0.12); border: 1px solid rgba(139,92,255,0.35);
  font-family: var(--f-mono); font-size: 9.5px; color: var(--violet);
  letter-spacing: 0.08em;
}

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 6px; font-family: var(--f-mono); font-size: 10.5px;
  background: var(--bg-elevated); color: var(--ink-300); border: 1px solid var(--line);
}
.tag.heat { color: var(--heat-bright); border-color: rgba(255,122,24,0.3); background: rgba(255,122,24,0.06); }
.tag.cyan { color: var(--cyan); border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.06); }

/* ════════ INPUTS ════════ */
.ya-input {
  width: 100%;
  height: 42px; padding: 0 14px;
  background: var(--bg-sunken); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink-100); font-family: var(--f-ui); font-size: 13px;
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.ya-input::placeholder { color: var(--ink-400); }
.ya-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

textarea.ya-input {
  height: auto; padding: 10px 14px;
  resize: none; line-height: 1.5;
}

select.ya-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238c96a6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ya-label {
  display: block;
  font-size: 12px; font-weight: 500;
  color: var(--ink-300);
  margin-bottom: 6px;
}
.ya-label .hint { color: var(--ink-500); font-weight: 400; }

/* ════════ CARDS ════════ */
.lobby-card {
  background: var(--bg-surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 170px;
  transition: border-color 140ms, transform 140ms;
  cursor: pointer;
}
.lobby-card:hover { border-color: var(--cyan); transform: translateY(-1px); }
.lobby-card .lc-slug {
  font-family: var(--f-mono); font-size: 12px; color: var(--cyan); font-weight: 500;
}
.lobby-card .lc-title {
  font-family: var(--f-display); font-size: 17px; font-weight: 600;
  color: var(--ink-100); letter-spacing: -0.01em;
}
.lobby-card .lc-tagline {
  color: var(--ink-300); font-size: 13px; line-height: 1.5;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lobby-card .lc-tags {
  display: flex; gap: 5px; flex-wrap: wrap;
}
.lobby-card .lc-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-400);
}
.lobby-card .lc-foot .stars { color: var(--heat-bright); }
.lobby-card .lc-foot .online-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
  display: inline-block; margin-right: 4px;
  animation: livePulse 1.8s ease-in-out infinite;
}

/* ════════ STAT TILE ════════ */
.stat-tile {
  text-align: center;
}
.stat-tile .sv {
  font-family: var(--f-display); font-size: 28px; font-weight: 700;
  color: var(--ink-100); letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px; justify-content: center;
}
.stat-tile .sv .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 10px var(--ok); margin-right: 4px;
  animation: livePulse 1.8s ease-in-out infinite;
}
.stat-tile .sl {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-400); margin-top: 6px;
}

/* ════════ ANIMATIONS ════════ */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}
@keyframes sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0,212,255,0.15); }
  50%      { box-shadow: 0 0 0 4px rgba(0,212,255,0.25); }
}
@keyframes spinHalo { to { transform: rotate(360deg); } }

/* ════════ HERO (search / landing) ════════ */
.shell { max-width: 1180px; margin: 0 auto; padding: 64px 32px 120px; position: relative; z-index: 1; }

.hero {
  text-align: center;
  padding: 24px 0 56px;
}
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow::after { background: linear-gradient(-90deg, transparent, var(--cyan)); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: livePulse 1.8s ease-in-out infinite;
}

h1.hero-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink-100); margin: 0 0 18px;
  text-wrap: balance;
}
h1.hero-title .accent {
  background: linear-gradient(180deg, var(--cyan-strong), var(--cyan-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: var(--ink-300); font-size: 17px;
  max-width: 560px; margin: 0 auto 40px; text-wrap: pretty;
}

/* ── Search box with halo ── */
.search-wrap { max-width: 780px; margin: 0 auto; position: relative; }
.search-wrap::before {
  content: ""; position: absolute; inset: -3px; border-radius: 22px;
  background: conic-gradient(from 220deg at 50% 50%,
    var(--cyan) 0deg, transparent 60deg, transparent 120deg,
    var(--heat) 180deg, transparent 240deg, transparent 300deg, var(--cyan) 360deg);
  filter: blur(10px); opacity: 0.55;
  animation: spinHalo 12s linear infinite;
}
.search-box {
  position: relative;
  background: linear-gradient(180deg, #131923, #0c1018);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
}
.search-input-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
}
.search-input-row .search-ic {
  width: 22px; height: 22px; color: var(--cyan); flex: none;
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.5));
}
.search-input-row input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--ink-100);
  font-family: var(--f-display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.015em;
}
.search-input-row input::placeholder { color: var(--ink-400); font-weight: 400; }
.search-input-row .send-btn {
  height: 42px; padding: 0 18px;
  background: linear-gradient(180deg, #1ad9ff, #0a84ff);
  color: #001025; font-weight: 600;
  border: 0; border-radius: 11px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 24px -8px rgba(0,132,255,0.6);
  font-family: var(--f-ui); font-size: 13px;
}
.search-input-row .send-btn:hover { filter: brightness(1.1); }

.quick-chips {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 14px;
  border-top: 1px dashed var(--line); margin: 0 6px;
}
.quick-chips .label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-400); padding: 6px 4px 6px 0;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--line-strong);
  color: var(--ink-200); font-size: 12px; cursor: pointer;
  font-family: var(--f-mono);
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── Stats strip ── */
.stats-strip {
  display: flex; justify-content: center; gap: 48px; margin-top: 56px;
  flex-wrap: wrap;
}

/* ── Tri-CTA band ── */
.cta-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 72px;
}
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-base));
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 160ms, transform 160ms;
  cursor: pointer;
}
.cta-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.cta-card .glow {
  position: absolute; inset: -1px -1px auto auto;
  width: 180px; height: 180px; border-radius: 50%;
  filter: blur(46px); opacity: 0.35; pointer-events: none;
}
.cta-card.dl .glow      { background: var(--cyan); }
.cta-card.connect .glow  { background: var(--heat); opacity: 0.30; }
.cta-card.start .glow    { background: var(--radar); opacity: 0.28; }

.cta-card .cta-head {
  display: flex; align-items: center; gap: 12px;
}
.cta-card .cta-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid; flex: none;
}
.cta-card.dl .cta-icon      { background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.35); color: var(--cyan); }
.cta-card.connect .cta-icon  { background: rgba(255,122,24,0.08); border-color: rgba(255,122,24,0.35); color: var(--heat-bright); }
.cta-card.start .cta-icon    { background: rgba(95,184,58,0.10); border-color: rgba(95,184,58,0.35); color: var(--radar); }
.cta-card .cta-icon svg { width: 22px; height: 22px; }

.cta-card .cta-eyebrow {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-400);
}
.cta-card h3 {
  margin: 0; font-family: var(--f-display); font-size: 20px; font-weight: 600;
  color: var(--ink-100); letter-spacing: -0.015em; line-height: 1.2;
}
.cta-card p {
  margin: 0; color: var(--ink-300); font-size: 13px; line-height: 1.55;
}
.cta-card .cta-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px;
}
.cta-card .platforms {
  display: flex; gap: 5px;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-400);
}
.cta-card .platforms span {
  padding: 2px 7px; border-radius: 4px;
  background: var(--bg-sunken); border: 1px solid var(--line);
}
.cta-card .go {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 12.5px;
  border: 0; cursor: pointer; letter-spacing: -0.01em;
}
.cta-card.dl .go {
  background: linear-gradient(180deg, #1ad9ff, #0a84ff); color: #001025;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 16px -8px rgba(0,132,255,0.55);
}
.cta-card.connect .go {
  background: linear-gradient(180deg, var(--heat-bright), var(--heat-deep)); color: #2a0e00;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 16px -8px rgba(255,122,24,0.5);
}
.cta-card.start .go {
  background: transparent; color: var(--radar); border: 1px solid var(--radar);
}

@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ════════ FOOTER ════════ */
.ya-footer {
  border-top: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
}
.ya-footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ya-footer .footer-links {
  display: flex; gap: 24px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ya-footer .footer-links a { color: var(--ink-400); }
.ya-footer .footer-links a:hover { color: var(--cyan); text-decoration: none; }
.ya-footer .footer-tagline {
  color: var(--ink-500); font-size: 12px;
}

/* ════════ AUTH PAGE ════════ */
.auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-2);
}
.auth-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 12px 0; text-align: center;
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
  color: var(--ink-400); cursor: pointer;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 120ms;
}
.auth-tab:hover { color: var(--ink-200); }
.auth-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field { display: flex; flex-direction: column; gap: 4px; }
.auth-error {
  color: var(--bad); font-size: 12px;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(255,77,94,0.08); border: 1px solid rgba(255,77,94,0.25);
}
.auth-success {
  color: var(--ok); font-size: 12px;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(63,217,122,0.08); border: 1px solid rgba(63,217,122,0.25);
}
.auth-warn {
  color: var(--warn); font-size: 12px;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(245,179,71,0.08); border: 1px solid rgba(245,179,71,0.25);
}

/* ════════ DASHBOARD ════════ */
.dash-sidebar {
  width: 220px;
  background: var(--bg-surface);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 100vh; flex: none;
}
.dash-sidebar .logo-area {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.dash-sidebar nav {
  flex: 1; padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.dash-sidebar .sidebar-link {
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  color: var(--ink-300); text-decoration: none;
  transition: background 120ms, color 120ms;
}
.dash-sidebar .sidebar-link:hover { background: var(--bg-elevated); color: var(--ink-100); text-decoration: none; }
.dash-sidebar .sidebar-link.active { background: rgba(0,212,255,0.08); color: var(--cyan); }
.dash-sidebar .sidebar-foot {
  padding: 12px; border-top: 1px solid var(--line);
}

.dash-topbar {
  background: rgba(5,7,11,0.5);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.dash-topbar .agent-id {
  font-family: var(--f-mono); font-size: 13px; color: var(--ink-100); font-weight: 500;
}

.dash-content {
  flex: 1; overflow-y: auto; padding: 32px; max-width: 800px;
}
.dash-section { display: flex; flex-direction: column; gap: 20px; }
.dash-section h2 {
  font-family: var(--f-display); font-size: 24px; font-weight: 600;
  color: var(--ink-100); letter-spacing: -0.015em; margin: 0;
}

.dash-panel {
  background: var(--bg-surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
}
.dash-panel .panel-label {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: 4px;
}
.dash-panel .panel-value {
  font-family: var(--f-ui); font-size: 14px; color: var(--ink-100);
}
.dash-panel .mono-value {
  font-family: var(--f-mono); font-size: 13px; color: var(--ink-200);
  padding: 10px 14px; background: var(--bg-sunken);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}

.dl-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.dl-grid dt {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400);
}
.dl-grid dd { margin: 0; color: var(--ink-100); font-size: 14px; }
.dl-grid dd.mono { font-family: var(--f-mono); font-size: 12px; }

/* ════════ DIRECTORY GRID ════════ */
.dir-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.dir-search {
  display: flex; gap: 12px; margin-bottom: 32px;
}
.dir-search .search-field {
  flex: 1; position: relative;
}
.dir-search .search-field svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink-400);
}
.dir-search .search-field input {
  width: 100%; height: 42px; padding: 0 14px 0 42px;
  background: var(--bg-sunken); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); color: var(--ink-100);
  font-family: var(--f-ui); font-size: 14px; outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.dir-search .search-field input::placeholder { color: var(--ink-400); }
.dir-search .search-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

/* ════════ WIZARD ════════ */
.wizard-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 40px;
}
.wizard-step-ind {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 14px; font-weight: 700;
  flex: none;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.wizard-step-ind.pending {
  background: var(--bg-elevated); color: var(--ink-400);
  border: 1px solid var(--line-strong);
}
.wizard-step-ind.active {
  background: rgba(0,212,255,0.15); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.4);
  box-shadow: 0 0 12px rgba(0,212,255,0.3);
}
.wizard-step-ind.done {
  background: rgba(63,217,122,0.15); color: var(--ok);
  border: 1px solid rgba(63,217,122,0.4);
}
.wizard-line {
  flex: 1; height: 1px;
  background: var(--line-strong);
}

.wizard-section { display: flex; flex-direction: column; gap: 20px; }

/* ════════ MODAL ════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,7,11,0.75);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 520px; width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-2);
}
.modal-card h3 {
  font-family: var(--f-display); font-size: 20px; font-weight: 600;
  color: var(--ink-100); margin: 0;
}
.modal-close {
  background: none; border: none; color: var(--ink-400);
  cursor: pointer; font-size: 20px; padding: 4px;
}
.modal-close:hover { color: var(--ink-100); }

/* ════════ CODE BLOCKS ════════ */
.code-block {
  background: var(--bg-sunken); border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden;
}
.code-block pre {
  margin: 0; padding: 14px 16px;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.55;
  color: var(--radar); overflow-x: auto;
}

/* ════════ STAR RATING ════════ */
.star-filled { color: var(--heat-bright); }
.star-empty  { color: var(--ink-500); }

/* ════════ TOAST ════════ */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: 12px;
  z-index: 1000;
  animation: slideUp 0.3s ease-out;
  border: 1px solid;
}
.toast-success {
  background: rgba(63,217,122,0.1); color: var(--ok);
  border-color: rgba(63,217,122,0.35);
}
.toast-error {
  background: rgba(255,77,94,0.1); color: var(--bad);
  border-color: rgba(255,77,94,0.35);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(1rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════ SPINNER ════════ */
.spinner {
  border: 3px solid var(--line-strong);
  border-top-color: var(--cyan);
  border-radius: 50%;
  width: 1.25rem; height: 1.25rem;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════ PAGINATION ════════ */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.pagination .page-btn {
  height: 34px; padding: 0 14px;
  background: var(--bg-surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); color: var(--ink-200);
  font-family: var(--f-ui); font-size: 13px;
  cursor: pointer; transition: border-color 120ms;
}
.pagination .page-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.pagination .page-btn:disabled { opacity: 0.4; pointer-events: none; }
.pagination .page-info {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-400);
}

/* ════════ PRICING ════════ */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 720px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.2), 0 0 40px -10px rgba(0,212,255,0.2);
}
.pricing-card .price {
  font-family: var(--f-display); font-size: 36px; font-weight: 700;
  color: var(--ink-100); margin: 12px 0 20px;
}
.pricing-card .price .period {
  font-size: 14px; color: var(--ink-400); font-weight: 400;
}
.pricing-card .features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-card .features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--ink-300);
}
.pricing-card .features li .check {
  color: var(--ok); flex: none; margin-top: 2px;
}
.pricing-card.featured .features li .check { color: var(--cyan); }
.pricing-card .recommended {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(0,212,255,0.12); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.3);
  display: inline-block; margin-bottom: 8px;
}

/* ════════ HOW IT WORKS ════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step-card {
  text-align: center; padding: 24px;
}
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.25);
  color: var(--cyan);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-family: var(--f-display); font-size: 18px; font-weight: 600;
  color: var(--ink-100); margin: 0 0 8px;
}
.step-card p {
  color: var(--ink-300); font-size: 13px; margin: 0;
}

/* ════════ SECTION HEADINGS ════════ */
.section-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--f-display); font-size: 28px; font-weight: 600;
  color: var(--ink-100); letter-spacing: -0.02em; margin: 0 0 8px;
}
.section-sub {
  color: var(--ink-300); font-size: 15px; margin: 0;
}

/* ════════ LIVE ACTIVITY FEED ════════ */
.live-activity {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px 16px;
  position: relative;
  overflow: hidden;
}
.live-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.live-activity-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
}
.live-label .ldot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: livePulse 1.8s ease-in-out infinite;
}
.activity-item {
  min-height: 72px;
  animation: activityFadeIn 0.3s ease-out;
}
.activity-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.activity-flag { font-size: 16px; line-height: 1; }
.activity-agent {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-100); font-weight: 500;
}
.activity-ip {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-500); margin-left: auto;
}
.activity-query {
  font-style: italic; color: var(--ink-200);
  font-size: 14px; margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.activity-result {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-300);
}
.activity-slug { color: var(--cyan); }
.activity-ms { color: var(--ink-400); }
.activity-empty {
  color: var(--ink-500); font-style: italic;
  text-align: center; padding: 20px;
  font-family: var(--f-mono); font-size: 12px;
}
.activity-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-deep));
  animation: progressFill 4s linear infinite;
}
@keyframes progressFill {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes activityFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════ UTILITY ════════ */
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

@media (max-width: 768px) {
  .topbar-inner { padding: 12px 16px; }
  .topbar-nav { display: none; }
  .shell { padding: 32px 16px 80px; }
  .stats-strip { gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .dir-search { flex-direction: column; }
  .dl-grid { grid-template-columns: 1fr; }
}
