/* AGENT DECK — marketing site. Same guild-hall bloodline as the app itself
   (dark plum + gold ladder + pixel type) so the site and product feel like
   one thing. */

:root {
  --bg-deep: #06060a;
  --bg-surface: #0d0d12;
  --bg-card: #15151d;
  --bg-hover: #1c1c26;
  --border: #262633;
  --border-active: #a07d2e;
  --gold: #f0c453;
  --gold-bright: #ffd76a;
  --gold-dim: #a07d2e;
  --gold-glow: rgba(240, 196, 83, .14);
  --gold-deep: #7d5a1f;
  --green: #34d399;
  --amber: #e0a52e;
  --text: #ececf0;
  --text-dim: #9b9bab;
  --text-muted: #5a5a6c;
  --pixel: 'Press Start 2P', monospace;
  --body: 'Pixelify Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
}

/* ------------------------------------------------------------------- nav */
#nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 2px solid var(--gold-deep);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-surface));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.brand { font-family: var(--pixel); font-size: 13px; text-shadow: 0 2px 0 #000; }
.brand span { color: var(--gold); }
.navlink {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  padding: 7px 14px;
}
.navlink:hover { background: var(--gold-glow); }

/* ------------------------------------------------------------------ hero */
#hero {
  position: relative;
  padding: 110px 24px 90px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -200px 0 auto;
  height: 500px;
  background: radial-gradient(1100px 500px at 50% 0%, var(--gold-glow), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}
h1 {
  font-family: var(--pixel);
  font-size: clamp(22px, 4.4vw, 38px);
  line-height: 1.55;
  text-shadow: 0 3px 0 #000;
}
h1 span { color: var(--gold); }
.sub {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-dim);
}
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  cursor: pointer;
}
.btn:active { border-bottom-width: 1px; transform: translateY(2px); }
.btn.primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-color: var(--gold-deep);
  color: #241a06;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: var(--bg-hover); color: var(--text); }
.btn.ghost:hover { border-color: var(--border-active); color: var(--gold-bright); }

/* --------------------------------------------------------------- section */
section:not(#hero):not(#nav) { padding: 84px 24px; border-top: 1px solid var(--border); }
.section-inner { max-width: 1040px; margin: 0 auto; }
.section-inner.narrow { max-width: 560px; text-align: center; }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
#why h2, #early-access h2 {
  font-family: var(--pixel);
  font-size: clamp(17px, 2.6vw, 24px);
  line-height: 1.6;
  margin-bottom: 20px;
  text-shadow: 0 2px 0 #000;
}
.lead { font-size: 16px; color: var(--text-dim); max-width: 680px; }
.section-inner.narrow .lead { margin: 0 auto; }

/* ------------------------------------------------------------- features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.ficon { font-size: 26px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--text-dim); }

/* ------------------------------------------------------------------ mock */
.mockgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.mcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
.mhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 2px solid var(--gold-deep);
  background: linear-gradient(180deg, var(--bg-hover), var(--bg-card));
}
.mdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 6px currentColor; }
.mdot.working { background: var(--green); color: var(--green); animation: pulse 1.4s infinite; }
.mdot.idle { background: var(--amber); color: var(--amber); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, .16); } }
.mbadge { font-family: var(--pixel); font-size: 7px; padding: 3px 7px 2px; border-radius: 4px; color: #0b0d10; }
.mtitle { font-family: var(--mono); font-size: 11px; color: var(--text-dim); }
.mbody { padding: 12px; min-height: 90px; background: var(--bg-surface); }
.mline { font-family: var(--mono); font-size: 11.5px; color: var(--text); margin-bottom: 5px; }
.mline.dim { color: var(--text-muted); }
.mline.gold { color: var(--gold); }
.mcursor { width: 7px; height: 13px; background: var(--gold); display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { padding: 4px; }
.stepnum { font-family: var(--pixel); font-size: 20px; color: var(--gold-dim); margin-bottom: 10px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ------------------------------------------------------------ early access */
.access-form { margin-top: 28px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.access-form input {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  min-width: 260px;
}
.access-form input:focus { outline: none; border-color: var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-glow); }

/* ---------------------------------------------------------------- footer */
footer { padding: 30px 24px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-inner span:first-child { font-family: var(--pixel); font-size: 10px; color: var(--gold-dim); }

@media (max-width: 640px) {
  section:not(#hero):not(#nav) { padding: 56px 20px; }
  #hero { padding: 80px 20px 60px; }
}
