/* NorthStar 营销落地页——色板直接取自 App 本体 src/utils/theme.ts 的 lightColors/darkColors，
   不是重新发明一套网页专属配色，保证点进来之后跟 App 里的观感是同一个品牌。 */

:root {
  --bg: #FBF1E4;
  --bg-elevated: #F5E6D3;
  --surface: #EFD9BC;
  --accent: #F2794F;
  --accent-muted: rgba(242, 121, 79, 0.14);
  --text: #3D2B1F;
  --text-muted: #9C8569;
  --border: rgba(61, 43, 31, 0.10);

  --font-display: 'ZCOOL KuaiLe', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #20160F;
    --bg-elevated: #2E2016;
    --surface: #3D2B1E;
    --accent: #F2A65A;
    --accent-muted: rgba(242, 166, 90, 0.18);
    --text: #FBF3EC;
    --text-muted: #BFA893;
    --border: rgba(255, 235, 215, 0.09);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto 是 max-width:100% 的固定搭档——缺了它，带了 width/height 属性的
   <img> 被 max-width 压窄时高度不会跟着缩，图会被压扁。 */
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 241, 228, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .topbar { background: rgba(32, 22, 15, 0.82); }
}

.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.5px;
}

.topbar-cta {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 7px 18px;
  border-radius: 999px;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 14px;
}

.hero-copy h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.accent-underline {
  position: relative;
  white-space: nowrap;
}
.accent-underline::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: 2px;
  height: 10px;
  background: var(--accent-muted);
  z-index: -1;
}

/* 一句话定位——直接搬投资人 PPT 讲稿的「一句话定位」一节，
   字号压在 h1 和正文之间，用强调色，让它成为首屏第二眼看到的东西。 */
.hero-oneliner {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.45;
  color: var(--accent);
  max-width: 30ch;
  margin: 0 0 18px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 44ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--accent);
}
.btn-primary:hover { box-shadow: 0 10px 24px -8px var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, var(--accent-muted), transparent 70%);
  filter: blur(2px);
}

.hero-mascot {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 20px 30px rgba(61, 43, 31, 0.18));
}

/* ---------- 90秒演示视频 ---------- */

.band-video {
  padding-bottom: 56px;
}

.video-wrap {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px -20px rgba(61, 43, 31, 0.35);
  background: var(--surface);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ---------- 三步机制速览 ---------- */

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  text-align: left;
  margin-bottom: 64px;
}

.flow-step {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 18px;
}

.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.flow-step h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.flow-step p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

.flow-arrow {
  align-self: center;
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  padding-top: 40px;
}

/* ---------- 功能区 ---------- */

.band {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 88px;
  text-align: center;
}

.band-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 12px;
}

.band-title {
  font-size: 26px;
  margin-bottom: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-bottom: 56px;
}
.feature-row.reverse { grid-template-columns: 1fr 220px; }
.feature-row.reverse .feature-art { order: 2; }

.feature-art {
  /* 同上：图片加载失败时留一块可见底色，不是整块消失。 */
  background: var(--accent-muted);
  border-radius: 28px;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.feature-art img {
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px -16px rgba(61, 43, 31, 0.35);
}

.feature-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.feature-copy h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-copy p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* ---------- 痛点与变通——实线卡片，跟下面虚线边框的"敬请期待"区分开 ---------- */

.band-pain .band-title {
  margin-bottom: 8px;
}

.band-pain-lead {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.pain-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.pain-card > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.pain-workaround {
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pain-workaround .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.pain-workaround p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-muted);
}

/* 痛点卡片里对应的解决方案——上面是"现在只能怎么硬扛"（灰、虚线分隔），
   下面是"NorthStar 怎么解"（实线、强调色），一眼看得出对位关系。 */
.pain-solution {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pain-solution .label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.pain-solution p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

/* 三个痛点讲完之后的落点句——直接搬讲稿「痛点与变通」结尾那句。 */
.pain-punch {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
  margin: 40px auto 0;
  color: var(--text);
}

@media (max-width: 720px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 为什么是现在 ---------- */

.band-whynow {
  background: var(--bg-elevated);
}

.band-whynow .band-title {
  margin-bottom: 20px;
}

.whynow-lead {
  font-size: 17px;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 32px;
}

.whynow-lead strong {
  color: var(--accent);
}

.whynow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.whynow-card {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whynow-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.whynow-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .whynow-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 壁垒——深色卡，跟浅色底拉开层级 ---------- */

.band-moat .band-title {
  margin-bottom: 8px;
}

.band-moat-lead {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 680px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.moat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.moat-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.moat-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.moat-card p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 720px) {
  .moat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 敬请期待区——虚线边框，跟上面已上线的 feature-row 做视觉区分 ---------- */

.band-upcoming .band-title {
  margin-bottom: 36px;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.upcoming-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}

.upcoming-card {
  border: 1.5px dashed var(--border);
  border-radius: 20px;
  padding: 22px 20px;
}

.upcoming-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 下载区 ---------- */

.download {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.download-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.download-inner h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.download-sub {
  color: var(--text-muted);
  margin: 0 0 32px;
}

.download-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 180px;
  padding: 22px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.download-card.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.download-card.ready {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 24px var(--accent-muted);
}

.download-card .platform {
  font-weight: 700;
  font-size: 16px;
}

.download-card .status {
  font-size: 12px;
  color: var(--text-muted);
}

.download-card.ready .status {
  color: var(--accent);
  font-weight: 700;
}

.download-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.download-note--highlight {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 10px 20px;
  border-radius: 999px;
  margin: 4px 0 0;
}

/* ---------- 更新记录 ---------- */

.band-changelog {
  max-width: 680px;
}

.changelog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid var(--border);
}

.changelog-list li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.changelog-date {
  flex-shrink: 0;
  width: 92px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.changelog-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.footer {
  padding: 28px 24px 40px;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner span {
  max-width: 560px;
}
.footer-inner a { text-decoration: underline; }

/* ---------- 响应式 ---------- */

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    text-align: center;
  }
  .hero-copy h1 { font-size: 30px; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 280px; margin: 0 auto; }

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-row.reverse .feature-art { order: 0; }
  .feature-art img { max-width: 220px; margin: 0 auto; }

  .band-title { font-size: 22px; }

  .flow-steps {
    flex-direction: column;
    gap: 12px;
  }
  .flow-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .changelog-list li {
    flex-direction: column;
    gap: 4px;
  }
  .changelog-date { width: auto; }
}
