/* ========== 变量 ========== */
:root {
  --bg: #0a0a0f;
  --surface1: #12121a;
  --surface2: #1a1a26;
  --surface3: #22223a;
  --text: #e8e8f0;
  --text-sec: #8888a0;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.3);
  --accent2: #06b6d4;
  --muted: #2a2a40;
  --radius: 12px;
  --max-w: 1200px;
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== 导航 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--muted);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: white !important;
  border-radius: 8px;
  font-weight: 500;
  transition: box-shadow .2s !important;
}
.nav-cta:hover { box-shadow: 0 0 20px var(--accent-glow); }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 30%, var(--accent-glow), transparent),
    radial-gradient(ellipse 400px 300px at 80% 60%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 300px 300px at 20% 70%, rgba(168, 85, 247, 0.1), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--muted);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { box-shadow: 0 8px 30px var(--accent-glow); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--muted);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(99, 102, 241, 0.08); }

/* ========== 模拟界面（未替换截图时显示） ========== */
.hero-mockup { max-width: 800px; margin: 0 auto; }
.mockup-placeholder {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s;
}
.mockup-placeholder:hover { border-color: var(--accent); }
.mockup-screen {
  display: flex;
  height: 280px;
}
.mockup-sidebar {
  width: 180px;
  background: var(--surface2);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-editor {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-line {
  height: 10px;
  background: var(--muted);
  border-radius: 5px;
}
.mockup-title-bar {
  height: 24px;
  width: 100%;
  background: var(--surface3);
  border-radius: 6px;
  margin-bottom: 4px;
}
.mockup-caption {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sec);
  background: var(--surface2);
  border-top: 1px solid var(--muted);
}

/* ========== Section Header ========== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-sec);
}

/* ========== 特性 ========== */
.features {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }
.why-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* ========== 数据洞察 ========== */
.insights-section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.insights-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.insight-card {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 32px;
}
.insight-card h3 { font-size: 18px; margin-bottom: 8px; }
.insight-desc { font-size: 14px; color: var(--text-sec); margin-bottom: 24px; }

/* 热力图 */
.heatmap { width: 100%; }
.heatmap-months {
  display: flex;
  gap: 14px;
  padding-left: 28px;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--text-sec);
}
.hm-row { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }
.hm-label {
  width: 20px;
  font-size: 10px;
  color: var(--text-sec);
  text-align: right;
  flex-shrink: 0;
}
.hm-cells { display: flex; gap: 3px; flex-wrap: wrap; }
.hc {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: var(--muted);
}
.hc-0 { background: #1a1a2a; }
.hc-1 { background: #1a3a4a; }
.hc-2 { background: #1a5a6a; }
.hc-3 { background: #1a8a9a; }
.hc-4 { background: #2ad4e0; }
.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  justify-content: flex-end;
  font-size: 11px;
  color: var(--text-sec);
}
.hl { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.hl-0 { background: #1a1a2a; }
.hl-1 { background: #1a3a4a; }
.hl-2 { background: #1a5a6a; }
.hl-3 { background: #1a8a9a; }
.hl-4 { background: #2ad4e0; }

/* 标签统计 */
.tag-stats { display: flex; flex-direction: column; gap: 10px; }
.tag-bar { display: flex; align-items: center; gap: 10px; }
.tag-name {
  width: 64px;
  font-size: 13px;
  color: var(--text);
  flex-shrink: 0;
  text-align: right;
}
.tag-track {
  flex: 1;
  height: 20px;
  background: var(--muted);
  border-radius: 10px;
  overflow: hidden;
}
.tag-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 10px;
  transition: width .6s ease;
}
.tag-count {
  width: 32px;
  font-size: 12px;
  color: var(--text-sec);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .insights-container { grid-template-columns: 1fr; }
  .heatmap { overflow-x: auto; }
}

/* ========== 平台介绍 ========== */
.platform-section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.alt-bg {
  background: var(--surface1);
  max-width: none;
  padding: 100px 24px;
}
.alt-bg .platform-content { max-width: var(--max-w); margin: 0 auto; }
.platform-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.reverse { direction: rtl; }
.reverse > * { direction: ltr; }
.platform-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.android-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent2);
  border-color: rgba(6, 182, 212, 0.3);
}
.platform-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}
.platform-desc {
  font-size: 15px;
  color: var(--text-sec);
  margin-bottom: 32px;
  line-height: 1.8;
}
.specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface2);
  border-radius: 8px;
}
.spec-label { font-size: 13px; color: var(--text-sec); }
.spec-value { font-size: 13px; font-weight: 500; }

/* ========== 截图占位 ========== */
/* ========== 截图图片 ========== */
.hero-screenshot {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  display: block;
  margin: 0 auto;
}
.platform-img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  border: 1px solid var(--muted);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: block;
}
.mobile-img {
  max-width: 240px;
  margin: 0 auto;
}

/* ========== 同步流程 ========== */
.sync-section {
  padding: 100px 24px;
  text-align: center;
}
.sync-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sync-node {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 28px 36px;
  min-width: 140px;
}
.sync-icon { font-size: 36px; margin-bottom: 8px; }
.sync-label { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.sync-desc { font-size: 13px; color: var(--text-sec); }
.sync-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
}

/* ========== 定价 ========== */
.pricing {
  padding: 100px 24px;
  background: var(--surface1);
}
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 20px; margin-bottom: 12px; }
.pricing-price { margin-bottom: 8px; }
.price-original {
  font-size: 20px;
  color: var(--text-sec);
  text-decoration: line-through;
  margin-right: 8px;
}
.price-current {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-desc { font-size: 14px; color: var(--text-sec); }
.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--muted);
}
.pricing-features li:last-child { border-bottom: none; }
.btn-block { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-sec);
  margin-top: 12px;
}

/* ========== 下载 ========== */
.download {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-download {
  padding: 20px 36px;
  text-align: left;
  min-width: 280px;
}
.dl-icon { font-size: 28px; }
.dl-text { display: flex; flex-direction: column; }
.dl-label { font-size: 16px; font-weight: 600; }
.dl-sub { font-size: 12px; opacity: 0.7; font-weight: 400; }
.download-note {
  max-width: 600px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 2;
}

/* ========== Footer ========== */
.footer {
  border-top: 1px solid var(--muted);
  padding: 48px 24px 24px;
}
.footer-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p { font-size: 13px; color: var(--text-sec); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 13px;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--text-sec); }

/* ========== Problem ========== */
.problem {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  transition: border-color .2s;
}
.problem-item:hover { border-color: rgba(239, 68, 68, 0.4); }
.prob-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.prob-text h3 { font-size: 16px; margin-bottom: 4px; }
.prob-text p { font-size: 14px; color: var(--text-sec); line-height: 1.6; }
.problem-punchline {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 600;
}
.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Risk Awareness ========== */
.risk-awareness {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
}
.risk-awareness h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text);
}
.risk-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.risk-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.risk-num {
  font-size: 16px;
  font-weight: 700;
  color: #ef4444;
  flex-shrink: 0;
  width: 24px;
}
.risk-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.risk-text p {
  font-size: 13px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ========== Anchor Line ========== */
.anchor-line {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  font-size: 20px;
  font-weight: 700;
}

/* ========== Migration ========== */
.migration {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.migration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.migration-card {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.migration-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mig-icon { font-size: 32px; margin-bottom: 16px; }
.migration-card h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.migration-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* ========== Pricing Closer ========== */
.pricing-closer {
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  margin-top: 16px;
  font-weight: 500;
}

/* ========== Solution ========== */
.solution {
  padding: 100px 24px;
  background: var(--surface1);
}
.solution-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.sol-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sol-icon { font-size: 36px; margin-bottom: 16px; }
.sol-card h3 { font-size: 18px; margin-bottom: 8px; }
.sol-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* ========== Difference / 对比表 ========== */
.difference {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.diff-table-wrap { overflow-x: auto; }
.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.diff-table th,
.diff-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--muted);
}
.diff-table th {
  font-weight: 600;
  background: var(--surface1);
}
.diff-table thead th:first-child { border-radius: 12px 0 0 0; }
.diff-table thead th:last-child { border-radius: 0 12px 0 0; }
.col-win { color: var(--accent); }
.td-win { color: #22c55e; font-weight: 500; }
.dim-label { font-weight: 500; color: var(--text); }
.diff-punchline {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 600;
}

/* ========== Scenario ========== */
.scenario {
  padding: 100px 24px;
  background: var(--surface1);
}
.scenario-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario-card {
  background: var(--bg);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.scenario-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.scenario-icon { font-size: 36px; margin-bottom: 16px; }
.scenario-card h3 { font-size: 18px; margin-bottom: 8px; }
.scenario-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; }

/* ========== Trust ========== */
.trust {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-item {
  padding: 20px;
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s;
}
.trust-item:hover { border-color: var(--accent); }
.trust-punchline {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 600;
}

/* ========== Final CTA ========== */
.final-cta {
  padding: 100px 24px;
  background: var(--surface1);
  text-align: center;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-footnote {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-sec);
}

/* ========== Hero Visual ========== */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: 16px;
  flex-wrap: wrap;
}
.vis-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
}
.vis-icon { font-size: 36px; }
.vis-label {
  font-size: 13px;
  color: var(--text-sec);
  font-weight: 500;
  white-space: nowrap;
}
.vis-arrow {
  font-size: 24px;
  color: var(--accent);
}

/* ========== 为什么选择元吉笔记（保留旧 ID 引用）========= */
.why-section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--surface1);
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.why-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.05));
  border-color: rgba(99, 102, 241, 0.25);
}
.why-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.why-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ========== 产品叙事图 ========== */
.narrative {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.narrative-dark {
  background: var(--surface1);
  max-width: none;
  padding: 100px 24px;
}
.narrative-dark .narrative-content {
  max-width: var(--max-w);
  margin: 0 auto;
}
.narrative-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.narrative-text {
  direction: ltr;
}
.narrative-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.narrative-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.narrative-sub {
  font-size: 16px;
  color: var(--accent2);
  margin-bottom: 20px;
  font-weight: 500;
}
.narrative-text p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 24px;
}
.narrative-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.narrative-features li {
  font-size: 14px;
  color: var(--text);
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: 8px;
}

/* ========== 手机框架 ========== */
.phone-frame {
  width: 340px;
  margin: 0 auto;
  position: relative;
}
.phone-frame img {
  width: 100%;
  border-radius: 24px;
  border: 3px solid var(--muted);
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* ========== 桌面框架 ========== */
.desktop-frame {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.desktop-frame img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--muted);
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* ========== 安全框架 ========== */
.security-frame {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.security-frame img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--muted);
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .narrative-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .reverse { direction: ltr; }
  .narrative-text h2 { font-size: 26px; }
  .phone-frame { width: 260px; }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .platform-content { grid-template-columns: 1fr; gap: 40px; }
  .reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .sync-flow { flex-direction: column; }
  .sync-arrow { transform: rotate(90deg); }
  .hero-title { font-size: 32px; }
  .btn-download { min-width: 100%; }
  .mockup-sidebar { display: none; }
  .mockup-screen { height: 200px; }
  .pricing-card { margin: 0 8px; }
  .solution-cards,
  .scenario-grid,
  .trust-grid,
  .migration-grid { grid-template-columns: 1fr; }
  .diff-table { font-size: 13px; }
  .diff-table th,
  .diff-table td { padding: 12px 16px; }
  .vis-arrow { transform: rotate(90deg); }
  .hero-visual { flex-direction: column; padding: 24px; }
  .cta-content h2 { font-size: 26px; }
}
