/* ───────────────────────────────────────────────────────────────────────────
   Motobot landing — Telegram-native palette, soft blues, rounded everything
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* Telegram-inspired palette */
  --tg-blue: #229ED9;
  --tg-blue-dark: #1A8CC2;
  --tg-blue-soft: #54A9EB;

  /* Light theme */
  --bg: #F4F7FB;
  --bg-elev: #FFFFFF;
  --bg-soft: #EAF1F8;
  --bg-muted: #F8FAFD;
  --text: #0E1B2C;
  --text-muted: #5A6B82;
  --text-faint: #8C9BB0;
  --border: #DCE5F0;
  --border-soft: #E8EEF6;
  --accent: var(--tg-blue);
  --accent-hover: var(--tg-blue-dark);
  --accent-soft: var(--tg-blue-soft);
  --accent-tint: rgba(34, 158, 217, 0.08);
  --accent-tint-strong: rgba(34, 158, 217, 0.14);

  --bot-bubble: #FFFFFF;
  --user-bubble: #DCF8C6; /* light Telegram user bubble */
  --user-bubble-dark: #C5EBA0;
  --bot-bubble-text: #0E1B2C;
  --user-bubble-text: #0E1B2C;
  --chat-bg: #ECE5DD; /* WhatsApp-ish but stays Telegram-y in dark mode */

  --shadow-sm: 0 1px 2px rgba(14,27,44,0.04), 0 1px 3px rgba(14,27,44,0.06);
  --shadow-md: 0 4px 14px rgba(14,27,44,0.06), 0 2px 6px rgba(14,27,44,0.04);
  --shadow-lg: 0 24px 60px rgba(14,27,44,0.10), 0 8px 24px rgba(14,27,44,0.08);
  --shadow-glow: 0 0 0 4px rgba(34,158,217,0.12);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #0E1620;
  --bg-elev: #17202C;
  --bg-soft: #1C2734;
  --bg-muted: #131C26;
  --text: #E8EEF6;
  --text-muted: #93A3B8;
  --text-faint: #6B7B91;
  --border: #2A3645;
  --border-soft: #1F2A37;
  --accent: #54A9EB;
  --accent-hover: #6FB6EE;
  --accent-soft: #229ED9;
  --accent-tint: rgba(84, 169, 235, 0.10);
  --accent-tint-strong: rgba(84, 169, 235, 0.18);

  --bot-bubble: #1C2734;
  --user-bubble: #2B5278;
  --user-bubble-dark: #2A4F73;
  --bot-bubble-text: #E8EEF6;
  --user-bubble-text: #FFFFFF;
  --chat-bg: #0B121C;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.30);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 0 4px rgba(84,169,235,0.18);
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--font-mono); }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.app { min-height: 100vh; }
.container { width: min(1200px, 100% - 48px); margin: 0 auto; }
.container-narrow { max-width: 820px; }

section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(34,158,217,0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(34,158,217,0.36);
}
.btn-ghost {
  background: var(--bg-elev);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--accent-soft);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent-soft); }

/* ─── Alpha banner ──────────────────────────────────────────────────────── */
.alpha-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #F5D88A 0%, #F4C770 100%);
  color: #3A2A05;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 56px 8px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.alpha-banner b { font-weight: 700; }
[data-theme="dark"] .alpha-banner {
  background: linear-gradient(90deg, #6A4F12 0%, #5A4310 100%);
  color: #F8E6B5;
  border-bottom-color: rgba(255,255,255,0.08);
}
.alpha-banner-close {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.7;
}
.alpha-banner-close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
[data-theme="dark"] .alpha-banner-close:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .alpha-banner { font-size: 12px; padding: 8px 44px 8px 14px; text-align: left; }
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  width: min(1320px, 100% - 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .nav {
  background: rgba(23,32,44,0.72);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.nav-links a {
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--accent-tint);
  color: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta { padding: 8px 16px; font-size: 14px; }

.lang-switcher {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: all 0.2s;
  font-family: var(--font-mono);
}
.lang-btn.active {
  background: var(--bg-elev);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1280px) {
  .nav-cta span { display: none; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-blob-1 {
  width: 540px; height: 540px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}
.hero-blob-2 {
  width: 480px; height: 480px;
  bottom: -180px; left: -100px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  opacity: 0.25;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 24px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,158,217,0.20);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(34,158,217,0); }
}
.hero-title {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-title-line:nth-child(2) {
  background: linear-gradient(110deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-qr-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 420px;
  box-shadow: var(--shadow-sm);
}
.qr-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-md);
  padding: 10px;
}
.qr-canvas { border-radius: 6px; }
.qr-canvas img { display: block; border-radius: 6px; }
.qr-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 2.5px solid var(--accent);
}
.qr-tl { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: var(--radius-md); }
.qr-tr { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: var(--radius-md); }
.qr-bl { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: var(--radius-md); }
.qr-br { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: var(--radius-md); }

.qr-meta { min-width: 0; }
.qr-username {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.qr-caption {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.qr-hint {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-preview {
  display: flex;
  justify-content: center;
}

/* ─── Phone frame ────────────────────────────────────────────────────────── */
.phone {
  width: 320px;
  background: #0E1B2C;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
}
.phone-lg { width: 360px; }
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0E1B2C;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--chat-bg);
  border-radius: 28px;
  overflow: hidden;
  height: 540px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-lg .phone-screen { height: 600px; }

[data-theme="light"] .phone-screen {
  background: linear-gradient(180deg, #E8EBEF 0%, #DCE0E5 100%);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 38px 14px 12px;
  background: var(--accent);
  color: white;
}
.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.chat-status {
  font-size: 12px;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6CE9A6;
}

.chat-body {
  flex: 1;
  padding: 14px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(34,158,217,0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(84,169,235,0.04) 0%, transparent 50%);
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

.msg {
  display: flex;
  max-width: 88%;
}
.msg-user { align-self: flex-end; }
.msg-bot { align-self: flex-start; }
.msg-bubble {
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-wrap: break-word;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  max-width: 100%;
}
.msg-bubble b { font-weight: 600; }
.msg-bubble i { color: var(--text-faint); font-style: italic; }
.msg-bubble pre {
  background: rgba(0,0,0,0.05);
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  margin: 6px 0;
  white-space: pre-wrap;
  overflow-x: auto;
}
[data-theme="dark"] .msg-bubble pre { background: rgba(255,255,255,0.05); }
.msg-user .msg-bubble {
  background: var(--user-bubble);
  color: var(--user-bubble-text);
  border-bottom-right-radius: 4px;
}
.msg-bot .msg-bubble {
  background: var(--bot-bubble);
  color: var(--bot-bubble-text);
  border-bottom-left-radius: 4px;
}
.msg-tiny { padding: 6px 10px; font-size: 13px; }

.msg-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg-typing .dot {
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
  animation: typingDot 1.2s infinite;
}
.msg-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.msg-typing .dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.msg-fade {
  animation: msgIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-placeholder {
  margin: auto;
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-elev);
  border-top: 1px solid var(--border-soft);
}
.chat-input-field {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--text-faint);
}
.chat-input-send {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Listing card inside bubble */
.listing-card {
  margin: -2px -4px;
  width: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}
.listing-thumb {
  position: relative;
  aspect-ratio: 2/1;
}
.bike-svg { width: 100%; height: 100%; display: block; }
.listing-score {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(14, 27, 44, 0.85);
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.score-tot { font-size: 10px; opacity: 0.7; }
.listing-body { padding: 10px 12px; }
.listing-title {
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 4px;
}
.listing-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.market-tag {
  font-size: 10.5px;
  font-weight: 500;
  color: #2EA864;
  background: rgba(46,168,100,0.10);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}
.listing-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text-muted);
}
.ll-row { display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.ll-pro { color: #2EA864; font-weight: 700; }
.ll-con { color: #E89126; font-weight: 700; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-preview { order: -1; }
  .hero-qr-block { max-width: none; }
}

/* ─── How it works ──────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.step:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-tint);
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-title {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.step-connector {
  display: none;
}
@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ─── Features ──────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 28px 26px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-title {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 920px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ─── Demo ──────────────────────────────────────────────────────────────── */
.demo {
  background: var(--bg-muted);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.demo-cmds-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.demo-cmds-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-cmd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.demo-cmd:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.demo-cmd:not(:disabled):hover {
  border-color: var(--accent-soft);
  background: var(--bg-elev);
}
.demo-cmd.next:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: var(--shadow-glow);
}
.demo-cmd.next:not(:disabled) .demo-cmd-num {
  background: var(--accent);
  color: white;
}
.demo-cmd.done {
  background: var(--bg-soft);
  color: var(--text-muted);
  border-color: var(--border-soft);
}
.demo-cmd.done .demo-cmd-num {
  background: var(--accent-tint);
  color: var(--accent);
}
.demo-cmd-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.demo-cmd-label { flex: 1; }
.demo-cmd svg { color: var(--accent); }

.demo-reset {
  margin-top: 8px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-faint);
  border-radius: var(--radius-md);
  text-align: left;
}
.demo-reset:not(:disabled):hover { color: var(--accent); }
.demo-reset:disabled { opacity: 0.4; cursor: not-allowed; }

.demo-phone { display: flex; justify-content: center; }
.chat-body-demo { background: var(--chat-bg); }

@media (max-width: 880px) {
  .demo-layout { grid-template-columns: 1fr; gap: 32px; }
  .demo-phone { order: -1; }
}

/* ─── Commands reference ─────────────────────────────────────────────────── */
.cmd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.cmd-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.18s;
}
.cmd-tab:hover { border-color: var(--accent-soft); color: var(--text); }
.cmd-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.cmd-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.cmd-tab.active .cmd-tab-count {
  background: rgba(255,255,255,0.20);
  color: white;
}

.cmd-table {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.cmd-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}
.cmd-row:last-child { border-bottom: none; }
.cmd-row:hover { background: var(--bg-muted); }
.cmd-code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--accent-tint);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  width: fit-content;
}
.cmd-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .cmd-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 18px; }
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-card {
  padding: 36px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.2s;
}
.pricing-card-feat {
  border-color: var(--accent);
  position: relative;
  background: linear-gradient(180deg, var(--accent-tint), var(--bg-elev) 30%);
}
.pricing-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pricing-card-feat .pricing-tag {
  background: var(--accent);
  color: white;
}
.pricing-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.pricing-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.pricing-features svg {
  color: var(--accent);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-grid-single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.pricing-card-donate {
  background: linear-gradient(160deg, #fff5f0, #ffe4d6);
  border-color: #ffb38a;
}
[data-theme="dark"] .pricing-card-donate {
  background: linear-gradient(160deg, #2a1a14, #3a221a);
  border-color: #6b3a24;
}
.pricing-price-heart { color: #ff5a5f; font-size: 38px; line-height: 1; }
.btn-donate {
  background: #ff5a5f;
  color: #fff;
  border: 1px solid #ff5a5f;
}
.btn-donate:hover { background: #ff4146; border-color: #ff4146; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg-muted); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: all 0.2s;
}
.faq-item.open .faq-toggle {
  background: var(--accent);
  color: white;
}
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 24px;
  text-wrap: pretty;
}
.faq-item.open .faq-a {
  padding: 0 24px 22px;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
}
.footer-tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin: 14px 0 22px;
  max-width: 320px;
  line-height: 1.55;
}
.footer-cta-row { display: flex; gap: 10px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-faint);
}
/* ─── Feedback ───────────────────────────────────────────────────────────── */
.feedback {
  padding: 80px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}
.feedback-honeypot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}
.feedback-types {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.feedback-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.feedback-type input {
  accent-color: var(--accent);
}
.feedback-type.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.feedback-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feedback-field label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.feedback-field textarea,
.feedback-field input[type="text"] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.feedback-field textarea:focus,
.feedback-field input[type="text"]:focus {
  border-color: var(--accent);
}
.feedback-optional {
  color: var(--text-faint);
  font-weight: 400;
}
.feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.feedback-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #ffffff;
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto;
}
.feedback-error {
  color: #e8594a;
  font-size: 14px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ─── Privacy section ──────────────────────────────────────────────────────── */
.privacy { background: var(--bg-muted); padding: 80px 0; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.privacy-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
