:root {
  color-scheme: dark;
  --ink: #f7f4ea;
  --muted: #b7b1a0;
  --soft: #7e7665;
  --line: rgba(247, 244, 234, 0.14);
  --paper: #0b0b0a;
  --panel: rgba(18, 18, 15, 0.78);
  --panel-strong: #15130f;
  --gold: #d8b65d;
  --gold-strong: #f1c76a;
  --cyan: #6ed8d1;
  --green: #67d391;
  --danger: #e07c61;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 182, 93, 0.72);
  color: var(--gold-strong);
  font-size: 13px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.header-cta {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-cta {
  border: 1px solid rgba(216, 182, 93, 0.55);
  padding: 9px 14px;
  color: var(--gold-strong);
  font-size: 14px;
}

.header-cta:hover {
  background: rgba(216, 182, 93, 0.11);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(18px, 5vw, 72px) 42px;
  border-bottom: 1px solid var(--line);
}

#market-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#market-canvas {
  width: 100%;
  height: 100%;
  background: #080807;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 30%, rgba(216, 182, 93, 0.18), transparent 25%),
    linear-gradient(90deg, rgba(8, 8, 7, 0.95), rgba(8, 8, 7, 0.6) 46%, rgba(8, 8, 7, 0.22));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-size: 132px;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 760px;
  color: #ded8c8;
  font-size: 24px;
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-action {
  background: var(--gold);
  color: #151008;
  border-color: var(--gold);
}

.secondary-action {
  color: var(--ink);
  background: rgba(247, 244, 234, 0.04);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  border-color: rgba(216, 182, 93, 0.58);
  background: rgba(216, 182, 93, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 740px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-height: 112px;
  padding: 22px;
  background: rgba(12, 12, 10, 0.76);
}

.hero-metrics span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.intro-band {
  background: #10100d;
  border-bottom: 1px solid var(--line);
}

.intro-band h2,
.section-heading h2,
.proof-copy h2,
.final-cta h2 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-copy p,
.section-heading p,
.proof-copy p,
.feature-card p,
.strategy-panel p,
.process-step p,
.site-footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 46px;
}

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

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

.feature-card,
.process-step,
.strategy-panel,
.terminal-visual {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card,
.process-step {
  min-height: 250px;
  padding: 28px;
}

.card-index {
  margin-bottom: 42px;
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.feature-card h3,
.process-step h3 {
  font-size: 24px;
  line-height: 1.24;
}

.dark-band {
  background: #0e0d0b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strategy-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.strategy-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
}

.strategy-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.strategy-panel.core::before {
  background: var(--cyan);
}

.strategy-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(216, 182, 93, 0.36);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.core .pill {
  border-color: rgba(110, 216, 209, 0.36);
  color: var(--cyan);
}

.strategy-code {
  color: var(--soft);
  font-family: "Inter", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.strategy-panel h3 {
  margin-bottom: 2px;
  font-size: 68px;
  line-height: 1;
}

.strategy-subtitle {
  color: var(--gold-strong) !important;
  font-weight: 800;
}

.core .strategy-subtitle {
  color: var(--cyan) !important;
}

.strategy-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.strategy-list li {
  position: relative;
  padding-left: 23px;
  color: #ded8c8;
}

.strategy-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.core .strategy-list li::before {
  background: var(--cyan);
}

.strategy-note {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 15, 0.74);
  box-shadow: var(--shadow);
}

.strategy-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.strategy-note p {
  max-width: 940px;
  margin: 0;
  color: var(--muted);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.strategy-performance {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.strategy-performance h2 {
  max-width: 900px;
  font-size: 44px;
  line-height: 1.1;
}

.strategy-performance > p {
  max-width: 820px;
  color: var(--muted);
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.performance-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 15, 0.76);
  box-shadow: var(--shadow);
}

.performance-card h3 {
  margin-top: 38px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 48px;
  line-height: 1;
}

.performance-label {
  color: var(--gold-strong) !important;
  font-weight: 800;
}

.performance-card.core .performance-label {
  color: var(--cyan) !important;
}

.performance-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.performance-card li {
  position: relative;
  padding-left: 19px;
  color: var(--muted);
}

.performance-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.performance-card.core li::before {
  background: var(--cyan);
}

.proof-section {
  background: #11100d;
}

.protection-section {
  background: #0e0d0b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.protection-section p {
  color: var(--muted);
}

.protection-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(216, 182, 93, 0.32);
  background: rgba(216, 182, 93, 0.16);
  box-shadow: var(--shadow);
}

.protection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: rgba(18, 18, 15, 0.88);
}

.protection-row span {
  color: var(--muted);
}

.protection-row strong {
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.academy-section {
  background: #0b0b0a;
  border-top: 1px solid var(--line);
}

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

.academy-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(216, 182, 93, 0.08), transparent 42%),
    rgba(18, 18, 15, 0.78);
  box-shadow: var(--shadow);
}

.academy-label {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--cyan);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.academy-card h3 {
  font-size: 28px;
  line-height: 1.2;
}

.academy-card p,
.academy-card li,
.media-section p,
.loop-item p {
  color: var(--muted);
}

.academy-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.academy-card li {
  position: relative;
  padding-left: 18px;
}

.academy-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.media-section {
  background: #11100d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.media-panel a {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  background: rgba(18, 18, 15, 0.86);
  transition: background 180ms ease, color 180ms ease;
}

.media-panel a:hover {
  background: rgba(216, 182, 93, 0.08);
}

.media-panel span {
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.media-panel strong {
  color: var(--ink);
  font-size: 15px;
  text-align: right;
}

.academy-media {
  margin-top: 30px;
}

.content-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.loop-item {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 10, 0.72);
}

.loop-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-weight: 800;
}

.loop-item h3 {
  font-size: 24px;
  line-height: 1.24;
}

.terminal-visual {
  overflow: hidden;
}

.terminal-header {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-header span {
  width: 10px;
  height: 10px;
  background: var(--soft);
}

.terminal-header span:nth-child(2) {
  background: var(--gold);
}

.terminal-header span:nth-child(3) {
  background: var(--cyan);
}

.terminal-body {
  padding: 18px;
}

.terminal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.terminal-row:last-child {
  border-bottom: 0;
}

.terminal-row strong {
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 22px;
}

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

.process-step {
  min-height: 250px;
  background: rgba(18, 18, 15, 0.62);
}

.process-step span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-strong);
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.final-cta {
  margin-top: 70px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(216, 182, 93, 0.35);
  background:
    linear-gradient(135deg, rgba(216, 182, 93, 0.14), transparent 44%),
    rgba(18, 18, 15, 0.86);
}

.final-cta h2 {
  max-width: 840px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #080807;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  font-family: "Inter", sans-serif;
}

.site-footer span,
.site-footer p {
  font-size: 13px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .split-layout,
  .reverse,
  .strategy-comparison,
  .performance-grid,
  .partner-grid,
  .academy-grid,
  .content-loop,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  h1 {
    font-size: 82px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .intro-band h2,
  .section-heading h2,
  .strategy-performance h2,
  .proof-copy h2,
  .final-cta h2 {
    font-size: 44px;
  }

  .strategy-panel h3 {
    font-size: 56px;
  }

  .feature-card,
  .process-step {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding: 150px 16px 42px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-metrics span {
    font-size: 34px;
  }

  .intro-band h2,
  .section-heading h2,
  .strategy-performance h2,
  .proof-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .strategy-panel h3 {
    font-size: 42px;
  }

  .hero-actions,
  .proof-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    padding: 66px 16px;
  }

  .strategy-panel,
  .feature-card,
  .academy-card,
  .loop-item,
  .process-step,
  .final-cta {
    padding: 24px;
  }

  .media-panel a {
    flex-direction: column;
    gap: 8px;
  }

  .protection-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .media-panel strong {
    text-align: left;
  }

  .terminal-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 16px;
  }
}
