:root {
  --bg: #f5f7fa;
  --ink: #111827;
  --muted: #667085;
  --soft: #f0f4f8;
  --line: #dce3ec;
  --panel: #ffffff;
  --nav: #171a21;
  --green: #07956d;
  --red: #e34b4b;
  --orange: #ff8a5b;
  --blue: #2f75d6;
  --blue-soft: #e8f1ff;
  --shadow: 0 22px 60px rgba(20, 31, 52, 0.1);
  --radius: 8px;
  --content: 1240px;
  --font: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  width: min(calc(100% - 40px), 1500px);
  height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  color: #fff;
  font-size: 22px;
  font-weight: 760;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

.topnav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.topnav a.is-active {
  color: #fff;
  font-weight: 700;
}

.ghost-action {
  height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  background: transparent;
  cursor: pointer;
}

main {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #121923;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.market-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  opacity: 0.26;
}

.market-grid span {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#hero-chart {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 92%;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 35, 0.96) 0%, rgba(18, 25, 35, 0.82) 40%, rgba(18, 25, 35, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 25, 35, 0.98) 0%, rgba(18, 25, 35, 0.18) 52%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 46px 0 34px;
}

.breadcrumb,
.eyebrow {
  color: #7a8ba3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}

.primary-action {
  color: #fff;
  background: var(--green);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero__facts {
  width: min(100%, 780px);
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 25, 35, 0.62);
  backdrop-filter: blur(10px);
}

.hero__facts div {
  padding: 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__facts div:last-child {
  border-right: 0;
}

.hero__facts strong,
.hero__facts span {
  display: block;
}

.hero__facts strong {
  font-size: 20px;
  color: #fff;
}

.hero__facts span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.signal-board,
.seo-intro,
.signal-directory,
.conversion-strip,
.proof-section,
.methodology,
.faq-section,
.risk-disclosure {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.seo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  padding: 8px 0 34px;
}

.seo-intro__main,
.keyword-card,
.risk-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.seo-intro__main {
  padding: 24px;
}

.seo-intro h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.22;
}

.seo-intro p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.76;
}

.keyword-card {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.keyword-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.keyword-card strong {
  font-size: 21px;
  line-height: 1.4;
}

.signal-board {
  padding: 34px 0 26px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.section-head h2,
.conversion-strip h2,
.method-copy h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

.section-head p,
.conversion-strip p,
.method-copy p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.board-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip,
.sort-button,
.period-tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #394353;
  cursor: pointer;
}

.chip {
  padding: 0 13px;
}

.chip.is-active,
.period-tabs button.is-active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 700;
}

.signal-layout {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.asset-panel,
.detail-panel,
.conversion-strip,
.proof-grid article,
.methodology {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.asset-panel,
.detail-panel {
  border-radius: var(--radius);
}

.asset-panel {
  min-height: 100%;
  padding: 14px;
}

.asset-panel__top {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.asset-panel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.asset-panel__filters {
  justify-content: flex-start;
  gap: 6px;
}

.asset-panel__filters .chip {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.sort-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.asset-list {
  display: grid;
  gap: 8px;
}

.asset-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}

.asset-item.is-active {
  border-color: var(--blue);
  background: #f7fbff;
}

.asset-name {
  display: block;
  font-weight: 760;
}

.asset-symbol {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.asset-score {
  text-align: right;
}

.asset-score strong,
.asset-score span {
  display: block;
}

.asset-score strong {
  font-size: 20px;
}

.asset-score span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.detail-panel {
  padding: 24px;
}

.detail-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: start;
}

.asset-type {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-panel h3 {
  margin: 6px 0 0;
  font-size: 28px;
}

.detail-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.gauge-card {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.gauge {
  position: relative;
  width: 174px;
  height: 104px;
  overflow: hidden;
}

.gauge__arc {
  position: absolute;
  inset: 8px 8px auto;
  width: 158px;
  height: 158px;
  border: 12px solid #dde2e8;
  border-bottom-color: transparent;
  border-left-color: var(--red);
  border-right-color: var(--green);
  border-radius: 50%;
}

.gauge__needle {
  position: absolute;
  left: 84px;
  bottom: 15px;
  width: 4px;
  height: 58px;
  border-radius: 99px;
  background: #111827;
  transform-origin: 50% 100%;
  transform: rotate(-14deg);
  transition: transform 240ms ease;
}

.gauge__center {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  justify-items: center;
}

.gauge__center strong {
  font-size: 26px;
}

.gauge__center span,
.update-time {
  color: var(--muted);
  font-size: 12px;
}

.gauge__center .signal-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 2px;
  color: var(--muted);
  white-space: nowrap;
}

.gauge__center .signal-meta b {
  color: #aeb8c5;
  font-size: 12px;
  font-weight: 500;
}

.score-trend-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.score-trend-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.score-trend-card__head span,
.score-trend-card__head strong {
  display: block;
}

.score-trend-card__head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.score-trend-card__head strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
}

.score-trend-card__head em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.score-trend-chart-wrap {
  position: relative;
  margin-top: 10px;
}

#score-trend-chart {
  display: block;
  width: 100%;
  height: 170px;
  cursor: crosshair;
}

.score-trend-tooltip {
  position: absolute;
  z-index: 2;
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  pointer-events: none;
  transform: translate(-50%, -108%);
}

.score-trend-tooltip strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 12px;
}

.score-trend-tooltip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.score-trend-tooltip b {
  color: var(--blue);
  font-size: 14px;
}

.score-trend-axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.metric-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  margin-top: 8px;
  font-size: 21px;
}

.metric-card strong.positive,
.asset-score strong.positive {
  color: var(--green);
}

.metric-card strong.negative,
.asset-score strong.negative {
  color: var(--red);
}

.chart-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart-card__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.chart-card__head span,
.chart-card__head strong {
  display: block;
}

.chart-card__head span {
  color: var(--muted);
  font-size: 12px;
}

.chart-card__head strong {
  margin-top: 3px;
  font-size: 18px;
}

.period-tabs {
  display: flex;
  gap: 6px;
}

.period-tabs button {
  min-width: 44px;
}

.performance-chart-wrap {
  position: relative;
  margin-top: 10px;
}

#performance-chart {
  width: 100%;
  height: 300px;
  display: block;
  cursor: crosshair;
}

.performance-tooltip {
  position: absolute;
  z-index: 2;
  min-width: 172px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.performance-tooltip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
}

.performance-tooltip div {
  display: grid;
  grid-template-columns: 11px 1fr auto;
  gap: 7px;
  align-items: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.performance-tooltip em {
  color: var(--green);
  font-style: normal;
  font-weight: 760;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  width: 11px;
  height: 11px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
}

.legend__strategy {
  background: var(--orange);
}

.legend__benchmark {
  background: #64b5ff;
}

.signal-directory {
  padding: 0 0 34px;
}

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

.directory-grid a,
.directory-grid .directory-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(20, 31, 52, 0.06);
}

.directory-grid a:hover {
  border-color: var(--blue);
}

.directory-grid strong {
  font-size: 16px;
}

.directory-grid span {
  color: var(--muted);
  font-size: 13px;
}

.directory-grid em {
  color: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.conversion-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
}

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

.journey span {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
  color: #394353;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.proof-section {
  padding: 44px 0 0;
}

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

.proof-grid article {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius);
}

.proof-index {
  color: var(--blue);
  font-weight: 800;
}

.proof-grid h3 {
  margin: 18px 0 0;
  font-size: 20px;
}

.proof-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.methodology {
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 36px;
}

.method-steps {
  display: grid;
  gap: 10px;
}

.method-steps div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfe;
}

.method-steps strong,
.method-steps span {
  display: block;
}

.method-steps span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.faq-section {
  padding: 44px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(20, 31, 52, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 760;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.72;
}

.risk-disclosure {
  margin-top: 18px;
  margin-bottom: 48px;
  padding: 24px;
}

.risk-disclosure h2 {
  margin: 0;
  font-size: 22px;
}

.risk-disclosure p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.76;
}

@media (max-width: 980px) {
  .topbar__inner {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    display: none;
  }

  .hero {
    min-height: 460px;
  }

  .hero__facts,
  .seo-intro,
  .signal-layout,
  .detail-panel__top,
  .conversion-strip,
  .proof-grid,
  .methodology,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-controls {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .topbar__inner,
  .hero__content,
  .signal-board,
  .seo-intro,
  .signal-directory,
  .conversion-strip,
  .proof-section,
  .methodology,
  .faq-section,
  .risk-disclosure {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero__facts,
  .metrics-grid,
  .journey {
    grid-template-columns: 1fr;
  }

  .hero__facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .detail-panel,
  .seo-intro__main,
  .keyword-card,
  .conversion-strip,
  .methodology,
  .risk-disclosure {
    padding: 18px;
  }

  .chart-card__head {
    align-items: flex-start;
    flex-direction: column;
  }
}
