/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --bg-card:   #111118;
  --bg-card2:  #16161f;
  --border:    #1e1e2e;
  --border2:   #2a2a3d;
  --text:      #e8e8f0;
  --text-muted:#7c7c9e;
  --text-dim:  #4a4a6a;
  --accent:    #7c3aed;
  --accent2:   #9d5cf0;
  --accent-glow: rgba(124, 58, 237, 0.25);
  --green:     #22c55e;
  --yellow:    #f59e0b;
  --radius:    12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}
.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.header-nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
.header-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.12), transparent);
}
.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Search */
.search-bar {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-bar input::placeholder { color: var(--text-dim); }
.search-bar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Browse Section ────────────────────────────────────────── */
.browse-section { padding: 0 0 80px; }

/* Category filter */
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 4px 0;
}
.cat-btn {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.cat-btn:hover { border-color: var(--border2); color: var(--text); }
.cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Stats bar */
.stats-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
#result-count { font-weight: 600; color: var(--text); }
.stats-divider { color: var(--text-dim); }

/* Agents grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.agents-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Agent card */
.agent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.agent-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
.card-badge.inline {
  position: static;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

.card-icon {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}
.card-body { flex: 1; }
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.card-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.tag {
  padding: 3px 9px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  font-size: 11px;
  color: var(--accent2);
  font-weight: 500;
}
.tag-lg { padding: 4px 12px; font-size: 12px; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.stars { color: var(--yellow); font-size: 11px; letter-spacing: -1px; }
.rating-val { font-weight: 600; }
.rating-count { color: var(--text-muted); }
.card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.price-type {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  padding: 80px 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(124, 58, 237, 0.08), transparent);
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 440px;
  margin: 0 auto 28px;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.logo-sm { font-size: 16px; font-weight: 700; color: var(--text); }
.footer-copy { color: var(--text-dim); }

/* ── Detail page ───────────────────────────────────────────── */
.detail-container { padding: 40px 24px 80px; max-width: 1100px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text-dim); }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.detail-icon { font-size: 52px; line-height: 1; flex-shrink: 0; margin-top: 4px; }
.detail-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.detail-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.detail-tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}
.detail-section { margin-bottom: 32px; }
.detail-section h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.detail-section p { color: var(--text-muted); line-height: 1.75; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li { color: var(--text-muted); font-size: 14px; }

/* Purchase card */
.purchase-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.purchase-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.price-type-lg {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.purchase-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.purchase-card .btn { margin-bottom: 10px; }
.purchase-features {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pf-item { font-size: 13px; color: var(--text-muted); }

.related-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-nav { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .agents-grid { grid-template-columns: 1fr; }
}

/* ── 49ents Logo Styling ───────────────────────────────────── */
.logo-49 {
  color: #fff;
  font-weight: 800;
}
.logo-ents {
  color: var(--accent2);
  font-weight: 800;
}
.logo .logo-49, .logo .logo-ents { font-size: 18px; }
.logo-sm .logo-49, .logo-sm .logo-ents { font-size: 16px; }

/* Hero accent for "Agents" wordplay */
.hero-accent {
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-accent::after {
  content: " (4=A, 9=G)";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-dim);
  -webkit-text-fill-color: var(--text-dim);
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.3px;
  font-style: italic;
}

/* ── Logo hint ─────────────────────────────────────────────── */
.logo-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 7px;
  letter-spacing: 0.3px;
  opacity: 0.7;
  align-self: center;
  position: relative;
  top: 1px;
}

/* ── Hero decode strip ─────────────────────────────────────── */
.hero-decode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  padding: 10px 22px;
  margin-bottom: 28px;
  font-size: 15px;
}
.decode-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 3px;
}
.decode-num {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.decode-letter {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 1px;
}
.decode-sep {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 8px;
}
.decode-word {
  font-size: 22px;
  font-weight: 900;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.decode-arrow {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 8px;
}
.decode-result {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ── Guide page ────────────────────────────────────────────── */
.guide-container { max-width: 860px; padding-top: 60px; padding-bottom: 100px; }

.guide-header { text-align: center; margin-bottom: 72px; }
.guide-badge {
  display: inline-block; padding: 4px 14px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.25);
  border-radius: 999px; font-size: 13px; color: var(--accent2);
  font-weight: 500; margin-bottom: 20px;
}
.guide-header h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
.guide-accent { color: var(--accent2); }
.guide-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

.guide-toc {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: var(--radius); overflow: hidden;
}
.toc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); transition: color 0.15s, background 0.15s;
}
.toc-item:hover { color: var(--text); background: var(--bg-card2); }
.toc-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.toc-divider { width: 1px; height: 40px; background: var(--border); }

/* Steps */
.guide-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; margin-bottom: 72px;
  padding-bottom: 72px; border-bottom: 1px solid var(--border);
}
.step-number {
  font-size: 64px; font-weight: 900; color: var(--border2);
  line-height: 1; letter-spacing: -2px;
  padding-top: 6px;
}
.step-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.step-content h3 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; }
.step-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.step-lead { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }

/* Rec card */
.rec-card {
  background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 24px; margin: 20px 0 24px;
  position: relative;
}
.rec-label {
  position: absolute; top: -1px; left: 20px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 0 0 6px 6px; letter-spacing: 0.3px;
}
.rec-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; margin-top: 8px; }
.rec-price { font-size: 14px; color: var(--accent2); font-weight: 600; margin-bottom: 12px; }
.rec-desc { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 20px; }

/* Alt options */
.alt-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.alt-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
}
.alt-chip {
  display: inline-block; padding: 2px 8px;
  background: rgba(255,255,255,0.05); border-radius: 999px;
  font-size: 11px; color: var(--text-muted); margin-bottom: 8px;
}
.alt-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.alt-price { font-size: 13px; color: var(--accent2); font-weight: 600; margin-bottom: 8px; }
.alt-card p { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Tip boxes */
.tip-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0;
  font-size: 14px; color: var(--text-muted); line-height: 1.65;
}
.tip-box strong { color: var(--text); display: block; margin-bottom: 4px; }
.tip-box--green { border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.05); }
.tip-box--purple { border-color: rgba(124,58,237,0.25); background: rgba(124,58,237,0.07); }
.tip-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* Code blocks */
.code-block {
  position: relative; background: #0d0d16;
  border: 1px solid var(--border2); border-radius: var(--radius-sm);
  margin: 12px 0 20px; overflow: hidden;
}
.code-lang {
  padding: 6px 14px; font-size: 11px; font-weight: 600;
  color: var(--text-dim); background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border); letter-spacing: 0.5px;
  text-transform: uppercase;
}
.code-block pre {
  padding: 16px 18px; font-size: 13px; line-height: 1.7;
  color: #c8c8e8; font-family: 'SF Mono', 'Fira Code', monospace;
  white-space: pre-wrap; word-break: break-word; margin: 0;
}
.copy-btn {
  position: absolute; top: 36px; right: 12px;
  padding: 4px 10px; background: var(--bg-card2);
  border: 1px solid var(--border2); border-radius: 6px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.copy-btn:hover { color: var(--text); border-color: var(--accent); }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 20px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-muted); cursor: pointer; line-height: 1.5;
}
.check-item input[type="checkbox"] { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.check-item code {
  background: rgba(255,255,255,0.06); padding: 1px 6px;
  border-radius: 4px; font-size: 12px; font-family: monospace; color: var(--text);
}
.step-content code {
  background: rgba(255,255,255,0.06); padding: 2px 7px;
  border-radius: 4px; font-size: 12px; font-family: monospace; color: #c8c8e8;
}

/* Inline steps */
.steps-inline { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 20px; }
.step-inline-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
.sii-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(124,58,237,0.2); border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent2); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-inline-item a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; }
.faq-item { padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq-q { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.faq-a { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.faq-a a.link { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.faq-a code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; font-size: 12px; font-family: monospace; color: #c8c8e8; }

/* Guide CTA */
.guide-cta {
  text-align: center; padding: 60px 0 0;
}
.guide-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.guide-cta p { color: var(--text-muted); margin-bottom: 24px; }

@media (max-width: 640px) {
  .guide-step { grid-template-columns: 1fr; }
  .step-number { font-size: 40px; }
  .alt-options { grid-template-columns: 1fr; }
  .guide-toc { flex-direction: column; }
  .toc-divider { width: 100%; height: 1px; }
}

/* ── Submit page ───────────────────────────────────────────── */
.submit-page { padding: 60px 0 100px; }
.submit-container { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .submit-container { grid-template-columns: 1fr; } }

.submit-header { margin-bottom: 32px; }
.submit-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.submit-header p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* Step tabs */
.step-tabs { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.step-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: transparent; border: none;
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  cursor: pointer; font-family: inherit; transition: color 0.15s;
}
.step-tab span {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-card2); border: 1px solid var(--border2);
  color: var(--text-dim); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.step-tab.active { color: var(--text); }
.step-tab.active span { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-tab.done span { background: var(--green); border-color: var(--green); color: #fff; }
.step-tab.done { color: var(--text-muted); }
.step-tab-line { flex: 1; height: 1px; background: var(--border); max-width: 40px; }

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }

/* Form elements */
.form-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 14px; margin-top: 8px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 7px;
}
.label-hint { font-size: 12px; font-weight: 400; color: var(--text-dim); }
.req { color: var(--accent2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: #1a1a2e; }
.form-group input.invalid, .form-group select.invalid { border-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 100px; }
.char-count { text-align: right; font-size: 11px; color: var(--text-dim); margin-top: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }

/* Pricing */
.pricing-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.price-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: var(--bg-card);
  border: 1px solid var(--border2); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.15s;
}
.price-option input[type=radio] { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.price-option.active { border-color: var(--accent); background: rgba(124,58,237,0.06); }
.price-opt-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.price-opt-desc { font-size: 12px; color: var(--text-muted); }
.coming-soon { font-size: 10px; background: var(--border2); color: var(--text-dim); padding: 1px 6px; border-radius: 4px; font-weight: 500; margin-left: 4px; }

.price-input-wrap { position: relative; }
.price-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 600; }
.price-input-wrap input { padding-left: 28px; }

.price-breakdown { margin-top: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.breakdown-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); padding: 3px 0; }
.breakdown-row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; font-weight: 700; color: var(--text); }

/* File drop */
.file-drop {
  position: relative; background: var(--bg-card);
  border: 1.5px dashed var(--border2); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.15s;
  overflow: hidden;
}
.file-drop:hover, .file-drop.drag-over { border-color: var(--accent); }
.file-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop-inner { padding: 32px; text-align: center; pointer-events: none; }
.file-icon { font-size: 28px; margin-bottom: 8px; }
.file-text { font-size: 14px; color: var(--text-muted); }
.file-browse { color: var(--accent2); font-weight: 600; }
.file-hint { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.file-selected { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.file-ok { font-size: 14px; font-weight: 600; }
.file-size { font-size: 12px; color: var(--text-muted); }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-muted); }
.checkbox-label input { margin-top: 3px; accent-color: var(--accent); }
.checkbox-label a.link { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }

.submit-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}

/* Sidebar */
.submit-sidebar { position: sticky; top: 80px; }
.preview-label { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.preview-card { cursor: default; }
.preview-card:hover { transform: none; box-shadow: none; }

.seller-perks { margin-top: 20px; display: flex; flex-direction: column; gap: 0; }
.perk-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.perk-item:last-child { border-bottom: none; }
.perk-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.perk-item strong { font-size: 13px; display: block; margin-bottom: 2px; }
.perk-item p { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Buy Now button on agent detail */
.btn-buy-loading { opacity: 0.7; pointer-events: none; }

/* ── Auth nav ──────────────────────────────────────────────── */
.account-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--text); transition: border-color 0.15s;
}
.account-nav-btn:hover { border-color: var(--accent); }
.nav-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* ── Account page ──────────────────────────────────────────── */
.account-container { max-width: 800px; padding-top: 48px; padding-bottom: 80px; }
.account-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.avatar-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.account-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.account-email { font-size: 13px; color: var(--text-muted); }

.purchases-title {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.purchases-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
}
.purchases-grid { display: flex; flex-direction: column; gap: 12px; }
.purchase-card-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  gap: 16px;
}
.pci-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; }
.pci-icon { font-size: 28px; flex-shrink: 0; }
.pci-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pci-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.pci-key {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
}
.pci-key code {
  background: rgba(255,255,255,0.06); padding: 2px 8px;
  border-radius: 4px; font-family: monospace; font-size: 12px;
  color: var(--accent2); letter-spacing: 0.5px;
}
.copy-key-btn {
  padding: 2px 8px; background: var(--bg-card2);
  border: 1px solid var(--border2); border-radius: 4px;
  font-size: 11px; color: var(--text-muted);
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.copy-key-btn:hover { color: var(--text); border-color: var(--accent); }
.pci-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pci-price { font-size: 15px; font-weight: 700; color: var(--text-muted); margin-right: 4px; }

.empty-purchases {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-purchases h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
