/* ============================================================
   nashifi 官网样式 — 基于「暮砂」品牌风格指南 v1.0
   双主题（dark/light）· 响应式 5 断点 · 全静态
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: 'InstrumentSans';
  src: url('../fonts/InstrumentSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSans';
  src: url('../fonts/InstrumentSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSerif';
  src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'InstrumentSerif';
  src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- 主题变量 ---------- */
:root,
:root[data-theme='dark'] {
  --bg: #0F0E0C;
  --bg2: #1A1815;
  --bg3: #252220;
  --ink: #F5F0E8;
  --muted: #9A9088;
  --rule: #2E2A25;
  --sand-light: #D4A574;
  --sand-dark: #B8864A;
  --navy: #1B3A5C;
  --brand-nas: #6BA3D4;
  --accent: #D4A574;
  --accent2: #1B3A5C;
  --code-bg: #0D0D0F;
  --hover: rgba(255, 255, 255, 0.03);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --nav-bg: rgba(15, 14, 12, 0.85);
  --link-hover: #D4A574;
  --hero-grad: linear-gradient(160deg, #1B3A5C 0%, #0F0E0C 55%, #2A1F14 100%);
  --story-grad: linear-gradient(160deg, #0F0E0C 0%, #3A2C1C 60%, #B8864A 130%);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #FAF7F2;
  --bg2: #FFFFFF;
  --bg3: #F0EBE3;
  --ink: #2A2520;
  --muted: #8A8078;
  --rule: #E5DDD2;
  --sand-light: #D4A574;
  --sand-dark: #B8864A;
  --navy: #1B3A5C;
  --brand-nas: #1B3A5C;
  --accent: #B8864A;
  --accent2: #1B3A5C;
  --code-bg: #F5F0E8;
  --hover: rgba(0, 0, 0, 0.03);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(250, 247, 242, 0.85);
  --link-hover: #B8864A;
  --hero-grad: linear-gradient(160deg, #F0E4D2 0%, #FAF7F2 55%, #E8DCC8 100%);
  --story-grad: linear-gradient(160deg, #FAF7F2 0%, #EFE3D0 60%, #D4A574 140%);
  color-scheme: light;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'InstrumentSans', -apple-system, 'SF Pro Display', 'Helvetica Neue',
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }
code {
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
}
mark.key, .key {
  background: none;
  color: var(--accent);
  font-weight: 600;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent); color: #fff; }

/* 品牌双色文字 */
.brand-nas { color: var(--brand-nas); font-weight: 700; }
.brand-hifi { color: var(--accent); font-weight: 700; }

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
}
.nav-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-logo:hover .brand-nas { color: var(--brand-nas); }
.nav-logo:hover .brand-hifi { color: var(--accent); }
.nav-logo .logo-mark { width: 30px; height: 30px; border-radius: 7px; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: var(--hover); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-btn:hover { color: var(--ink); border-color: var(--accent); }
.nav-btn svg { width: 16px; height: 16px; }
.theme-icon-sun, :root[data-theme='light'] .theme-icon-moon { display: none; }
:root[data-theme='light'] .theme-icon-sun { display: block; }
.nav-toggle { display: none; }

/* ---------- Hero 板块 1 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--hero-grad);
}
.hero-breath {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(212, 165, 116, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(27, 58, 92, 0.35), transparent 70%);
  animation: breath 8s ease-in-out infinite;
  pointer-events: none;
}
:root[data-theme='light'] .hero-breath {
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(184, 134, 74, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(27, 58, 92, 0.10), transparent 70%);
}
@keyframes breath {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-content { position: relative; z-index: 1; padding: 120px 24px 80px; max-width: 820px; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto; filter: drop-shadow(0 20px 60px rgba(212, 165, 116, 0.15)); transition: transform 0.35s ease, filter 0.35s ease; }
.hero-logo-btn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin: 0 auto 32px;
  cursor: pointer;
  border-radius: 24px;
}
.hero-logo-btn:hover .hero-logo { transform: scale(1.06); filter: drop-shadow(0 20px 64px rgba(212, 165, 116, 0.38)); }
.hero-logo-btn:active .hero-logo { transform: scale(0.98); }
.hero-logo-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.hero-logo-btn.playing .tri-pulse { animation: tri-pulse 1.2s ease-in-out infinite; }
.hero-logo .logo-square { animation: logo-rise 0.6s ease-out both; }
.hero-logo .logo-circle { animation: logo-spread 0.6s ease-out 0.4s both; transform-origin: center; }
.hero-logo .logo-tri { animation: logo-fade 0.5s ease-out 0.9s both; }
.hero-logo .tri-pulse { animation: logo-fade 0.5s ease-out 0.9s both, tri-pulse 4s ease-in-out 1.6s infinite; transform-origin: center; }
@keyframes logo-rise { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes logo-spread { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tri-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.85; } }
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-tag {
  font-family: 'InstrumentSans', -apple-system, 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero-tag .brand-nas, .hero-tag .brand-hifi { font-weight: 700; letter-spacing: 0.02em; }
.hero-tag .dot { color: var(--muted); font-weight: 300; margin: 0 6px; }
.serif { font-family: 'InstrumentSerif', serif; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--sand-light), var(--sand-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(184, 134, 74, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184, 134, 74, 0.45); color: #fff; }
.btn-secondary { border-color: var(--rule); color: var(--ink); background: var(--hover); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 32px;
  background: linear-gradient(var(--muted), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- 通用板块 ---------- */
.section { padding: 96px 0; }
.section:nth-of-type(even) { background: var(--bg2); }
.section-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-desc { font-size: 16px; color: var(--muted); max-width: 640px; margin-bottom: 48px; }

/* ---------- 板块 2 痛点共鸣 ---------- */
.pain-narrative { max-width: 720px; margin: 0 auto; }
.pain-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.pain-step:last-child { border-bottom: none; }
.pain-step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.pain-step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.pain-step p { color: var(--muted); font-size: 15px; }
.pain-anchor {
  text-align: center;
  margin: 72px auto 0;
  max-width: 720px;
}
.pain-anchor p.big {
  font-family: 'InstrumentSerif', serif;
  font-size: 30px;
  line-height: 1.5;
  color: var(--ink);
}
.pain-anchor p.big em { color: var(--accent); font-style: normal; }
.pain-transition {
  margin-top: 48px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 板块 3 解决方案 ---------- */
.solution-lead {
  text-align: center;
  margin-bottom: 56px;
}
.solution-lead .big {
  font-family: 'InstrumentSerif', serif;
  font-size: 32px;
  line-height: 1.4;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scene-card {
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.scene-icon svg { width: 24px; height: 24px; }
.scene-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.scene-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.scene-voice {
  font-family: 'InstrumentSerif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
}
.solution-trust { text-align: center; margin-top: 48px; font-size: 13px; color: var(--muted); }
.solution-transition {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 板块 4 核心卖点 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card.span-2 { grid-column: span 2; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; flex: 1; }
.feature-quote {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 500;
  border-top: 1px dashed var(--rule);
  padding-top: 12px;
  margin-top: 16px;
}
.compare-toggle {
  margin-top: 40px;
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.compare-toggle:hover { border-color: var(--accent); }
.compare-toggle .chev { transition: transform 0.3s; width: 18px; height: 18px; }
.compare-toggle.open .chev { transform: rotate(180deg); }
.compare-wrap { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.compare-wrap.open { max-height: 1200px; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--rule); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule); }
th { background: var(--bg3); font-weight: 600; font-size: 13px; white-space: nowrap; }
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }
td.hl { color: var(--accent); font-weight: 700; }
th.col-brand, td.col-brand { color: var(--ink); font-weight: 600; }

/* ---------- 板块 5 定价 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.recommended {
  border: 2px solid var(--accent);
  background: var(--bg2);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--sand-light), var(--sand-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.price-val { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-val small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-features { list-style: none; flex: 1; }
.price-features li {
  font-size: 13.5px;
  color: var(--ink);
  padding: 7px 0 7px 24px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.pricing-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pricing-trust span { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pricing-trust svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ---------- 板块 6 品牌故事 ---------- */
.story-section { background: var(--story-grad) !important; }
.logo-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.layer-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.layer-card .layer-vis {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.layer-card p { font-size: 13.5px; color: var(--muted); }
.story-block { max-width: 720px; margin: 0 auto 40px; }
.story-block h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.story-block p { margin-bottom: 16px; color: var(--muted); font-size: 15.5px; }
.story-block p .em { color: var(--ink); font-weight: 600; }
.story-block p.story-em {
  font-family: 'InstrumentSerif', serif;
  font-size: 22px;
  color: var(--accent);
}
.philosophy-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 28px 32px;
}
.philosophy-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--accent); }
.philosophy-box p { font-size: 14.5px; color: var(--muted); }

/* ---------- 板块 7 Footer CTA ---------- */
.cta-section {
  background: linear-gradient(160deg, var(--navy) 0%, #0D1B2A 100%);
  color: #F5F0E8;
  text-align: center;
  padding: 112px 0;
}
.cta-section h2 { color: #fff; font-size: 36px; }
.cta-section .section-desc { color: rgba(245, 240, 232, 0.7); margin: 0 auto 40px; }
.cta-section .btn-primary { font-size: 16px; padding: 16px 36px; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(245, 240, 232, 0.55); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p { padding: 0 24px 20px 0; color: var(--muted); font-size: 14.5px; }

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 56px auto 0;
}
.contact-card {
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card svg { width: 24px; height: 24px; margin: 0 auto 12px; color: var(--accent); }
.contact-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.contact-card p { font-size: 13px; color: var(--muted); word-break: break-all; }

/* 页脚 */
.footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0;
  text-align: center;
}
.footer-brand {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.footer-brand svg { width: 26px; height: 26px; border-radius: 6px; }
.footer-slogan { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12.5px; color: var(--muted); }

/* ---------- 内页（隐私政策等） ---------- */
.page-main { padding: 128px 0 96px; min-height: 70vh; }
.page-main h1 { font-size: 34px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.page-main .page-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 48px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 40px 0 14px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.prose ul { color: var(--muted); margin: 0 0 14px 22px; font-size: 15px; }
.prose li { margin-bottom: 6px; }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.span-2 { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.recommended { order: -1; }
}
@media (max-width: 768px) {
  .nav { height: 52px; }
  .nav-links {
    position: fixed;
    top: 52px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    padding: 12px 24px 16px;
    gap: 2px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 14.5px; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-actions .nav-btn span.hide-m { display: none; }
  .section { padding: 72px 0; }
  .hero h1 { font-size: 30px; }
  .hero-logo { width: 72px; height: 72px; }
  .hero-logo-btn { margin-bottom: 24px; }
  .hero-sub { font-size: 15px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section h2 { font-size: 26px; }
  .scene-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
  .logo-layers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-lead .big { font-size: 24px; }
  .pain-anchor p.big { font-size: 22px; }
  .cta-section h2 { font-size: 26px; }
  .compare-wrap.open { max-height: 2000px; }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero-logo { width: 64px; height: 64px; }
  .hero-logo-btn { margin-bottom: 20px; }
  .btn { padding: 13px 22px; font-size: 14.5px; }
  .pricing-trust { gap: 16px; flex-direction: column; align-items: center; }
  .pain-step { gap: 16px; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .hero h1 { font-size: 23px; }
}

/* ---------- 特殊适配 ---------- */
@media (hover: none) and (pointer: coarse) {
  .scene-card:hover, .feature-card:hover, .price-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- App Store 温馨弹窗（可复用组件 · 全站一致） ---------- */
.appstore-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.appstore-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.appstore-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.appstore-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 40px 32px 30px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(16px) scale(0.965);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.34s ease;
}
.appstore-modal.is-open .appstore-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.appstore-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--hover);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.25s ease;
}
.appstore-modal__close:hover {
  background: var(--rule);
  color: var(--ink);
  transform: rotate(90deg);
}
.appstore-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sand-light), var(--sand-dark));
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 134, 74, 0.35);
}
.appstore-modal__icon svg { width: 34px; height: 34px; }
.appstore-modal__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.45;
}
.appstore-modal__desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 26px;
}
.appstore-modal__mail {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 28px;
}
.appstore-modal__later {
  margin-top: 14px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.appstore-modal__later:hover { color: var(--ink); }
@media (max-width: 480px) {
  .appstore-modal { padding: 16px; }
  .appstore-modal__dialog { padding: 36px 22px 26px; border-radius: 18px; }
  .appstore-modal__title { font-size: 19px; }
}

/* ============================================================
   v1.1 多页面架构新增样式
   ============================================================ */

/* 导航当前页 */
.nav-links a.active { color: var(--ink); background: var(--hover); }

/* 内联品牌名（双色，不换行） */
.brand-inline { white-space: nowrap; }

/* 子页面页头 */
.page-hero { padding: 160px 0 72px; text-align: center; background: var(--hero-grad); }
.page-hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 16px; }
.page-hero .page-hero-sub { font-size: 16.5px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* 引导卡片（首页 → 子页面） */
.go-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.go-card {
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.go-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.go-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.go-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.go-card .go-link { font-size: 14px; font-weight: 600; color: var(--accent); }
.go-card .go-link::after { content: ' →'; }

/* 明白账（定价演算） */
.math-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}
.math-formula {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.math-formula .eq { color: var(--accent); }
.math-note { font-size: 14.5px; color: var(--muted); }
.math-note strong { color: var(--ink); }

/* 现在的你 vs 用 nashifi 的你 */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card { border-radius: 16px; padding: 32px; border: 1px solid var(--rule); }
.vs-card.before { background: var(--bg3); }
.vs-card.after { background: linear-gradient(160deg, rgba(212,165,116,0.10), rgba(27,58,92,0.10)), var(--bg3); border-color: var(--accent); }
.vs-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.vs-card ul { list-style: none; }
.vs-card li { font-size: 14.5px; color: var(--muted); padding: 8px 0 8px 26px; position: relative; line-height: 1.6; }
.vs-card.before li::before { content: '×'; position: absolute; left: 2px; color: var(--muted); font-weight: 700; }
.vs-card.after li { color: var(--ink); }
.vs-card.after li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* 克制清单（它不做的事） */
.dont-list { list-style: none; max-width: 640px; margin: 0 auto; }
.dont-list li {
  font-size: 15px;
  color: var(--muted);
  padding: 14px 0 14px 34px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.dont-list li:last-child { border-bottom: none; }
.dont-list li::before { content: '—'; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.dont-list li strong { color: var(--ink); font-weight: 600; }

/* 诚实说明框 */
.note-box {
  max-width: 720px;
  margin: 0 auto;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  background: var(--hover);
}
.note-box strong { color: var(--ink); }

/* 适合谁 */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit-card { background: var(--bg3); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.fit-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 10px; }
.fit-card p { font-size: 14px; color: var(--muted); }
.fit-card .fit-plan { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 12px; }

/* 定价小字 */
.price-fine { text-align: center; margin-top: 28px; font-size: 12.5px; color: var(--muted); }

/* 故事页 Logo 解读（白三角精确比例 242:280，源自 Logo 原始几何） */
.layer-vis.play-tri { background: #1B3A5C; }
.layer-vis.play-tri svg { width: 30px; height: auto; }

/* 响应式补充 */
@media (max-width: 1024px) {
  .go-grid, .fit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 56px; }
  .page-hero h1 { font-size: 28px; }
  .go-grid, .fit-grid, .vs-grid { grid-template-columns: 1fr; }
  .math-box { padding: 28px 20px; }
  .math-formula { font-size: 20px; }
  .hero-tag { font-size: 17px; }
}

