:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-strong: #eef3f8;
  --text: #0d1b2e;
  --text-2: #4e5f73;
  --text-3: #7a8899;
  --border: #dfe6ef;
  --border-strong: #ccd6e3;
  --navy: #082d68;
  --navy-2: #0b3f8f;
  --blue: #0b63e5;
  --blue-soft: #eaf2ff;
  --green: #0f9f6e;
  --green-soft: #e9f8f2;
  --red: #d84b4b;
  --red-soft: #fff0f0;
  --shadow-sm: 0 8px 26px rgba(20, 45, 80, 0.08);
  --shadow-lg: 0 26px 70px rgba(20, 45, 80, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1200px;
  --section-y: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(11, 99, 229, .28); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(204, 214, 227, .86);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 40px), var(--container));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand-cn { color: var(--text-2); font-weight: 650; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.desktop-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.desktop-nav a:hover { color: var(--blue); }
.header-cta,
.button-primary,
.button-secondary,
.plan-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.header-cta {
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}
.header-cta:hover, .button-primary:hover, .plan-card.pro .plan-action:hover { background: #0757ca; transform: translateY(-1px); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
}
.mobile-menu {
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 45;
  padding: 20px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
}
.mobile-menu .mobile-cta { margin-top: 18px; border: 0; background: var(--blue); color: #fff; text-align: center; border-radius: var(--radius-sm); }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: var(--section-y) 0; }
.section-tight { padding: 72px 0; }
.section-divider { border-top: 1px solid var(--border); }
.section-muted { background: var(--surface); }
.section-dark { background: #08244d; color: #fff; }
.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 780;
}
.section-copy {
  margin: 20px 0 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.8;
}
.section-dark .section-copy { color: rgba(255,255,255,.72); }
.eyeline {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero { padding: 92px 0 78px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr);
  align-items: center;
  gap: 72px;
}
.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}
.hero .lead {
  margin: 26px 0 0;
  max-width: 630px;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.78;
}
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.button-primary { padding: 0 22px; background: var(--blue); color: #fff; }
.button-secondary { padding: 0; color: var(--blue); }
.button-secondary::after { content: "→"; transition: transform .18s ease; }
.button-secondary:hover::after { transform: translateX(4px); }
.hero-note { margin: 22px 0 0; color: var(--text-3); font-size: 13px; }
.hero-media { position: relative; min-height: 560px; }
.browser-frame {
  position: absolute;
  inset: 24px 0 auto 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: #f5f7fa;
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: #c7d0dc; }
.browser-title { margin-left: 7px; color: var(--text-3); font-size: 11px; }
.browser-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.portfolio-float {
  position: absolute;
  right: -20px;
  bottom: 2px;
  width: min(420px, 68%);
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.portfolio-float-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.portfolio-float-head strong { font-size: 15px; }
.portfolio-float-head span { color: var(--blue); font-size: 12px; font-weight: 700; }
.mini-table { display: grid; gap: 0; }
.mini-row {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid var(--border);
  font-size: 11px;
}
.mini-row:first-child { border-top: 0; }
.mini-row span:nth-child(2) { color: var(--text-3); text-align: right; }
.mini-row strong { text-align: right; color: var(--red); }
.mini-row strong.neg { color: var(--green); }

.workflow { padding: 34px 0 62px; }
.workflow-head { text-align: center; margin-bottom: 32px; }
.workflow-head h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.workflow-step { position: relative; padding: 28px 28px 30px; }
.workflow-step + .workflow-step { border-left: 1px solid var(--border); }
.workflow-no { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.workflow-step h3 { margin: 9px 0 6px; font-size: 18px; }
.workflow-step p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.65; }

.research-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 72px;
}
.feature-list { margin-top: 36px; border-top: 1px solid var(--border); }
.feature-line { padding: 17px 0; border-bottom: 1px solid var(--border); }
.feature-line strong { display: block; font-size: 16px; margin-bottom: 4px; }
.feature-line span { color: var(--text-2); font-size: 14px; }
.product-shot {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.product-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.product-shot-caption { padding: 12px 15px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 12px; }

.chart-section-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: center;
}
.chart-builder {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  background: #0d2f61;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.chart-canvas { padding: 26px 26px 20px; }
.chart-title { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.9); font-size: 13px; }
.chart-legend { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 10px; color: rgba(255,255,255,.58); font-size: 10px; }
.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #66a4ff; }
.legend-dot.green { background: #44d0a0; }
.legend-dot.gold { background: #f4c766; }
.chart-svg { width: 100%; height: 300px; margin-top: 16px; }
.chart-sidebar { border-left: 1px solid rgba(255,255,255,.12); padding: 24px 16px; background: rgba(4, 19, 43, .34); }
.chart-sidebar h4 { margin: 0 0 14px; font-size: 12px; color: rgba(255,255,255,.92); }
.metric-choice { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.66); font-size: 11px; }
.metric-choice span { width: 7px; height: 7px; border-radius: 50%; background: #66a4ff; }
.metric-choice:nth-child(3) span { background: #44d0a0; }
.metric-choice:nth-child(4) span { background: #f4c766; }
.chart-add { width: 100%; min-height: 36px; margin-top: 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; background: rgba(255,255,255,.05); color: #fff; font-size: 11px; }
.dark-quote { margin-top: 32px; color: #fff; font-size: 24px; font-weight: 760; letter-spacing: -.025em; }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 24px;
  margin-top: 52px;
}
.data-panel {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.data-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 18px 0 14px; }
.data-panel-head h3 { margin: 0; font-size: 20px; }
.data-panel-head p { margin: 3px 0 0; color: var(--text-3); font-size: 12px; }
.panel-link { color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.holdings-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.holdings-table th {
  padding: 11px 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
  font-size: 10px;
  text-align: right;
  font-weight: 700;
}
.holdings-table th:first-child, .holdings-table td:first-child { text-align: left; width: 29%; }
.holdings-table td { padding: 13px 8px; border-bottom: 1px solid var(--border); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.holdings-table tr:last-child td { border-bottom: 0; }
.company-cell strong { display: block; font-size: 12px; }
.company-cell span { color: var(--text-3); font-size: 10px; }
.pos { color: var(--red); font-weight: 700; }
.neg { color: var(--green); font-weight: 700; }
.mobile-holding-list { display: none; }
.performance-wrap { padding: 6px 0 22px; }
.period-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 0 14px; }
.period-tabs span { padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-2); font-size: 10px; }
.period-tabs .active { background: var(--blue-soft); border-color: #b8d2fa; color: var(--blue); font-weight: 800; }
.performance-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 14px; }
.performance-summary span { display: block; color: var(--text-3); font-size: 10px; }
.performance-summary strong { display: block; margin-top: 3px; font-size: 18px; }
.bars { display: flex; align-items: end; gap: 11px; height: 190px; padding: 24px 12px 0; border-top: 1px solid var(--border); background: linear-gradient(to top, rgba(223,230,239,.55) 1px, transparent 1px); background-size: 100% 47px; }
.bar-item { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; min-width: 0; }
.bar-val { color: var(--text-2); font-size: 9px; font-weight: 700; }
.bar-shape { width: min(44px, 72%); min-height: 3px; border-radius: 4px 4px 0 0; background: var(--red); }
.bar-shape.down { background: var(--green); }
.bar-label { min-height: 31px; color: var(--text-3); font-size: 9px; text-align: center; }
.performance-note { margin: 12px 0 0; color: var(--text-3); font-size: 11px; }

.principles { padding: 92px 0; }
.principles h2 { max-width: 720px; margin: 0 0 62px; font-size: clamp(34px, 4vw, 48px); line-height: 1.18; letter-spacing: -.04em; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.principle { border-top: 1px solid var(--border-strong); padding-top: 24px; }
.principle-no { display: block; color: var(--blue); font-size: clamp(52px, 6vw, 82px); font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.principle h3 { margin: 22px 0 8px; font-size: 22px; }
.principle p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.75; }

.pricing-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.pricing-intro { position: sticky; top: 100px; }
.pricing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan-card { padding: 30px; border: 1px solid var(--border-strong); background: #fff; }
.plan-card.pro { border: 2px solid var(--blue); }
.plan-card h3 { margin: 0; font-size: 22px; }
.plan-card .plan-sub { margin: 7px 0 0; color: var(--text-3); font-size: 13px; }
.plan-price { margin: 24px 0 3px; font-size: 42px; font-weight: 800; letter-spacing: -.04em; }
.plan-price small { font-size: 13px; color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--border); }
.plan-list li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 13px; }
.plan-action { width: 100%; padding: 0 18px; border: 1px solid var(--blue); color: var(--blue); }
.plan-card.pro .plan-action { background: var(--blue); color: #fff; }
.pricing-footnote { margin: 16px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.7; }

.case-strip { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.case-strip h2 { margin: 0; font-size: 30px; }
.case-strip a { color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 700; }
.case-list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.case-item { min-height: 160px; padding: 26px 24px 28px 0; text-decoration: none; }
.case-item + .case-item { padding-left: 24px; border-left: 1px solid var(--border); }
.case-item span { color: var(--blue); font-size: 11px; font-weight: 760; }
.case-item h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.45; }
.case-item p { margin: 8px 0 0; color: var(--text-3); font-size: 12px; }

.final-cta { padding: 88px 0; background: var(--navy); color: #fff; }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 42px; }
.final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); letter-spacing: -.045em; line-height: 1.12; }
.final-cta p { margin: 14px 0 0; color: rgba(255,255,255,.68); }
.final-cta .button-primary { background: #fff; color: var(--navy); min-width: 160px; }

.site-footer { padding: 42px 0 54px; background: #f4f6f9; color: var(--text-2); }
.footer-top { display: flex; justify-content: space-between; gap: 36px; align-items: flex-start; }
.footer-brand { max-width: 430px; }
.footer-brand .brand { font-size: 16px; }
.footer-brand p { margin: 14px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--text-2); font-size: 12px; text-decoration: none; }
.footer-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 22px; color: var(--text-3); font-size: 11px; line-height: 1.7; }
.footer-meta a { color: inherit; }

@media (max-width: 1020px) {
  :root { --section-y: 82px; }
  .desktop-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-media { min-height: 470px; }
  .research-grid, .chart-section-grid { gap: 42px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pricing-intro { position: static; }
}

@media (max-width: 760px) {
  :root { --section-y: 64px; }
  .header-inner { width: min(calc(100% - 28px), var(--container)); height: 64px; gap: 10px; }
  .brand { font-size: 15px; }
  .brand img { width: 28px; height: 28px; }
  .brand-cn { display: none; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; min-height: 40px; padding: 0 12px; font-size: 12px; }
  .menu-button { display: block; }
  .mobile-menu { inset: 64px 0 0 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section-title { font-size: 31px; }
  .section-copy { margin-top: 14px; font-size: 15px; line-height: 1.75; }
  .hero { padding: 58px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .hero .lead { margin-top: 20px; font-size: 16px; line-height: 1.72; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 28px; gap: 12px; }
  .button-primary { width: 100%; }
  .button-secondary { width: fit-content; }
  .hero-note { font-size: 11px; }
  .hero-media { min-height: auto; display: grid; gap: 12px; }
  .browser-frame { position: relative; inset: auto; border-radius: 11px; }
  .browser-bar { height: 32px; }
  .browser-frame img { aspect-ratio: 16 / 10; }
  .portfolio-float { position: relative; right: auto; bottom: auto; width: 100%; padding: 14px; box-shadow: var(--shadow-sm); }
  .portfolio-float .mini-row:nth-child(n+4) { display: none; }
  .workflow { padding: 28px 0 54px; }
  .workflow-head { text-align: left; margin-bottom: 20px; }
  .workflow-head h2 { font-size: 24px; }
  .workflow-rail { grid-template-columns: 1fr; border-bottom: 0; }
  .workflow-step { padding: 22px 0 22px 48px; border-bottom: 1px solid var(--border); }
  .workflow-step + .workflow-step { border-left: 0; }
  .workflow-step::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: var(--border); }
  .workflow-step::after { content: ""; position: absolute; left: 14px; top: 32px; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; }
  .research-grid { grid-template-columns: 1fr; gap: 34px; }
  .research-copy { order: 1; }
  .research-media { order: 2; }
  .feature-list { margin-top: 26px; }
  .product-shot { border-radius: 10px; }
  .product-shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 24% 0; }
  .chart-section-grid { grid-template-columns: 1fr; gap: 34px; }
  .chart-builder { grid-template-columns: 1fr; min-height: auto; }
  .chart-sidebar { display: none; }
  .chart-canvas { padding: 20px 16px 12px; }
  .chart-svg { height: 235px; }
  .dark-quote { font-size: 20px; }
  .portfolio-grid { margin-top: 36px; gap: 42px; }
  .holdings-table { display: none; }
  .mobile-holding-list { display: grid; border-top: 1px solid var(--border); }
  .mobile-holding { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .mobile-holding strong { font-size: 13px; }
  .mobile-holding small { display: block; color: var(--text-3); font-size: 10px; }
  .mobile-holding .mobile-metrics { text-align: right; font-size: 11px; }
  .performance-summary { gap: 8px; }
  .performance-summary strong { font-size: 15px; }
  .bars { gap: 6px; padding-left: 3px; padding-right: 3px; height: 160px; }
  .bar-shape { width: min(30px, 68%); }
  .bar-label { font-size: 8px; }
  .principles { padding: 68px 0; }
  .principles h2 { margin-bottom: 34px; }
  .principle-grid { grid-template-columns: 1fr; gap: 34px; }
  .principle { display: grid; grid-template-columns: 72px 1fr; gap: 0 18px; }
  .principle-no { grid-row: 1 / span 2; font-size: 54px; }
  .principle h3 { margin: 3px 0 6px; font-size: 19px; }
  .principle p { font-size: 14px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .plan-card { padding: 24px; }
  .case-strip { grid-template-columns: 1fr; gap: 8px; }
  .case-list { grid-template-columns: 1fr; }
  .case-item { padding: 20px 0; min-height: auto; }
  .case-item + .case-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .final-cta { padding: 62px 0; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .final-cta .button-primary { width: 100%; }
  .footer-top, .footer-meta { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
