:root {
  --bg: #000000;
  --bg-soft: #050806;
  --panel: rgba(4, 10, 7, 0.92);
  --panel-strong: #07110c;
  --line: rgba(0, 201, 165, 0.18);
  --line-strong: rgba(0, 201, 165, 0.42);
  --text: #f3fff9;
  --muted: #7f9f93;
  --accent: #00c9a5;
  --accent-soft: #66f5d8;
  --warn: #00c9a5;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    linear-gradient(rgba(0, 201, 165, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 201, 165, 0.035) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(0, 201, 165, 0.2), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(0, 201, 165, 0.11), transparent 22%),
    linear-gradient(180deg, #000000 0%, #030604 54%, #000000 100%);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  color: var(--text);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}

.orb-a {
  width: 340px;
  height: 340px;
  top: 140px;
  right: -80px;
  background: rgba(0, 210, 168, 0.25);
}

.orb-b {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 720px;
  background: rgba(248, 195, 95, 0.12);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 10px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  color: #d8fff6;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  font-size: 1.1rem;
}

.brand-text span {
  color: var(--accent);
}

.topnav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
}

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

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0bb98a 100%);
  color: #03221b;
  box-shadow: 0 16px 40px rgba(0, 210, 168, 0.22);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0 52px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-heading span,
.showcase-tag,
.status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.hero-copy h1,
.section-heading h2,
.cta-card h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 18px 0 18px;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  max-width: 12ch;
}

.hero-copy h1 span {
  color: var(--accent);
  text-shadow: 0 0 34px rgba(0, 201, 165, 0.35);
}

.hero-copy p,
.section-heading p,
.showcase-copy p,
.feature-card p,
.results-note,
.cta-card p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.01rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 28px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-metrics article,
.feature-card,
.showcase-card,
.result-grid article,
.cta-card,
.hero-card,
.terminal-shot {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-metrics article {
  padding: 18px;
  border-radius: 22px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 720px;
}

.real-hero-visual {
  min-height: 760px;
}

.hero-card {
  position: absolute;
  padding: 18px;
  border-radius: 22px;
}

.terminal-note {
  background: rgba(2, 10, 7, 0.96);
  border: 1px solid rgba(0, 201, 165, 0.22);
}

.compact-note {
  width: 280px;
}

.floating-card {
  animation: floatY 6s ease-in-out infinite;
}

.status-card {
  top: 30px;
  left: 0;
  width: 250px;
}

.status-card h3 {
  margin: 12px 0 8px;
  font-size: 1rem;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.backtest-card {
  right: 8px;
  bottom: 42px;
  width: 260px;
  animation-delay: 0.5s;
}

.backtest-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.backtest-values label,
.metric-strip label,
.mini-stats span,
.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.backtest-values strong,
.result-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.12rem;
}

.terminal-shot {
  position: absolute;
  top: 110px;
  left: 58px;
  right: 40px;
  border-radius: 28px;
  overflow: hidden;
}

.real-shot {
  background: #020403;
  border: 1px solid rgba(0, 201, 165, 0.18);
}

.real-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.terminal-top {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 201, 165, 0.06), rgba(255, 255, 255, 0.015));
}

.terminal-top strong {
  margin-left: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

.terminal-top span,
.screen-header::before,
.screen-header::after,
.screen-header {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f85c73;
}

.terminal-top span:nth-child(2),
.screen-header::before {
  background: #f8c35f;
}

.terminal-top span:nth-child(3),
.screen-header::after {
  background: #41d98d;
}

.terminal-body {
  padding: 18px;
}

.grid-main {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  gap: 16px;
}

.panel {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.panel-wide {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.chip.positive {
  background: rgba(0, 210, 168, 0.14);
  color: #97f8df;
}

.chip.neutral {
  background: rgba(248, 195, 95, 0.14);
  color: #ffd98b;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 1.04rem;
}

.metric-strip em {
  color: #8df1d8;
  font-style: normal;
  margin-left: 8px;
  font-size: 0.9rem;
}

.market-wave {
  width: 100%;
  height: 170px;
  margin-top: 10px;
}

.ticker-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ticker-list li,
.mini-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticker-list li {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.ticker-list b,
.mini-stats b {
  color: var(--accent-soft);
}

.bar-grid {
  height: 122px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: end;
  gap: 8px;
  margin-bottom: 14px;
}

.bar-grid span {
  display: block;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #62f0cf 0%, #00b487 100%);
  opacity: 0.9;
}

.preview,
.features,
.results,
.cta {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.compact {
  max-width: 640px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.preview-grid,
.feature-grid,
.result-grid {
  display: grid;
  gap: 18px;
}

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

.showcase-card {
  border-radius: 28px;
  padding: 24px;
}

.showcase-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.showcase-copy h3,
.feature-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin: 16px 0 10px;
}

.showcase-art,
.screen-frame,
.brief-note {
  border-radius: 24px;
}

.showcase-art {
  background: linear-gradient(180deg, rgba(0, 201, 165, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(0, 201, 165, 0.12);
  min-height: 280px;
  padding: 18px;
}

.screenshot-art,
.screenshot-stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-art img,
.screenshot-stack img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(0, 201, 165, 0.16);
  background: #000;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}

.screenshot-stack {
  gap: 14px;
  flex-direction: column;
}

.screenshot-stack img {
  max-height: 250px;
  object-fit: cover;
  object-position: top center;
}

.screen-frame {
  height: 100%;
  border: 1px solid var(--line);
  background: #0b1714;
  padding: 16px;
}

.screen-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  width: auto;
  height: auto;
  background: transparent;
}

.rows-2 {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 14px;
}

.screen-box {
  min-height: 110px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.025);
}

.screen-box.large {
  min-height: 170px;
}

.gradient-box {
  background:
    linear-gradient(180deg, rgba(0, 210, 168, 0.22), rgba(0, 210, 168, 0.02)),
    radial-gradient(circle at 70% 30%, rgba(142, 246, 220, 0.4), transparent 18%),
    #0d1a17;
}

.list-box {
  position: relative;
}

.list-box::before,
.list-box::after,
.bars-box::before,
.bars-box::after,
.brief-line,
.brief-callout {
  content: "";
  display: block;
}

.list-box::before,
.list-box::after {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.list-box::before {
  top: 30px;
}

.list-box::after {
  top: 60px;
  width: 68%;
}

.list-box.small::after {
  width: 52%;
}

.bars-box {
  position: relative;
  overflow: hidden;
}

.bars-box::before {
  position: absolute;
  inset: auto 0 16px 0;
  height: 80px;
  margin: 0 18px;
  background:
    linear-gradient(90deg,
      rgba(0, 210, 168, 0.2) 0 10%,
      transparent 10% 16%,
      rgba(0, 210, 168, 0.45) 16% 28%,
      transparent 28% 34%,
      rgba(0, 210, 168, 0.3) 34% 46%,
      transparent 46% 52%,
      rgba(0, 210, 168, 0.7) 52% 66%,
      transparent 66% 72%,
      rgba(0, 210, 168, 0.38) 72% 84%,
      transparent 84% 90%,
      rgba(0, 210, 168, 0.55) 90% 100%);
  border-radius: 18px;
}

.graph-art svg {
  width: 100%;
  height: 220px;
}

.grid-lines line {
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
}

.curve-line {
  fill: none;
  stroke: #75f2d2;
  stroke-width: 4;
  stroke-linecap: round;
}

.graph-art circle {
  fill: #0b1714;
  stroke: #75f2d2;
  stroke-width: 4;
}

.graph-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.graph-legend b {
  color: var(--text);
}

.brief-note {
  background: linear-gradient(180deg, rgba(245, 255, 249, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  min-height: 240px;
}

.brief-line {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  margin-bottom: 12px;
}

.brief-line.strong {
  width: 82%;
}

.brief-line.medium {
  width: 68%;
}

.brief-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.brief-pill-row span {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(0, 210, 168, 0.1);
  border: 1px solid rgba(0, 210, 168, 0.2);
  font-size: 0.92rem;
}

.brief-callout {
  border-radius: 18px;
  padding: 16px;
  color: #e7fff7;
  background: rgba(248, 195, 95, 0.08);
  border: 1px solid rgba(248, 195, 95, 0.18);
  line-height: 1.7;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.feature-card h3 {
  color: var(--accent-soft);
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-grid article {
  padding: 24px;
  border-radius: 24px;
}

.result-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--accent-soft);
  text-shadow: 0 0 18px rgba(0, 201, 165, 0.18);
}

.results-note {
  margin-top: 18px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 30px;
  padding: 30px;
}

.cta-card h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  max-width: 12ch;
}

.footer {
  padding: 0 0 40px;
}

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

@media (max-width: 1024px) {
  .hero,
  .showcase-card.wide,
  .feature-grid,
  .result-grid,
  .preview-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-visual {
    min-height: 760px;
  }

  .real-hero-visual {
    min-height: 900px;
  }

  .terminal-shot {
    left: 0;
    right: 0;
  }

  .status-card {
    top: 0;
  }

  .backtest-card {
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar,
  .topnav,
  .hero-metrics,
  .metric-strip,
  .grid-main,
  .rows-2,
  .backtest-values {
    display: grid;
  }

  .topbar {
    gap: 18px;
  }

  .topnav {
    grid-auto-flow: row;
    justify-items: start;
    gap: 12px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero-visual {
    min-height: 780px;
  }

  .real-hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .terminal-shot {
    top: 150px;
  }

  .real-shot {
    position: static;
  }

  .status-card,
  .backtest-card {
    position: static;
    width: auto;
    margin-bottom: 16px;
  }

  .showcase-card.wide {
    gap: 18px;
  }

  .screenshot-stack img {
    max-height: none;
  }

  .hero-metrics,
  .metric-strip,
  .feature-grid,
  .result-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .showcase-art {
    min-height: 220px;
  }

  .cta-card {
    padding: 24px;
  }
}
