:root {
  --landing-bg: #070910;
  --landing-panel: rgba(19, 21, 28, 0.78);
  --landing-panel-strong: rgba(15, 18, 28, 0.92);
  --landing-text: #f8fafc;
  --landing-muted: #9aa6bd;
  --landing-border: rgba(148, 163, 184, 0.18);
  --landing-primary: #6366f1;
  --landing-primary-soft: rgba(99, 102, 241, 0.18);
  --landing-success: #10b981;
  --landing-info: #38bdf8;
  --landing-warning: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--landing-bg);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--landing-text);
  background:
    radial-gradient(circle at 18% 12%, rgba(99, 102, 241, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 28%, rgba(16, 185, 129, 0.18), transparent 24rem),
    linear-gradient(180deg, #070910 0%, #0a0b0f 44%, #10131b 100%);
  overflow-x: hidden;
  scrollbar-color: rgba(99, 102, 241, 0.78) rgba(8, 11, 18, 0.92);
  scrollbar-width: thin;
}

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

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.98), rgba(15, 23, 42, 0.94));
  border-left: 1px solid rgba(148, 163, 184, 0.08);
}

::-webkit-scrollbar-thumb {
  border: 3px solid rgba(8, 11, 18, 0.96);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.92), rgba(99, 102, 241, 0.92), rgba(124, 58, 237, 0.86));
  box-shadow:
    0 0 12px rgba(99, 102, 241, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.98), rgba(129, 140, 248, 0.98), rgba(139, 92, 246, 0.96));
}

.landing-chart-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

.landing-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 42px;
  width: min(1360px, calc(100% - 28px));
  min-height: 98px;
  padding: 0 38px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 17, 27, 0.88), rgba(8, 11, 18, 0.78)),
    rgba(8, 11, 18, 0.84);
  backdrop-filter: blur(26px);
  transform: translateX(-50%);
  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(99, 102, 241, 0.18),
    0 0 70px rgba(56, 189, 248, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(148, 163, 184, 0.08);
}

.landing-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.52), rgba(56, 189, 248, 0.34), rgba(16, 185, 129, 0.26));
  filter: blur(26px);
  opacity: 0.26;
}

.landing-nav::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.62), rgba(56, 189, 248, 0.48), transparent);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.38);
  opacity: 0.82;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-origin: left center;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.landing-brand:hover {
  filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.26));
  transform: translateY(-1px) scale(1.035);
}

.landing-brand img {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 14px rgba(99, 102, 241, 0.12));
  transition: filter 0.22s ease;
}

.landing-brand:hover img {
  filter:
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 22px rgba(56, 189, 248, 0.24))
    drop-shadow(0 0 18px rgba(99, 102, 241, 0.22));
}

.landing-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  justify-self: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 14px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 0;
  text-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.landing-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(129, 140, 248, 0.42);
  transform: translateY(-1px);
}

.landing-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.95), rgba(56, 189, 248, 0.92));
  box-shadow:
    0 0 10px rgba(99, 102, 241, 0.72),
    0 0 18px rgba(56, 189, 248, 0.44);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.landing-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.landing-actions,
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-actions {
  position: relative;
  padding-left: 38px;
  gap: 18px;
}

.landing-actions::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.72), rgba(129, 140, 248, 0.62), transparent);
  box-shadow:
    0 0 10px rgba(56, 189, 248, 0.42),
    0 0 20px rgba(99, 102, 241, 0.24);
}

.landing-language-toggle {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 11, 18, 0.82));
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-language-toggle:hover {
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(99, 102, 241, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.landing-language-toggle img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  filter: blur(0.25px) saturate(0.82) contrast(0.92);
  opacity: 0.86;
}

.primary-cta,
.secondary-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 7px;
  border: 1px solid var(--landing-border);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-cta::before,
.secondary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.18) 45%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.primary-cta:hover::before,
.secondary-cta:hover::before {
  transform: translateX(120%);
}

.nav-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 6px;
  color: rgba(226, 232, 240, 0.82);
  font-size: 14px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-join,
.primary-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--landing-primary), #4f46e5);
  border-color: rgba(129, 140, 248, 0.48);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

.nav-join {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 8px;
  color: #f8fafc;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.96), rgba(79, 70, 229, 0.92));
  box-shadow:
    0 14px 30px rgba(79, 70, 229, 0.28),
    0 0 18px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: none;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-login::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.95), rgba(56, 189, 248, 0.92));
  box-shadow:
    0 0 10px rgba(99, 102, 241, 0.72),
    0 0 18px rgba(56, 189, 248, 0.44);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-login:hover {
  color: #ffffff;
  text-shadow:
    0 0 14px rgba(129, 140, 248, 0.48),
    0 0 22px rgba(56, 189, 248, 0.24);
  transform: translateY(-1px);
}

.nav-login:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-join:hover {
  border-color: rgba(165, 180, 252, 0.48);
  background:
    linear-gradient(180deg, rgba(129, 140, 248, 0.98), rgba(79, 70, 229, 0.96));
  box-shadow:
    0 16px 32px rgba(79, 70, 229, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.primary-cta,
.secondary-cta {
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
}

.hero-ctas .primary-cta {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.96), rgba(79, 70, 229, 0.94));
  border-color: rgba(196, 181, 253, 0.22);
  box-shadow:
    0 16px 34px rgba(99, 102, 241, 0.28),
    0 0 22px rgba(124, 58, 237, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-ctas .primary-cta:hover {
  border-color: rgba(216, 180, 254, 0.34);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.98), rgba(91, 82, 231, 0.96));
  box-shadow:
    0 18px 38px rgba(99, 102, 241, 0.34),
    0 0 28px rgba(124, 58, 237, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.secondary-cta {
  min-width: auto;
  padding-inline: 2px;
  color: rgba(221, 214, 254, 0.94);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-weight: 760;
}

.primary-cta svg,
.secondary-cta svg {
  width: 18px;
  height: 18px;
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(165, 180, 252, 0.5);
  box-shadow:
    0 13px 28px rgba(79, 70, 229, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.secondary-cta:hover {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.landing-shell {
  position: relative;
  z-index: 1;
}

.landing-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0 80px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.landing-section::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 18% 24%, rgba(99, 102, 241, 0.08), transparent 26rem),
    radial-gradient(circle at 88% 62%, rgba(14, 165, 233, 0.07), transparent 28rem);
  filter: blur(10px);
  opacity: 0.72;
  pointer-events: none;
}

.landing-hero {
  grid-template-columns: minmax(0, 1fr) minmax(490px, 0.84fr);
  gap: 62px;
  padding-top: 134px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #b9c3ff;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2 {
  margin: 0;
  max-width: 920px;
  letter-spacing: 0;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  color: rgba(248, 250, 252, 0.96);
  font-size: clamp(54px, 7.35vw, 102px);
  font-weight: 760;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.34),
    0 10px 24px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(99, 102, 241, 0.12),
    0 18px 54px rgba(0, 0, 0, 0.34);
}

h2 {
  font-size: clamp(44px, 5.95vw, 80px);
  font-weight: 760;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(99, 102, 241, 0.12),
    0 16px 46px rgba(0, 0, 0, 0.32);
}

.hero-lede,
.section-copy p:not(.eyebrow) {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(203, 213, 225, 0.78);
  font-size: clamp(19px, 2.05vw, 23px);
  line-height: 1.62;
  text-shadow:
    0 2px 1px rgba(0, 0, 0, 0.72),
    0 5px 14px rgba(0, 0, 0, 0.82),
    0 0 24px rgba(0, 0, 0, 0.62);
}

.hero-ctas {
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-terminal,
.automation-board,
.feature-stack article,
.stats-grid div {
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.055), rgba(15, 23, 42, 0.06)),
    var(--landing-panel);
  backdrop-filter: blur(18px);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-terminal {
  overflow: hidden;
  min-height: 550px;
  padding: 24px;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  color: rgba(203, 213, 225, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
}

.terminal-top span:nth-child(2) {
  background: var(--landing-warning);
}

.terminal-top span:nth-child(3) {
  margin-right: 10px;
  background: var(--landing-success);
}

.signal-card,
.metric-strip,
.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.signal-card {
  padding: 18px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.11);
}

small {
  display: block;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 800;
}

.signal-card strong,
.metric-strip strong,
.board-row strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-long {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 12px;
  font-weight: 900;
}

.terminal-chart {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: end;
  gap: 10px;
  height: 316px;
  margin: 20px 0;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 100% 52px, 52px 100%;
}

.terminal-chart span {
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--landing-info), var(--landing-primary));
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.24);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metric-strip div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ticker-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: -92px;
  border-block: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.72)),
    rgba(8, 11, 18, 0.58);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(148, 163, 184, 0.1);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 10px 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 15px;
  font-weight: 780;
  letter-spacing: 0.04em;
  animation: ticker-scroll 24s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 168px;
  padding: 8px 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow:
    0 0 12px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ticker-track strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.ticker-track em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  color: rgba(191, 219, 254, 0.88);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ticker-track small {
  color: rgba(191, 219, 254, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}


@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

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

.split-section {
  grid-template-columns: 86px minmax(0, 0.92fr) minmax(340px, 0.82fr);
  gap: 34px;
}

.split-section.reverse {
  grid-template-columns: 86px minmax(340px, 0.82fr) minmax(0, 0.92fr);
}

.section-index {
  align-self: start;
  margin-top: 16px;
  color: rgba(165, 180, 252, 0.62);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 18px rgba(99, 102, 241, 0.32),
    0 0 36px rgba(56, 189, 248, 0.14);
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.feature-stack article::before,
.automation-board::before,
.workflow-rail article::before,
.broker-grid article::after,
.stats-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.1), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(99, 102, 241, 0.16), transparent 7rem);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.feature-stack article:hover::before,
.automation-board:hover::before,
.workflow-rail article:hover::before,
.broker-grid article:hover::after,
.stats-grid div:hover::before {
  opacity: 1;
}

.feature-stack svg {
  width: 28px;
  height: 28px;
  color: var(--landing-info);
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.45));
}

.feature-stack strong {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-stack span {
  display: block;
  margin-top: 8px;
  color: var(--landing-muted);
  line-height: 1.5;
}

.automation-board {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
}

.board-row {
  min-height: 82px;
  padding: 0 20px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
}

.board-row.active {
  border-color: rgba(56, 189, 248, 0.28);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.13), rgba(99, 102, 241, 0.1));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.08);
}

.board-row span {
  color: #e0e7ff;
  font-weight: 900;
}

.board-row small {
  min-width: 48px;
  text-align: right;
}

.stats-section {
  align-content: center;
  gap: 46px;
}

.workflow-section {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 44px;
}

.broker-section {
  align-content: center;
  gap: 42px;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.workflow-rail article {
  position: relative;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(255, 255, 255, 0.018)),
    var(--landing-panel);
  backdrop-filter: blur(18px);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.broker-grid article {
  position: relative;
  min-height: 320px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.13), rgba(14, 165, 233, 0.035)),
    var(--landing-panel);
  backdrop-filter: blur(18px);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.broker-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 82% 14%, rgba(56, 189, 248, 0.18), transparent 8rem);
  opacity: 0.8;
  pointer-events: none;
}

.broker-grid article > * {
  position: relative;
  z-index: 1;
}

.broker-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(165, 180, 252, 0.28);
  border-radius: 8px;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.18);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.16);
}

.broker-grid strong {
  display: block;
  margin-top: 42px;
  font-size: 18px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.broker-grid p {
  margin: 14px 0 0;
  color: var(--landing-muted);
  line-height: 1.58;
}

.broker-grid small {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.11);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.1);
}

.workflow-rail article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--landing-primary), transparent);
  opacity: 0.75;
}

.workflow-rail article > span {
  color: rgba(165, 180, 252, 0.46);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.workflow-rail svg {
  display: block;
  width: 34px;
  height: 34px;
  margin-top: 34px;
  color: var(--landing-info);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.44));
}

.final-cta::before {
  background:
    radial-gradient(circle at 22% 32%, rgba(124, 58, 237, 0.16), transparent 24rem),
    radial-gradient(circle at 82% 56%, rgba(56, 189, 248, 0.14), transparent 26rem);
}

.workflow-rail strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflow-rail p {
  margin: 10px 0 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.centered {
  text-align: center;
}

.centered h2,
.centered p {
  margin-left: auto;
  margin-right: auto;
}

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

.stats-grid div {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
}

.stats-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1;
  overflow-wrap: anywhere;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 22px rgba(99, 102, 241, 0.2),
    0 0 34px rgba(56, 189, 248, 0.12);
}

.stats-grid strong[data-long] {
  font-size: clamp(24px, 3vw, 34px);
}

.stats-grid span {
  display: block;
  margin-top: 14px;
  color: var(--landing-muted);
  font-weight: 800;
}

.final-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  min-height: 72vh;
}

.final-cta h2 {
  font-size: clamp(52px, 6.9vw, 96px);
  max-width: 980px;
}

.final-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: end;
  align-self: center;
  min-height: 60px;
  min-width: 154px;
  margin-top: 0;
  padding: 0 36px;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.34), rgba(79, 70, 229, 0.28));
  backdrop-filter: blur(22px);
  box-shadow:
    0 18px 38px rgba(99, 102, 241, 0.12),
    0 0 30px rgba(124, 58, 237, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.final-join-btn:hover {
  border-color: rgba(216, 180, 254, 0.44);
  box-shadow:
    0 22px 44px rgba(99, 102, 241, 0.36),
    0 0 34px rgba(124, 58, 237, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.reveal-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 940px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
  }

  .landing-links {
    display: none;
  }

  .landing-section,
  .landing-hero,
  .split-section,
  .split-section.reverse,
  .workflow-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    gap: 30px;
  }

  .section-index {
    margin-top: 0;
    font-size: 42px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .broker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .landing-nav {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 72px;
    padding: 0 14px;
  }

  .landing-brand {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .landing-brand img {
    width: 168px;
  }

  .landing-actions {
    gap: 6px;
  }

  .nav-login,
  .nav-join {
    width: auto;
    min-height: 42px;
    padding: 0;
    font-size: 14px;
  }

  .landing-section {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 112px 0 58px;
  }

  .landing-hero {
    min-height: 100vh;
  }

  .hero-ctas {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .terminal-chart {
    height: 210px;
    gap: 7px;
  }

  .metric-strip,
  .stats-grid,
  .workflow-rail,
  .broker-grid {
    grid-template-columns: 1fr;
  }

  .workflow-rail article {
    min-height: 220px;
  }

  .ticker-track {
    gap: 24px;
    font-size: 15px;
  }
}

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

