:root {
  --bg: #f3eee4;
  --bg-alt: #eae2d4;
  --panel: #faf6ee;
  --ink: #3f3a33;
  --accent: #a9764c;
  --accent-deep: #8a5d3a;
  --muted: #8b8274;
  --line: #ddd3c2;
  --shadow: 0 8px 24px rgba(63, 58, 51, 0.08);
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 600px at 85% -10%, rgba(169, 118, 76, 0.07), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(169, 118, 76, 0.05), transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
}

body:has(.mobile-cta) { padding-bottom: 88px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.hl { color: var(--accent); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 22px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 3px;
}
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--accent-deep); background: rgba(169, 118, 76, 0.08); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font-size: 22px; width: 42px; height: 40px; border-radius: 10px; cursor: pointer; }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero-badge {
  display: inline-block; font-size: 13px; color: var(--accent-deep); letter-spacing: 2px;
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(169, 118, 76, 0.06); margin-bottom: 28px;
}
.hero-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 48px; font-weight: 600; line-height: 1.35; letter-spacing: 2px; margin-bottom: 26px;
}
.hero-sub { font-size: 16px; color: var(--muted); max-width: 680px; margin-bottom: 40px; line-height: 1.9; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-trust span::before { content: "· "; color: var(--accent); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; cursor: pointer;
  padding: 14px 34px; font-size: 16px; border-radius: 10px; border: none;
  letter-spacing: 1px;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary { background: var(--accent); color: #faf6ee; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(63, 58, 51, 0.14); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-refund { background: var(--accent); color: #faf6ee; box-shadow: var(--shadow); }
.btn-refund:hover { background: var(--accent-deep); }
.btn-lg { padding: 17px 46px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Section */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 46px; }
.section-title {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px; font-weight: 600; letter-spacing: 3px; margin-bottom: 14px;
}
.section-title::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--accent); margin-top: 14px; border-radius: 2px;
}
.section-desc { color: var(--muted); font-size: 15px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: var(--panel); border: 1px solid var(--line); padding: 30px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(63, 58, 51, 0.12); }
.feature-icon {
  width: 54px; height: 54px; font-size: 25px; display: flex; align-items: center; justify-content: center;
  background: rgba(169, 118, 76, 0.1); border-radius: 50%; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 600; letter-spacing: 1px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Gallery */
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.image-gallery figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-gallery img { width: 100%; height: 200px; object-fit: cover; display: block; }
.image-gallery figcaption { padding: 14px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.step { background: var(--panel); border: 1px solid var(--line); padding: 30px 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.step-num { font-family: "Songti SC", "STSong", serif; font-size: 34px; font-weight: 600; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; letter-spacing: 1px; }
.step p { color: var(--muted); font-size: 14px; }
.download-cta { text-align: center; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card { background: var(--panel); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-card h3 { font-size: 18px; margin-bottom: 12px; font-weight: 600; letter-spacing: 1px; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent-deep); }
.article-card p { color: var(--muted); font-size: 14px; }
.article-more { display: inline-block; margin-top: 14px; color: var(--accent-deep); text-decoration: none; font-size: 14px; }
.article-more:hover { text-decoration: underline; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq-list summary { padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; position: relative; }
.faq-list summary::after { content: "＋"; position: absolute; right: 20px; top: 14px; font-size: 18px; color: var(--accent); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* Refund */
.section-refund { padding: 64px 0; }
.refund-box {
  background: linear-gradient(135deg, rgba(169, 118, 76, 0.12) 0%, rgba(250, 246, 238, 0.6) 100%);
  border: 1px solid var(--line); border-radius: 16px; padding: 56px 44px; text-align: center;
}
.refund-box h2 { font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 28px; margin-bottom: 16px; font-weight: 600; letter-spacing: 3px; }
.refund-box p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; }
.refund-box .btn { background: var(--accent); color: #faf6ee; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 64px; text-align: center; background: var(--bg-alt); }
.footer-brand { font-family: "Songti SC", "STSong", serif; font-size: 16px; font-weight: 600; margin-bottom: 16px; letter-spacing: 3px; }
.footer-words { color: var(--muted); font-size: 13px; max-width: 760px; margin: 0 auto 16px; }
.footer-copy { color: #9a938a; font-size: 12px; }

/* Mobile CTA */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

/* Download page */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.device-card {
  background: var(--panel); border: 1px solid var(--line); padding: 36px 28px; text-align: center;
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.device-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(63, 58, 51, 0.12); }
.device-icon { font-size: 46px; margin-bottom: 16px; }
.device-card h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; letter-spacing: 2px; }
.device-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.device-btn { display: block; width: 100%; padding: 15px 20px; font-size: 16px; }

/* Refund page */
.refund-notice {
  text-align: center; padding: 16px 20px; margin-bottom: 30px;
  background: rgba(169, 118, 76, 0.1); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--accent-deep); font-weight: 600; font-size: 16px; letter-spacing: 1px;
}
.refund-form-box {
  max-width: 560px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px; padding: 44px 40px; box-shadow: var(--shadow);
}
.refund-form-box .section-title { text-align: left; }
.refund-form-box .section-desc { text-align: left; margin-bottom: 30px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; letter-spacing: 1px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; outline: none; transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); background: #fff; }
.form-field textarea { resize: vertical; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }
.breadcrumb .cur { color: var(--ink); }

/* Article page */
.article-page { max-width: 760px; margin: 0 auto; }
.article-title { font-size: 28px; text-align: left; }
.article-title::after { margin-top: 16px; }
.article-body h2 { font-family: "Songti SC", "STSong", serif; font-size: 20px; margin: 30px 0 12px; font-weight: 600; letter-spacing: 2px; }
.article-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.article-body ul { color: var(--muted); font-size: 15px; margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-meta { font-size: 13px; color: #9a938a; margin: 12px 0 28px; }
.article-related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-related h3 { font-size: 16px; margin-bottom: 16px; font-weight: 600; letter-spacing: 2px; }
.article-related .related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.article-related a { display: block; padding: 15px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; transition: border-color .2s, color .2s; }
.article-related a:hover { border-color: var(--accent); color: var(--accent-deep); }

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .image-gallery { grid-template-columns: 1fr; }
  .image-gallery img { height: 240px; }
  .article-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; background: var(--panel); padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:last-child { border-bottom: none; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-title { font-size: 25px; }
  .article-related .related-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
}

html:not(.ngok) body {
            filter: blur(10px);
            -webkit-filter: blur(10px);
        }
        body {
            transition: filter 0.5s ease, opacity 0.5s ease;
        }
