:root {
  --bg-base: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #131d35;
  --bg-terminal: #060911;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(20, 241, 149, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-emerald: #10b981;
  --accent-solana: #14f195;
  --accent-cyan: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  --danger-rose: #f43f5e;
  --accent-danger: #f43f5e;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-glow: 0 0 36px -8px rgba(20, 241, 149, 0.18);
  --shadow-card: 0 12px 32px -8px rgba(2, 6, 23, 0.7);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(20, 241, 149, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 85% 16%, rgba(56, 189, 248, 0.06) 0%, transparent 35%),
    linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

code, pre, .mono {
  font-family: var(--font-mono);
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Status Ticker Bar */
.top-ticker {
  background: #05080f;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0;
}

.top-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  white-space: nowrap;
}

.status-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
}

.ticker-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.status-cluster > span,
.ticker-links a {
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-links a:hover {
  color: var(--accent-solana);
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  height: auto;
  padding-block: 10px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.18), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(20, 241, 149, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-solana);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.brand-domain {
  color: var(--accent-solana);
  font-weight: 600;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.25);
  color: var(--accent-solana);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:hover {
  color: var(--accent-solana);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Never let nav labels or buttons stack word-by-word */
.nav-bar a,
.nav-bar button,
.nav-bar .btn {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav-bar {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .brand-tag {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary,
.btn--primary {
  background: linear-gradient(135deg, var(--accent-solana) 0%, var(--accent-emerald) 100%);
  color: #04130d;
  box-shadow: 0 4px 18px rgba(20, 241, 149, 0.25);
}

.btn-primary:hover,
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(20, 241, 149, 0.38);
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 13px;
}

.btn-secondary:hover {
  border-color: var(--accent-solana);
  color: var(--accent-solana);
  background: rgba(20, 241, 149, 0.06);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 12.5px;
}

/* Hero Section */
.hero-section {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-header {
  max-width: 820px;
  margin-bottom: 36px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-solana);
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--accent-solana) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.pillar-chip .check {
  color: var(--accent-solana);
  font-weight: 700;
}

/* Featured Launch Bot Card */
.featured-launch-card {
  background: linear-gradient(180deg, rgba(19, 29, 53, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  overflow: hidden;
}

.featured-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(6, 9, 17, 0.75);
  border-bottom: 1px solid var(--border-subtle);
}

.featured-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(20, 241, 149, 0.14);
  color: var(--accent-solana);
  border: 1px solid rgba(20, 241, 149, 0.4);
}

.template-id-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 0;
}

.featured-info {
  padding: 28px 30px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.featured-bot-name {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.featured-author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.price-badge-free {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-solana);
  background: rgba(20, 241, 149, 0.12);
  border: 1px solid rgba(20, 241, 149, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-align: right;
}

.price-badge-free span {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.featured-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.capability-list li .cap-bullet {
  color: var(--accent-solana);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-top: 1px;
}

.capability-list code {
  font-size: 12.5px;
  background: rgba(6, 9, 17, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

.featured-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.deep-link-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.deep-link-bar code {
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Interactive Terminal Panel */
.featured-terminal {
  background: var(--bg-terminal);
  display: flex;
  flex-direction: column;
}

.terminal-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a0f1d;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 16px;
}

.terminal-tab-group {
  display: flex;
  gap: 4px;
}

.term-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px 12px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.term-tab:hover {
  color: var(--text-primary);
}

.term-tab.active {
  color: var(--accent-solana);
  border-bottom-color: var(--accent-solana);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
}

.terminal-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.term-pane {
  display: none;
}

.term-pane.active {
  display: block;
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.step-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11.5px;
  color: var(--accent-solana);
  font-weight: 600;
}

.step-box-body {
  color: var(--text-secondary);
  font-size: 12.5px;
  word-break: break-word;
}

.prompt-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #050811;
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 8px 10px;
  border-radius: 5px;
  margin-top: 6px;
  color: var(--accent-cyan);
}

.mini-copy-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.mini-copy-btn:hover {
  background: rgba(56, 189, 248, 0.22);
}

.code-block {
  background: #04070e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-secondary);
  overflow-x: auto;
  font-size: 12px;
}

.code-block .c-comment { color: #64748b; }
.code-block .c-key { color: var(--accent-cyan); }
.code-block .c-str { color: var(--accent-solana); }
.code-block .c-num { color: var(--accent-amber); }

.terminal-footer-bar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Section Headers */
.section-block {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-solana);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 640px;
  margin-top: 6px;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill:hover {
  border-color: rgba(20, 241, 149, 0.4);
  color: var(--text-primary);
}

.filter-pill.active {
  background: rgba(20, 241, 149, 0.13);
  border-color: var(--accent-solana);
  color: var(--accent-solana);
  font-weight: 600;
}

.filter-count {
  font-size: 11px;
  opacity: 0.75;
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(355px, 1fr));
  gap: 22px;
}

.bot-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  min-width: 0;
}

.bot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 241, 149, 0.38);
  box-shadow: var(--shadow-card);
}

.bot-card.live-card {
  border-color: rgba(20, 241, 149, 0.45);
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.04) 0%, var(--bg-surface) 100%);
}

.bot-card.hidden {
  display: none;
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.phase-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phase-badge.live {
  background: rgba(20, 241, 149, 0.14);
  color: var(--accent-solana);
  border: 1px solid rgba(20, 241, 149, 0.4);
}

.phase-badge.phase2 {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.phase-badge.phase3 {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.skill-slug {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  flex: 1 1 160px;
  min-width: 0;
}

.card-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
  max-width: 100%;
}

.card-price.free {
  color: var(--accent-solana);
}

.card-price small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: normal;
}

.card-summary {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.spec-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(6, 9, 17, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 12.8px;
  color: var(--text-secondary);
}

.spec-highlights li {
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.spec-highlights li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-solana);
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.5;
}

.spec-highlights code {
  font-size: 11.5px;
  color: var(--accent-cyan);
  overflow-wrap: anywhere;
}

.guardrail-strip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 8px 10px;
  border-left: 2px solid var(--accent-amber);
  background: rgba(245, 158, 11, 0.05);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.guardrail-strip strong {
  color: var(--accent-amber);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
}

.card-actions .btn,
.card-actions .btn-disabled {
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.card-actions > .btn:first-child:nth-last-child(3) {
  flex: 1 1 100%;
}

/* How CoinLoader Works Architecture Section */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.arch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}

.arch-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-solana);
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.3);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.arch-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.arch-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.arch-code-snippet {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--accent-cyan);
  overflow-x: auto;
}

.license-endpoint-banner {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(19, 29, 53, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.license-endpoint-banner h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.license-endpoint-banner p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* Cold Storage Hardware Section */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.hardware-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hardware-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hw-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 4px;
}

.hardware-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.hardware-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.hw-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.affiliate-disclosure {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(6, 9, 17, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* Modal Drawer for Detailed Bot Specs */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-terminal);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.modal-close-btn:hover {
  border-color: var(--accent-solana);
  color: var(--accent-solana);
}

.modal-body {
  padding: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.modal-body h4 {
  color: var(--text-primary);
  font-size: 15px;
  margin: 16px 0 8px;
  font-family: var(--font-mono);
}

.modal-body ul {
  padding-left: 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-body code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(6, 9, 17, 0.8);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  padding: 48px 0 56px;
  background: #050811;
  font-size: 13.5px;
  color: var(--text-muted);
}

.disclaimer-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-solana);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 13px;
}

.disclaimer-box strong {
  color: var(--text-primary);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.footer-links-list a {
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--accent-solana);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Toast Notification */
.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #06130e;
  border: 1px solid var(--accent-solana);
  color: var(--accent-solana);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 200;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-info {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .hardware-grid {
    grid-template-columns: 1fr;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-solana);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (max-width: 680px) {
  .nav-bar {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .featured-info {
    padding: 20px;
  }
  .terminal-body {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ensure HTML5 [hidden] attribute overrides component display rules */
[hidden] {
  display: none !important;
}

/* Modal Footer & SOL Checkout Modal */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: var(--bg-terminal);
  border-top: 1px solid var(--border-subtle);
  position: sticky;
  bottom: 0;
}

.checkout-modal-panel {
  max-width: 780px;
}

.checkout-modal-body {
  padding: 20px 24px 24px;
}

.saved-license-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.35);
  border-radius: var(--radius-sm);
}

.saved-license-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.saved-license-info strong {
  color: var(--accent-solana);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.saved-license-info span {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.saved-license-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.danger-btn:hover {
  border-color: var(--accent-danger);
  color: var(--accent-danger);
}

.checkout-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: rgba(6, 9, 17, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.checkout-status-bar.error {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
}

.checkout-card-box {
  background: rgba(6, 9, 17, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.checkout-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-solana);
  letter-spacing: 0.04em;
}

.timer-pill {
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}

.timer-pill.expired {
  color: var(--accent-danger);
  border-color: rgba(239, 68, 68, 0.45);
}

.checkout-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.quote-metric {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.quote-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.quote-val-primary {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.quote-val-primary small {
  font-size: 12px;
  color: var(--text-muted);
}

.quote-val-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  overflow-wrap: anywhere;
}

.quote-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkout-field-group {
  margin-bottom: 14px;
}

.checkout-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.lamport-tag-hint {
  color: var(--accent-solana);
}

.checkout-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.checkout-copy-box.highlight {
  border-color: rgba(20, 241, 149, 0.45);
  background: rgba(20, 241, 149, 0.05);
}

.checkout-copy-box code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent-cyan);
  background: transparent;
  padding: 0;
  overflow-wrap: anywhere;
}

.sol-amount-code {
  font-size: 18px !important;
  font-weight: 800;
  color: var(--accent-solana) !important;
}

.sol-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 4px;
}

.lamports-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-left: 6px;
}

.checkout-field-help {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.checkout-wallet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.checkout-optional-details {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.checkout-optional-details summary {
  cursor: pointer;
  user-select: none;
  color: var(--text-secondary);
}

.checkout-optional-details summary:hover {
  color: var(--accent-solana);
}

.optional-wallet-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.checkout-input {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
}

.checkout-input.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.checkout-input:focus {
  outline: none;
  border-color: var(--accent-solana);
}

.tx-verify-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-feedback {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.checkout-feedback.pending {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

.checkout-feedback.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.checkout-feedback.success {
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.45);
  color: var(--accent-solana);
}

.fulfilled-banner {
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.4);
  border-left: 3px solid var(--accent-solana);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.fulfilled-banner-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-solana);
  margin-bottom: 4px;
}

.fulfilled-banner p {
  font-size: 13px;
  color: var(--text-secondary);
}

.fulfilled-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.license-code-text {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--accent-solana) !important;
  word-break: break-all;
}

.fulfilled-receipt-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.receipt-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

.receipt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .checkout-quote-grid {
    grid-template-columns: 1fr;
  }
  .tx-verify-row .btn {
    width: 100%;
  }
}

/* Sample Audit Report & Scope Limit Box in Spec Modal */
.modal-sample-audit {
  background: #060911;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.modal-does-not-catch {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left: 3px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-does-not-catch ul {
  margin-top: 8px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* Catalog group headings (Available Now / Coming Next) */
.catalog-group-title {
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 28px 0 14px;
}

/* Featured live cards + collapsible sample preview */
.bot-card--featured {
  border-color: rgba(16, 185, 129, 0.32);
}

.sample-audit-preview {
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(5, 8, 14, 0.65);
}

.sample-audit-preview summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-solana);
}

.sample-audit-preview summary:hover {
  text-decoration: underline;
}

.sample-audit-preview summary:focus-visible {
  outline: 2px solid var(--accent-solana);
  outline-offset: 2px;
}

.sample-audit-preview .modal-sample-audit {
  margin: 0 12px 12px;
  max-height: 340px;
  overflow: auto;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--accent-solana);
  color: var(--accent-solana);
}

/* Amber CTA */
.btn-amber {
  background: linear-gradient(135deg, var(--accent-amber) 0%, #d97706 100%);
  color: #1a1203;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.25);
}

.btn-amber:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.38);
  filter: brightness(1.05);
}

.card-actions .btn-secondary[href] {
  text-decoration: none;
}

/* Visible FAQ (homepage + product pages) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 18px;
}

.faq-item[open] {
  border-color: var(--border-strong);
  background: var(--bg-surface-elevated);
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  list-style-position: outside;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.faq-item .faq-answer {
  padding: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Standalone product pages (/bots/<sku>.html) */
.breadcrumb-nav {
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.breadcrumb-nav a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.product-hero {
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.product-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}

.product-hero .product-lede {
  max-width: 820px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
}

.price-badge.free {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-section {
  padding: 40px 0 8px;
}

.product-section h2 {
  font-size: 24px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.product-section p,
.product-section li {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.product-section ul {
  padding-left: 22px;
}

.product-section code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.code-pre {
  background: var(--bg-terminal);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre;
  tab-size: 2;
}

.cross-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cross-link-card {
  display: block;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
}

.cross-link-card:hover {
  border-color: var(--accent-cyan);
}

.cross-link-card strong {
  display: block;
  margin-bottom: 4px;
}

.cross-link-card span {
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .cross-link-grid {
    grid-template-columns: 1fr;
  }
}

/* Card on-ramp helper (checkout modal) */
.checkout-card-onramp-details {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-card-onramp-details summary {
  color: var(--accent-cyan);
  font-weight: 600;
}

.checkout-card-onramp-details summary:hover {
  color: var(--text-primary);
}

.checkout-onramp-steps {
  margin: 10px 0 6px;
  padding-left: 20px;
  color: var(--text-secondary);
  display: grid;
  gap: 8px;
}

.checkout-onramp-steps strong {
  color: var(--text-primary);
}

.checkout-onramp-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Header "Products" dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(20, 241, 149, 0.08);
  border: 1px solid rgba(20, 241, 149, 0.3);
  border-radius: 999px;
  color: var(--accent-solana);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  background: rgba(20, 241, 149, 0.16);
  color: var(--text-primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 200;
  min-width: 360px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: none;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

/* invisible bridge so the pointer can cross the gap without closing the menu */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown-label {
  padding: 6px 10px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.nav-dropdown .nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  white-space: normal;
}

.nav-dropdown .nav-dropdown-item:hover,
.nav-dropdown .nav-dropdown-item:focus-visible {
  background: rgba(20, 241, 149, 0.08);
  color: var(--text-primary);
}

.nav-dropdown .nav-dropdown-item[aria-current="page"] {
  background: rgba(20, 241, 149, 0.14);
  box-shadow: inset 2px 0 0 var(--accent-solana);
  color: var(--text-primary);
}

.nav-dropdown-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
}

.nav-dropdown-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.nav-dropdown-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.nav-dropdown-badge-free {
  background: rgba(20, 241, 149, 0.12);
  border-color: rgba(20, 241, 149, 0.35);
  color: var(--accent-solana);
}

.nav-dropdown .nav-dropdown-footer {
  display: block;
  margin-top: 6px;
  padding: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--accent-solana);
}

.nav-dropdown .nav-dropdown-footer:hover {
  color: var(--text-primary);
}

@media (max-width: 680px) {
  /* nav-links stays visible and wraps; the menu opens inline so it is never clipped */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 60vh;
    margin-top: 8px;
  }
  .nav-dropdown-menu::before {
    display: none;
  }
}

/* Value Bundles (multi-bot packs) */
.bundle-savings-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  white-space: nowrap;
}

.bundle-card .card-top-meta {
  flex-wrap: wrap;
  gap: 8px;
}

.bundle-card .spec-highlights a {
  color: var(--accent-solana);
  text-decoration: none;
}

.bundle-card .spec-highlights a:hover {
  text-decoration: underline;
}

.bundle-member-price {
  color: var(--text-muted);
  font-size: 0.85em;
}

/* Fulfilled receipt: per-bot template list for bundles */
.fulfilled-cta-row[hidden],
.checkout-copy-box[hidden],
.fulfilled-bundle-templates[hidden] {
  display: none !important;
}

.fulfilled-bundle-templates {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fulfilled-bundle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-terminal);
}

.fulfilled-bundle-url {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

/* Phase 2A: dual-runtime positioning */
.dual-runtime-pill {
  display: inline-block;
  margin: 14px 0 10px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.dual-runtime-callout {
  margin: 14px 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-emerald);
  border-radius: 8px;
}
.dual-runtime-callout ol { margin: 6px 0 0 20px; padding: 0; }
.dual-runtime-callout code { font-family: var(--font-mono); font-size: 12.5px; }

/* Stripe card / Apple Pay / Google Pay checkout box */
.checkout-stripe-box { margin-bottom: 14px; }
.checkout-stripe-badge {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.checkout-stripe-btn { display: block; width: 100%; margin-top: 8px; text-align: center; }
.checkout-stripe-btn:disabled { opacity: 0.6; cursor: wait; }
.checkout-stripe-btn.checkout-stripe-btn-pending { opacity: 0.85; }
.checkout-stripe-subtext { margin-top: 8px; margin-bottom: 0; }
#checkout-stripe-feedback { margin-top: 10px; }
