@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

:root {
  --paper: #FAF7F0;
  --surface: #FFFFFF;
  --primary: #0F6E56;
  --primary-dark: #0A4D3C;
  --primary-light: #E1F5EE;
  --accent: #EF9F27;
  --accent-light: #FAEEDA;
  --ink: #2C2C2A;
  --ink-2: #5C5B55;
  --border: rgba(44, 44, 42, .14);
  --container: 1080px;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display: 'ZCOOL XiaoWei', 'STSong', 'SimSun', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 纸纹：极淡噪点 + 纤维感 */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; display: block; }
.brand-name { font-family: var(--display); font-size: 21px; letter-spacing: .04em; color: var(--primary-dark); }

.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.nav .nav-link { color: var(--ink-2); transition: color .2s; }
.nav .nav-link:hover { color: var(--primary); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 72px; position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,110,86,.07), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--primary);
  margin: 0 0 24px;
}
.eyebrow-line { width: 28px; height: 2px; background: var(--accent); display: inline-block; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-title .mark {
  position: relative;
  color: var(--primary);
  white-space: nowrap;
}
.hero-title .mark::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 4px;
  height: 9px;
  background: var(--accent);
  opacity: .34;
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.9;
  margin: 0 0 36px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 22px;
  font-size: 15px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 6px 18px rgba(15,110,86,.18);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,110,86,.24); }
.btn-ghost { color: var(--ink-2); border: 1px solid var(--border); background: rgba(255,255,255,.5); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.arrow { margin-left: 6px; }

.hero-note { margin: 20px 0 0; font-size: 12px; color: #8C8A82; letter-spacing: .02em; }

/* Hero 视觉：非对称、错层 */
.hero-visual { position: relative; min-height: 480px; }
.halo {
  position: absolute;
  width: 400px; height: 400px;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(150deg, var(--primary-light), var(--accent-light));
  opacity: .75;
}
.phone-frame {
  position: absolute;
  left: 50%; top: 20px;
  transform: translateX(-58%) rotate(-3deg);
  width: 268px; height: 452px;
  background: #fff;
  border: 7px solid #23231F;
  border-radius: 34px;
  box-shadow: 0 22px 50px rgba(20,40,32,.22);
  overflow: hidden;
  z-index: 2;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 96px; height: 18px;
  background: #23231F;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.phone-screen { padding: 30px 16px 12px; height: 100%; background: var(--paper); }
.screen-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; margin-bottom: 14px; }
.screen-kicker { font-weight: 700; color: var(--ink); }
.screen-streak { color: var(--accent); font-weight: 700; }
.screen-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 14px; margin-bottom: 10px;
}
.screen-card-main { min-height: 150px; }
.screen-tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  color: var(--accent); background: var(--accent-light);
  padding: 3px 8px; border-radius: 6px; margin-bottom: 10px;
}
.screen-question { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.screen-progress { height: 4px; background: #EDEAE2; border-radius: 2px; margin: 16px 0 8px; overflow: hidden; }
.screen-progress i { display: block; width: 62%; height: 100%; background: var(--primary); border-radius: 2px; }
.screen-hint { font-size: 9px; color: #9A988F; }
.screen-card-row { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 11px 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-green { background: var(--primary); }
.dot-orange { background: var(--accent); }
.screen-check { margin-left: auto; color: var(--primary); font-size: 9px; }
.screen-due { margin-left: auto; color: var(--accent); font-size: 9px; }
.screen-tabbar { display: flex; justify-content: space-around; font-size: 9px; color: #A5A39B; padding-top: 12px; }
.screen-tabbar .on { color: var(--primary); font-weight: 700; }

.hero-avatar {
  position: absolute;
  right: -6px; bottom: 6px;
  width: 150px; height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--paper);
  box-shadow: 0 12px 30px rgba(20,40,32,.2);
  z-index: 4;
}

/* ---------- Stats ---------- */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.55);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 32px 0; }
.stat { text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block; font-family: var(--display);
  font-size: 34px; color: var(--primary); line-height: 1.2;
}
.stat span { font-size: 12px; color: var(--ink-2); letter-spacing: .08em; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent); margin: 0 0 16px;
}
.section-head h2, .download h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.3;
  margin: 0 0 18px;
  color: var(--ink);
}
.lead { font-size: 16px; color: var(--ink-2); line-height: 1.9; margin: 0; max-width: 56ch; }

/* 方法论：偏移动画感的不对齐卡片 */
.method { background: var(--surface); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.method-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform .25s, box-shadow .25s;
}
.method-card:nth-child(2) { transform: translateY(20px); }
.method-card:nth-child(3) { transform: translateY(40px); }
.method-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,40,32,.1); }
.method-card .num {
  font-family: var(--display);
  font-size: 40px; color: var(--accent); opacity: .55; line-height: 1;
}
.method-card h3 { font-family: var(--display); font-size: 22px; margin: 18px 0 12px; color: var(--primary-dark); }
.method-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.85; }

/* 功能列表 */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.feature-row { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--border); }
.feature-icon {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary);
  border-radius: 12px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-body h3 { font-size: 17px; margin: 2px 0 8px; color: var(--ink); }
.feature-body p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* 覆盖 */
.coverage { background: linear-gradient(160deg, var(--primary-light), var(--paper) 70%); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.subject-cloud { display: flex; flex-wrap: wrap; gap: 14px; }
.subject-cloud span {
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  font-family: var(--display);
  font-size: 17px;
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(20,40,32,.05);
}
.subject-cloud span:nth-child(3n+2) { background: var(--accent-light); border-color: rgba(239,159,39,.3); }

/* 下载 CTA */
.download { background: var(--primary-dark); color: #fff; padding: 72px 0; }
.download-inner {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
}
.download .kicker { color: var(--accent); }
.download h2 { color: #fff; margin-bottom: 12px; }
.download .lead { color: rgba(255,255,255,.78); }
.download-avatar { width: 100px; height: 100px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); }
.download-actions { text-align: right; }
.download-actions .btn-primary { background: var(--accent); color: var(--primary-dark); box-shadow: none; }
.download-actions .btn-primary:hover { background: #F5B657; transform: translateY(-2px); }
.download-note { font-size: 11px; color: rgba(255,255,255,.6); margin: 12px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 12px; color: #8C8A82; }
.footer-inner { display: flex; justify-content: space-between; }

/* ---------- Responsive：3 断点，全站复用 ---------- */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 450px; }
  .phone-frame { transform: translateX(-50%) rotate(-3deg); }
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .method-card:nth-child(2), .method-card:nth-child(3) { transform: none; }
  .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
  .download-inner { grid-template-columns: 80px 1fr; }
  .download-actions { grid-column: 1 / -1; text-align: left; }
  .download-avatar { width: 80px; height: 80px; }
}

@media (max-width: 767px) {
  .wrap { width: min(var(--container), calc(100% - 32px)); }
  .nav { gap: 0; font-size: 12px; }
  .nav .nav-link { display: none; }
  .nav .nav-cta { display: inline-flex; padding: 8px 16px; white-space: nowrap; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 15px; }
  .hero-visual { min-height: 420px; }
  .phone-frame { width: 232px; height: 400px; transform: translateX(-52%) rotate(-2deg); }
  .hero-avatar { width: 110px; height: 110px; right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .section { padding: 64px 0; }
  .method-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-list { grid-template-columns: 1fr; gap: 0; }
  .download-inner { grid-template-columns: 1fr; text-align: left; }
  .download-avatar { display: none; }
  .footer-inner { flex-direction: column; gap: 8px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
