@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #06080d;
  --panel: #0b0e16;
  --surface: #10141e;
  --border: #1a1f2e;
  --border-hi: #252b3d;
  --text: #c8cdd8;
  --text-bright: #edf0f5;
  --muted: #4a5068;
  --accent: #3b82f6;
  --success: #34d399;
  --error: #f87171;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { min-height: 100vh; background: var(--bg); color: var(--text); font-family: 'Outfit', -apple-system, sans-serif; line-height: 1.5; overflow: hidden; }

/* Layout */
.app { display: grid; grid-template-columns: 320px 1fr; height: 100vh; }
.app.cinematic .sidebar { display: none; }
.app.cinematic { grid-template-columns: 1fr; }

/* Sidebar */
.sidebar { background: var(--panel); border-right: 1px solid var(--border); overflow-y: auto; display: flex; flex-direction: column; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }
.sb-header { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.sb-header h1 { font-size: 16px; font-weight: 600; color: var(--text-bright); letter-spacing: -0.02em; margin-bottom: 2px; }
.sb-header p { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.sb-section { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.sb-section:last-child { border-bottom: none; }
.sb-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }

/* Inputs */
.input-row { display: flex; gap: 6px; margin-bottom: 8px; }
.input-row:last-child { margin-bottom: 0; }
input[type="text"], input[type="number"] { flex: 1; background: var(--surface); border: 1px solid var(--border); color: var(--text-bright); padding: 7px 10px; border-radius: var(--radius); font-family: 'JetBrains Mono', monospace; font-size: 12px; outline: none; transition: border-color .15s; }
input:focus { border-color: var(--accent); }
input[type="number"] { width: 60px; flex: none; text-align: center; }

/* Buttons */
.btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 7px 14px; border-radius: var(--radius); cursor: pointer; font-size: 12px; font-family: 'Outfit', sans-serif; font-weight: 500; transition: all .15s; white-space: nowrap; }
.btn:hover { border-color: var(--border-hi); background: var(--border); }
.btn.active { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,.08); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #2563eb; }
.btn-row { display: flex; gap: 4px; flex-wrap: wrap; }
.btn-sm { padding: 4px 10px; font-size: 11px; }

/* Checkboxes */
.check-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.check-row input[type="checkbox"] { accent-color: var(--accent); width: 14px; height: 14px; }
.check-row label { font-size: 12px; color: var(--text); cursor: pointer; }
.consent-group { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* Colors */
.color-row { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.color-row label { font-size: 11px; color: var(--muted); min-width: 54px; }
.tz-label { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--muted); padding: 4px 2px 4px 0; white-space: nowrap; }
.color-row input[type="color"] { width: 32px; height: 24px; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; background: transparent; padding: 0; }
.presets { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.preset { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: all .15s; }
.preset:hover { transform: scale(1.15); }
.preset.active { border-color: var(--text-bright); }

/* Status */
.status-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status-dot.idle { background: var(--muted); }
.status-dot.fetching { background: var(--accent); animation: pulse .8s infinite; }
.status-dot.valid { background: var(--success); }
.status-dot.invalid, .status-dot.error { background: var(--error); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes glowDrift { 0%,100% { transform: translate(-50%, -50%); } 50% { transform: translate(-48%, -52%); } }
@keyframes badgePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.status-text { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--muted); }
.hash-display { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--muted); word-break: break-all; line-height: 1.6; padding: 8px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); margin-top: 8px; max-height: 60px; overflow: hidden; }

/* Server-set info rows */
.server-tag { font-size: 8px; color: var(--muted); background: var(--surface); padding: 1px 5px; border-radius: 3px; margin-left: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.server-info-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 11px; }
.server-info-row .dk { color: var(--muted); font-size: 10px; }
.server-info-row .dv { color: var(--text-bright); font-family: 'JetBrains Mono', monospace; font-size: 11px; }

/* Premium gating */
.premium-gate.locked { opacity: 0.35; pointer-events: none; user-select: none; position: relative; }
.premium-gate.locked::after { content: 'PRO'; position: absolute; top: 6px; right: 10px; font-size: 8px; font-weight: 600; font-family: 'JetBrains Mono', monospace; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 1px 6px; border-radius: 3px; letter-spacing: 1px; }

/* Decoded */
.decoded-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 6px; }
.decoded-item { font-size: 11px; }
.decoded-item .dk { color: var(--muted); font-size: 10px; }
.decoded-item .dv { color: var(--text-bright); font-family: 'JetBrains Mono', monospace; font-size: 11px; }

/* Info toggle */
.info-toggle { font-size: 11px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 6px; user-select: none; }
.info-toggle:hover { color: var(--text); }
.info-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.info-toggle.open svg { transform: rotate(90deg); }
.info-body { display: none; margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.info-body.open { display: block; }
.info-body code { background: var(--surface); padding: 1px 4px; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text); }
.info-body p { margin-bottom: 6px; }

/* Canvas area */
.viz { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg); }
.viz canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.viz-controls { position: absolute; top: 12px; right: 12px; z-index: 10; display: flex; flex-direction: column; gap: 4px; }
.btn-viz { background: rgba(10,14,20,.7); border: 1px solid var(--border); color: var(--muted); width: 32px; height: 32px; border-radius: 6px; cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.btn-viz:hover { border-color: var(--border-hi); color: var(--text-bright); }
.btn-viz svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Overlays */
.dt-overlay { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; pointer-events: none; font-family: 'JetBrains Mono', monospace; opacity: 0; transition: opacity .4s; }
.dt-overlay.show { opacity: 1; }
.dt-block { text-align: center; }
.dt-block .dt-val { font-size: 28px; font-weight: 300; letter-spacing: 0.04em; line-height: 1; }
.dt-block .dt-label { font-size: 8px; text-transform: uppercase; letter-spacing: 0.12em; opacity: .4; margin-top: 2px; }
.dt-sep { font-size: 22px; font-weight: 300; opacity: .2; margin-top: -8px; }
.name-overlay { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0; transition: opacity .4s; pointer-events: none; }
.name-overlay.show { opacity: 1; }
.name-tag { display: flex; align-items: center; gap: 8px; }
.name-tag .pill { font-size: 8px; padding: 2px 6px; border-radius: 3px; letter-spacing: 0.1em; font-weight: 600; }
.pill.valid { background: rgba(52,211,153,.12); color: var(--success); }
.pill.invalid { background: rgba(248,113,113,.12); color: var(--error); }

/* Cinematic fullscreen — auto-hide controls */
.app.cinematic .viz .viz-controls,
.app.cinematic .viz .btn-sidebar-toggle,
.app.cinematic .viz .dt-overlay,
.app.cinematic .viz .name-overlay { transition: opacity .4s !important; }
.app.cinematic.controls-hidden .viz .viz-controls,
.app.cinematic.controls-hidden .viz .btn-sidebar-toggle,
.app.cinematic.controls-hidden .viz .dt-overlay,
.app.cinematic.controls-hidden .viz .name-overlay { opacity: 0 !important; pointer-events: none !important; }
.app.cinematic .viz { background: transparent; }
.app.cinematic:fullscreen { background: transparent; }
.app.cinematic:-webkit-full-screen { background: transparent; }

/* Style switcher */
.style-row { display: flex; gap: 4px; flex-wrap: wrap; }
.style-row .btn-sm.sel, #fontRow .btn-sm.sel { border-color: var(--success); color: var(--success); background: rgba(52,211,153,.08); }

/* Custom renderer panel */
.cust-group { border-bottom: 1px solid var(--border); padding: 6px 0; }
.cust-group:last-child { border-bottom: none; }
.cust-toggle { font-size: 11px; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 6px; user-select: none; padding: 2px 0; }
.cust-toggle:hover { color: var(--text); }
.cust-toggle svg { width: 10px; height: 10px; transition: transform .2s; flex-shrink: 0; }
.cust-toggle.open svg { transform: rotate(90deg); }
.cust-body { display: none; padding: 6px 0 2px; }
.cust-body.open { display: block; }
.cust-slider-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 11px; color: var(--text); }
.cust-slider-row > span:first-child { min-width: 90px; color: var(--muted); font-size: 10px; }
.cust-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; background: var(--border); border-radius: 2px; outline: none; }
.cust-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); cursor: pointer; }
.cust-slider::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); cursor: pointer; border: none; }
.cust-val { min-width: 42px; text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); }
.cust-spin-row { display: flex; align-items: center; gap: 6px; margin: 2px 0 6px 22px; font-size: 10px; color: var(--muted); }
.cust-spin-row > span:first-child { min-width: 34px; }
.cust-spin-row .cust-slider { flex: 1; }
#pgCustom .btn-row .btn-sm.sel { border-color: var(--success); color: var(--success); background: rgba(52,211,153,.08); }
.cust-desc { font-size: 9px; color: var(--muted); margin-left: 4px; font-style: italic; }

/* =========================================================
   BCV NAV BAR
   ========================================================= */
.bcv-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 48px; background: rgba(6,8,13,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.bcv-nav-brand { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: 0.08em; }
.bcv-nav-links { display: flex; gap: 4px; }
.bcv-nav-link { font-size: 12px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: var(--radius); transition: all .15s; }
.bcv-nav-link:hover { color: var(--text-bright); background: var(--surface); }
.bcv-nav-link.active { color: var(--accent); background: rgba(59,130,246,.08); }
.bcv-nav-toggle { display: none; background: none; border: none; color: var(--muted); cursor: pointer; width: 32px; height: 32px; padding: 4px; }
.bcv-nav-toggle svg { width: 20px; height: 20px; }
.bcv-nav-toggle:hover { color: var(--text-bright); }

/* BCV app layout offset for nav */
.bcv-nav + .app { padding-top: 48px; height: 100vh; }
.bcv-nav + .app .sidebar { height: calc(100vh - 48px); }
.bcv-nav + .app .viz { height: calc(100vh - 48px); }

/* =========================================================
   DASHBOARD MOBILE — sidebar toggle overlay
   ========================================================= */
.btn-sidebar-toggle { display: none; }
.btn-sidebar-close { display: none; }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app .sidebar { display: none; position: fixed; top: 48px; left: 0; right: 0; bottom: 0; z-index: 50; width: 100%; height: auto; border-right: none; }
  .app .viz { height: calc(100vh - 48px); }
  .app.sidebar-open .sidebar { display: flex; }
  .app.sidebar-open .viz { pointer-events: none; }

  /* Toggle button — visible on mobile */
  .btn-sidebar-toggle { display: grid; place-items: center; position: absolute; top: 12px; left: 12px; z-index: 10; background: rgba(10,14,20,.7); border: 1px solid var(--border); color: var(--muted); width: 32px; height: 32px; border-radius: 6px; cursor: pointer; transition: all .15s; }
  .btn-sidebar-toggle:hover { border-color: var(--border-hi); color: var(--text-bright); }
  .btn-sidebar-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .app.sidebar-open .btn-sidebar-toggle { color: var(--accent); border-color: var(--accent); }

  /* Close button inside sidebar */
  .btn-sidebar-close { display: block; background: none; border: 1px solid var(--border); color: var(--muted); font-size: 20px; line-height: 1; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; transition: all .15s; flex-shrink: 0; }
  .btn-sidebar-close:hover { color: var(--text-bright); border-color: var(--border-hi); }

  /* Smaller overlays on mobile */
  .dt-overlay { gap: 6px; bottom: 10px; }
  .dt-block .dt-val { font-size: 20px; }
  .dt-block .dt-label { font-size: 7px; }
  .dt-sep { font-size: 16px; }
  .name-overlay { font-size: 10px; top: 12px; }
}

/* =========================================================
   LANDING PAGE
   ========================================================= */
.landing-body { overflow: auto; }
.landing-body .bcv-nav { position: sticky; top: 0; }

.landing { max-width: 960px; margin: 0 auto; padding: 48px 24px 64px; }

/* Hero */
.hero { text-align: center; padding: 80px 0 64px; position: relative; }
.hero-glow { position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(59,130,246,.15) 0%, rgba(52,211,153,.04) 50%, transparent 70%); pointer-events: none; animation: glowDrift 8s ease-in-out infinite; }
.hero-title { font-size: 48px; font-weight: 700; color: var(--text-bright); letter-spacing: -0.03em; margin-bottom: 12px; position: relative; }
.hero-tagline { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto 32px; line-height: 1.6; position: relative; }
.hero-actions { display: flex; gap: 12px; justify-content: center; position: relative; }
.btn-lg { padding: 12px 28px; font-size: 14px; font-weight: 600; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.hero-eyebrow { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; position: relative; }
.hero-partner-link { font-size: 13px; color: var(--muted); margin-top: 16px; position: relative; }
.hero-partner-link a { color: var(--success); text-decoration: none; transition: color .15s; }
.hero-partner-link a:hover { color: var(--text-bright); text-decoration: underline; }

/* Problem / Solution */
.problem-solution { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; margin-bottom: 64px; align-items: stretch; }
.ps-block { background: var(--panel); border-radius: 14px; padding: 40px 32px; position: relative; overflow: hidden; }
.ps-block::before { content: ''; position: absolute; top: 50%; left: 50%; width: 400px; height: 400px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.problem-block { border: 1px solid rgba(248,113,113,.25); }
.problem-block::before { background: radial-gradient(circle, rgba(248,113,113,.07) 0%, transparent 70%); }
.solution-block { border: 1px solid rgba(52,211,153,.25); }
.solution-block::before { background: radial-gradient(circle, rgba(52,211,153,.07) 0%, transparent 70%); }
.ps-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'JetBrains Mono', monospace; margin-bottom: 16px; position: relative; }
.ps-badge--problem { background: rgba(248,113,113,.1); color: var(--error); border: 1px solid rgba(248,113,113,.2); }
.ps-badge--solution { background: rgba(52,211,153,.1); color: var(--success); border: 1px solid rgba(52,211,153,.2); }
.ps-heading { font-size: 22px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.02em; position: relative; }
.problem-block .ps-heading { color: var(--text-bright); }
.solution-block .ps-heading { color: var(--text-bright); }
.ps-list { list-style: none; padding: 0; margin: 0; position: relative; }
.ps-list li { font-size: 15px; color: var(--text); line-height: 1.7; padding-left: 24px; position: relative; margin-bottom: 12px; }
.ps-list li:last-child { margin-bottom: 0; }
.ps-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; }
.problem-block .ps-list li::before { background: var(--error); box-shadow: 0 0 8px rgba(248,113,113,.4); }
.solution-block .ps-list li::before { background: var(--success); box-shadow: 0 0 8px rgba(52,211,153,.4); }
.ps-divider { display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.ps-divider svg { width: 28px; height: 28px; color: var(--border-hi); opacity: .6; }

@media (max-width: 700px) {
  .problem-solution { grid-template-columns: 1fr; gap: 16px; }
  .ps-divider { padding: 0; }
  .ps-divider svg { transform: rotate(90deg); }
  .hero-title { font-size: 32px; }
}

/* Pricing */
.section-title { font-size: 24px; font-weight: 700; color: var(--text-bright); text-align: center; margin-bottom: 32px; letter-spacing: -0.02em; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; margin: 0 auto; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 32px 28px; position: relative; }
.price-card.featured { border-color: var(--accent); }
.price-badge { position: absolute; top: -10px; right: 16px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.price-tier { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 700; color: var(--text-bright); margin-bottom: 20px; line-height: 1; }
.price-currency { font-size: 22px; font-weight: 400; color: var(--muted); vertical-align: top; }
.price-period { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li { font-size: 13px; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); }
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '\2713'; margin-right: 8px; color: var(--success); font-weight: 600; }

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

/* Footer */
.landing-footer { border-top: 1px solid var(--border); padding: 48px 24px 32px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }
.footer-brand { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 8px; }
.footer-tagline { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.footer-copy { font-size: 11px; color: var(--muted); }
.footer-col h4 { font-size: 11px; font-weight: 600; color: var(--text-bright); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; transition: color .15s; }
.footer-links a:hover { color: var(--text-bright); }
.footer-cta-text { font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.footer-cta-text a { color: var(--success); text-decoration: none; }
.footer-cta-text a:hover { text-decoration: underline; }

/* =========================================================
   CUSTOMIZABLE SECTION
   ========================================================= */
.customizable { margin-bottom: 0; }
.customizable .section-title { font-size: 36px; margin-bottom: -80px; padding-top: 40px; position: relative; z-index: 1; }
.customizable-video-wrap {
  position: relative;
  width: 170%;
  margin-left: -35%;
  aspect-ratio: 16 / 9;
}
.customizable-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 700px) {
  .customizable-video-wrap { width: 100%; margin-left: 0; }
  .customizable .section-title { font-size: 22px; margin-bottom: -48px; padding-top: 20px; }
}
@media (max-width: 400px) {
  .customizable .section-title { font-size: 18px; margin-bottom: -36px; padding-top: 12px; }
}
.customizable-video--next { opacity: 0; }

/* =========================================================
   VIDEO SHOWCASE SECTION
   ========================================================= */
.showcase { margin-bottom: 64px; }

.showcase-subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: -16px auto 40px;
  line-height: 1.6;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.showcase-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.showcase-item:hover { border-color: var(--border-hi); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.showcase-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-info { padding: 24px; }

.showcase-tier { margin-bottom: 12px; }

.showcase-tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
}
.showcase-tier-badge.tier-max {
  background: rgba(52, 211, 153, .12);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, .25);
}
.showcase-tier-badge.tier-strong {
  background: rgba(59, 130, 246, .12);
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, .25);
}

.showcase-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.showcase-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.showcase-points { list-style: none; padding: 0; margin: 0; }
.showcase-points li {
  font-size: 12px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.showcase-points li:last-child { border-bottom: none; }
.showcase-points li::before {
  content: '\2713';
  margin-right: 8px;
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 700px) {
  .showcase-item { grid-template-columns: 1fr; }
  .showcase-name { font-size: 16px; }
  .showcase-info { padding: 20px; }
}

@media (max-width: 600px) {
  .showcase-subtitle { font-size: 13px; margin-bottom: 28px; }
  .showcase-info { padding: 16px; }
}

/* =========================================================
   VIEWER TRUST SECTION
   ========================================================= */
.trust-section { margin-bottom: 64px; }

.trust-subtitle {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: -16px auto 40px;
  line-height: 1.6;
}

.trust-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.trust-img-wrap {
  position: relative;
  overflow: hidden;
}
.trust-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--panel));
  pointer-events: none;
}
.trust-img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
}

.trust-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 28px 24px;
}

.trust-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, .1);
  border: 1px solid rgba(59, 130, 246, .25);
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.trust-step-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  padding-top: 4px;
}

@media (max-width: 700px) {
  .trust-steps {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .trust-subtitle { font-size: 13px; margin-bottom: 28px; }
  .trust-steps { padding: 20px 16px; }
}

/* =========================================================
   ABOUT / CONTENT PAGES
   ========================================================= */
.about-section { margin-bottom: 48px; }
.about-section h2 { font-size: 22px; font-weight: 700; color: var(--text-bright); margin-bottom: 16px; letter-spacing: -0.02em; }
.about-section h3 { font-size: 16px; font-weight: 600; color: var(--text-bright); margin-bottom: 8px; }
.about-section p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.about-section ul { list-style: none; padding: 0; }
.about-section li { font-size: 14px; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); line-height: 1.6; }
.about-section li:last-child { border-bottom: none; }
.about-section li::before { content: '\2713'; margin-right: 10px; color: var(--accent); font-weight: 600; }
.about-callout { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin: 20px 0; }
.about-callout h3 { font-size: 15px; color: var(--text-bright); margin-bottom: 8px; }
.about-callout p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.about-callout--accent { border-left: 3px solid var(--accent); }

/* Use-case grid */
.use-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 600px) { .use-cases { grid-template-columns: 1fr; } }

/* =========================================================
   PARTNER BANNER (index page)
   ========================================================= */
.partner-banner { margin-bottom: 48px; }
.partner-banner-inner {
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.partner-banner-inner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
  pointer-events: none;
}
.partner-banner-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(52,211,153,.12);
  color: var(--success);
  border: 1px solid rgba(52,211,153,.25);
  margin-bottom: 16px;
}
.partner-banner-title {
  font-size: 24px; font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}
.partner-banner-desc {
  font-size: 14px; color: var(--muted);
  max-width: 540px; margin: 0 auto 12px;
  line-height: 1.6; position: relative;
}
.partner-banner-value {
  font-size: 13px; color: var(--success);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 24px; position: relative;
}
@media (max-width: 600px) {
  .partner-banner-inner { padding: 28px 20px; }
  .partner-banner-title { font-size: 20px; }
  .partner-banner-desc { font-size: 13px; }
}

/* =========================================================
   HOW IT WORKS STEPS (about page)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--border-hi);
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

/* Who it's for grid */
.use-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.use-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color .2s, transform .2s;
}
.use-item:hover { transform: translateY(-2px); border-color: var(--border-hi); }
.use-item strong {
  font-size: 15px;
  color: var(--text-bright);
  display: block;
  margin-bottom: 3px;
}
.use-item span {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps::before { display: none; }
  .step { text-align: left; display: flex; gap: 14px; align-items: flex-start; }
  .step-num { margin: 0; flex-shrink: 0; }
  .step p { max-width: none; }
  .use-list { grid-template-columns: 1fr; }
}

/* =========================================================
   PARTNERS PAGE
   ========================================================= */
.partner-page-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(52, 211, 153, .12);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, .25);
  margin-bottom: 16px;
  position: relative;
  animation: badgePulse 2.5s ease-in-out infinite;
}
.partner-page-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse .8s infinite;
}
.partner-benefit-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--success);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.partner-benefit-was {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.partner-benefit-detail {
  font-size: 11px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.partner-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.partner-steps--horizontal {
  flex-direction: row;
  align-items: flex-start;
}
.partner-steps--horizontal .partner-step {
  flex: 1;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.partner-steps--horizontal .partner-step-num { margin-bottom: 12px; }
@media (max-width: 700px) {
  .partner-steps--horizontal { flex-direction: column; }
  .partner-steps--horizontal .partner-step { flex-direction: row; text-align: left; align-items: flex-start; }
  .partner-steps--horizontal .partner-step-num { margin-bottom: 0; }
  .partner-benefit-value { font-size: 24px; }
}
.partner-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.partner-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.partner-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.partner-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.partner-checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.partner-checklist li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.partner-checklist li:last-child { border-bottom: none; }
.partner-checklist li::before {
  content: '\2713';
  margin-right: 10px;
  color: var(--success);
  font-weight: 600;
}
.partner-cta-box {
  margin-top: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: inline-block;
}
.partner-cta-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.partner-cta-hint a { color: var(--accent); text-decoration: none; }
.partner-cta-hint a:hover { text-decoration: underline; }
.partner-response-time {
  font-size: 12px;
  color: var(--success);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .partner-cta-box { padding: 24px 20px; width: 100%; }
  .partner-cta-box .btn-lg { width: 100%; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.contact-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 24px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.contact-card:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.contact-card-icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 12px; }
.contact-card-icon svg { width: 100%; height: 100%; }
.contact-card h3 { font-size: 15px; color: var(--text-bright); margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: var(--accent); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card a.btn { color: var(--text); text-decoration: none; }
.contact-card a.btn:hover { text-decoration: none; }
.contact-card a.btn-primary { color: #fff; }

/* FAQ */
.faq-section { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-size: 14px; font-weight: 600; color: var(--text-bright); margin-bottom: 8px; }
.faq-a { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.faq-a a { color: var(--accent); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* Price card hover */
.price-card { transition: border-color .25s, transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.price-card--partner-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(59,130,246,.08);
}
.price-card--partner-featured .price-features { margin-bottom: 0; }
.price-was { font-size: 14px; color: var(--muted); text-decoration: line-through; display: block; margin-bottom: 4px; }
@media (max-width: 700px) {
  .price-card--partner-featured { grid-template-columns: 1fr; }
}

/* =========================================================
   USERS PAGE
   ========================================================= */
.users-steps { counter-reset: step; }
.users-step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.users-step-num { counter-increment: step; flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.25); border-radius: 50%; color: var(--accent); font-size: 14px; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.users-step h3 { font-size: 15px; font-weight: 600; color: var(--text-bright); margin-bottom: 4px; }
.users-step p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.user-profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.user-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.user-card-name { font-size: 16px; font-weight: 600; color: var(--text-bright); font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.user-card-detail { font-size: 11px; color: var(--muted); margin-bottom: 4px; }

/* =========================================================
   AUTH PAGES (signup, account)
   ========================================================= */
.auth-container { max-width: 480px; margin: 48px auto 0; }
.auth-title { font-size: 24px; font-weight: 700; color: var(--text-bright); margin-bottom: 8px; }
.auth-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; }
.form-optional { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form-hint { font-size: 11px; color: var(--muted); }
.form-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); color: var(--error); padding: 10px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; }
.form-success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.25); color: var(--success); padding: 10px 14px; border-radius: var(--radius); font-size: 13px; font-weight: 500; }

.auth-form input[type="text"],
.auth-form input[type="url"],
.auth-form input[type="email"],
.auth-form input[type="password"] { background: var(--surface); border: 1px solid var(--border); color: var(--text-bright); padding: 10px 14px; border-radius: var(--radius); font-family: 'JetBrains Mono', monospace; font-size: 13px; outline: none; transition: border-color .15s; }
.auth-form input:focus { border-color: var(--accent); }
.auth-form textarea { background: var(--surface); border: 1px solid var(--border); color: var(--text-bright); padding: 10px 14px; border-radius: var(--radius); font-family: 'JetBrains Mono', monospace; font-size: 13px; outline: none; resize: vertical; transition: border-color .15s; }
.auth-form textarea:focus { border-color: var(--accent); }

.input-with-status { display: flex; gap: 8px; align-items: center; }
.input-with-status input { flex: 1; }
.name-status { font-size: 11px; font-weight: 600; min-width: 70px; text-align: center; }
.name-status.checking { color: var(--muted); }
.name-status.available { color: var(--success); }
.name-status.taken { color: var(--error); }
.name-status.error { color: var(--error); }

/* Tier selector */
.tier-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tier-option { cursor: pointer; }
.tier-option input { display: none; }
.tier-card { background: var(--surface); border: 2px solid var(--border); border-radius: 8px; padding: 14px 16px; text-align: center; transition: all .15s; }
.tier-option input:checked + .tier-card { border-color: var(--accent); background: rgba(59,130,246,.06); }
.tier-name { display: block; font-size: 13px; font-weight: 600; color: var(--text-bright); margin-bottom: 2px; }
.tier-price { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

/* Account page */
.account-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.account-field { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; }
.account-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.account-value { font-size: 14px; color: var(--text-bright); font-family: 'JetBrains Mono', monospace; }
.token-value { display: flex; align-items: center; gap: 10px; }
.token-value code { flex: 1; font-size: 13px; word-break: break-all; }

.status-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.5px; }
.status-badge.active { background: rgba(52,211,153,.12); color: var(--success); }
.status-badge.inactive { background: rgba(248,113,113,.12); color: var(--error); }

.account-actions { display: flex; gap: 12px; }
.btn-danger { background: transparent; border: 1px solid rgba(248,113,113,.3); color: var(--error); }
.btn-danger:hover { background: rgba(248,113,113,.08); border-color: var(--error); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */

/* Nav bar — hamburger menu on mobile */
@media (max-width: 600px) {
  .bcv-nav { padding: 0 12px; }
  .bcv-nav-toggle { display: block; }
  .bcv-nav-links { display: none; position: absolute; top: 48px; left: 0; right: 0; background: rgba(6,8,13,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); flex-direction: column; padding: 8px 0; }
  .bcv-nav.nav-open .bcv-nav-links { display: flex; }
  .bcv-nav-link { padding: 10px 24px; font-size: 13px; border-radius: 0; }
  .bcv-nav-link:hover { background: var(--surface); }
}

/* Landing / Auth pages */
@media (max-width: 600px) {
  .landing { padding: 24px 16px 40px; }
  .auth-container { margin: 24px auto 0; padding: 0 4px; }
  .auth-title { font-size: 20px; }
  .auth-subtitle { font-size: 12px; margin-bottom: 20px; }
  .hero { padding: 48px 0 40px; }
  .hero-title { font-size: 28px; }
  .hero-tagline { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 8px; }
  .btn-lg { width: 100%; text-align: center; }
  .hero-actions .btn:not(.btn-primary) { background: transparent; border-color: var(--border-hi); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Tier selector — always single column on mobile */
  .tier-selector { grid-template-columns: 1fr !important; }

  /* Account page */
  .account-actions { flex-direction: column; }
  .account-actions .btn { width: 100%; text-align: center; }
  .account-field { padding: 12px 14px; }
  .account-value { font-size: 13px; }
  .token-value { flex-direction: column; align-items: flex-start; gap: 6px; }
  .token-value code { font-size: 11px; }

  /* Pricing cards */
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px 20px; }
  .price-amount { font-size: 32px; }

  /* Form inputs — larger touch targets */
  .auth-form input[type="text"],
  .auth-form input[type="url"],
  .auth-form input[type="email"],
  .auth-form input[type="password"] { padding: 12px 14px; font-size: 14px; }
  .auth-form textarea { padding: 12px 14px; font-size: 14px; }

  /* Turnstile widget centering */
  .cf-turnstile { display: flex; justify-content: center; }

  /* Verification code input */
  #verifyCode { font-size: 20px !important; letter-spacing: 6px !important; }
}

/* Very small screens */
@media (max-width: 360px) {
  .bcv-nav-link { padding: 6px 6px; font-size: 10px; }
  .auth-container { padding: 0; }
  .landing { padding: 16px 12px 32px; }
  .hero-title { font-size: 24px; }
  .tier-card { padding: 10px 12px; }
}
