/* ===== 基础变量 ===== */
:root {
  --primary: #2f6bff;
  --primary-dark: #1f4fd8;
  --primary-soft: #eaf0ff;
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #79839b;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px rgba(16, 24, 40, .04);
  --shadow-md: 0 8px 28px rgba(16, 24, 40, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 10px; padding: 12px 22px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .18s ease;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(47, 107, 255, .28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-buy {
  background: var(--primary-soft); color: var(--primary); width: 100%;
  padding: 10px 14px; font-size: 14px;
}
.btn-buy:hover { background: var(--primary); color: #fff; }
.btn-copy { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 7px 14px; font-size: 13px; }
.btn-copy:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 头部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #6c4bff); color: #fff; font-weight: 800; font-size: 14px;
}
.logo-text { font-weight: 700; font-size: 17px; line-height: 1.2; }
.logo-sub { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }

.primary-nav ul { display: flex; gap: 6px; }
.primary-nav a {
  display: block; padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink-2); font-weight: 500;
}
.primary-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.primary-nav a.is-active { color: var(--primary); background: var(--primary-soft); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); border-radius: 2px; }

.mobile-nav { border-top: 1px solid var(--line); background: #fff; }
.mobile-nav ul { padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 12px 20px; font-size: 16px; color: var(--ink-2); }
.mobile-nav a:hover { background: var(--bg-soft); color: var(--primary); }

/* ===== Hero ===== */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 420px at 12% -10%, #e8efff 0%, rgba(232,239,255,0) 60%),
    radial-gradient(700px 380px at 92% 8%, #efe9ff 0%, rgba(239,233,255,0) 62%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; margin: 0; }
.hero-stats dt { font-size: 26px; font-weight: 800; color: var(--ink); }
.hero-stats dd { margin: 0; font-size: 13px; color: var(--ink-3); }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-md);
}
.hero-card-title { font-size: 18px; margin-bottom: 16px; }
.steps li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.steps li:first-child { border-top: 0; }
.steps span {
  flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.steps strong { display: block; font-size: 15px; }
.steps p { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ===== 区块通用 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.section-desc { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ===== 平台卡片 ===== */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.platform-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.platform-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.platform-head h3 { font-size: 17px; margin: 0 0 2px; }
.platform-head h3 a:hover { color: var(--primary); }
.platform-head p { margin: 0; font-size: 13px; color: var(--ink-3); }
.platform-more { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--primary); }
.platform-more:hover { text-decoration: underline; }
.platform-icon {
  flex: 0 0 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; font-size: 18px; font-weight: 800;
}
.platform-twitter .platform-icon { background: #111827; }
.platform-youtube .platform-icon { background: #ff3b30; }
.platform-facebook .platform-icon { background: #1877f2; }
.platform-telegram .platform-icon { background: #229ed9; }
.platform-instagram .platform-icon { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.platform-tiktok .platform-icon { background: #000; }
.platform-discord .platform-icon { background: #5865f2; }
.platform-spotify .platform-icon { background: #1db954; }

.pkg-list { padding: 8px 16px 18px; }
.pkg { padding: 14px 4px; border-bottom: 1px dashed var(--line); }
.pkg:last-child { border-bottom: 0; }
.pkg-info h4 { font-size: 15px; margin: 0 0 2px; font-weight: 600; }
.pkg-info p { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); }

/* ===== 关于我们 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 17px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ===== 用户评价 ===== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
.review blockquote::before { content: "“"; font-size: 34px; color: var(--primary); line-height: 0; vertical-align: -8px; margin-right: 4px; }
.review figcaption { display: flex; flex-direction: column; font-size: 13px; }
.review figcaption strong { font-size: 15px; }
.review figcaption span { color: var(--ink-3); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; padding: 0 18px; }
.faq-list summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--primary); font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--ink-2); font-size: 15px; padding-bottom: 14px; margin: 0; }

/* ===== 联系购买 ===== */
.contact-section { padding-bottom: 72px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.wechat-card, .contact-info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.wechat-card h3, .contact-info h3 { font-size: 18px; }
.wechat-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; margin-bottom: 12px; border: 1px dashed var(--primary);
  border-radius: 12px; background: var(--primary-soft);
}
.wechat-id { font-size: 20px; font-weight: 800; letter-spacing: .04em; color: var(--primary-dark); }
.wechat-tip { margin: 0; font-size: 13px; color: var(--ink-3); }
.order-notes { counter-reset: n; }
.order-notes li { counter-increment: n; position: relative; padding: 8px 0 8px 30px; color: var(--ink-2); font-size: 15px; }
.order-notes li::before {
  content: counter(n); position: absolute; left: 0; top: 8px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.contact-extra { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }

/* ===== 页脚 ===== */
.site-footer { background: #0d1220; color: #c7cde0; padding: 48px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 12px 0 0; font-size: 14px; }
.footer-title { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav a { font-size: 14px; color: #c7cde0; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { margin: 0 0 6px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; }
.footer-bottom p { margin: 0; font-size: 13px; color: #8b93a8; }

/* ===== 平台详情页 ===== */
.platform-nav { border-bottom: 1px solid var(--line); background: #fff; }
.platform-nav ul { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.platform-nav ul::-webkit-scrollbar { display: none; }
.platform-nav a {
  display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.platform-nav a:hover { background: var(--bg-soft); color: var(--primary); }
.platform-nav a.is-current { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.breadcrumb { font-size: 13px; color: var(--ink-3); padding: 14px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--primary); }

.page-hero { padding: 22px 0 34px; background: linear-gradient(180deg, #f2f6ff 0%, rgba(242,246,255,0) 100%); }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin: 10px 0 12px; }
.page-hero-lead { font-size: 17px; color: var(--ink-2); max-width: 760px; margin: 0; }
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.page-hero-tags li { font-size: 13px; color: var(--primary); background: #fff; border: 1px solid var(--primary-soft); border-radius: 999px; padding: 5px 12px; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; padding: 8px 0 56px; }
.detail-article { min-width: 0; }
.detail-article > section { margin-bottom: 8px; }
.detail-article h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; margin: 44px 0 14px; padding-top: 6px; }
.detail-article h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.detail-article p { font-size: 16px; color: var(--ink-2); }
.detail-article ul.clean li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 16px; color: var(--ink-2); }
.detail-article ul.clean li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 18px; }
.benefit { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.benefit h3 { margin: 0 0 6px; font-size: 16px; }
.benefit p { margin: 0; font-size: 14px; color: var(--ink-2); }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.pkg-box {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff;
  display: flex; flex-direction: column; gap: 8px; transition: box-shadow .18s ease, transform .18s ease;
}
.pkg-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pkg-box h3 { margin: 0; font-size: 16px; }
.pkg-box .pkg-desc { margin: 0; font-size: 13px; color: var(--ink-3); flex: 1; }
.pkg-box .btn-buy { background: var(--primary-soft); color: var(--primary); padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.pkg-box .btn-buy:hover { background: var(--primary); color: #fff; }

.table-wrap { overflow-x: auto; margin-top: 18px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.data-table caption { text-align: left; font-size: 13px; color: var(--ink-3); padding-bottom: 8px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.data-table thead th { background: var(--bg-soft); font-weight: 700; }
.data-table tbody th { font-weight: 600; }

.detail-side { position: sticky; top: 86px; display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); }
.side-card h2 { font-size: 15px; margin: 0 0 10px; }
.side-wechat li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; margin-bottom: 8px; border: 1px dashed var(--primary); border-radius: 10px; background: var(--primary-soft);
}
.side-wechat .wechat-id { font-size: 17px; }
.side-nav ul li { border-bottom: 1px dashed var(--line); }
.side-nav ul li:last-child { border-bottom: 0; }
.side-nav a { display: block; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.side-nav a:hover { color: var(--primary); }
.side-tip { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.related-card {
  display: block; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.related-card h3 { font-size: 16px; margin: 0 0 6px; color: var(--ink); }
.related-card:hover h3 { color: var(--primary); }
.related-card p { margin: 0; font-size: 13px; color: var(--ink-3); }
.related-card .related-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--primary); }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 18, 32, .55); }
.modal-panel {
  position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 16px;
  padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.modal-kicker { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.modal-panel h2 { font-size: 22px; }
.modal-package { font-size: 14px; color: var(--ink-2); background: var(--bg-soft); padding: 8px 12px; border-radius: 8px; }
.modal-wechat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; margin-bottom: 10px; border: 1px dashed var(--primary);
  border-radius: 12px; background: var(--primary-soft);
}
.modal-label { font-size: 12px; color: var(--ink-3); display: block; }
.modal-tip { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.modal-close {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-2);
}
.modal-close:hover { color: var(--primary); border-color: var(--primary); }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  background: #101828; color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; z-index: 120;
}
.toast[hidden] { display: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 44px 0 36px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .pkg-info p { margin-bottom: 10px; }
}
