/* === Fonts (Clash Display + Satoshi) === */
@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap");

/* === Base tokens (NEW THEME: Obsidian + Ruby + Champagne) === */

:root {
  /* Surfaces */
  --bg: #07070a;
  --bg-elevated: #0b0b11;
  --bg-soft: #12101a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f3f4ff;
  --text-muted: rgba(243, 244, 255, 0.62);

  /* Accent (Ruby) */
  --accent: #ff355d;
  --accent-soft: rgba(255, 53, 93, 0.14);
  --accent-strong: rgba(255, 53, 93, 0.46);

  /* Secondary accent (Champagne) */
  --accent-2: #f5c76a;
  --accent-2-soft: rgba(245, 199, 106, 0.14);

  /* States */
  --success: #39e58c;
  --danger: #ff4d6d;

  /* Radius */
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-xxl: 22px;

  /* Shadows */
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.84);
  --shadow-card: 0 22px 70px rgba(0, 0, 0, 0.80);
  --shadow-hover: 0 28px 90px rgba(0, 0, 0, 0.88);

  /* Motion */
  --transition-fast: 0.14s ease;
  --transition-hover: 0.18s ease-out;

  /* Glass */
  --glass: rgba(7, 6, 10, 0.62);
  --glass-strong: rgba(7, 6, 10, 0.82);
  --border-glow: rgba(255, 53, 93, 0.26);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Satoshi",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Inter",
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;

  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 62% -30%, rgba(255, 53, 93, 0.16) 0%, transparent 60%),
    radial-gradient(circle at -20% 120%, rgba(245, 199, 106, 0.14) 0%, transparent 65%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 2%),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.02) 0%, transparent 2%);
  background-repeat: no-repeat;
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   HEADER (clean)
========================= */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 10, 0.92),
    rgba(7, 7, 10, 0.78),
    rgba(7, 7, 10, 0.25)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

/* Brand as a link (no default link styling) */
.hdr__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.hdr__mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.22) 0%,
    var(--accent) 34%,
    var(--accent-2) 68%,
    rgba(2, 4, 16, 1) 100%
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.75);
}

.hdr__name {
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* Desktop nav */
.hdr__nav {
  display: none;
  gap: 20px;
  align-items: center;
}

.hdr__link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.15s ease;
  position: relative;
  padding: 6px 2px;
  letter-spacing: 0.02em;
}
.hdr__link:hover {
  color: var(--text);
}
.hdr__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 53, 93, 0.75), transparent);
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.hdr__link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Actions */
.hdr__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hdr__cta {
  display: inline-flex;
}

/* Burger */
.hdr__burger {
  width: 42px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 6, 10, 0.56);
  cursor: pointer;

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;

  transition:
    transform 0.12s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hdr__burger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 53, 93, 0.55);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.72);
}

.hdr__burgerLine {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: 0.95;
  transform-origin: center;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

/* Burger -> X */
.hdr.is-open .hdr__burgerLine:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hdr.is-open .hdr__burgerLine:nth-child(2) {
  opacity: 0;
}
.hdr.is-open .hdr__burgerLine:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer + backdrop */
.hdr__backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.hdr__drawer {
  position: fixed;
  z-index: 80;
  top: 10px;
  right: 10px;
  width: min(92vw, 380px);
  max-height: calc(100vh - 20px);
  overflow: auto;

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-hover);

  transform: translateY(-8px) translateX(10px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.hdr.is-open .hdr__drawer {
  transform: translateY(0) translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.hdr.is-open .hdr__backdrop {
  opacity: 1;
}

.hdr__drawerTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hdr__close {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 4, 16, 0.72);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hdr__close:hover {
  border-color: rgba(255, 53, 93, 0.55);
}

.hdr__drawerNav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
}

.hdr__drawerLink {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;

  border-radius: 16px;
  padding: 12px 12px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 4, 16, 0.52);

  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    transform 0.08s ease;
}

.hdr__drawerLink:hover {
  border-color: rgba(255, 53, 93, 0.55);
  background: rgba(255, 53, 93, 0.08);
  transform: translateY(-1px);
}

.hdr__drawerCta {
  padding: 0 14px 14px;
}

/* Lock scroll when open */
html.is-locked,
body.is-locked {
  overflow: hidden;
}

/* Desktop breakpoint */
@media (min-width: 720px) {
  .hdr__nav {
    display: inline-flex;
  }
  .hdr__burger {
    display: none;
  }
}

/* Small screens: keep CTA, but allow it to shrink */
@media (max-width: 480px) {
  .hdr__cta {
    display: none;
  }
}

/* === Buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 0.08s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(255, 255, 255, 0.14);
  color: #050710;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.86),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 24px 66px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.btn-small {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-large {
  padding-inline: 32px;
  padding-block: 13px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* === Sections === */

.site-main {
  flex: 1;
}

.section {
  padding-block: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-hero {
  padding-top: 96px;
  padding-bottom: 72px;
  border-bottom: none;
}

.section-default {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), transparent 55%);
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(255, 53, 93, 0.08), transparent 55%);
}

.section-cta {
  background: radial-gradient(circle at top, rgba(245, 199, 106, 0.14), transparent 60%);
}

.section-title {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-rendering: geometricPrecision;
}

.section-title-center {
  text-align: center;
}

.section-subtitle {
  max-width: 540px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .section {
    padding-block: 40px;
  }
  .section-hero {
    padding-top: 80px;
    padding-bottom: 56px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === HERO === */

.hero-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-mascot {
  margin-bottom: 26px;
}

.hero-orb {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.22) 0%,
    var(--accent) 34%,
    var(--accent-2) 68%,
    rgba(2, 4, 16, 1) 100%
  );
  box-shadow:
    0 0 46px rgba(255, 53, 93, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.hero-logo {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin: 14px 0 10px;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 53, 93, 0.78);
  margin: 0 0 16px;
}

.hero-lead {
  max-width: 640px;
  font-size: clamp(14px, 2.2vw, 16px);
  color: var(--text-muted);
  margin: 0 0 26px;
}

.hero-actions-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* === Inline links === */

.link-inline {
  font-size: 13px;
  color: rgba(245, 199, 106, 0.82);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}

/* === Testimonials === */

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.marquee {
  position: relative;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 14px;
  animation: marquee-left 32s linear infinite;
}

.marquee-bottom .marquee-track {
  animation-name: marquee-right;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.tweet-card {
  min-width: 290px;
  max-width: 320px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(7, 6, 10, 0.96));
  padding: 16px 16px 14px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tweet-card p {
  margin: 0 0 10px;
}

.tweet-meta {
  font-size: 11px;
  color: rgba(243, 244, 255, 0.52);
}

/* === Quick Start / Code === */

.code-window {
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(255, 53, 93, 0.14), rgba(7, 6, 10, 0.97));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.code-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}

.code-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.dot-red {
  background: #ff5f57;
}
.dot-yellow {
  background: #febc2e;
}
.dot-green {
  background: #28c840;
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.code-tab {
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(8, 12, 30, 0.9);
  color: var(--text-muted);
  font-size: 11px;
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.code-tab.is-active {
  background: var(--accent);
  color: #050710;
  border-color: rgba(255, 255, 255, 0.14);
}

.code-body {
  position: relative;
  padding: 14px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050816;
}

.code-text {
  margin: 0;
  font-family:
    "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #e3f3ff;
  white-space: pre-wrap;
}

.code-copy {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 7, 22, 0.9);
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.code-copy:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* === Features / What it does === */

.features-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.96);
  padding: 16px 16px 14px;
  font-size: 14px;
  transition:
    border-color var(--transition-hover),
    background-color var(--transition-hover),
    box-shadow var(--transition-hover),
    transform 0.08s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-title {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 6px;
}

.feature-text {
  margin: 0;
  color: var(--text-muted);
}

/* === Chips / Exchanges === */

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.chip {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.96);
  color: var(--text);
  font-size: 13px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition:
    border-color var(--transition-hover),
    background-color var(--transition-hover),
    box-shadow var(--transition-hover),
    transform 0.08s ease;
}

.chip:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

/* Exchange colors */
.chip-dot-binance {
  background: #f3ba2f;
}
.chip-dot-bybit {
  background: #f9a606;
}
.chip-dot-okx {
  background: #ffffff;
}
.chip-dot-kucoin {
  background: #29c4a9;
}
.chip-dot-coinbase {
  background: #0052ff;
}
.chip-dot-kraken {
  background: #5842ff;
}
.chip-dot-gate {
  background: #00b489;
}
.chip-dot-mexc {
  background: #22e2a0;
}
.chip-dot-bitget {
  background: #0098a7;
}
.chip-dot-uniswap {
  background: #ff007a;
}

.chips-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.chips-separator {
  color: var(--text-muted);
}

/* === Generic split layout === */

.split {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.split-left,
.split-right {
  flex: 1;
}

@media (max-width: 880px) {
  .split {
    flex-direction: column;
  }
}

/* === Accordion === */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.96);
  color: var(--text);
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  display: block;
  transition:
    border-color var(--transition-hover),
    background-color var(--transition-hover),
    box-shadow var(--transition-hover),
    transform 0.08s ease;
}

.accordion-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.accordion-title {
  font-weight: 500;
}

.accordion-body {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  display: none;
}

.accordion-item.is-open {
  border-color: var(--accent);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

.accordion-item.is-open .accordion-body {
  display: block;
}

/* === Mock card (if used) === */

.mock-card {
  border-radius: var(--radius-xxl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  font-size: 13px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mock-title {
  font-weight: 600;
}

.mock-label {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-section {
  margin-bottom: 10px;
}

.mock-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.mock-input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 6, 10, 0.96);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-pill {
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.mock-pill-exchange {
  background: rgba(243, 186, 47, 0.12);
}

.mock-balance {
  font-size: 12px;
  color: var(--text-muted);
}

.mock-toggle-row {
  display: flex;
  gap: 6px;
}

.mock-toggle {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 6, 10, 0.96);
  color: var(--text-muted);
  font-size: 12px;
  padding: 5px 6px;
  cursor: pointer;
}

.mock-toggle.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.2);
  color: #050710;
}

.mock-tag {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 9px;
  font-size: 12px;
}

/* === Dashboard preview === */

.dash {
  border-radius: var(--radius-xxl);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.98);
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.dash-sidebar {
  width: 170px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), rgba(7, 6, 10, 1));
  padding: 14px 10px;
}

.dash-logo {
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 9px;
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.dash-nav-item.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.dash-main {
  flex: 1;
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-balance {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.dash-label {
  font-size: 11px;
  color: var(--text-muted);
}

.dash-value {
  font-size: 18px;
  font-weight: 600;
}

.dash-chip {
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 7px;
}

.dash-chip-up {
  background: rgba(57, 229, 140, 0.12);
  color: var(--success);
}

.dash-tabs {
  display: inline-flex;
  gap: 6px;
  border-radius: 999px;
  padding: 3px;
  background: rgba(10, 14, 30, 0.9);
  align-self: flex-start;
}

.dash-tab {
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  padding: 5px 11px;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.dash-tab.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.dash-body {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 880px) {
  .dash {
    flex-direction: column;
  }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dash-body {
    flex-direction: column;
  }
}

.dash-chart {
  flex: 1.6;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(7, 6, 10, 0.98));
  padding: 10px 11px;
  font-size: 12px;
}

.dash-chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dash-chart-area {
  position: relative;
  height: 150px;
  border-radius: 12px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), rgba(2, 4, 16, 1));
  overflow: hidden;
  padding: 10px 6px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.dash-candle {
  flex: 1;
  border-radius: 4px;
  opacity: 0.9;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    opacity 0.12s ease,
    height 0.2s ease;
}

/* direction */
.dash-candle[data-dir="up"] {
  background: var(--success);
  height: 60px;
}
.dash-candle[data-dir="down"] {
  background: var(--danger);
  height: 40px;
}

.dash-candle.is-hovered {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.dash-level {
  position: absolute;
  right: 8px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
}

.dash-level-tp {
  top: 18px;
  background: rgba(57, 229, 140, 0.14);
  color: var(--success);
}

.dash-level-sl {
  bottom: 16px;
  background: var(--bg-soft);
  color: var(--danger);
}

.dash-chart-footer {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.dash-sidepanel {
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 4, 16, 0.96);
  padding: 10px 11px;
  font-size: 12px;
}

.dash-side-title {
  margin: 0 0 4px;
  font-size: 13px;
}

.dash-botlist {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
}

.dash-botlist-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
}

.dash-bot-pnl.up {
  color: var(--success);
}
.dash-bot-pnl.down {
  color: var(--danger);
}

.dash-side-note {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* tooltip on chart */
.dash-tooltip {
  position: absolute;
  pointer-events: none;
  min-width: 90px;
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 6, 10, 0.96);
  font-size: 11px;
  color: #f7f7ff;
  transform: translate(-50%, -120%);
  opacity: 0;
  transition: opacity 0.12s ease;
}

.dash-tooltip.is-visible {
  opacity: 1;
}

/* subtle animation on mode change */
.dash-chart-animate,
.dash-sidepanel-animate {
  animation: dashPulse 220ms ease-out;
}

@keyframes dashPulse {
  from {
    transform: translateY(2px);
    opacity: 0.85;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* === Beta card === */

.beta-card {
  border-radius: var(--radius-xxl);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(7, 6, 10, 0.98));
  padding: 26px 18px 22px;
  box-shadow: var(--shadow-soft);
}

.beta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}

.beta-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.beta-input {
  flex: 1;
  min-width: 210px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 6, 10, 0.96);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text);
}

.beta-input::placeholder {
  color: var(--text-muted);
}

.beta-submit {
  align-self: center;
}

.beta-meta {
  font-size: 12px;
  text-align: center;
  color: var(--text-muted);
}

/* === Footer === */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 14px;
  margin-top: 20px;
  background: rgba(7, 7, 10, 0.97);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text);
}

/* === Responsive tweaks === */

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .header-inner {
    padding-block: 10px;
  }

  .dash-sidebar {
    font-size: 11px;
  }
}

/* Section kicker (used in modes + here) */
.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Personas / use cases */
.persona-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .persona-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.persona-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.96);
  padding: 16px 16px 14px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    border-color var(--transition-hover),
    background-color var(--transition-hover),
    box-shadow var(--transition-hover),
    transform 0.08s ease;
}

.persona-card:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.persona-pill {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 6, 10, 0.96);
  padding: 3px 9px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.persona-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.persona-text {
  margin: 0;
  color: var(--text-muted);
}

.persona-list {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.persona-list li {
  margin-bottom: 3px;
}

/* Security & reliability */

.security-text {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

.security-list {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.security-list li {
  margin-bottom: 4px;
}

.security-note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Right-side card */

.security-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  font-size: 13px;
}

.security-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.security-card-title {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.security-card-label {
  font-size: 11px;
  color: var(--text-muted);
}

.security-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.security-row:last-of-type {
  border-bottom: none;
}

.security-key {
  font-size: 12px;
  color: var(--text-muted);
}

.security-value {
  font-size: 12px;
}

.security-pill {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 6, 10, 0.96);
}

.security-pill-safe {
  border-color: rgba(57, 229, 140, 0.6);
  color: var(--success);
  background: rgba(57, 229, 140, 0.1);
}

.security-footer {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.security-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.security-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 8px rgba(57, 229, 140, 0.7);
}

.security-cta {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
}

/* === Docs layout === */
/* === DOCS APP (no-jump navigation) === */

.docs-hero {
  padding-bottom: 26px;
}

.docs-header {
  max-width: 820px;
  margin: 0 auto;
}

.docs-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.docs-badge,
.docs-badge-soft {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(7, 6, 10, 0.96);
  color: var(--text-muted);
}

.docs-badge-soft {
  background: rgba(255, 255, 255, 0.04);
}

.docs-title {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-rendering: geometricPrecision;
}

.docs-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 720px;
}

.section-docs {
  padding-top: 18px;
}

.docs-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* Sidebar */
.docs-sidebar-inner {
  position: sticky;
  top: 84px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 10px;
}

.docs-search {
  margin-bottom: 10px;
}

.docs-search-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 4, 16, 0.96);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45) inset;
}

.docs-search-input::placeholder {
  color: var(--text-muted);
}

.docs-sidebar-group + .docs-sidebar-group {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.docs-sidebar-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.docs-sidebar-link {
  width: 100%;
  text-align: left;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.docs-sidebar-link.is-active {
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  border-color: rgba(255, 53, 93, 0.35);
  color: var(--text);
}

/* Content: internal scroll (prevents whole page jump) */
.docs-content {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 18px;

  max-height: calc(100vh - 140px);
  overflow: auto;
}

.docs-panel {
  display: none;
}
.docs-panel.is-active {
  display: block;
  animation: docsFade 140ms ease-out;
}

@keyframes docsFade {
  from {
    opacity: 0.6;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography */
.docs-h2 {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-rendering: geometricPrecision;
}

.docs-h3 {
  margin: 16px 0 6px;
  font-size: 15px;
}

.docs-p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.docs-ul,
.docs-ol {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.docs-ul li,
.docs-ol li {
  margin-bottom: 6px;
}

.docs-code {
  margin: 10px 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #050816;
  padding: 12px;
  overflow-x: auto;
}
.docs-code code {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  font-size: 13px;
  color: #e3f3ff;
  white-space: pre;
}

/* Callouts */
.docs-callout {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  margin: 12px 0;
}

.docs-callout-info {
  background: radial-gradient(circle at top, rgba(255, 53, 93, 0.14), rgba(7, 6, 10, 0.98));
}
.docs-callout-warn {
  background: radial-gradient(circle at top, rgba(245, 199, 106, 0.14), rgba(7, 6, 10, 0.98));
}

.docs-callout-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.docs-callout-text {
  margin: 0;
  color: var(--text);
}

/* Small cards */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 720px) {
  .docs-app {
    grid-template-columns: 1fr;
  }
  .docs-content {
    max-height: none;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-sidebar-inner {
    position: static;
  }
}

.docs-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 4, 16, 0.96);
  padding: 12px;
}

.docs-card-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.docs-card-text {
  color: var(--text-muted);
  font-size: 13px;
}

/* Table */
.docs-table {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.docs-table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.6fr 1.6fr;
  gap: 10px;
  padding: 10px 12px;
}

.docs-table-head {
  background: rgba(2, 4, 16, 0.96);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.docs-table-row:nth-child(even):not(.docs-table-head) {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 720px) {
  .docs-table-row {
    grid-template-columns: 1fr 0.6fr;
  }
  .docs-table-row span:nth-child(3),
  .docs-table-row span:nth-child(4) {
    grid-column: 1 / -1;
  }
}

/* =========================
   PRICING
========================= */

.pricing-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), rgba(7, 6, 10, 0.98));
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.12s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 53, 93, 0.18), transparent 55%),
    radial-gradient(circle at 88% 92%, rgba(245, 199, 106, 0.12), transparent 55%);
  opacity: 0.55;
  transition: opacity 0.18s ease;
}

.price-card:hover::before {
  opacity: 0.85;
}

.price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-hover);
}

/* FEATURED */
.price-card.is-featured {
  border-color: rgba(255, 53, 93, 0.55);
  background: radial-gradient(circle at top, rgba(255, 53, 93, 0.14), rgba(7, 6, 10, 0.98));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.92);
  transform: translateY(-2px);
}

.price-card.is-featured:hover {
  transform: translateY(-4px);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050710;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.75);
}

/* TEXT */

.price-name {
  font-family: "Clash Display", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0;
}

.price-tag {
  font-size: 13px;
  color: rgba(243, 244, 255, 0.62);
  margin: 0;
}

.price-desc {
  font-size: 14px;
  color: rgba(243, 244, 255, 0.62);
  margin: 0;
}

/* FEATURES */

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(243, 244, 255, 0.62);
}

.price-features li {
  position: relative;
  padding-left: 18px;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.22) 0%,
    var(--accent) 60%,
    var(--accent-2) 100%
  );
  box-shadow: 0 0 12px rgba(255, 53, 93, 0.22);
}

/* FOOTER */

.price-footer {
  margin-top: auto;
}
.price-footer .btn {
  width: 100%;
}

.price-muted {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================
   FAQ
========================= */

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  width: 100%;
  text-align: left;
  cursor: pointer;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), rgba(7, 6, 10, 0.98));
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.65);

  padding: 16px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 10px 10px;

  transition:
    transform 0.12s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 74px rgba(0, 0, 0, 0.78);
}

.faq-item:focus-visible {
  outline: 2px solid rgba(255, 53, 93, 0.55);
  outline-offset: 4px;
}

.faq-q {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
}

.faq-a {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(243, 244, 255, 0.62);
  line-height: 1.55;

  display: none;
  margin-top: -2px;
}

/* Icon: plus inside capsule */
.faq-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 4, 16, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  position: relative;
  font-size: 0;
  line-height: 1;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(247, 247, 255, 0.92);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
}

/* Open state */
.faq-item.is-open {
  border-color: rgba(255, 53, 93, 0.45);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  box-shadow: 0 26px 92px rgba(0, 0, 0, 0.86);
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: rgba(255, 53, 93, 0.44);
  background: rgba(255, 53, 93, 0.08);
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Exchanges marquee */
.chips-track {
  display: flex;
  gap: 10px;
  align-items: center;
}
.chip--marquee {
  pointer-events: none;
} /* purely visual in marquee */

/* === CrabBot modes === */
/* Tabs row */
.modes-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(7, 6, 10, 0.92);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

/* Single tab */
.modes-tab {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform 0.08s ease;
}
.modes-tab-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.modes-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  transform: translateY(-1px);
}

/* Helper text under tabs */
.modes-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

/* Left column content */
.modes-main-title {
  font-family: "Clash Display", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.modes-main-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 14px;
  max-width: 420px;
}
.modes-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .modes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.modes-point {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(7, 6, 10, 0.96);
  padding: 8px 10px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 0.08s ease;
}
.modes-point::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 5px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-strong);
}
.modes-point:hover {
  border-color: var(--accent);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(7, 6, 10, 0.98));
  transform: translateY(-1px);
}

/* Tags row under bullets */
.modes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}
.modes-tag {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  background: rgba(7, 6, 10, 0.96);
  color: var(--text-muted);
}
.modes-tag-strong {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Right side – mini config card */
.modes-config {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), rgba(7, 6, 10, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  font-size: 13px;
}
.modes-config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.modes-config-title {
  font-family: "Clash Display", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.modes-config-label {
  font-size: 11px;
  color: var(--text-muted);
}
.modes-config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.modes-config-row:last-of-type {
  border-bottom: none;
}
.modes-config-key {
  font-size: 12px;
  color: var(--text-muted);
}
.modes-config-value {
  font-size: 12px;
}

/* Pill for status */
.modes-config-pill {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 6, 10, 0.96);
}
.modes-config-pill-positive {
  border-color: rgba(57, 229, 140, 0.6);
  color: var(--success);
  background: rgba(57, 229, 140, 0.1);
}

/* Footer in config card */
.modes-config-footer {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.modes-config-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.modes-config-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 8px rgba(57, 229, 140, 0.7);
}
.modes-config-cta {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
}

/* animation on mode change */
.modes-animate {
  animation: modesPulse 220ms ease-out;
}
@keyframes modesPulse {
  from {
    transform: translateY(2px);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
