:root {
  --bg: #05070b;
  --bg-soft: #0a1018;
  --panel: #0e1722;
  --panel-strong: #121f2e;
  --line: rgba(164, 185, 214, 0.18);
  --text: #f4f7fb;
  --muted: #8fa1b7;
  --teal: #24e6bd;
  --teal-soft: rgba(36, 230, 189, 0.16);
  --amber: #ffb84c;
  --red: #ff6370;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 8%, rgba(36, 230, 189, 0.15), transparent 32rem),
    radial-gradient(circle at 12% 20%, rgba(255, 184, 76, 0.12), transparent 28rem),
    linear-gradient(145deg, #04060a 0%, #07111a 46%, #05070b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-transform: lowercase;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(36, 230, 189, 0.48);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(36, 230, 189, 0.22), rgba(255, 184, 76, 0.16));
  color: var(--teal);
  font-size: 0.86rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

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

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.primary-button,
.ghost-button,
.outline-button {
  min-height: 2.75rem;
  border-radius: 8px;
  padding: 0 1.05rem;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(135deg, #16cba5, #24e6bd);
  color: #03120f;
  box-shadow: 0 16px 38px rgba(36, 230, 189, 0.2);
}

.primary-button:hover {
  filter: brightness(1.06);
}

.ghost-button {
  background: transparent;
  color: var(--muted);
}

.outline-button {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.large {
  min-height: 3.25rem;
  padding: 0 1.35rem;
}

.full {
  width: 100%;
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(30rem, 1.22fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: calc(100vh - 4.8rem);
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem) 3rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  max-width: 9ch;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lede {
  max-width: 39rem;
  color: #c3cfdd;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-strip span {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.terminal-shell {
  overflow: hidden;
  border: 1px solid rgba(164, 185, 214, 0.2);
  border-radius: 8px;
  background: rgba(5, 10, 16, 0.78);
  box-shadow: var(--shadow);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.8rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.terminal-topbar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #ff6370;
}

.terminal-topbar span:nth-child(2) {
  background: var(--amber);
}

.terminal-topbar span:nth-child(3) {
  background: var(--teal);
  margin-right: 0.4rem;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.66fr;
  gap: 0.85rem;
  padding: 0.85rem;
}

.panel,
.feature-grid article,
.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 31, 46, 0.96), rgba(9, 15, 23, 0.96));
}

.panel {
  padding: 1rem;
}

.chart-panel {
  grid-row: span 2;
  min-height: 26rem;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.positive {
  color: var(--teal);
  font-weight: 800;
}

canvas {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
  background: rgba(2, 6, 10, 0.72);
}

.chart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.chart-metrics span {
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.bot-card {
  position: relative;
  overflow: hidden;
}

.bot-orb {
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #ffffff, transparent 13%),
    radial-gradient(circle, var(--teal) 0 32%, #117965 34% 45%, rgba(36, 230, 189, 0.08) 47%);
  box-shadow: 0 0 44px rgba(36, 230, 189, 0.42);
}

.bot-card p,
.mini-card p,
.feature-grid p,
.bot-copy p,
.plan p,
.section-heading p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.mini-card {
  min-height: 10rem;
}

.ticker-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.ticker-track {
  display: flex;
  min-width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  padding: 1rem 2rem;
  color: #cfd8e5;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-track b {
  color: var(--teal);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}

.section,
.bot-section {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.bot-copy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.feature-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-grid article,
.plan {
  padding: 1.25rem;
}

.market-visual {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07101a;
}

.market-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 520;
  object-fit: cover;
}

.market-visual figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(12px);
  color: #d6e2ee;
}

.market-visual strong {
  color: var(--text);
}

.market-visual span {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 900;
}

.feature-grid h3,
.plan h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.bot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  gap: 1rem;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--bg);
}

.bot-workspace {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.bot-copy {
  padding: 1rem 0;
}

.bot-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.bot-controls label {
  display: grid;
  gap: 0.45rem;
  color: #cbd6e4;
  font-size: 0.86rem;
  font-weight: 800;
}

.bot-controls select,
.bot-controls input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #09111b;
  color: var(--text);
  padding: 0 0.8rem;
}

.bot-controls input[type="range"] {
  accent-color: var(--teal);
}

.bot-log {
  min-height: 26rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(36, 230, 189, 0.14);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.bot-log ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.bot-log li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d7e0ea;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.025);
}

.bot-log li span {
  color: var(--amber);
  font-weight: 900;
}

.plans-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.plan {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.plan.featured {
  border-color: rgba(36, 230, 189, 0.52);
  background: linear-gradient(180deg, rgba(36, 230, 189, 0.16), rgba(18, 31, 46, 0.98));
}

.price {
  color: var(--text);
  font-size: 2.25rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  max-width: 46rem;
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .terminal-shell {
    max-width: 60rem;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .terminal-grid,
  .feature-grid,
  .plans-grid,
  .bot-section {
    grid-template-columns: 1fr;
  }

  .chart-panel {
    grid-row: auto;
    min-height: auto;
  }

  .chart-metrics {
    grid-template-columns: 1fr;
  }

  .market-visual figcaption {
    position: static;
    display: grid;
    border-inline: 0;
    border-bottom: 0;
    border-radius: 0;
  }

  .site-footer {
    display: block;
  }

  .site-footer strong {
    display: block;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .hero {
    padding-inline: 0.8rem;
  }

  h1 {
    max-width: 100%;
    font-size: 2.75rem;
  }

  .hero-actions,
  .bot-controls {
    grid-template-columns: 1fr;
    display: grid;
  }

  .primary-button,
  .outline-button,
  .ghost-button {
    width: 100%;
  }

  .terminal-grid {
    padding: 0.55rem;
  }

  .bot-log li {
    grid-template-columns: 1fr;
  }
}
