/* ============================================================
   MONEY TALK GANG — base styles
   Palette / type carried over from the coming-soon page.
   ============================================================ */

:root {
  --bg: #0a0a09;
  --bg-2: #101010;
  --panel: #141412;
  --panel-2: #1a1a17;
  --line: #24241f;
  --line-2: #32322c;
  --text: #ece6d8;
  --muted: #8a8578;
  --muted-2: #5d5a50;
  /* brand — from the money-mouth emoji: yellow-orange face, bill green, gold */
  --amber: #ffae1f;
  --orange: #f0801c;
  --amber-dim: rgba(255, 174, 31, 0.14);
  --gold: #d9b35a;
  --green: #35a866;        /* bill green, LED */
  --green-deep: #14532d;   /* bill green, fills */
  --green-dim: rgba(53, 168, 102, 0.16);
  --red: #ff5d5d;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

main { position: relative; z-index: 1; flex: 1; }

/* ---------- utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.amber { color: var(--amber); }
.grad {
  background: linear-gradient(120deg, var(--amber) 0%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold { color: var(--gold); }

.led {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px 2px rgba(53, 168, 102, 0.65);
  animation: pulse 2.4s ease-in-out infinite;
  flex: none;
}
.led--amber { background: var(--amber); box-shadow: 0 0 6px 2px rgba(255,174,31,0.6); }
.led--off   { background: var(--muted-2); box-shadow: none; animation: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* section label:  /// PLUGINS /// */
.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.label::before, .label::after { content: "///"; color: var(--muted-2); }
.label--left::after { content: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.btn:hover { border-color: var(--text); transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  border-color: transparent; color: #1a0f00; font-weight: 500;
  box-shadow: 0 8px 24px -10px rgba(240,128,28,.7);
}
.btn--primary:hover { filter: brightness(1.08); border-color: transparent; }
.btn--green { background: var(--green-deep); border-color: rgba(53,168,102,.45); color: #d6f5e2; }
.btn--green:hover { border-color: var(--green); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--sm { padding: 10px 14px; font-size: 11px; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
}
.brand span:last-child { color: var(--muted); }
.brand strong { font-weight: 500; color: var(--text); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav a.is-active { color: var(--amber); }
.nav a.is-active::before { content: "▸ "; }
.nav .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--radius);
}
.nav-toggle span {
  position: relative; width: 16px; height: 1px; background: var(--text);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--text);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 10px; }
  .nav .nav-cta { margin: 10px 0 0; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255,174,31,.10), transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(53,168,102,.08), transparent 70%);
}
.hero__status {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 8px 12px;
  line-height: 1.4;
  border: 1px solid rgba(53,168,102,.35); border-radius: 999px;
  background: var(--green-dim);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #bfe9cf;
}
.hero h1 {
  font-size: clamp(40px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 28px;
  max-width: 54ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero__meta div { background: var(--bg); padding: 18px 20px; }
.hero__meta .mono { color: var(--muted-2); display: block; margin-bottom: 8px; }
.hero__meta strong { font-weight: 500; font-size: 15px; }
@media (max-width: 720px) { .hero__meta { grid-template-columns: 1fr; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px;
}
.section__head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
}
.section__head p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
@media (max-width: 720px) {
  .section__head { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PLUGIN CARDS
   ============================================================ */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.plugin-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.plugin-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.8);
}
.plugin-card__art {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.plugin-card__art img { width: 100%; height: 100%; object-fit: cover; }
.plugin-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,9,.85);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.plugin-card__badge.is-dev   { color: var(--amber); border-color: rgba(255,174,31,.35); }
.plugin-card__badge.is-live  { color: var(--green); border-color: rgba(53,168,102,.45); background: rgba(20,83,45,.7); }
.plugin-card__badge.is-beta  { color: var(--gold); border-color: rgba(217,179,90,.4); }
.plugin-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.plugin-card__cat { color: var(--muted-2); margin-bottom: 10px; }
.plugin-card__name {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.plugin-card__desc { margin-top: 12px; color: var(--muted); font-size: 15px; flex: 1; }
.plugin-card__foot {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.plugin-card__price {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--text);
}
.plugin-card__price s { color: var(--muted-2); margin-right: 8px; }
.plugin-card__price.tba { color: var(--muted-2); }

/* reserved / upcoming slot */
.plugin-card--slot {
  border-style: dashed;
  background: transparent;
  justify-content: center; align-items: center;
  text-align: center;
  min-height: 320px;
  color: var(--muted-2);
}
.plugin-card--slot:hover { transform: none; box-shadow: none; }
.plugin-card--slot .mono { margin-top: 12px; }
.plugin-card--slot .slot-num {
  font-family: var(--font-mono); font-size: 40px; font-weight: 500; color: var(--line-2);
}

/* ---------- CSS-only "plugin UI" art for cards without an image ---------- */
.ui-art {
  position: absolute; inset: 0;
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255,174,31,.14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(53,168,102,.12), transparent 50%),
    var(--bg-2);
}
.ui-art__bar {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2);
}
.ui-art__taps { display: flex; align-items: flex-end; gap: 6px; height: 46%; }
.ui-art__tap {
  flex: 1; position: relative;
  background: linear-gradient(180deg, var(--amber), var(--orange) 70%, rgba(240,128,28,.25));
  border-radius: 2px 2px 0 0;
  opacity: .9;
}
.ui-art__tap::after {
  content: attr(data-int);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9px; color: var(--muted);
}
.ui-art__knobs { display: flex; gap: 14px; }
.ui-art__knob {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  position: relative;
}
.ui-art__knob::after {
  content: ""; position: absolute; left: 50%; top: 3px; width: 1px; height: 8px;
  background: var(--text); transform-origin: 50% 10px; transform: translateX(-50%) rotate(var(--rot, 0deg));
}

/* ============================================================
   FEATURED PLUGIN (home)
   ============================================================ */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.featured__art { position: relative; background: var(--bg-2); min-height: 380px; }
.featured__art .ui-art { padding: 32px; }
.featured__art .ui-art__bar { font-size: 11px; }
.featured__art .ui-art__taps { height: 44%; gap: 10px; }
.featured__art .ui-art__knob { width: 38px; height: 38px; }
.featured__art .ui-art__knob::after { top: 5px; height: 11px; transform-origin: 50% 14px; }
.featured__body { background: var(--panel); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.featured__body h3 {
  margin-top: 14px;
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1;
}
.featured__body .lead { margin-top: 18px; font-size: 17px; color: var(--muted); }
.featured__specs {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
  list-style: none;
}
.featured__specs li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.featured__specs li::before { content: "—"; color: var(--amber); flex: none; }
.featured__actions { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured__art { min-height: 260px; }
}
@media (max-width: 480px) {
  .featured__specs { grid-template-columns: 1fr; }
  .hero__actions .btn, .featured__actions .btn { width: 100%; justify-content: center; }
  .ui-art__bar span:last-child { display: none; }
}

/* ============================================================
   PRINCIPLES / ABOUT STRIP
   ============================================================ */
.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.principles div { background: var(--bg); padding: 28px 24px; }
.principles .num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: .12em; }
.principles h3 { margin-top: 18px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.principles p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT / NEWSLETTER STRIP
   ============================================================ */
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 0% 0%, var(--green-dim), transparent 55%),
    linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}
.contact h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; }
.contact p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.contact__mail {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em;
  color: var(--amber);
  border-bottom: 1px solid rgba(255,174,31,.35);
  padding-bottom: 2px;
}
.contact__mail:hover { border-bottom-color: var(--amber); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 {
  margin-top: 16px;
  font-size: clamp(40px, 7vw, 84px); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
}
.page-head p { margin-top: 20px; color: var(--muted); max-width: 56ch; font-size: 17px; }

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.filters button {
  padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.filters button:hover { color: var(--text); border-color: var(--line-2); }
.filters button.is-active { color: #1a0f00; background: var(--amber); border-color: var(--amber); }
.filters .count { margin-left: auto; align-self: center; color: var(--muted-2); }

.plugin-card[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer .mono { color: var(--muted-2); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--text); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
