/* ============================================================
   Quotex Bot — Terminal Dashboard
   Dark, monospace accents, zero bloat
   ============================================================ */

:root {
  --bg: #0a0d14;
  --surface: #11161f;
  --surface-alt: #161c28;
  --border: #1c2333;
  --border-active: #334155;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --muted: #5a6a82;

  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-soft: rgba(16 185 129 / 0.08);
  --accent-border: rgba(16 185 129 / 0.25);

  --green: #22c55e;
  --green-bg: rgba(34 197 94 / 0.08);
  --red: #ef4444;
  --red-bg: rgba(239 68 68 / 0.08);

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Skip */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 999; background: var(--accent); color: #000; padding: .4rem .8rem; font-weight: 700; font-size: .75rem; border-radius: var(--radius); }
.skip-link:focus { top: .5rem; }

/* ===== TERMINAL HEADER ===== */
.terminal-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: .5rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-mono); font-size: .7rem;
  color: var(--muted);
  overflow-x: auto;
}
.terminal-bar .logo-img { height: 28px; width: auto; }
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.terminal-dot.green { background: var(--accent); }
.terminal-dot.red { background: var(--red); }
.terminal-path { color: var(--accent); white-space: nowrap; }
.terminal-status { margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.terminal-status .live { color: var(--accent); font-weight: 700; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ----- Promo Banner ----- */
.promo-banner {
  position: sticky; top: 0; z-index: 100;
  background: #0f0a14;
  border-bottom: 1px solid rgba(245,158,11,0.25);
  padding: .5rem 1rem;
  text-align: center;
  overflow: hidden;
}
.promo-inner {
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; flex-wrap: wrap;
}
.promo-tag {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  padding: .15rem .5rem; border-radius: 100px;
  background: rgba(245,158,11,0.15); color: #f59e0b;
  letter-spacing: .03em; font-family: var(--font-mono);
}
.promo-text { font-size: .78rem; font-weight: 700; color: #faf5ff; }
.promo-cta {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .7rem; font-weight: 800;
  padding: .3rem .85rem; border-radius: 100px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  color: #0a0a0a; text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.promo-cta:hover { opacity: .95; transform: scale(1.05); color: #0a0a0a; }
.promo-cta::after { content: '→'; font-size: .65rem; }
@media (max-width: 500px) {
  .promo-inner { gap: .3rem; }
  .promo-text { font-size: .7rem; }
  .promo-tag { font-size: .55rem; }
  .promo-cta { font-size: .65rem; padding: .2rem .7rem; }
}

/* ===== MAIN LAYOUT ===== */
.dashboard {
  max-width: 1200px; margin: 0 auto; padding: 1rem;
  display: grid; grid-template-columns: 380px 1fr; gap: 1rem;
  min-height: calc(100vh - 140px);
}
@media (max-width: 860px) {
  .dashboard { grid-template-columns: 1fr; }
}

/* ===== PANEL (left) ===== */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex; flex-direction: column; gap: 1rem;
  height: fit-content;
  position: sticky; top: 1rem;
}
@media (max-width: 860px) {
  .panel { position: static; max-width: 100vw; overflow: hidden; }
}
.panel-title {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.panel-title::before { content: '▶'; color: var(--accent); font-size: .5rem; }

.panel-label {
  font-size: .58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); margin-bottom: .4rem;
}

/* Pair selector — scroll pills on mobile, grid on desktop */
.pair-scroll {
  display: flex; flex-wrap: nowrap; gap: .35rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; width: 100%;
}
.pair-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 861px) {
  .pair-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; scroll-snap-type: none; width: auto; }
}
.pair-btn {
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem .7rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: 100px;
  cursor: pointer; font-weight: 600; color: var(--text-secondary);
  transition: all .1s; white-space: nowrap; flex-shrink: 0;
  scroll-snap-align: start; font-size: .72rem;
}
@media (min-width: 861px) {
  .pair-btn { border-radius: var(--radius); flex-direction: column; padding: .55rem .25rem; font-size: .6rem; gap: .15rem; }
}
.pair-btn:hover { border-color: var(--border-active); background: var(--surface-alt); }
.pair-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.pair-flag { font-size: .9rem; line-height: 1; }
@media (min-width: 861px) { .pair-flag { font-size: 1rem; } }
.pair-name { white-space: nowrap; font-size: .72rem; }
@media (min-width: 861px) { .pair-name { font-size: .6rem; } }

/* TF selector — scroll pills on mobile, grid on desktop */
.tf-scroll {
  display: flex; flex-wrap: nowrap; gap: .35rem; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; width: 100%;
}
.tf-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 861px) {
  .tf-scroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; scroll-snap-type: none; width: auto; }
}
.tf-btn {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .4rem .55rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all .1s; flex-shrink: 0;
  scroll-snap-align: start; min-width: 54px;
}
@media (min-width: 861px) {
  .tf-btn { padding: .5rem .25rem; min-width: auto; }
}
.tf-btn:hover { border-color: var(--border-active); background: var(--surface-alt); }
.tf-btn.active { border-color: var(--accent); background: var(--accent-soft); }
.tf-btn.locked { opacity: .35; cursor: not-allowed; border-style: dashed; }
.tf-btn.locked:hover { border-color: var(--border); background: var(--bg); }
.tf-time { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; color: var(--text); }
.tf-btn.active .tf-time { color: var(--accent); }
.tf-label { font-size: .5rem; color: var(--muted); }
@media (min-width: 861px) { .tf-time { font-size: .75rem; } }
.tf-lock { font-size: .5rem; margin-top: .1rem; }

/* Generate btn */
.btn-gen {
  width: 100%; padding: .85rem; background: var(--accent);
  color: #000; border: none; border-radius: var(--radius);
  font-weight: 700; font-size: .85rem; cursor: pointer;
  font-family: var(--font); transition: all .15s;
}
@media (min-width: 861px) { .btn-gen { padding: .75rem; font-size: .8rem; } }
.btn-gen:hover:not(:disabled) { background: var(--accent-hover); }
.btn-gen:disabled { opacity: .3; cursor: not-allowed; }

/* Session info */
.session-info {
  padding: .75rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .62rem; color: var(--text-secondary); line-height: 1.5;
}
.session-info strong { color: var(--accent); }
.session-info .emoji { font-size: 1rem; }

/* ===== OUTPUT (right) ===== */
.output {
  display: flex; flex-direction: column; gap: .75rem;
}

/* Empty state */
.output-empty {
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center;
}
.output-empty h3 { font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.output-empty p { font-size: .72rem; color: var(--text-secondary); }
.output-empty .hint {
  display: inline-block; margin-top: .75rem; padding: .3rem .75rem;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 100px; font-size: .65rem; font-weight: 600;
}

/* Result card */
.result-card {
  background: var(--surface); border: 1px solid var(--accent-border);
  border-radius: var(--radius); overflow: hidden;
  animation: slideIn .2s ease-out;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.result-top {
  padding: 1rem; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: .5rem;
}
.result-pair-info { display: flex; align-items: center; gap: .5rem; }
.result-pair-info .flag { font-size: 1.2rem; }
.result-pair-info .name { font-weight: 700; font-size: .9rem; }
.result-pair-info .tf { font-family: var(--font-mono); font-size: .58rem; padding: .1rem .45rem; background: var(--accent-soft); color: var(--accent); border-radius: 100px; font-weight: 700; }
.result-price-block { text-align: right; }
.result-price { font-family: var(--font-mono); font-size: .85rem; font-weight: 700; }
.result-change { font-family: var(--font-mono); font-size: .65rem; font-weight: 600; }
.result-change.up { color: var(--green); }
.result-change.down { color: var(--red); }

.result-verdict {
  padding: 1.25rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
}
.verdict-call { background: linear-gradient(180deg, var(--green-bg), transparent); }
.verdict-put { background: linear-gradient(180deg, var(--red-bg), transparent); }
.verdict-dir {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 800;
  letter-spacing: .06em; line-height: 1;
}
.verdict-call .verdict-dir { color: var(--green); }
.verdict-put .verdict-dir { color: var(--red); }
.verdict-wait .verdict-dir { color: var(--accent); }
.verdict-meta { display: flex; align-items: center; gap: .75rem; margin-top: .25rem; }
.conf-ring { position: relative; width: 70px; height: 70px; }
.conf-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.conf-bg { fill: none; stroke: var(--border); stroke-width: 4; }
.conf-fill { fill: none; stroke: var(--accent); stroke-width: 4; stroke-dasharray: 220; stroke-linecap: round; }
.verdict-put .conf-fill { stroke: var(--red); }
.conf-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 1rem; font-weight: 800; }
.conf-strength { font-size: .6rem; font-weight: 700; padding: .15rem .5rem; border-radius: 100px; text-transform: uppercase; letter-spacing: .04em; }
.strength-strong { background: var(--green-bg); color: var(--green); border: 1px solid rgba(34 197 94 / .3); }
.strength-moderate { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); }
.strength-weak, .strength-hold { background: transparent; color: var(--muted); border: 1px solid var(--border); }

/* Indicators inline */
.result-indicators {
  padding: .75rem 1rem; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
}
@media (max-width: 640px) { .result-indicators { grid-template-columns: repeat(2, 1fr); } }
.ind-mini {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .5rem; text-align: center;
}
.ind-mini .name { font-size: .55rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ind-mini .value { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; margin: .15rem 0; }
.ind-mini .bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin: .2rem 0; }
.ind-mini .bar-fill { height: 100%; border-radius: 2px; }
.ind-mini .tag { font-size: .5rem; color: var(--muted); }

/* MACD */
.ind-mini .macd-arrow { font-size: 1rem; }
.ind-mini .macd-arrow.up { color: var(--green); }
.ind-mini .macd-arrow.down { color: var(--red); }
.ind-mini .macd-val { font-family: var(--font-mono); font-size: .55rem; color: var(--muted); }

/* ===== DEEP ANALYSIS: Market Context + Price Action ===== */
.result-context {
  padding: .75rem 1rem; border-top: 1px solid var(--border);
}
.ctx-title {
  font-size: .58rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem;
}
.ctx-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem;
}
@media (min-width: 700px) { .ctx-grid { grid-template-columns: repeat(4, 1fr); } }
.ctx-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .55rem .65rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.ctx-label { font-size: .5rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ctx-val { font-size: .7rem; font-weight: 700; color: var(--text); }
.ctx-val.mono { font-family: var(--font-mono); font-size: .65rem; }
.ctx-insight {
  font-size: .55rem; color: var(--text-secondary); line-height: 1.4;
  margin-top: .15rem; padding-top: .25rem; border-top: 1px solid var(--border);
}
.ctx-tag {
  font-size: .5rem; font-weight: 700; padding: .1rem .4rem;
  border-radius: 100px; display: inline-block; margin-top: .15rem;
  width: fit-content;
}
.ctx-tag.alert { background: var(--red-bg); color: var(--red); border: 1px solid rgba(239 68 68 / .3); }

/* Price Action strip */
.pa-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem;
}
@media (min-width: 600px) { .pa-strip { grid-template-columns: repeat(4, 1fr); } }
.pa-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .5rem .65rem; text-align: center;
}
.pa-label { display: block; font-size: .5rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .1rem; }
.pa-val { font-size: .7rem; font-weight: 700; color: var(--text); }
.pa-val.mono { font-family: var(--font-mono); font-size: .6rem; }

.pa-pattern {
  margin-top: .5rem; padding: .45rem .65rem;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: var(--radius); display: flex; align-items: center; gap: .5rem;
  font-size: .6rem;
}
.pa-pattern-tag {
  font-family: var(--font-mono); font-weight: 700; color: var(--accent);
  white-space: nowrap; font-size: .6rem;
}
.pa-pattern-msg { color: var(--text-secondary); line-height: 1.4; }

/* Reasoning */
.result-reasons {
  padding: .75rem 1rem; border-top: 1px solid var(--border);
}
.reasons-title { font-size: .58rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.reasons-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.reason-item {
  padding: .45rem .65rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .68rem; color: var(--text-secondary);
}
.reason-item::before { content: '▸ '; color: var(--accent); font-weight: 700; }

/* Session fit */
.result-session {
  padding: .75rem 1rem; border-top: 1px solid var(--border);
  font-size: .62rem; color: var(--text-secondary); line-height: 1.55;
}
.result-session .badge { font-size: .6rem; font-weight: 700; padding: .15rem .45rem; border-radius: 100px; margin-right: .5rem; }
.session-strong .badge { background: var(--green-bg); color: var(--green); }
.session-weak .badge { background: var(--red-bg); color: var(--red); }
.session-neutral .badge { background: var(--accent-soft); color: var(--accent); }
.result-session .icon { margin-right: .25rem; }

/* Meta strip */
.result-meta {
  padding: .5rem 1rem; border-top: 1px solid var(--border);
  display: flex; gap: .75rem; flex-wrap: wrap;
  font-size: .62rem; color: var(--muted);
}
.result-meta span { font-family: var(--font-mono); color: var(--text-secondary); }
.result-meta b { color: var(--text); }

/* Result footer */
.result-footer {
  padding: .75rem 1rem; border-top: 1px solid var(--border);
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
}
.result-footer .btn {
  padding: .45rem 1rem; border: 1px solid var(--border);
  border-radius: 100px; font-size: .65rem; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--text-secondary);
  transition: all .15s; text-decoration: none;
  font-family: var(--font);
}
.result-footer .btn:hover { border-color: var(--border-active); color: var(--text); background: var(--surface-alt); }
.result-footer .btn.accent { border-color: var(--accent-border); color: var(--accent); }
.result-footer .btn.accent:hover { background: var(--accent-soft); }

/* ===== SECTIONS BELOW ===== */
.section {
  max-width: 1200px; margin: 1.5rem auto; padding: 0 1rem;
}
.section h2 {
  font-size: .8rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem;
}
.section h2::before { content: '#'; color: var(--accent); }

/* Features 2x2 */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; list-style: none;
}
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; list-style: none;
}
.feature-card .icon { font-size: 1rem; margin-bottom: .35rem; display: block; }
.feature-card h3 { font-size: .75rem; font-weight: 700; margin-bottom: .2rem; color: var(--text); }
.feature-card p { font-size: .68rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }

/* Stats */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; list-style: none;
}
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .85rem; text-align: center; list-style: none;
}
.stat-num { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: .6rem; color: var(--text-secondary); }

/* Premium */
.premium-card {
  background: var(--surface); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.premium-card h3 { font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
.premium-card > p { font-size: .7rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto 1rem; line-height: 1.5; }
.premium-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; margin-bottom: 1.25rem; list-style: none; }
.perk { font-size: .65rem; color: var(--text-secondary); }
.perk-check { color: var(--accent); font-weight: 700; }
.premium-tf-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin-bottom: 1.25rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.tf-chip { font-family: var(--font-mono); font-size: .55rem; padding: .2rem .45rem; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; color: var(--accent); font-weight: 600; }
.premium-cta { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem 1.5rem; background: var(--accent); color: #000; border-radius: var(--radius); font-weight: 700; font-size: .75rem; text-decoration: none; }
.premium-cta:hover { background: var(--accent-hover); color: #000; }
.premium-footnote { font-size: .6rem; color: var(--muted); margin-top: .75rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  padding: .7rem 0; font-size: .72rem; font-weight: 600;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: .9rem; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 .65rem; font-size: .68rem; color: var(--text-secondary); line-height: 1.6; }

/* Bottom CTA */
.cta-section {
  text-align: center; padding: 2rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.cta-section h2 { font-size: .9rem; font-weight: 700; border: none; padding: 0; color: var(--text); margin-bottom: .35rem; display: block; }
.cta-section h2::before { display: none; }
.cta-section p { font-size: .7rem; color: var(--text-secondary); max-width: 400px; margin: 0 auto 1rem; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 2rem;
  padding: 1.25rem; text-align: center;
  font-size: .6rem; color: var(--muted); line-height: 1.6;
}
.footer-nav { display: flex; gap: 1rem; justify-content: center; margin-bottom: .5rem; flex-wrap: wrap; }
.footer-nav a { color: var(--text-secondary); font-weight: 500; font-size: .68rem; }
.footer-nav a:hover { color: var(--accent); }
.site-footer p { max-width: 600px; margin: 0 auto; }

/* ===== STATIC PAGES ===== */
.page-meta { font-size: .7rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.static-content { max-width: 760px; margin: 2rem auto; padding: 0 1rem; }
.static-content h1 { font-size: 1.2rem; font-weight: 800; margin-bottom: .5rem; }
.static-content h2 { font-size: .85rem; font-weight: 700; margin: 1.25rem 0 .4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.static-content h2:first-of-type { border-top: none; padding-top: 0; }
.static-content p, .static-content li { font-size: .75rem; color: var(--text-secondary); margin-bottom: .5rem; }

.form-group { margin-bottom: .75rem; }
.form-label { display: block; font-size: .65rem; font-weight: 600; margin-bottom: .2rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .55rem .7rem; background: var(--bg);
  border: 1px solid var(--border); color: var(--text); font-size: .72rem;
  font-family: var(--font); border-radius: var(--radius);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 80px; }

/* ===== STATIC PAGES: Shared Components ===== */
.section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 1.25rem 0; }
.stat-item { text-align: center; padding: .75rem .5rem; background: var(--surface-alt); border-radius: var(--radius); }
.stat-num { font-size: 1.1rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: .6rem; color: var(--muted); margin-top: .15rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin: 1rem 0; }
.feature-card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.feature-card h3 { font-size: .78rem; font-weight: 700; margin-bottom: .35rem; }
.feature-card p { font-size: .7rem; color: var(--text-secondary); line-height: 1.5; }
.feature-icon { font-size: 1.2rem; display: block; margin-bottom: .4rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem 1.5rem; background: var(--accent); color: #000;
  border-radius: var(--radius); font-weight: 700; font-size: .75rem;
  border: none; cursor: pointer; font-family: var(--font);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
