:root {
  --brand:   #e91e8c;   /* 美图粉 - 主色 */
  --brand-dk:#c8187a;   /* 深粉 - hover */
  --brand-lt:#fdf2f8;   /* 极浅粉 - 背景 */
  --blue:    #2563eb;
  --green:   #16a34a;
  --red:     #dc2626;
  --gray-50: #f9fafb;
  --gray-100:#f3f4f6;
  --gray-200:#e5e7eb;
  --gray-600:#4b5563;
  --gray-700:#374151;
  --gray-900:#111827;
  --radius:  8px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:0 4px 12px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: #fff;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── 容器 ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── 面包屑（紧贴子导航，无多余空白）── */
.breadcrumb {
  padding: 10px 20px 0;
  font-size: 13px;
  color: var(--gray-600);
  background: #fff;
}
.breadcrumb + .section { padding-top: 24px; }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; color: var(--gray-300, #d1d5db); }

/* ── Hero 区（轻量白底，品牌感）── */
.hero {
  background: linear-gradient(135deg, #fff5f9 0%, #fce4f3 60%, #fdf2f8 100%);
  border-bottom: 1px solid #f9d0ea;
  color: var(--gray-900);
  padding: 48px 0 52px;
  text-align: center;
}
.hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.3;
}
.hero .hero-sub {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── 按钮 ── */
.btn {
  display: inline-block; padding: 11px 28px;
  border-radius: var(--radius); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.btn-primary  { background: var(--brand); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
}

/* ── 通用 section ── */
.section { padding: 52px 0; }
.section-gray { background: var(--gray-50); }
.section-title {
  font-size: 26px; font-weight: 700; color: var(--gray-900);
  text-align: center; margin-bottom: 36px;
}

/* ── 卡片网格 ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.card {
  display: block; background: #fff; border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 22px 20px;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: inherit;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.card-icon { margin-bottom: 14px; width: 48px; height: 48px; }
.card-icon svg { width: 48px; height: 48px; display: block; }
.card h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 7px; }
.card p  { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 10px; }
.card-link { font-size: 13px; color: var(--brand); font-weight: 600; }

/* ── 内容布局（正文+侧栏）── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  padding-top: 24px;
  align-items: start;
}
.main-content { min-width: 0; }
.main-content h1 {
  font-size: 30px; font-weight: 800; color: var(--gray-900);
  margin-bottom: 14px; line-height: 1.3;
}
.main-content h2 {
  font-size: 20px; font-weight: 700; color: var(--gray-900);
  margin: 32px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.main-content h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; color: var(--gray-900); }
.main-content p  { margin-bottom: 12px; }
.main-content ul, .main-content ol { padding-left: 20px; margin-bottom: 12px; }
.main-content li { margin-bottom: 5px; }

/* ── 侧栏 ── */
.sidebar { position: sticky; top: 108px; }
.sidebar-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 18px; margin-bottom: 18px;
}
.sidebar-card h3 { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { margin-bottom: 7px; }
.sidebar-card a { font-size: 13px; color: var(--gray-600); }
.sidebar-card a:hover { color: var(--brand); }

/* ── 表格 ── */
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, table th {
  background: var(--brand-lt); color: var(--gray-900);
  font-weight: 700; padding: 10px 14px; text-align: left;
  border-bottom: 2px solid #f9d0ea;
}
.compare-table td, table td {
  padding: 9px 14px; border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.compare-table tr:hover td, table tr:hover td { background: var(--brand-lt); }

/* ── 标签 ── */
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.tag-green  { background: #dcfce7; color: #166534; }
.tag-yellow { background: #fef9c3; color: #854d0e; }
.tag-red    { background: #fee2e2; color: #991b1b; }

/* ── 提示框 ── */
.admonition { border-left: 4px solid; border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; margin: 14px 0; font-size: 14px; }
.admonition-tip { background: var(--brand-lt); border-color: var(--brand); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  background: var(--gray-50); padding: 12px 16px;
  font-weight: 700; font-size: 14px; color: var(--gray-900);
}
.faq-a { padding: 12px 16px; font-size: 14px; background: #fff; }

/* ── 页脚 ── */
.footer { background: var(--gray-900); color: #9ca3af; padding: 44px 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px; margin-bottom: 28px;
}
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-col ul  { list-style: none; }
.footer-col li  { margin-bottom: 7px; }
.footer-col a   { font-size: 13px; color: #9ca3af; }
.footer-col a:hover { color: #fff; }

/* ── 响应式 ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero .hero-sub { font-size: 14px; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .section-title { font-size: 20px; }
  .main-content h1 { font-size: 22px; }
}
@media (max-width: 480px) {
  .hero { padding: 36px 0 40px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

/* ────────────────────────────────────────────────────────────────
   极简信任标一体化下载面板 (符合规范 1 & 规范 4)
   ──────────────────────────────────────────────────────────────── */
.duba-trust-panel {
  background: linear-gradient(180deg, #ffffff, #fafcfd);
  border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 20px 24px; max-width: 720px; width: 100%;
  margin: 24px auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.trust-panel-brand-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #6b7280; margin-bottom: 14px;
}
.trust-panel-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px 24px; font-size: 16px; font-weight: bold;
  color: #fff !important; border-radius: 8px; text-decoration: none;
  transition: all 0.2s; margin-bottom: 12px; border: none; outline: none;
  cursor: pointer;
}
.trust-panel-btn svg {
  width: 20px; height: 22px; margin-right: 10px;
  fill: currentColor; flex-shrink: 0;
}
.trust-btn-pink { background: linear-gradient(135deg, #e91e8c, #be185d); }
.trust-panel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 30, 140, .25); opacity: 0.95;
}
.trust-panel-badges {
  display: flex; gap: 16px; justify-content: center; font-size: 12px; color: #475569;
}
.trust-panel-badges span { display: inline-flex; align-items: center; gap: 4px; }
.trust-panel-badges svg { width: 14px; height: 14px; color: #10b981; fill: none; }

/* 注意事项/免责声明卡片 */
.notice-card {
  background: #fffbeb; border-left: 4px solid #f59e0b;
  padding: 16px 20px; border-radius: 6px; margin: 24px auto;
  max-width: 720px; font-size: 13px; line-height: 1.7; color: #78350f;
  text-align: left;
}
.notice-card strong { color: #b45309; }
