:root {
  color-scheme: dark;
  --bg: #07110f;
  --panel: rgba(13, 31, 27, 0.78);
  --panel-strong: #102720;
  --line: rgba(153, 255, 205, 0.16);
  --text: #f2fff8;
  --muted: #a4bdb1;
  --green: #78f2af;
  --green-strong: #2fe583;
  --cyan: #63d9ef;
  --gold: #ffd479;
  --danger: #ff9f8e;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(47, 229, 131, 0.16), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(99, 217, 239, 0.12), transparent 30rem),
    linear-gradient(160deg, #06100e 0%, #081713 58%, #07100f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(153, 255, 205, 0.1);
  background: rgba(5, 15, 12, 0.72);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120, 242, 175, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(120, 242, 175, 0.18), rgba(99, 217, 239, 0.06));
  box-shadow: inset 0 0 22px rgba(120, 242, 175, 0.08);
  color: var(--green);
}

.brand-sub {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--green); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 72px;
  padding: 88px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-strong);
  box-shadow: 0 0 18px var(--green-strong);
}

h1, h2, h3 { line-height: 1.16; }

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  letter-spacing: -0.07em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--green) 10%, #d7ffe8 48%, var(--cyan) 95%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: #c1d7cd;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 720;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(120, 242, 175, 0.52);
}

.button-primary {
  border-color: transparent;
  background: var(--green);
  color: #052114;
  box-shadow: 0 14px 44px rgba(47, 229, 131, 0.18);
}

.market-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(19, 46, 38, 0.92), rgba(8, 23, 19, 0.94));
  box-shadow: var(--shadow);
}

.market-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% 20%;
  height: 260px;
  background: radial-gradient(circle, rgba(47, 229, 131, 0.2), transparent 67%);
  pointer-events: none;
}

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

.card-label,
.metric-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(120, 242, 175, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: rgba(120, 242, 175, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
}

.chart {
  width: 100%;
  height: auto;
  margin: 34px 0 22px;
  overflow: visible;
}

.chart-grid line { stroke: rgba(153, 255, 205, 0.09); stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart-dot { fill: var(--green); filter: drop-shadow(0 0 7px rgba(120, 242, 175, 0.9)); }

.metric-row {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.metric-value { font-size: 1.02rem; font-weight: 760; }
.metric-value.accent { color: var(--green); }

.section { padding: 96px 0; }

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 44px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  letter-spacing: -0.055em;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-height: 265px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.feature-index {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
}

.feature h3 {
  margin: 52px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.feature p { margin: 0; color: var(--muted); }

.workflow {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(15, 38, 31, 0.95), rgba(9, 23, 20, 0.9));
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.workflow-step {
  position: relative;
  padding: 30px 24px 0 0;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.workflow-step strong { display: block; margin-bottom: 8px; }
.workflow-step span { color: var(--muted); font-size: 0.92rem; }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.principle {
  padding: 30px;
  border-left: 3px solid var(--green);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.025);
}

.principle.warning { border-left-color: var(--gold); }
.principle h3 { margin: 0 0 10px; }
.principle p { margin: 0; color: var(--muted); }

.site-footer {
  padding: 36px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--green); }

.document {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 100px;
}

.document-card {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(10, 28, 23, 0.88);
  box-shadow: var(--shadow);
}

.document h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.document-meta { margin-bottom: 44px; color: var(--muted); }
.document h2 { margin: 38px 0 12px; font-size: 1.35rem; letter-spacing: -0.025em; }
.document p, .document li { color: #c4d8cf; }
.document ul { padding-left: 1.25rem; }
.document .notice {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 212, 121, 0.28);
  border-radius: 16px;
  color: #ffe4a7;
  background: rgba(255, 212, 121, 0.06);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .market-card { max-width: 620px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .grid-three { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 30px; }
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .brand-sub, .nav-links a:not(:last-child) { display: none; }
  .nav-links { gap: 12px; }
  .hero { padding-top: 64px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .section { padding: 70px 0; }
  .workflow { padding: 28px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step:not(:last-child)::after { display: none; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
