:root {
  --paper: #fbf8f1;
  --surface: #fffdf8;
  --field: #f3ede0;
  --ink: #2c241e;
  --muted: #6f6256;
  --rule: #e2d9c9;
  --seal: #c84b31;
  --seal-hover: #b23d26;
  --highlighter: #f2cf66;
  --highlighter-wash: rgba(242, 207, 102, 0.34);
  --dot: rgba(120, 104, 88, 0.17);
  --shadow: 0 12px 32px rgba(44, 36, 30, 0.08);
  --radius-card: 16px;
  --radius-pill: 999px;
  --font-serif: "New York", "Iowan Old Style", "Georgia", "Songti SC", "STSong", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191613;
    --surface: #231e1a;
    --field: #2c2620;
    --ink: #f3ebe0;
    --muted: #b0a395;
    --rule: #3a322a;
    --seal: #d85a3f;
    --seal-hover: #e56a4f;
    --highlighter: #d8b54c;
    --highlighter-wash: rgba(216, 181, 76, 0.22);
    --dot: rgba(220, 205, 188, 0.11);
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  }
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.1px);
  background-size: 20px 20px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--seal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

/* 顶部手帐眉栏 */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(44, 36, 30, 0.14);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 4px 2px;
}

.nav a.active,
.nav a:hover {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--highlighter);
}

.lang-toggle {
  appearance: none;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.lang-toggle:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* 首页 Hero */
.hero {
  position: relative;
  margin-top: 34px;
  padding: 42px 32px 38px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.2deg);
  width: 112px;
  height: 22px;
  background: rgba(242, 207, 102, 0.72);
  border-radius: 3px;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 26px rgba(44, 36, 30, 0.18);
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--field);
  border: 1px solid var(--rule);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 auto 14px;
  max-width: 680px;
}

.highlight {
  background: linear-gradient(180deg, transparent 58%, var(--highlighter-wash) 58%);
  padding: 0 4px;
  border-radius: 3px;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 620px;
  margin: 0 auto 26px;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--seal);
  color: #fffdf8;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(200, 75, 49, 0.25);
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn-primary:hover {
  background: var(--seal-hover);
  color: #fffdf8;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--field);
  color: var(--ink);
  border: 1px solid var(--rule);
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.btn-secondary:hover {
  border-color: var(--ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.pricing-strip {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.badge-deal {
  background: var(--highlighter-wash);
  color: var(--ink);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* 特性卡片网格 */
.section {
  margin-top: 44px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 22px 22px 20px;
  box-shadow: 0 4px 14px rgba(44, 36, 30, 0.04);
}

.card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--seal);
  margin-bottom: 6px;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 截屏展示区 */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.shot-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* 文档页纸卡（隐私与支持） */
.paper-doc {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.paper-doc h1 {
  text-align: left;
  margin-left: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
}

.meta-line {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
}

.callout {
  background: var(--field);
  border-left: 4px solid var(--highlighter);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0 26px;
  font-size: 0.96rem;
}

.paper-doc h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.paper-doc ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.paper-doc li {
  margin-bottom: 8px;
  color: var(--ink);
}

.paper-doc p {
  color: var(--ink);
  margin: 8px 0 12px;
}

.faq-item {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.faq-item p {
  color: var(--muted);
  margin: 0;
}

/* 页脚 */
.footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

/* 双语切换 */
html[data-lang="en"] [data-lang-block="zh"] {
  display: none !important;
}

html[data-lang="zh"] [data-lang-block="en"] {
  display: none !important;
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 20px 28px;
  }
  .paper-doc {
    padding: 26px 20px;
  }
}
