/* Hyper ($HYPER · usehyper.fun) — Autonomous Hyperliquid Perps Agent on X
   Obsidian-Mint Institutional Polish x Linear 60fps Kinetic Micro-Interactions */

:root {
  color-scheme: dark;
  --bg: #071412;
  --surface: #0a1917;
  --surface-2: #0e211e;
  --glass: rgba(14, 33, 30, 0.72);
  --border: rgba(151, 252, 228, 0.1);
  --border-hi: rgba(151, 252, 228, 0.32);
  --mint: #97fce4;
  --mint-deep: #2ee6a6;
  --mint-text: #050e0c;
  --red: #ff4d5e;
  --warn: #f5b73b;
  --text: #eefaf7;
  --silver: #9bb5b0;
  --muted: #5d7974;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(151, 252, 228, 0.22) #071412;
}

*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: #071412; }
*::-webkit-scrollbar-thumb { background: rgba(151, 252, 228, 0.22); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: var(--mint); }

::selection { background: var(--mint); color: var(--mint-text); }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Architectural Grid + Breathing Mint Radial Aura */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(151, 252, 228, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(151, 252, 228, 0.025) 1px, transparent 1px),
    radial-gradient(960px 440px at 65% 12%, rgba(151, 252, 228, 0.075), transparent 72%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  animation: auraBreath 9s ease-in-out infinite alternate;
}

@keyframes auraBreath {
  0% { opacity: 0.85; }
  100% { opacity: 1; }
}

.site-wrap { position: relative; z-index: 1; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-mint { color: var(--mint) !important; }
.text-profit { color: var(--mint-deep) !important; }
.text-red { color: var(--red) !important; }
.text-warn { color: var(--warn) !important; }
.text-silver { color: var(--silver) !important; }
.text-muted { color: var(--muted) !important; }
.hidden { display: none !important; }

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ================= PULSING MINT BEACON ================= */
.mint-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  flex-shrink: 0;
}
.mint-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--mint);
  animation: mintPing 2s var(--ease-expo) infinite;
}
@keyframes mintPing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ================= TACTILE BUTTONS (SHEEN SWEEP + LIFT + PRESS) ================= */
.btn-mint {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--mint-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 18px rgba(151, 252, 228, 0.22);
  transition: transform 0.16s var(--ease-expo), box-shadow 0.16s var(--ease-expo);
}
.btn-mint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.6) 50%, transparent 78%);
  transform: translateX(-140%);
  transition: transform 0.55s var(--ease-expo);
  pointer-events: none;
}
.btn-mint:hover::after { transform: translateX(140%); }
.btn-mint:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 26px rgba(151, 252, 228, 0.34);
}
.btn-mint:active { transform: scale(0.97); }

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  backdrop-filter: blur(12px);
  transition: border-color 0.18s var(--ease-expo), transform 0.16s var(--ease-expo), background-color 0.18s ease;
}
.btn-glass:hover {
  border-color: var(--border-hi);
  background: rgba(14, 33, 30, 0.92);
  transform: translateY(-1px);
}
.btn-glass:active { transform: scale(0.97); }

/* ================= CURSOR SPOTLIGHT GLASS CARDS ================= */
.spotlight-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(151, 252, 228, 0.1);
  transition: border-color 0.22s var(--ease-expo), transform 0.22s var(--ease-expo);
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(151, 252, 228, 0.09),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}
.spotlight-card:hover { border-color: var(--border-hi); }
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* ================= STICKY HEADER (h-14 / 56px) ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: rgba(7, 20, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.tb-left { display: flex; align-items: center; gap: 10px; justify-self: start; }
.brand-link { display: inline-flex; align-items: center; gap: 9px; }
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(151, 252, 228, 0.35);
}
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: -0.03em; }
.ca-pill {
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
  background: rgba(151, 252, 228, 0.12);
  border: 1px solid rgba(151, 252, 228, 0.3);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.16s ease;
}
.ca-pill:hover { background: rgba(151, 252, 228, 0.22); }
.hl-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--silver);
  padding-left: 4px;
}

/* Sliding Navigation Pill */
.tb-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: rgba(10, 25, 23, 0.9);
  border: 1px solid var(--border);
  justify-self: center;
}
.nav-pill-bg {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  width: 82px;
  border-radius: 8px;
  background: rgba(151, 252, 228, 0.13);
  border: 1px solid rgba(151, 252, 228, 0.28);
  transition: transform 0.28s var(--ease-expo), width 0.28s var(--ease-expo);
  pointer-events: none;
  z-index: 0;
}
.nav-tab {
  position: relative;
  z-index: 1;
  height: 30px;
  padding: 0 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--silver);
  border-radius: 8px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--mint); }

.tb-right { display: flex; align-items: center; gap: 8px; justify-self: end; }
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition: border-color 0.16s ease, color 0.16s ease;
}
.icon-btn:hover, .icon-btn.active { border-color: var(--border-hi); color: var(--mint); }
.tb-connect { height: 34px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }

/* ================= LIVE HYPERLIQUID TICKER TAPE (h-8 / 32px) ================= */
.ticker-bar {
  height: 32px;
  display: flex;
  align-items: center;
  background: rgba(10, 25, 23, 0.92);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  font-size: 11.5px;
}
.ticker-label {
  height: 100%;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(151, 252, 228, 0.08);
  border-right: 1px solid var(--border);
  color: var(--mint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.ticker-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-left: 12px;
  animation: hlMarquee 36s linear infinite;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes hlMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.tick-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(151, 252, 228, 0.08);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.tick-chip:hover { border-color: var(--mint); background: rgba(151, 252, 228, 0.09); }
.tick-sym { font-weight: 700; color: var(--text); }

/* Price Flash Animations (300ms) */
.flash-up { animation: hlFlashUp 0.34s var(--ease-expo); }
.flash-down { animation: hlFlashDown 0.34s var(--ease-expo); }
@keyframes hlFlashUp {
  0% { color: #ffffff; background: rgba(151, 252, 228, 0.25); }
  100% { background: transparent; }
}
@keyframes hlFlashDown {
  0% { color: #ffffff; background: rgba(255, 77, 94, 0.25); }
  100% { background: transparent; }
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 58px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(151, 252, 228, 0.07);
  border: 1px solid rgba(151, 252, 228, 0.22);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.hero-title .line-2 {
  display: block;
  color: var(--silver);
}
.hero-sub {
  font-size: 16px;
  color: var(--silver);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Interactive Hero Command Simulator */
.cmd-sim-wrap {
  max-width: 580px;
  margin-bottom: 22px;
}
.cmd-input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border-radius: 14px;
  background: rgba(10, 25, 23, 0.92);
  border: 1px solid rgba(151, 252, 228, 0.24);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(151, 252, 228, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cmd-input-shell:focus-within {
  border-color: var(--mint);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(151, 252, 228, 0.12);
}
.cmd-input-shell input {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  min-width: 0;
}
.cmd-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
}
.cmd-quick-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.cmd-ex-chip {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(14, 33, 30, 0.72);
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 11px;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.cmd-ex-chip:hover { border-color: var(--mint); color: var(--mint); }

/* Animated Live Order Receipt Card under Hero Simulator */
.sim-receipt-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(10, 25, 23, 0.94);
  border: 1px solid rgba(151, 252, 228, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  animation: receiptSpring 0.28s var(--ease-expo) both;
}
@keyframes receiptSpring {
  0% { opacity: 0; transform: translateY(-8px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.src-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.src-head-left { display: flex; align-items: center; gap: 9px; }
.src-avatar { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.src-dir-pill {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.src-dir-pill.long { background: rgba(151, 252, 228, 0.15); color: var(--mint); border: 1px solid rgba(151, 252, 228, 0.35); }
.src-dir-pill.short { background: rgba(255, 77, 94, 0.15); color: var(--red); border: 1px solid rgba(255, 77, 94, 0.35); }

.src-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7, 20, 18, 0.85);
  border: 1px solid var(--border);
}
.src-kv { display: flex; flex-direction: column; gap: 2px; }
.src-k { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.src-v { font-size: 13px; font-weight: 700; }

.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero Right: Floating 3D Glossy Mascot & Orbital Pills */
.hero-stage {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(151, 252, 228, 0.1);
  pointer-events: none;
}
.ring-1 { width: 290px; height: 290px; }
.ring-2 { width: 380px; height: 380px; border-style: dashed; border-color: rgba(151, 252, 228, 0.07); }

.orbit-pill {
  position: absolute;
  z-index: 3;
  padding: 8px 13px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s var(--ease-expo);
}
.orbit-pill-1 {
  top: 28px;
  left: -8px;
  background: var(--mint);
  color: var(--mint-text);
}
.orbit-pill-2 {
  right: -10px;
  bottom: 84px;
  background: rgba(10, 25, 23, 0.92);
  border: 1px solid rgba(151, 252, 228, 0.28);
  color: var(--text);
  backdrop-filter: blur(12px);
}
.orbit-pill-3 {
  left: 10px;
  bottom: 24px;
  background: rgba(10, 25, 23, 0.9);
  border: 1px solid var(--border);
  color: var(--silver);
  backdrop-filter: blur(12px);
}

/* ================= MASCOT ANIMATIONS ================= */
.hyper-mascot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: mascotFloat 4.6s ease-in-out infinite;
  transition: transform 0.22s var(--ease-expo);
}
.hyper-mascot:hover { transform: scale(1.06) rotate(2deg); }
.hyper-mascot.hm-boop { animation: mascotBoop 0.42s var(--ease-expo); }

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-9px) rotate(1.5deg); }
}
@keyframes mascotBoop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12, 0.9); }
  70% { transform: scale(0.95, 1.06); }
  100% { transform: scale(1); }
}

.hm-eyes {
  transform-origin: 120px 110px;
  transition: transform 0.12s ease;
}
.hm-eyes.hm-blink {
  transform: scaleY(0.08);
}
.hm-pupil-group {
  transition: transform 0.12s ease-out;
}

/* ================= SECTION HEADERS & SCROLL REVEAL ================= */
.section-block { padding: 68px 0; }
.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
  display: inline-block;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.6;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-expo), transform 0.55s var(--ease-expo);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= SECTION 2: 3-CARD X THREAD SHOWCASE ================= */
.threads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.thread-card-wrap {
  position: relative;
  padding-top: 38px;
}
.thread-card-wrap:nth-child(2) { margin-top: 18px; }

.peek-mascot-slot {
  position: absolute;
  top: -8px;
  right: 22px;
  z-index: 4;
  pointer-events: auto;
}

.thread-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.tc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint);
}
.tweet-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 20, 18, 0.85);
  border: 1px solid rgba(151, 252, 228, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tw-user { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.tw-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--mint);
  overflow: hidden;
  flex-shrink: 0;
}
.tw-av img { width: 100%; height: 100%; object-fit: cover; }
.tw-body { font-size: 13px; color: var(--text); line-height: 1.5; }
.tw-reply-line {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(151, 252, 228, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tw-agent-box {
  border-color: rgba(151, 252, 228, 0.28);
  background: rgba(14, 33, 30, 0.85);
}
.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 9px;
}
.tc-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tc-try-btn {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--mint);
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(151, 252, 228, 0.08);
  border: 1px solid rgba(151, 252, 228, 0.22);
  transition: background-color 0.16s ease;
}
.tc-try-btn:hover { background: var(--mint); color: var(--mint-text); }

/* ================= SECTION 3: NON-CUSTODIAL SECURITY PIPELINE ================= */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.pipe-step {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pipe-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.08em;
}
.pipe-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.pipe-desc { font-size: 13px; color: var(--silver); line-height: 1.55; }
.security-badge {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(151, 252, 228, 0.1);
  border: 1px solid rgba(151, 252, 228, 0.32);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
}
.pipe-connector-line {
  height: 2px;
  margin-bottom: 18px;
  background: rgba(151, 252, 228, 0.12);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.pipe-connector-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  animation: signalFlow 2.6s linear infinite;
}
@keyframes signalFlow {
  0% { left: -30%; }
  100% { left: 110%; }
}

/* ================= SECTION 4: LIVE X TRADE FEED & WALL OF FADES ================= */
.feed-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.feed-list { display: flex; flex-direction: column; gap: 12px; }
.feed-card {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fc-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-cmd-badge {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.fc-cmd-badge.long { background: rgba(151, 252, 228, 0.14); color: var(--mint); }
.fc-cmd-badge.short { background: rgba(255, 77, 94, 0.15); color: var(--red); }

.fc-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7, 20, 18, 0.85);
  border: 1px solid var(--border);
}
.fc-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fc-btn-grp { display: flex; gap: 8px; }
.btn-xs {
  height: 28px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

.wall-panel { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.wall-row {
  padding: 12px;
  border-radius: 10px;
  background: rgba(7, 20, 18, 0.82);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wall-row-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.wall-bar-track { height: 5px; border-radius: 99px; background: rgba(151, 252, 228, 0.08); overflow: hidden; }
.wall-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); }

/* ================= SECTION 5: DIRECT WEB TERMINAL ================= */
.terminal-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 310px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 540px;
}
.term-markets {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: rgba(7, 20, 18, 0.7);
}
.term-head {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
}
.term-mkt-list { flex: 1; overflow-y: auto; }
.term-mkt-row {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(151, 252, 228, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.term-mkt-row:hover { background: rgba(151, 252, 228, 0.05); }
.term-mkt-row.active {
  background: rgba(151, 252, 228, 0.1);
  border-left: 2px solid var(--mint);
}
.tmr-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.tmr-bot { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }

.term-center {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.term-chart-bar {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tcb-left { display: flex; align-items: center; gap: 12px; }
.tcb-tf-grp { display: inline-flex; gap: 3px; background: var(--bg); padding: 3px; border-radius: 7px; border: 1px solid var(--border); }
.tcb-tf {
  height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
}
.tcb-tf.active { background: var(--mint); color: var(--mint-text); }

.term-chart-mount {
  flex: 1;
  min-height: 360px;
  width: 100%;
  background: #06110f;
}

.term-nl-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: rgba(7, 20, 18, 0.9);
}
.term-nl-bar input {
  flex: 1;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 12.5px;
}
.term-nl-bar input:focus { border-color: var(--mint); }

.term-ticket {
  border-left: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10, 25, 23, 0.9);
}
.side-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.side-pill {
  height: 34px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--silver);
  transition: all 0.16s var(--ease-expo);
}
.side-pill.active.long { background: var(--mint); color: var(--mint-text); }
.side-pill.active.short { background: var(--red); color: #fff; }

.ticket-field { display: flex; flex-direction: column; gap: 6px; }
.tf-row-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--silver); }
.ticket-input-box {
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket-input-box input { flex: 1; font-size: 14px; font-weight: 700; }
.lev-slider {
  width: 100%;
  accent-color: var(--mint);
  cursor: pointer;
}
.lev-ticks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.ticket-kv-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
}
.tkv-row { display: flex; justify-content: space-between; }

/* ================= SECTION 6: TOKENOMICS BENTO ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bento-num { font-size: 12px; font-weight: 700; color: var(--mint); }
.bento-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.bento-desc { font-size: 13.5px; color: var(--silver); line-height: 1.6; }

/* ================= FOOTER ================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================= 3-STEP CONNECT & AUTHORIZE MODAL ================= */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 10, 9, 0.82);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.18s ease both;
}
.modal-card {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  background: #0a1917;
  border: 1px solid var(--border-hi);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: receiptSpring 0.24s var(--ease-expo) both;
}
.modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.step-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.step-pill {
  padding: 6px 8px;
  border-radius: 7px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
}
.step-pill.active { border-color: var(--mint); color: var(--mint); background: rgba(151, 252, 228, 0.08); }
.step-pill.done { border-color: var(--mint-deep); color: var(--mint-deep); }

.modal-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  font-size: 13px;
}
.modal-input:focus { border-color: var(--mint); }
.eip-box {
  padding: 12px;
  border-radius: 10px;
  background: rgba(151, 252, 228, 0.06);
  border: 1px solid rgba(151, 252, 228, 0.25);
  font-size: 12px;
  color: var(--silver);
  line-height: 1.55;
}

/* ================= TOASTS ================= */
.toast-stack {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast-item {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(10, 25, 23, 0.96);
  border: 1px solid var(--mint);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  animation: receiptSpring 0.22s var(--ease-expo) both;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= RESPONSIVE (1280px & MOBILE 390px) ================= */
@media (max-width: 1080px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .tb-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 310px; }
  .threads-grid { grid-template-columns: 1fr; }
  .thread-card-wrap:nth-child(2) { margin-top: 0; }
  .pipeline-grid { grid-template-columns: 1fr 1fr; }
  .feed-layout { grid-template-columns: 1fr; }
  .terminal-shell { grid-template-columns: 1fr; }
  .term-markets { border-right: none; border-bottom: 1px solid var(--border); max-height: 200px; }
  .term-ticket { border-left: none; border-top: 1px solid var(--border); }
  .bento-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hl-status-chip { display: none; }
  .src-grid, .fc-telemetry { grid-template-columns: 1fr 1fr; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .orbit-pill-1 { left: 4px; top: 8px; font-size: 11px; }
  .orbit-pill-2 { right: 4px; bottom: 54px; font-size: 11px; }
  .orbit-pill-3 { left: 4px; bottom: 8px; font-size: 11px; }
}
