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

:root {
  --bg: #030304;
  --bg-elevated: #08080a;
  --surface: #0e0e12;
  --surface2: #141419;
  --surface3: #1c1c24;
  --line: rgba(255, 255, 255, 0.06);
  --line2: rgba(255, 255, 255, 0.1);
  --line3: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #a1a1aa;
  --dim: #71717a;
  --accent: #3b82f6;
  --accent2: #6366f1;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --accent-glow: rgba(59, 130, 246, 0.4);
  --ok: #4ade80;
  --gold: #fbbf24;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
}

.orb-2 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  animation-delay: -6s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  bottom: -80px;
  left: 35%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  animation-delay: -12s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 10%, transparent 70%);
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s var(--ease), border-color 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(3, 3, 4, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 40px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand-mark.sm {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.brand-logo-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-mark.sm .brand-logo-img {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav {
  display: none;
  gap: 32px;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-btn.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-btn.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  background: rgba(3, 3, 4, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav .btn {
  margin-top: 8px;
  justify-content: center;
}

@media (min-width: 900px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #4f8ff7 0%, var(--accent) 40%, var(--accent2) 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08) inset, 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1) inset, 0 8px 32px var(--accent-glow);
}

.btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line2);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line3);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px clamp(20px, 4vw, 40px) 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-top: 140px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

.title-accent {
  display: block;
  background: linear-gradient(135deg, #93c5fd 0%, #818cf8 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  max-width: 480px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.metric-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.metric-unit {
  font-size: 0.85em;
  color: var(--muted);
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero visual / panel mock */
.hero-visual {
  perspective: 1200px;
}

.visual-frame {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.visual-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.panel-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), var(--surface);
  border: 1px solid var(--line2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(59, 130, 246, 0.08);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-logo-img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  border-radius: 9px;
  flex-shrink: 0;
}

.panel-logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.panel-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ok);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.live-dot.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.panel-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  color: #bfdbfe;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
}

.panel-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
  overflow-x: auto;
}

.panel-tab {
  flex-shrink: 0;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  border-radius: 8px;
  cursor: default;
  transition: all 0.25s;
}

.panel-tab.active {
  color: var(--text);
  background: var(--surface3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.panel-body {
  position: relative;
  min-height: 220px;
  padding: 16px 18px 20px;
}

.panel-view {
  display: none;
  animation: fadeUp 0.35s var(--ease);
}

.panel-view.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mode-row {
  display: flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 14px;
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--line);
}

.mode {
  flex: 1;
  padding: 7px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--dim);
  border-radius: 7px;
}

.mode.active {
  color: var(--text);
  background: var(--surface3);
}

.mock-field {
  margin-bottom: 12px;
}

.mock-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.mock-input {
  display: block;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 9px;
}

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

.amount-grid span {
  padding: 8px 4px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  text-align: center;
  color: var(--dim);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.amount-grid span.on {
  color: #93c5fd;
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, 0.3);
}

.mock-action {
  margin-top: 14px;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 16px var(--accent-glow);
}

.sniper-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
}

.sniper-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--mono);
  color: var(--muted);
  padding: 4px 8px;
  background: var(--surface2);
  border-radius: 6px;
}

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.mock-row.ok span:last-child {
  color: var(--ok);
  font-weight: 600;
}

.wallet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface2);
}

.wallet-row.on {
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--accent-soft);
}

.wallet-av {
  font-size: 20px;
}

.wallet-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.wallet-stat {
  font-size: 11px;
  color: var(--ok);
}

.score-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
}

.score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--ok);
}

.score-label {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.toggle-row.on {
  color: var(--text);
}

.toggle {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: var(--surface3);
  border: 1px solid var(--line);
  position: relative;
}

.toggle-row.on .toggle {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.toggle-row.on .toggle::after {
  transform: translateX(16px);
}

.float-card {
  position: absolute;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: floatCard 5s ease-in-out infinite;
}

.fc-1 {
  top: 12%;
  left: -8%;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 8%;
  right: -6%;
  animation-delay: -2.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fc-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fc-val {
  font-size: 14px;
  font-weight: 700;
}

.fc-val.ok {
  color: var(--ok);
}

/* Ticker */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  padding: 14px 0;
}

.ticker {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker .dot {
  color: rgba(59, 130, 246, 0.5);
  font-size: 8px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px clamp(20px, 4vw, 40px);
}

.section-dark {
  max-width: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark .section-head,
.section-dark .module-list {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.overline {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #60a5fa;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-lg {
    grid-row: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }
}

.bento-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.06);
}

.bento-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #93c5fd;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 18px;
}

.icon-wrap.gold {
  color: var(--gold);
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
}

.bento-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.bento-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.bento-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}

.bento-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 640px) {
  .bento-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips span {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Module list */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.module-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.module-idx {
  font-size: 13px;
  font-weight: 600;
  color: var(--dim);
  min-width: 28px;
}

.module-info h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.module-info p {
  font-size: 13px;
  color: var(--dim);
}

.module-status {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  flex-shrink: 0;
}

.module-status.live {
  color: var(--ok);
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.2);
}

/* Setup — matches Axiom Trade widget style */
.setup-section {
  padding-top: 80px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(99, 102, 241, 0.04), transparent 50%);
}

.setup-head {
  text-align: center;
  margin-bottom: 56px;
}

.setup-head h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
}

.setup-head p {
  font-size: 16px;
  color: var(--muted);
}

.setup-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .setup-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.setup-card-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  border-radius: 16px;
  background: #0a0a0c;
  background-image: radial-gradient(ellipse 120% 80% at 100% -20%, rgba(59, 130, 246, 0.06), transparent 50%);
  border: 1px solid var(--line);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.setup-card-step:hover {
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(59, 130, 246, 0.06);
  transform: translateY(-3px);
}

.step-icon-wrap {
  position: relative;
  margin-bottom: 24px;
}

.step-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #bfdbfe;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.45);
  z-index: 1;
}

.setup-card-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.kbd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 20px;
}

.kbd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #131316;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.kbd-os {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dim);
  min-width: 32px;
  text-align: left;
}

.kbd-keys {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.bookmark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 28px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #1a1a1f;
  border: 1px solid var(--line2);
  border-radius: 11px;
  cursor: grab;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bookmark-btn:hover {
  background: var(--accent-soft);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}

.bookmark-btn:active {
  cursor: grabbing;
  transform: scale(0.98);
}

.step-trade {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
}

.text-accent {
  color: #93c5fd;
  font-weight: 600;
}

.step-foot {
  margin-top: auto;
  font-size: 13px;
  color: var(--dim);
}

/* How to use block */
.usage-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #0a0a0c;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

@media (min-width: 900px) {
  .usage-block {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 48px;
    padding: 48px;
  }
}

.usage-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 10px;
}

.usage-head p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

.usage-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 11px;
  background: #131316;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.usage-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.usage-num {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  padding-top: 2px;
}

.usage-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.usage-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.usage-panel {
  padding: 0;
  border-radius: 16px 0 0 16px;
  background: #0a0a0c;
  background-image: radial-gradient(ellipse 120% 80% at 100% -20%, rgba(59, 130, 246, 0.08), transparent 50%);
  border: 1px solid var(--line);
  border-right: none;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
}

.usage-panel-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.85);
}

.usage-panel-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.usage-panel-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ok);
}

.usage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.usage-tabs span {
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 500;
  color: var(--dim);
  border-radius: 8px;
}

.usage-tabs span.on {
  color: var(--text);
  background: #232329;
}

.usage-panel-tip {
  padding: 16px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
  border-top: 1px solid var(--line);
  background: #131316;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 4vw, 40px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.footer-note {
  flex: 1;
  font-size: 13px;
  color: var(--dim);
  min-width: 200px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* Mobile — desktop only */
.mobile-only {
  display: none;
}

.site-shell {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #030304;
    background-image:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 55%),
      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(99, 102, 241, 0.06), transparent 50%);
  }

  .site-shell {
    display: none !important;
  }
}

.mobile-only-card {
  max-width: 360px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  border-radius: 20px;
  background: #0a0a0c;
  border: 1px solid var(--line2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.mobile-only-logo {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.mobile-only-brand {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.mobile-only-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #93c5fd;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.15);
}

.mobile-only-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.mobile-only-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .float-card {
    display: none;
  }

  .hero-metrics {
    gap: 20px;
  }

  .metric-val {
    font-size: 1.25rem;
  }
}
