@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
  --bg0: #020914;
  --bg1: #06162a;
  --ink: #eaf6ff;
  --muted: #a8c2d6;
  --line: #235073;
  --accent: #17d7a0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: linear-gradient(150deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 118, 157, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 118, 157, 0.14) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .28;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
}
.bg-glow-a { width: 360px; height: 360px; top: -140px; left: -120px; background: rgba(28,128,255,.28); }
.bg-glow-b { width: 420px; height: 420px; right: -140px; bottom: -180px; background: rgba(16,184,180,.18); }

.nav {
  width: min(1200px, 94vw);
  margin: 18px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav nav a {
  text-decoration: none;
  color: #b2cde0;
  font-weight: 700;
  font-size: .92rem;
}
.nav nav a:hover { color: #fff; }

main {
  width: min(1200px, 94vw);
  margin: 14px auto 0;
  display: grid;
  gap: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  align-items: stretch;
}

.hero-copy {
  padding: 10px 4px;
}
.kicker {
  margin: 0;
  color: #5fd0ff;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 800;
}
h1 {
  margin: 10px 0 10px;
  font-family: Sora, sans-serif;
  font-size: clamp(2.05rem, 4.8vw, 4rem);
  line-height: 1.03;
}
.sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 760px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #19d9a4, #09bde9);
  color: #041223;
  box-shadow: 0 10px 28px rgba(12, 202, 173, .34);
}
.btn-try {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1rem;
  letter-spacing: .08em;
  box-shadow: 0 18px 36px rgba(12, 202, 173, .30);
}
.btn-ghost {
  border: 1px solid #2b5d82;
  color: #d4e8f5;
}
.btn-ghost:hover { border-color: #3f8cc2; }

.hero-visual {
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .2s ease;
  border: 1px solid #1f4968;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(126, 181, 220, 0.05), 0 20px 50px rgba(3, 12, 22, 0.35);
  background:
    linear-gradient(160deg, rgba(10, 30, 48, 0.95), rgba(6, 19, 32, 0.95));
}
.hero-visual:hover { border-color: #2d6a93; }
.signal-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #d9ebf7;
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}
#signalRefreshMeta {
  color: #87aeca;
  font-weight: 600;
}
.signal-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
}
.tape {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #dfeef8;
  border: 1px solid #204863;
  font-family: inherit;
  font-size: .9rem;
  position: relative;
  z-index: 2;
  border-radius: 10px;
  padding: 10px 11px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(7, 24, 38, .92), rgba(8, 30, 46, .84));
  transition: border-color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.tape:hover {
  border-color: #2f739d;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.tape.active {
  border-color: #3e8fbe;
  background: linear-gradient(90deg, rgba(11, 34, 52, .98), rgba(12, 39, 58, .94));
  box-shadow: inset 0 0 0 1px rgba(98, 168, 215, 0.18);
}
.pill {
  border-radius: 6px;
  padding: 3px 7px;
  font-size: .67rem;
  letter-spacing: .04em;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.pill.buy { color: #68efbb; background: rgba(19, 108, 78, .34); border-color: rgba(66, 181, 138, 0.46); }
.pill.sell { color: #ff9daf; background: rgba(121, 42, 57, .37); border-color: rgba(186, 84, 105, 0.5); }
.pill.hold { color: #e1cb8c; background: rgba(101, 84, 42, .36); border-color: rgba(163, 137, 66, 0.48); }

.signal-detail {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  border: 1px solid #1f4968;
  border-radius: 10px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(7, 23, 37, .98), rgba(8, 28, 44, .82));
}
.signal-detail-title {
  font-family: Sora, sans-serif;
  font-size: .94rem;
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.signal-detail-metric {
  color: #a8c8db;
  font-size: .83rem;
}
.signal-detail-bars {
  margin-top: 8px;
  height: 54px;
  border: 1px solid #1f4763;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(6, 22, 35, .8), rgba(8, 27, 42, .4));
  overflow: hidden;
}
.signal-detail-bars svg {
  width: 100%;
  height: 100%;
  display: block;
}
.signal-detail-bars polyline {
  fill: none;
  stroke: #49a7e6;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strip { overflow: hidden; }
.strip {
  border-top: 1px solid #1e4967;
  border-bottom: 1px solid #1e4967;
  background: rgba(7, 28, 45, .42);
}
.marquee {
  white-space: nowrap;
  display: inline-flex;
  gap: 13px;
  padding: 11px 14px;
  color: #bed6e6;
  font-weight: 700;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-36%); }
}

.flow, .promise, .cta {
  padding: 0;
}
.flow h2, .promise h2, .cta h2 {
  margin: 0 0 10px;
  font-family: Sora, sans-serif;
}
.flow h2, .promise h2, .cta h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.flow-line article {
  border-left: 3px solid #2a97d3;
  padding: 12px 12px 12px 14px;
  background: linear-gradient(90deg, rgba(10,35,52,.68), rgba(8,25,40,.1));
}
.flow-line h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.flow-line p, .promise p, .cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.promise, .cta {
  border-top: 1px solid #1f4b6a;
  padding-top: 18px;
}

.compact-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.compact-points article {
  border: 1px solid #1f4a68;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(8, 30, 47, .75), rgba(6, 20, 33, .78));
}
.compact-points h3 {
  margin: 0 0 6px;
  font-family: Sora, sans-serif;
  font-size: 1rem;
}
.compact-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cta-mini {
  padding-top: 2px;
}

.footer {
  width: min(1200px, 94vw);
  margin: 22px auto 24px;
  border-top: 1px solid #214767;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.footer a {
  color: #a8c4d7;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}
.footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .flow-line {
    grid-template-columns: 1fr 1fr;
  }
  .compact-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy, .hero-visual, .flow, .promise, .cta, .strip {
    border-radius: 14px;
  }
  .hero-copy {
    padding: 18px 14px;
  }
  .btn {
    width: 100%;
  }
  .flow-line {
    grid-template-columns: 1fr;
  }
}
