:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --card-border: #e8e8ed;
  --accent: #0071e3;
  --accent-dark: #0062c4;
  --red: #ff3b30;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --hl: #0071e3;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.hl { color: var(--hl); }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.logo-mark {
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--accent); padding: 4px 10px; border-radius: 7px;
}
.logo-text { font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.logo-text .hl { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--text); text-decoration: none; font-size: 14px;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a[href="cfl54p.html"],
.main-nav a[href="lzkwkq.html"] { color: var(--accent); font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* 首屏 */
.hero { padding: 90px 0 76px; text-align: center; }
.hero-badge {
  display: inline-block; color: var(--accent); font-weight: 600;
  background: #e8f1fb; padding: 6px 16px; font-size: 13px; border-radius: 980px;
  margin-bottom: 24px;
}
.hero-title { font-size: 52px; font-weight: 700; letter-spacing: -1px; line-height: 1.15; }
.hero-title .hl { color: var(--accent); }
.hero-sub {
  margin-top: 20px; font-size: 21px; font-weight: 600; color: var(--text);
  letter-spacing: 0;
}
.hero-desc { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 17px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-platforms { margin-top: 32px; color: var(--muted); font-size: 14px; }
.hero-platforms i {
  font-style: normal; display: inline-block; margin: 4px;
  padding: 5px 14px; background: var(--bg-alt); border-radius: 980px; color: var(--text); font-size: 13px;
}

/* 按钮 */
.btn {
  display: inline-block; text-decoration: none; font-size: 16px; font-weight: 600;
  padding: 14px 32px; cursor: pointer; border: none; border-radius: 980px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-refund { background: #fff; color: var(--red); border: 1px solid var(--red); }
.btn-refund:hover { background: #fff1f0; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #d2d2d7; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 区块 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 38px; font-weight: 700; text-align: center; letter-spacing: -0.5px;
}
.section-title .hl { color: var(--accent); }
.section-lead { text-align: center; color: var(--muted); margin: 14px 0 48px; font-size: 17px; }

/* 功能卡片 */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 34px 24px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.feature-icon { display: flex; justify-content: center; margin-bottom: 18px; }
.diamond {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; background: #e8f1fb; border-radius: 18px;
}
.diamond-inner { font-size: 27px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* 图片展示 */
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.image-gallery figure {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  overflow: hidden;
}
.image-gallery img { width: 100%; height: 200px; object-fit: cover; display: block; }
.image-gallery figcaption {
  padding: 14px 16px; font-size: 14px; color: var(--muted); text-align: center;
  border-top: 1px solid var(--card-border);
}

/* 文章 */
.articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 28px 26px;
}
.article-card h3 { font-size: 18px; margin-bottom: 12px; font-weight: 600; }
.article-card h3 a { color: var(--text); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.read-more { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; }
.read-more:hover { text-decoration: underline; }

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

/* 退款区块 */
.refund-section { padding: 40px 0 80px; }
.refund-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: 24px;
  padding: 34px 38px; flex-wrap: wrap;
}
.refund-box h2 { font-size: 22px; color: var(--text); margin-bottom: 8px; font-weight: 700; }
.refund-box p { color: var(--muted); font-size: 15px; }

/* 页脚 */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--card-border); padding: 40px 0 100px; text-align: center; }
.footer-nav { margin-bottom: 18px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--accent); }
.footer-hotwords { color: #9a9aa2; font-size: 12px; line-height: 2; max-width: 780px; margin: 0 auto 14px; }
.footer-copy { color: #9a9aa2; font-size: 12px; }

/* 移动端悬浮下载栏 */
.mobile-cta { display: none; }
body:has(.mobile-cta) { padding-bottom: 76px; }

/* 下载页紧凑首屏 */
.hero-compact { padding: 56px 0 40px; }

/* 设备卡片 */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.device-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 32px 26px; text-align: center; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.device-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.device-icon { font-size: 44px; line-height: 1; }
.device-card h3 { font-size: 20px; font-weight: 600; }
.device-card p { color: var(--muted); font-size: 14px; flex: 1; }
.device-card .btn { width: 100%; text-align: center; }

/* 退款表单 */
.refund-form-wrap { max-width: 540px; margin: 0 auto; }
.refund-note {
  text-align: center; color: var(--red); font-size: 16px; font-weight: 600;
  background: #fff1f0; border: 1px solid #ffd7d5; border-radius: 16px;
  padding: 16px 20px; margin-bottom: 24px;
}
.refund-form {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 32px;
}
.refund-form label { display: block; font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.refund-form input, .refund-form textarea {
  width: 100%; padding: 13px 16px; margin-bottom: 18px; font-size: 15px; font-family: inherit;
  background: var(--bg-alt); border: 1px solid var(--card-border); color: var(--text); border-radius: 12px; outline: none;
}
.refund-form input:focus, .refund-form textarea:focus { border-color: var(--accent); background: #fff; }
.refund-form textarea { min-height: 110px; resize: vertical; }
.refund-form .btn { width: 100%; text-align: center; }
.form-success {
  display: none; margin-top: 20px; text-align: center; color: var(--accent);
  background: #e8f1fb; border: 1px solid #bcd9f7; border-radius: 16px; padding: 16px; font-size: 15px;
}

/* 面包屑 */
.breadcrumb { padding: 28px 0 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; color: #c7c7cc; }

/* 文章页 */
.article-page { max-width: 760px; padding-top: 24px; }
.article-page h1 { font-size: 34px; font-weight: 700; margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.5px; }
.article-page h1 .hl { color: var(--accent); }
.article-page p { color: var(--muted); margin-bottom: 18px; font-size: 16px; line-height: 1.85; }
.article-page h2 { color: var(--text); font-size: 21px; margin: 28px 0 12px; font-weight: 600; }
.related { max-width: 760px; margin-top: 44px; }
.related h2 { font-size: 20px; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-list a {
  color: var(--text); text-decoration: none; font-size: 15px; display: block;
  padding: 14px 18px; background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
}
.related-list a:hover { color: var(--accent); border-color: var(--accent); }

/* 响应式 */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .image-gallery { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 14px 22px 22px;
    gap: 16px; border-bottom: 1px solid var(--card-border);
  }
  .main-nav.open { display: flex; }
  .hero { padding: 56px 0 56px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .features-grid { grid-template-columns: 1fr; }
  .image-gallery { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .article-page h1 { font-size: 27px; }
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta .btn { flex: 1; text-align: center; padding: 16px 0; font-size: 16px; }
  .mobile-cta .btn-refund { flex: 0 0 92px; }
  .refund-box { flex-direction: column; align-items: flex-start; }
  .device-card .btn { padding: 16px 0; font-size: 16px; }
}
