/* ============================================================
   FlowGaia — TG Alpha Hunter
   Design system: dark navy base, mint accent, indigo→green brand gradient
   ============================================================ */

:root {
  /* Brand */
  --indigo: #6366f1;
  --blue: #38bdf8;
  --mint: #2ee59d;
  --green: #34d399;
  --red: #f87171;
  --tg-blue: #54a9eb;
  --gradient: linear-gradient(120deg, #6366f1 0%, #38bdf8 45%, #2ee59d 100%);

  /* Surfaces */
  --bg: #04070f;
  --bg-2: #070c18;
  --card: #0b1322;
  --card-2: #0e1830;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  /* Text */
  --text: #e8eef8;
  --muted: #93a1b8;
  --faint: #5b6a82;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(46, 229, 157, 0.25); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }

.h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; }
.h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
.h3 { font-size: 1.25rem; font-weight: 600; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  padding: 7px 14px;
  border: 1px solid rgba(46, 229, 157, 0.25);
  border-radius: 100px;
  background: rgba(46, 229, 157, 0.06);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }
.section-head .eyebrow { margin-bottom: 20px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, #0ecf87 0%, #2ee59d 55%, #52eeb2 115%);
  color: #032015;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 32px rgba(16, 199, 133, 0.32), 0 2px 8px rgba(16, 199, 133, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 44px rgba(16, 199, 133, 0.45), 0 4px 14px rgba(16, 199, 133, 0.3);
}
.btn:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.btn-ghost {
  background: rgba(148, 163, 184, 0.09);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(148, 163, 184, 0.14); border-color: rgba(46, 229, 157, 0.45); transform: translateY(-2px); }

.btn-tg {
  background: linear-gradient(135deg, #2a9df4 0%, #54a9eb 60%, #7cc2f2 115%);
  color: #04121f;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 32px rgba(84, 169, 235, 0.32), 0 2px 8px rgba(84, 169, 235, 0.25);
}
.btn-tg:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 44px rgba(84, 169, 235, 0.45), 0 4px 14px rgba(84, 169, 235, 0.3);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; border-radius: 10px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.22em; color: var(--mint); text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.2s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(38% 32% at 78% 22%, rgba(46, 229, 157, 0.09), transparent 70%),
    radial-gradient(38% 32% at 20% 30%, rgba(56, 189, 248, 0.08), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 55% at 50% 32%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 32%, black 30%, transparent 100%);
}

.hero-inner { position: relative; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 850px; margin: 0 auto 24px; }
.hero-sub { max-width: 640px; margin: 0 auto 36px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 0.85rem; color: var(--faint); display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--mint); }

/* ---------- Dashboard mockup ---------- */
.mockup-wrap {
  position: relative;
  margin: 72px auto 0;
  max-width: 980px;
  perspective: 1400px;
}
.mockup-glow {
  position: absolute;
  inset: -8% -10%;
  background: radial-gradient(50% 60% at 50% 45%, rgba(99, 102, 241, 0.22), rgba(46, 229, 157, 0.1) 55%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
}

.mockup {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 7, 15, 0.45);
}
.mockup-brand { display: flex; align-items: center; gap: 10px; }
.mockup-brand img { width: 28px; height: 28px; border-radius: 50%; }
.mockup-brand strong { font-family: var(--font-display); font-size: 0.9rem; color: var(--mint); }
.mockup-brand small { display: block; font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.2em; color: var(--faint); text-transform: uppercase; }

.mockup-tabs { display: flex; gap: 6px; background: rgba(148, 163, 184, 0.07); padding: 4px; border-radius: 100px; }
.mockup-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.mockup-tab.active { background: rgba(46, 229, 157, 0.14); color: var(--mint); }

.mockup-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tg-blue);
  color: #06121f;
  font-weight: 600;
  font-size: 0.78rem;
  font-family: var(--font-display);
  padding: 8px 16px;
  border-radius: 100px;
  border: none;
  white-space: nowrap;
}
.mockup-signin svg { width: 13px; height: 13px; }

.mockup-body { padding: 20px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; }

.mockup-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card {
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat-card.highlight { border-color: rgba(46, 229, 157, 0.35); background: rgba(46, 229, 157, 0.05); }
.stat-label { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.stat-value { font-family: var(--font-mono); font-size: 1.45rem; font-weight: 700; }
.stat-value em { font-style: normal; font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.stat-value.mint { color: var(--mint); }

.mockup-panel { min-width: 0; }
.panel-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.panel-title .ic {
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46, 229, 157, 0.12); color: var(--mint);
}
.panel-title .ic svg { width: 14px; height: 14px; }

.digest-feed { display: flex; flex-direction: column; gap: 10px; }
.digest-item {
  background: rgba(148, 163, 184, 0.045);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  animation: slide-in 0.45s ease both;
}
.digest-item.bearish { border-left-color: var(--red); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.digest-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 3px; }
.digest-group { font-weight: 600; font-size: 0.82rem; }
.digest-time { font-family: var(--font-mono); font-size: 0.66rem; color: var(--faint); }
.digest-text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.ticker-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mint);
  background: rgba(46, 229, 157, 0.12);
  padding: 1px 7px;
  border-radius: 6px;
}

.signal-list { display: flex; flex-direction: column; gap: 8px; }
.signal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(148, 163, 184, 0.045);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.signal-ic {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.signal-ic svg { width: 14px; height: 14px; }
.signal-ic.up { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.signal-ic.down { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.signal-info { flex: 1; min-width: 0; }
.signal-ticker { font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
.signal-src { font-size: 0.68rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signal-count { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
.signal-count.up { color: var(--green); }
.signal-count.down { color: var(--red); }
.badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 100px;
}
.badge.bullish { color: var(--green); background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); }
.badge.bearish { color: var(--red); background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.3); }

/* Floating chips around mockup */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 19, 34, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip svg { width: 14px; height: 14px; }
.float-chip.c1 { top: -3%; left: -4%; color: var(--green); animation-delay: 0s; }
.float-chip.c2 { top: 32%; right: -5%; color: var(--tg-blue); animation-delay: 1.6s; }
.float-chip.c3 { bottom: 12%; left: -6%; color: var(--indigo); animation-delay: 3.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Ticker marquee ---------- */
.marquee-section { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; overflow: hidden; user-select: none; gap: 0; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 48px; padding-right: 48px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.tick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tick b.up { color: var(--green); }
.tick b.down { color: var(--red); }
.tick .sep { color: var(--faint); }

/* ---------- Stats band ---------- */
.stats-band { padding: 88px 0 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.big-stat { text-align: center; padding: 28px 12px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(148,163,184,0.05), transparent); }
.big-stat .num { font-family: var(--font-mono); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; display: block; }
.big-stat .num.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stat .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 6px; display: block; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 200px at var(--mx, 50%) var(--my, 0%), rgba(46, 229, 157, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(46, 229, 157, 0.3); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(46, 229, 157, 0.16));
  border: 1px solid rgba(46, 229, 157, 0.25);
  color: var(--mint);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.94rem; }
.feature-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.06);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
}
.step::before {
  content: attr(data-num);
  position: absolute;
  top: 12px; right: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.07);
  pointer-events: none;
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  position: relative;
  filter: drop-shadow(0 4px 14px rgba(46, 229, 157, 0.25));
}
.step-num::after {
  content: "";
  position: absolute;
  left: 2px; bottom: -9px;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--gradient);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.94rem; }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--faint);
  width: 24px; height: 24px;
}

/* ---------- Chat demo ---------- */
.chat-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.chat-copy .eyebrow { margin-bottom: 20px; }
.chat-copy h2 { margin-bottom: 18px; }
.chat-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.chat-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.chat-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.chat-points svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }
.chat-points strong { color: var(--text); }

.chat-window {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 7, 15, 0.45);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}
.chat-head .status { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.chat-head small { margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem; color: var(--faint); letter-spacing: 0.12em; }
.chat-log { padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 330px; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 0.88rem; line-height: 1.55; animation: slide-in 0.4s ease both; }
.msg.user {
  align-self: flex-end;
  background: rgba(84, 169, 235, 0.14);
  border: 1px solid rgba(84, 169, 235, 0.3);
  border-bottom-right-radius: 4px;
}
.msg.ai {
  align-self: flex-start;
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--muted);
}
.msg.ai .ticker-chip { font-size: 0.72rem; }
.msg.ai strong { color: var(--text); }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.chat-input {
  display: flex; align-items: center; gap: 10px;
  margin: 0 18px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--faint);
  background: rgba(4, 7, 15, 0.4);
}
.chat-input .send {
  margin-left: auto;
  width: 30px; height: 30px; border-radius: 8px; border: none;
  background: var(--gradient); color: #04121a;
  display: flex; align-items: center; justify-content: center;
}
.chat-input .send svg { width: 14px; height: 14px; }

/* ---------- Testimonials (X posts) ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.x-post:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.x-head { display: flex; align-items: center; gap: 12px; }
.x-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: #04121a;
}
.x-id { min-width: 0; line-height: 1.3; }
.x-name { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 0.94rem; }
.x-name svg { width: 16px; height: 16px; color: var(--tg-blue); flex: none; }
.x-handle { font-size: 0.82rem; color: var(--faint); }
.x-logo { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex: none; }
.x-body { font-size: 0.93rem; color: var(--muted); }
.x-body .hl { color: var(--mint); }
.x-foot { display: flex; align-items: center; gap: 20px; font-size: 0.78rem; color: var(--faint); border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.x-foot span { display: inline-flex; align-items: center; gap: 6px; }
.x-foot svg { width: 14px; height: 14px; }
.x-date { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--card); overflow: hidden; transition: border-color 0.25s ease; }
.faq-item.open { border-color: rgba(46, 229, 157, 0.3); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 22px;
}
.faq-q svg { width: 18px; height: 18px; flex: none; color: var(--mint); transition: transform 0.3s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }
.faq-a a { color: var(--mint); }

/* ---------- CTA ---------- */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; text-align: center; }
.cta-box {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 80px 40px;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(50% 80% at 50% 100%, rgba(46, 229, 157, 0.12), transparent 70%),
    var(--card);
  overflow: hidden;
}
.cta-box .hero-grid { mask-image: radial-gradient(70% 80% at 50% 50%, black 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, black 20%, transparent 100%); }
.cta-box h2 { max-width: 640px; margin: 0 auto 18px; position: relative; }
.cta-box p { color: var(--muted); max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-box .hero-actions { position: relative; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer h4 { font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s ease; }
.footer ul a:hover { color: var(--mint); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { color: var(--mint); border-color: rgba(46, 229, 157, 0.4); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--faint);
}
.footer-disclaimer { font-size: 0.72rem; color: var(--faint); max-width: 560px; margin-top: 10px; }

/* ---------- About page ---------- */
.page-hero { padding: calc(var(--nav-h) + 90px) 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { max-width: 800px; margin: 0 auto 22px; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.page-hero .eyebrow { margin-bottom: 26px; }

.mission-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mission-split h2 { margin-bottom: 20px; }
.mission-split p { color: var(--muted); margin-bottom: 16px; }
.mission-visual {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mission-visual img { width: 180px; height: 180px; border-radius: 50%; position: relative; filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.4)); }
.orbit { position: absolute; border: 1px dashed rgba(148, 163, 184, 0.15); border-radius: 50%; animation: spin 30s linear infinite; }
.orbit.o1 { width: 260px; height: 260px; }
.orbit.o2 { width: 360px; height: 360px; animation-duration: 48s; animation-direction: reverse; }
.orbit .sat {
  position: absolute; top: -7px; left: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--mint); box-shadow: 0 0 12px var(--mint);
}
.orbit.o2 .sat { background: var(--indigo); box-shadow: 0 0 12px var(--indigo); }
@keyframes spin { to { transform: rotate(360deg); } }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Roadmap */
.roadmap { max-width: 760px; margin: 0 auto; position: relative; padding-left: 36px; }
.roadmap::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--mint), var(--indigo), transparent);
}
.road-item { position: relative; padding: 0 0 44px; }
.road-item:last-child { padding-bottom: 0; }
.road-dot {
  position: absolute;
  left: -36px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--faint);
}
.road-item.done .road-dot { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 14px rgba(46, 229, 157, 0.6); }
.road-item.now .road-dot { border-color: var(--mint); }
.road-item.now .road-dot::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s infinite;
}
.road-when { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.road-item h3 { margin-bottom: 8px; }
.road-item p { color: var(--muted); font-size: 0.95rem; max-width: 560px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-cta .btn-ghost, .nav-cta .btn-tg { display: none; }
  .nav-links { gap: 22px; }
}

@media (max-width: 1024px) {
  .features-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; } .float-chip.c3 { left: 0; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 7, 15, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 14px 8%; font-size: 1.05rem; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .chat-split, .mission-split { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-stats { grid-template-columns: repeat(3, 1fr); }
  .mockup-tabs { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .brand-sub { display: none; }
  .mockup-bar { flex-wrap: wrap; }
  .features-grid, .posts-grid, .values-grid { grid-template-columns: 1fr; }
  .mockup-stats { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-box { padding: 56px 24px; }
}

/* ============================================================
   v2 additions — scroll progress, bento features, step visuals,
   Telegram bot demo, quick-start guide, real X threads
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 300;
  pointer-events: none;
}

/* ---------- Feature bento ---------- */
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover::after { opacity: 1; }

.feature-lg {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}
.feature-visual { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feature-visual .digest-item { padding: 9px 12px; animation: none; }

.feature-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px 30px;
}
.feature-wide .feature-icon { margin-bottom: 0; flex: none; }
.feature-wide-copy { flex: 1; min-width: 220px; }
.feature-wide-copy h3 { margin-bottom: 6px; }
.feature-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mint);
  border: 1px solid rgba(46, 229, 157, 0.35);
  background: rgba(46, 229, 157, 0.08);
  padding: 11px 22px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.feature-go svg { width: 15px; height: 15px; }
.feature-wide:hover .feature-go { background: rgba(46, 229, 157, 0.16); transform: translateY(-1px); }

/* ---------- How it works: step visuals + hover ---------- */
.step { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(46, 229, 157, 0.3); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.step-visual {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sv-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tg-blue);
  color: #06121f;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 100px;
}
.sv-tg svg { width: 13px; height: 13px; }
.sv-flow svg { width: 16px; height: 16px; color: var(--faint); }
.sv-line { font-size: 0.74rem; color: var(--muted); }

/* ---------- Telegram bot section ---------- */
.bot-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.bot-copy .eyebrow { margin-bottom: 20px; }
.bot-copy h2 { margin-bottom: 18px; }
.bot-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.bot-handle { display: block; margin-top: 16px; font-size: 0.76rem; color: var(--faint); letter-spacing: 0.04em; }
.actions-left { justify-content: flex-start; }

.tg-window {
  background: #0e1621;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  font-family: var(--font-body);
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #17212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tg-head img { width: 40px; height: 40px; border-radius: 50%; }
.tg-id { line-height: 1.3; min-width: 0; }
.tg-id strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f6fa;
  white-space: nowrap;
}
.tg-id strong svg { width: 15px; height: 15px; color: var(--tg-blue); flex: none; }
.tg-id small { display: block; font-size: 0.76rem; color: var(--tg-blue); }
.tg-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 18px; color: #6c7883; }
.tg-actions svg { width: 20px; height: 20px; }

.tg-body {
  background-color: #0b141d;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.4px);
  background-size: 22px 22px;
  padding-top: 12px;
}
.tg-date { text-align: center; margin-bottom: 10px; }
.tg-date span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #9fb2c4;
  background: rgba(23, 33, 43, 0.85);
  padding: 4px 12px;
  border-radius: 100px;
}
.tg-log {
  min-height: 280px;
  padding: 2px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tg-msg {
  position: relative;
  max-width: 86%;
  padding: 8px 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  animation: slide-in 0.4s ease both;
}
.tg-msg.tg-typing { padding: 10px 14px; }
.tg-msg.user {
  align-self: flex-end;
  background: #2b5278;
  color: #eaf2fa;
  border-bottom-right-radius: 0;
}
.tg-msg.user::after {
  content: "";
  position: absolute;
  right: -8px; bottom: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 8px 12px 0;
  border-color: transparent transparent #2b5278 transparent;
}
.tg-msg.bot {
  align-self: flex-start;
  background: #182533;
  color: #d9e4ee;
  border-bottom-left-radius: 0;
}
.tg-msg.bot::after {
  content: "";
  position: absolute;
  left: -8px; bottom: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 12px 8px;
  border-color: transparent transparent #182533 transparent;
}
.tg-msg.bot strong { color: #fff; }
.tg-msg .cmd { color: #7cc2f2; }
.tg-msg .tk {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint);
  background: rgba(46, 229, 157, 0.1);
  padding: 1px 6px;
  border-radius: 6px;
}
.tg-meta {
  position: absolute;
  right: 10px; bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
  color: #6c7883;
}
.tg-msg.user .tg-meta { color: #8db8dc; }
.tg-meta svg { width: 14px; height: 10px; color: #6ec9ff; }

.tg-cmds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 16px 14px; }
.tg-cmd {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #7cc2f2;
  background: rgba(124, 194, 242, 0.12);
  border: none;
  border-radius: 8px;
  padding: 9px 6px;
  transition: background 0.2s ease;
}
.tg-cmd:hover { background: rgba(124, 194, 242, 0.24); }

.tg-input {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #17212b;
  font-size: 0.9rem;
  color: #6c7883;
}
.tg-input .ic { width: 22px; height: 22px; flex: none; color: #6c7883; }
.tg-input .ph { flex: 1; }
.tg-input .send {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--tg-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.tg-input .send svg { width: 16px; height: 16px; }

/* ---------- Quick start guide ---------- */
.guide-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 44px; }
.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 12px 26px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.guide-tab svg { width: 17px; height: 17px; }
.guide-tab:hover { color: var(--text); transform: translateY(-1px); }
.guide-tab.active { color: var(--mint); border-color: rgba(46, 229, 157, 0.4); background: rgba(46, 229, 157, 0.08); }
.guide-panel { display: none; }
.guide-panel.active { display: block; animation: fade-up 0.45s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gsteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gstep {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gstep:hover { transform: translateY(-4px); border-color: rgba(46, 229, 157, 0.3); }
.gstep-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #04121a;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(46, 229, 157, 0.25);
}
.gstep h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.gstep p { color: var(--muted); font-size: 0.88rem; flex: 1; }
.gstep p a { color: var(--mint); }
.gstep-chip {
  align-self: flex-start;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tg-blue);
  background: rgba(84, 169, 235, 0.1);
  border: 1px solid rgba(84, 169, 235, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
}
.guide-cta { text-align: center; margin-top: 40px; }

/* ---------- Real X threads ---------- */
a.x-post { cursor: pointer; }
.x-post:hover { border-color: rgba(46, 229, 157, 0.35); }
.x-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.06);
  padding: 3px 10px;
  border-radius: 6px;
}
.x-views { display: inline-flex; align-items: center; gap: 6px; }
.x-foot .x-date { margin-left: 0; }
.x-open {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 0.78rem;
  transition: color 0.2s ease;
}
.x-open svg { width: 13px; height: 13px; }
.x-post:hover .x-open { color: var(--mint); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1024px) {
  .gsteps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bot-split { grid-template-columns: 1fr; gap: 44px; }
  .feature-lg { grid-template-columns: 1fr; }
  .feature-wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .feature-lg, .feature-wide { grid-column: auto; }
  .gsteps { grid-template-columns: 1fr; }
  .guide-tab { padding: 10px 18px; font-size: 0.88rem; }
  .tg-log { min-height: 260px; }
}

/* ---------- v3 tweaks: eyebrow links, merged how-it-works ---------- */
.eyebrow a { color: inherit; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.step p a { color: var(--mint); }
.step p a:hover { text-decoration: underline; text-underline-offset: 2px; }
.steps-cta { margin-top: 44px; margin-bottom: 0; }
.step-visual .gstep-chip { margin-top: 0; align-self: center; }

/* ---------- v4: mobile nav actions (Bot + App, compact) ---------- */
/* Desktop/tablet keep the full "Try the Bot" / "Launch App" labels. */
.btn .lbl-short { display: none; }

@media (max-width: 600px) {
  /* Both quick actions live in the top bar without covering the logo:
     short "Bot" / "App" labels, tight enough to fit common phones (>=360px). */
  .nav-inner { gap: 8px; }
  .nav-cta { gap: 7px; }
  .nav-cta .btn-tg { display: inline-flex; }
  .nav-cta .btn-sm { padding: 8px 12px; gap: 6px; font-size: 0.82rem; }
  .nav-cta .btn-sm svg { width: 16px; height: 16px; }
  .nav-cta .btn .lbl-long { display: none; }
  .nav-cta .btn .lbl-short { display: inline; }
}

@media (max-width: 360px) {
  /* Very narrow — labels no longer fit, fall back to the icon only. */
  .nav-cta { gap: 6px; }
  .nav-cta .btn-sm { padding: 0; width: 38px; height: 38px; gap: 0; }
  .nav-cta .btn .lbl-short { display: none; }
}
