/* =========================================================
   闪充AI — 全站样式 v4
   设计语言：白底极简大字排版为基调；
   四个产品页各带专属主题（theme-chatgpt / theme-claude / theme-gemini / theme-grok）
   ========================================================= */
:root {
  --font: -apple-system, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "STSong", Georgia, "SimSun", serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, Menlo, monospace;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --transition: 0.18s ease;

  /* 基础主题：纯白极简 */
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-card: #ffffff;
  --border: #e6e6ea;
  --text: #0a0a0c;
  --text-2: #55555e;
  --text-3: #9a9aa3;
  --accent: #0a0a0c;          /* 强调色（基础主题用黑） */
  --kicker: #10a37f;          /* 小节引导词颜色 */
  --btn-bg: #0a0a0c;          /* 主按钮 */
  --btn-fg: #ffffff;
  --ok: #10a37f;
  --warn: #b8860b;
  --bad: #d0453a;
  --shadow: 0 12px 40px rgba(10, 10, 12, 0.08);
  --display: var(--font);     /* 大标题字体（Claude 主题换衬线） */
  --check: "✓";
}

/* ---- ChatGPT / 首页同源：白底，绿色引导词 ---- */
.theme-chatgpt { --kicker: #10a37f; --ok: #10a37f; }

/* ---- Claude：米色纸感 + 衬线 + 珊瑚橙 ---- */
.theme-claude {
  --bg: #f7f1e5;
  --bg-soft: #f1e9d8;
  --bg-card: #faf5ea;
  --border: #e3d8c2;
  --text: #201b12;
  --text-2: #6b6252;
  --text-3: #9c917c;
  --accent: #c15f3c;
  --kicker: #c15f3c;
  --btn-bg: #c15f3c;
  --btn-fg: #fdf9f1;
  --shadow: 0 14px 44px rgba(80, 60, 30, 0.10);
  --display: var(--serif);
  --check: "—";
}

/* ---- Gemini：白底 + 谷歌蓝紫 ---- */
.theme-gemini {
  --accent: #1a73e8;
  --kicker: #1a73e8;
  --btn-bg: #1a73e8;
  --btn-fg: #fff;
}

/* ---- Grok：纯黑 + 红 + 等宽 ---- */
.theme-grok {
  --bg: #060606;
  --bg-soft: #0d0d0e;
  --bg-card: #101012;
  --border: #232326;
  --text: #f4f4f5;
  --text-2: #a3a3ab;
  --text-3: #6e6e76;
  --accent: #e0312e;
  --kicker: #e0312e;
  --btn-bg: #ffffff;
  --btn-fg: #060606;
  --shadow: 0 14px 44px rgba(0, 0, 0, 0.6);
  --check: "▸";
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--mono);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.88em;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition);
  white-space: nowrap; font-family: var(--font);
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-primary::after { content: "→"; font-weight: 400; margin-left: 2px; }
.btn-primary.no-arrow::after, .nav-buy::after, .modal .btn-primary::after { content: none; }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg-card); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-sm { padding: 9px 20px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.theme-grok .btn { border-radius: 4px; font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.5px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; gap: 30px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.2px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.theme-claude .logo-mark { background: var(--accent); color: #fdf9f1; }
.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a {
  padding: 7px 13px; border-radius: 7px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.main-nav a:hover { color: var(--text); }
.theme-grok .main-nav a { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }
body[data-active="chatgpt"] .main-nav a[data-nav="chatgpt"],
body[data-active="gemini"]  .main-nav a[data-nav="gemini"],
body[data-active="claude"]  .main-nav a[data-nav="claude"],
body[data-active="grok"]    .main-nav a[data-nav="grok"],
body[data-active="blog"]    .main-nav a[data-nav="blog"],
body[data-active="faq"]     .main-nav a[data-nav="faq"],
body[data-active="help"]    .main-nav a[data-nav="help"],
body[data-active="order"]   .main-nav a[data-nav="order"],
body[data-active="about"]   .main-nav a[data-nav="about"] { color: var(--accent); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero { padding: 108px 0 96px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-soft);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.4px;
  color: var(--text-2); margin-bottom: 34px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.theme-claude .hero-badge { background: var(--bg-card); }
.theme-claude .hero-badge .dot { background: var(--accent); }
.theme-grok .hero-badge { border-radius: 3px; background: #111; }
.theme-grok .hero-badge .dot { background: var(--accent); border-radius: 1px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 84px); font-weight: 800;
  line-height: 1.14; letter-spacing: -1.5px; margin-bottom: 30px;
}
.theme-claude .hero h1 { font-weight: 700; letter-spacing: 0; }
.hero h1 .muted { color: var(--text-3); }
.hero h1 .ai { color: var(--accent); font-style: italic; }
.hero h1 .strike { position: relative; text-decoration: none; }
.hero h1 .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%;
  height: 0.09em; background: var(--accent); transform: rotate(-2deg);
}
.g-grad {
  background: linear-gradient(90deg, #1a73e8, #9b72cb, #d96570);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: 18px; color: var(--text-2); max-width: 620px;
  margin: 0 auto 40px; line-height: 1.9;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 60px; justify-content: center; flex-wrap: wrap; }
.hero-stat b { font-size: 22px; font-weight: 800; display: block; letter-spacing: -0.3px; }
.hero-stat span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-3);
}

/* Grok 左对齐 hero + 网格背景 */
.theme-grok .hero {
  text-align: left;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
}
.theme-grok .hero .container { max-width: 980px; }
.theme-grok .hero h1 { letter-spacing: -1px; }
.theme-grok .hero p.sub { margin-left: 0; }
.theme-grok .hero-ctas { justify-content: flex-start; }
.theme-grok .hero-stats {
  justify-content: flex-start; gap: 70px;
  border-top: 1px solid var(--border); padding-top: 30px; max-width: 860px;
}

/* ---------------- 区块通用 ---------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.theme-grok .section-alt { background: #0a0a0b; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .kicker {
  font-family: var(--mono); color: var(--kicker); font-weight: 700; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 18px;
}
.theme-grok .section-head .kicker::before { content: "▸ "; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 48px); font-weight: 800;
  letter-spacing: -0.8px; line-height: 1.25; margin-bottom: 18px;
}
.theme-claude .section-head h2 { font-weight: 700; letter-spacing: 0; }
.section-head h2 .ai { color: var(--accent); font-style: italic; }
.section-head p { color: var(--text-2); font-size: 16px; }

/* ---------------- 卡片 ---------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: var(--transition);
}
.theme-claude .card, .theme-grok .card { border-radius: 6px; }
.card:hover { border-color: color-mix(in srgb, var(--text-3) 55%, var(--border)); }

/* 首页产品卡 */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-vendor {
  font-family: var(--mono); font-size: 11px; color: var(--text-3);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.product-card h3 { font-size: 22px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -0.3px; }
.product-model {
  display: inline-block; margin: 8px 0 16px; padding: 3px 11px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-2);
}
.product-card ul { list-style: none; margin-bottom: 22px; flex: 1; }
.product-card li { font-size: 13.5px; color: var(--text-2); padding: 4px 0 4px 22px; position: relative; }
.product-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.product-price { margin-bottom: 18px; }
.product-price small { color: var(--text-3); font-size: 13px; }
.product-price b { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.product-price b::before { content: "¥"; font-size: 16px; margin-right: 2px; font-weight: 600; }

/* ---------------- 定价 ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; }
.price-card.featured { border-color: var(--text); box-shadow: var(--shadow); }
/* Claude 主题：主推卡为深色 */
.theme-claude .price-card.featured {
  background: #191510; border-color: #191510; color: #f4ecd9;
}
.theme-claude .price-card.featured .price-desc,
.theme-claude .price-card.featured li,
.theme-claude .price-card.featured .price-num .per { color: #b3a689; }
.theme-grok .price-card.featured { border-color: var(--accent); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.5px;
}
.theme-grok .price-badge { background: var(--accent); color: #fff; border-radius: 3px; }
.price-tier {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--kicker); margin-bottom: 10px; display: block;
}
.price-card h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.2px; }
.theme-claude .price-card h3 { font-weight: 700; }
.price-card h3 .ai { color: var(--accent); font-style: italic; }
.theme-claude .price-card.featured h3 .ai { color: #e0885f; }
.price-card .price-desc { color: var(--text-3); font-size: 13.5px; margin: 5px 0 20px; }
.price-num {
  display: flex; align-items: baseline; gap: 4px;
  padding: 18px 0; margin-bottom: 20px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.theme-claude .price-card.featured .price-num { border-color: #3a2f21; }
.price-num .cur { font-size: 17px; font-weight: 700; }
.price-num b { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.price-num .per { color: var(--text-3); font-size: 14px; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 26px; }
.price-card li { font-size: 14px; color: var(--text-2); padding: 5px 0 5px 24px; position: relative; }
.price-card li::before { content: var(--check); position: absolute; left: 0; color: var(--kicker); font-weight: 700; }
.theme-claude .price-card.featured li::before { color: #e0885f; }
.pricing-note {
  text-align: center; font-family: var(--mono);
  color: var(--text-3); font-size: 12.5px; margin-top: 30px; letter-spacing: 0.3px;
}

/* 团队横幅 */
.team-banner { margin-top: 20px; display: flex; align-items: center; gap: 30px; padding: 28px 34px; flex-wrap: wrap; }
.team-banner .team-info { flex: 1; min-width: 260px; }
.team-banner h3 { font-family: var(--display); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.team-banner p { color: var(--text-2); font-size: 14px; }
.team-banner .team-price { text-align: center; }
.team-banner .team-price b { font-family: var(--display); font-size: 34px; font-weight: 800; }
.team-banner .team-price b::before { content: "¥"; font-size: 17px; }
.team-banner .team-price span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

/* ---------------- 特性 ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 34px 30px; }
.feature-card .fnum {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--kicker); display: block; margin-bottom: 16px; letter-spacing: 1px;
}
.feature-card .fnum::after { content: "  —"; color: var(--text-3); }
.feature-card h3 {
  font-family: var(--display); font-size: 19px; font-weight: 800;
  margin-bottom: 10px; letter-spacing: -0.2px;
}
.theme-claude .feature-card h3 { font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--text-2); }

/* ---------------- 步骤 ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { text-align: center; padding: 38px 28px; }
.step-num {
  width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 17px; font-weight: 700;
}
.theme-claude .step-num { background: var(--accent); color: #fdf9f1; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); }

/* ---------------- 信任徽章 ---------------- */
.trust-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-2);
}
.trust-badge b { color: var(--text); }

/* ---------------- 评价 ---------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card .stars { color: #e8a33d; letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }
.review-card p { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.review-meta b { font-size: 14px; display: block; }
.review-meta span { font-size: 12.5px; color: var(--text-3); }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  padding: 19px 24px; cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--text-3); transition: var(--transition); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; }
.faq-section { margin-bottom: 48px; }
.faq-section h2 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.faq-section h2::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--accent); }

/* ---------------- 帮助中心 ---------------- */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.help-card h3 { font-size: 16.5px; margin-bottom: 12px; }
.help-card ol { margin: 0 0 0 20px; color: var(--text-2); font-size: 14px; }
.help-card ol li { margin-bottom: 8px; }
.help-card .help-tip {
  margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--bg-soft); font-size: 13px; color: var(--text-2);
}

/* ---------------- 客服 ---------------- */
.support-box { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 36px; }
.support-box h2 { font-family: var(--display); font-size: 26px; margin-bottom: 12px; letter-spacing: -0.3px; }
.support-box p { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
.copyable { cursor: pointer; transition: var(--transition); }
.copyable:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- 交叉推荐 ---------------- */
.cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cross-card { padding: 24px; }
.cross-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cross-card .cross-tag {
  font-family: var(--mono); font-size: 11px; color: var(--kicker);
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.cross-card h3 { font-size: 16px; font-weight: 700; margin: 8px 0 6px; }
.cross-card p { font-size: 13.5px; color: var(--text-2); }

/* ---------------- 博客 ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-cat {
  align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; padding: 3px 12px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-2);
  margin-bottom: 16px;
}
.blog-card h3 { font-size: 17.5px; line-height: 1.55; margin-bottom: 10px; font-weight: 700; }
.blog-card p { font-size: 14px; color: var(--text-2); flex: 1; margin-bottom: 16px; }
.blog-date { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

/* 博客文章页 */
.article { max-width: 760px; margin: 0 auto; padding: 72px 24px 90px; }
.article-head { margin-bottom: 46px; }
.article-head .blog-cat { margin-bottom: 18px; display: inline-block; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.6px; }
.article-head .article-meta { font-family: var(--mono); color: var(--text-3); font-size: 13px; }
.article-body h2 { font-size: 24px; margin: 48px 0 18px; letter-spacing: -0.3px; }
.article-body h3 { font-size: 18px; margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; color: var(--text-2); font-size: 15.5px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--text-2); font-size: 15.5px; }
.article-body li { margin-bottom: 7px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--bg-soft); }
.article-body img {
  max-width: 100%; height: auto; display: block;
  border-radius: 12px; border: 1px solid var(--border);
  margin: 22px auto;
}
.article-body blockquote {
  border-left: 3px solid var(--accent); padding: 14px 22px; margin: 22px 0;
  background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-2);
}
.article-cta {
  margin: 48px 0 0; padding: 34px; text-align: center;
  border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border);
}
.article-cta h3 { margin-bottom: 8px; font-size: 20px; }
.article-cta p { color: var(--text-2); font-size: 14.5px; margin-bottom: 20px; }

/* ---------------- 页脚 ---------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 64px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 16px; max-width: 260px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--text-2); font-size: 13.5px; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-contact { font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.footer-contact-tip { font-size: 12.5px; color: var(--text-3); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  color: var(--text-3); font-size: 12.5px; text-align: center;
}

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  position: relative; width: 100%; max-width: 440px;
  background: #fff; color: #0a0a0c; border: 1px solid #e6e6ea;
  border-radius: 16px; padding: 32px 30px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.modal h3 { font-size: 20px; margin-bottom: 18px; letter-spacing: -0.2px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 26px; color: #9a9aa3; cursor: pointer;
}
.modal-close:hover { color: #0a0a0c; }
.buy-plan-box {
  display: flex; justify-content: space-between; align-items: center;
  background: #f5f5f7; border: 1px solid #e6e6ea;
  border-radius: 10px; padding: 15px 18px; margin-bottom: 20px;
}
.buy-plan-name { font-weight: 700; }
.buy-plan-price { font-weight: 800; font-size: 20px; }
.buy-plan-price span:last-child { font-size: 13px; color: #9a9aa3; font-weight: 500; }
.modal .field > span { color: #0a0a0c; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field em { color: #d0453a; font-style: normal; }
.field input[type="email"], .field input[type="text"], .field input[type="tel"], .field input[type="password"], .field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: #fff; border: 1.5px solid #e0e0e5;
  border-radius: 10px; color: #0a0a0c; font-size: 14.5px;
  outline: none; transition: var(--transition); font-family: var(--font);
}
.field textarea { resize: vertical; min-height: 58px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #0a0a0c; }
.field small { display: block; color: #9a9aa3; font-size: 12.5px; margin-top: 5px; }
.modal .btn-primary { background: #0a0a0c; color: #fff; }
.pay-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-type input { position: absolute; opacity: 0; }
.pay-type-card {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: 1.5px solid #e0e0e5; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: var(--transition);
  color: #0a0a0c; background: #fff;
}
.pay-type-card::before { content: ""; width: 18px; height: 18px; border-radius: 5px; }
.pay-alipay::before { background: #1677ff; }
.pay-wxpay::before { background: #07c160; }
.pay-type input:checked + .pay-type-card { border-color: #0a0a0c; background: #f5f5f7; }
.pay-type input:checked + .pay-type-card::after {
  content: "✓"; position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #0a0a0c; color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.buy-error { color: #d0453a; font-size: 13.5px; margin-bottom: 12px; }
.buy-tip { margin-top: 14px; font-size: 12.5px; color: #9a9aa3; text-align: center; line-height: 1.8; }
.buy-tip a { color: #55555e; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%);
  background: #0a0a0c; color: #fff; border: none;
  border-radius: 999px; padding: 11px 26px; font-size: 14px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3); z-index: 200;
}

/* ---------------- 订单查询 / 支付结果 ---------------- */
.narrow-page { max-width: 640px; margin: 0 auto; padding: 80px 24px 100px; }
.narrow-page h1 { font-size: 32px; text-align: center; margin-bottom: 10px; letter-spacing: -0.5px; }
.narrow-page .page-sub { text-align: center; color: var(--text-2); font-size: 15px; margin-bottom: 36px; }
.query-form { display: flex; gap: 10px; margin-bottom: 28px; }
.query-form input {
  flex: 1; padding: 13px 16px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 14.5px; outline: none;
}
.query-form input:focus { border-color: var(--text); }
.order-item { margin-bottom: 14px; padding: 22px 24px; }
.order-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.order-item-head b { font-size: 15.5px; }
.order-no { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.order-item-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); padding: 3px 0; }
.status-pill { font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.status-pending   { background: #fdf3dc; color: #9a6b00; }
.status-paid      { background: #e3edff; color: #2456c4; }
.status-delivered { background: #ddf5e7; color: #0d7a48; }
.status-closed    { background: var(--bg-soft); color: var(--text-3); }
.theme-grok .status-pending { background: #2a2313; }
.theme-grok .status-paid { background: #131f38; }
.theme-grok .status-delivered { background: #0e2418; }

.result-box { text-align: center; padding: 50px 32px; }
.result-icon { font-size: 52px; margin-bottom: 18px; }
.result-box h2 { font-size: 23px; margin-bottom: 12px; }
.result-box p { color: var(--text-2); font-size: 14.5px; margin-bottom: 8px; }
.result-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- 后台 ---------------- */
.admin-page { max-width: 1180px; margin: 0 auto; padding: 44px 24px 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.admin-head h1 { font-size: 25px; letter-spacing: -0.3px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card { padding: 18px 20px; }
.stat-card b { font-size: 24px; font-weight: 800; display: block; letter-spacing: -0.4px; }
.stat-card span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.5px; color: var(--text-3); }
.admin-toolbar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select {
  padding: 9px 14px; background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 14px; outline: none;
}
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 900px; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th {
  background: var(--bg-soft); font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.5px; color: var(--text-2); white-space: nowrap;
}
.admin-table td { color: var(--text-2); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .mono { font-family: var(--mono); font-size: 12px; }
.admin-table select, .admin-table input {
  padding: 5px 8px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); font-size: 12.5px; outline: none;
}
.admin-login-box { max-width: 380px; margin: 90px auto; padding: 40px 34px; }
.admin-login-box h1 { font-size: 22px; text-align: center; margin-bottom: 24px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.admin-tab {
  padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-2); cursor: pointer;
}
.admin-tab.active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------------- AI 环境自检 ---------------- */
:root { --env-ok: #10a37f; --env-warn: #c98500; --env-bad: #d0453a; }
.env-hero { padding: 96px 0 40px; }
.env-section { padding: 40px 0 90px; }

/* 平台切换 */
.env-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.env-tab {
  padding: 9px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text-2); cursor: pointer;
  transition: var(--transition);
}
.env-tab:hover { border-color: var(--text-3); color: var(--text); }
.env-tab.active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* 综合评分卡 + 扫描终端 */
.env-scan-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: stretch; margin-bottom: 20px; }
.env-scan-main { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.env-gauge { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.env-gauge-svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.env-gauge-track { fill: none; stroke: var(--border); stroke-width: 9; }
.env-gauge-fill {
  fill: none; stroke: var(--text-3); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
}
.env-gauge.scanning .env-gauge-fill { stroke: var(--kicker); animation: envScanRing 1.1s ease-in-out infinite; }
.env-gauge.scanning .env-gauge-svg { animation: envSpin 1.4s linear infinite; }
@keyframes envScanRing { 0%,100% { stroke-dashoffset: 250; } 50% { stroke-dashoffset: 120; } }
@keyframes envSpin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.env-gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.env-gauge-num b { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1; font-variant-numeric: tabular-nums; }
.env-gauge-num span { font-size: 11px; color: var(--text-3); margin-top: 4px; letter-spacing: 1px; }
.env-score-info { flex: 1; min-width: 220px; }
.env-score-info h2 { font-size: 22px; letter-spacing: -0.3px; margin-bottom: 10px; transition: color 0.3s ease; }
.env-summary { color: var(--text-2); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.env-score-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 扫描终端 */
.env-terminal {
  background: #0e0e13; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; height: 306px;
  border: 1px solid #1e1e28;
}
.env-term-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: #16161d; border-bottom: 1px solid #1e1e28;
}
.env-term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.env-term-bar i.r { background: #ff5f57; } .env-term-bar i.y { background: #febc2e; } .env-term-bar i.g { background: #28c840; }
.env-term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: #6b6b7b; letter-spacing: 0.5px; }
.env-term-body {
  flex: 1; margin: 0; padding: 15px 18px; overflow-y: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #c9d1d9;
  white-space: pre-wrap; word-break: break-word;
  scrollbar-width: none;
}
.env-term-body::-webkit-scrollbar { display: none; }
.env-term-line { display: block; min-height: 1.75em; }
.env-tl-prompt { color: #10a37f; } .env-tl-key { color: #79b8ff; } .env-tl-str { color: #f0a868; }
.env-tl-val { color: #c9d1d9; } .env-tl-dim { color: #5a5a6b; } .env-tl-ok { color: #28c840; }
.env-tl-warn { color: #febc2e; } .env-tl-bad { color: #ff6b6b; }
.env-term-cursor {
  display: inline-block; width: 7px; height: 14px; background: #10a37f;
  vertical-align: -2px; margin-left: 1px; animation: envBlink 1s step-end infinite;
}
@keyframes envBlink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* 分项：扫描态 + 完成时点亮 */
.env-item { position: relative; overflow: hidden; }
.env-item[data-key] .env-detail, .env-item[data-key] .env-advice { opacity: 0; transform: translateY(6px); }
.env-item.revealed .env-detail { animation: envReveal 0.45s ease forwards; }
.env-item.revealed .env-advice { animation: envReveal 0.45s ease 0.1s forwards; }
@keyframes envReveal { to { opacity: 1; transform: translateY(0); } }
.env-item.revealed .env-status { animation: envPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes envPop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
/* 完成瞬间：一道高光从左扫过 */
.env-item.revealed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--kicker) 16%, transparent) 50%, transparent 70%);
  transform: translateX(-100%); animation: envSweep 0.7s ease forwards;
}
@keyframes envSweep { to { transform: translateX(100%); } }
/* 扫描中：图标脉冲 + 左侧扫描条 */
.env-item.scanning .env-item-icon { animation: envIconPulse 0.9s ease-in-out infinite; }
@keyframes envIconPulse {
  0%,100% { background: var(--bg-soft); color: var(--text-2); }
  50% { background: color-mix(in srgb, var(--kicker) 18%, var(--bg-soft)); color: var(--kicker); }
}
.env-item.scanning::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 1;
  background: var(--kicker); animation: envScanBar 0.9s ease-in-out infinite;
}
@keyframes envScanBar { 0%,100% { opacity: 0.25; } 50% { opacity: 1; } }

/* 分项网格 */
.env-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.env-item { padding: 22px 24px; }
.env-item-wide { grid-column: 1 / -1; }
.env-item-head { display: flex; align-items: flex-start; gap: 14px; }
.env-item-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-soft); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.env-item-icon svg { width: 20px; height: 20px; }
.env-item-head > div { flex: 1; min-width: 0; }
.env-item-head h3 { font-size: 15.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.env-weight {
  font-size: 10.5px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 2px 8px; border-radius: 999px; letter-spacing: 0.3px;
}
.env-item-sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; line-height: 1.5; }

/* 状态徽标 */
.env-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.env-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.env-status.st-ok   { color: var(--env-ok); }   .env-status.st-ok .env-status-dot   { background: var(--env-ok); }
.env-status.st-warn { color: var(--env-warn); } .env-status.st-warn .env-status-dot { background: var(--env-warn); }
.env-status.st-bad  { color: var(--env-bad); }  .env-status.st-bad .env-status-dot  { background: var(--env-bad); }
.env-status.st-wait { color: var(--text-3); }   .env-status.st-wait .env-status-dot { animation: envpulse 1s infinite; }
@keyframes envpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.env-detail { margin-top: 14px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.env-detail b { color: var(--text); font-weight: 600; }
.env-advice {
  margin-top: 12px; font-size: 13px; color: var(--text-2); line-height: 1.65;
  background: var(--bg-soft); border-radius: 10px; padding: 11px 14px;
}
.env-advice-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--env-warn);
  background: color-mix(in srgb, var(--env-warn) 14%, transparent);
  padding: 1px 7px; border-radius: 999px; margin-right: 8px; vertical-align: 1px;
}
.env-advice a, .env-tips-list a { color: var(--accent); font-weight: 600; }

/* IP 明细 */
.env-ip-body { margin-top: 16px; }
.env-ip-loading, .env-ip-fail { font-size: 13.5px; color: var(--text-3); padding: 8px 0; line-height: 1.6; }
.env-ip-fail a { color: var(--accent); }
.env-ip-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 26px; margin-bottom: 14px; }
.env-ip-row { display: flex; gap: 12px; font-size: 13.5px; align-items: baseline; }
.env-ip-row > span { color: var(--text-3); flex-shrink: 0; width: 84px; }
.env-ip-row > div { color: var(--text); word-break: break-all; }
.env-ip-type { font-weight: 700; }
.env-ip-type.st-ok { color: var(--env-ok); } .env-ip-type.st-warn { color: var(--env-warn); } .env-ip-type.st-bad { color: var(--env-bad); }
.env-ip-note, .env-ip-cn { font-size: 11.5px; color: var(--text-3); }
.env-ip-cn { color: var(--env-bad); font-weight: 700; }
.env-ip-verdict {
  font-size: 13.5px; line-height: 1.7; padding: 13px 16px; border-radius: 10px;
  border-left: 3px solid var(--text-3); background: var(--bg-soft); color: var(--text-2);
}
.env-ip-verdict.st-ok   { border-left-color: var(--env-ok); }
.env-ip-verdict.st-warn { border-left-color: var(--env-warn); }
.env-ip-verdict.st-bad  { border-left-color: var(--env-bad); }

/* 平台建议 */
.env-tips { padding: 26px 28px; margin-bottom: 20px; }
.env-tips h3 { font-size: 17px; margin-bottom: 14px; }
.env-tips-note { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.env-tips-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.env-tips-list li { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.env-tips-list b { color: var(--text); }

/* CTA + 免责 */
.env-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--bg-soft); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 22px;
}
.env-cta h3 { font-size: 18px; margin-bottom: 6px; }
.env-cta p { font-size: 14px; color: var(--text-2); line-height: 1.6; max-width: 560px; }
.env-cta .btn { flex-shrink: 0; }
.env-disclaimer { font-size: 12.5px; color: var(--text-3); line-height: 1.75; }
.env-disclaimer b { color: var(--text-2); }

@media (max-width: 900px) {
  .env-scan-card { grid-template-columns: 1fr; }
  .env-terminal { height: 280px; }
}
@media (max-width: 760px) {
  .env-grid { grid-template-columns: 1fr; }
  .env-scan-main { justify-content: center; text-align: center; }
  .env-score-info { text-align: center; }
  .env-score-actions { justify-content: center; }
}

/* ---------------- 404 ---------------- */
.page-404 { text-align: center; padding: 130px 24px; }
.page-404 h1 { font-size: 88px; letter-spacing: -3px; }
.page-404 p { color: var(--text-2); margin: 12px 0 30px; }

/* ---------------- 产品图标 ---------------- */
.product-icon {
  width: 46px; height: 46px; border-radius: 12px;
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 25px; height: 25px; }
.product-icon.icon-sm { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px; }
.product-icon.icon-sm svg { width: 20px; height: 20px; }
.product-icon.icon-lg { width: 60px; height: 60px; border-radius: 15px; margin: 0 auto 26px; }
.product-icon.icon-lg svg { width: 33px; height: 33px; }
.theme-grok .product-icon.icon-lg { margin-left: 0; }
.icon-chatgpt { background: #0fa47f; }
.icon-gemini  { background: linear-gradient(135deg, #4285f4, #9b72cb); }
.icon-claude  { background: #c15f3c; }
.icon-grok    { background: #17171a; border: 1px solid #333; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .products-grid, .cross-grid, .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .pricing-grid, .reviews-grid, .blog-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(38px, 8vw, 60px); }
}
@media (max-width: 680px) {
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; padding: 12px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  }
  .menu-toggle span { height: 2px; background: var(--text); border-radius: 2px; }
  .nav-buy { display: none; }
  .hero { padding: 68px 0 60px; }
  .section { padding: 64px 0; }
  .products-grid, .features-grid, .pricing-grid, .pricing-grid.cols-2, .pricing-grid.cols-4,
  .reviews-grid, .blog-grid, .steps-grid, .cross-grid, .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .query-form { flex-direction: column; }
  .hero-stats { gap: 30px; }
  .theme-grok .hero-stats { gap: 30px; }
}

/* =========================================================
   动效层 v5 — 克制的高级感：慢光晕 / 淡网格 / 分层入场 / 微交互
   ========================================================= */
:root  { --glow1: rgba(16,163,127,.08); --glow2: rgba(155,114,203,.07); --glow3: rgba(90,120,160,.05); }
.theme-claude { --glow1: rgba(193,95,60,.09); --glow2: rgba(224,136,98,.06); --glow3: rgba(170,140,80,.05); }
.theme-gemini { --glow1: rgba(26,115,232,.08); --glow2: rgba(155,114,203,.07); --glow3: rgba(217,101,112,.05); }
.theme-grok   { --glow1: rgba(224,49,46,.06);  --glow2: rgba(130,130,160,.05); --glow3: rgba(255,255,255,.03); }

.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 2; }

/* 1px 淡网格，向下淡出 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  opacity: .38;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}
.theme-grok .hero::before { opacity: .6; }

/* 大面积低透明度光晕，20-30s 缓慢漂移 */
.hero::after {
  content: ""; position: absolute; inset: -18%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 28% 30%, var(--glow1), transparent 70%),
    radial-gradient(620px 460px at 74% 22%, var(--glow2), transparent 70%),
    radial-gradient(720px 540px at 50% 80%, var(--glow3), transparent 72%);
  filter: blur(70px);
  animation: glow-drift 26s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(2.4%, 1.6%) scale(1.045); }
  100% { transform: translate(-2%, -1.4%) scale(1.01); }
}

/* 鼠标轻微跟随的光斑（JS 注入，幅度 ≤20px） */
.hero-glow-follow {
  position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%;
  left: 50%; top: 26%; margin-left: -260px; pointer-events: none;
  background: radial-gradient(circle, var(--glow1), transparent 64%);
  filter: blur(46px);
  transition: transform 1.1s cubic-bezier(.22, .61, .21, 1);
}

/* 分层入场：徽章 → 标题 → 描述 → 按钮 → 数据/终端 */
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-badge   { animation: rise-in .55s ease both; }
.hero h1      { animation: rise-in .6s  ease .08s both; }
.hero p.sub   { animation: rise-in .6s  ease .17s both; }
.hero-ctas    { animation: rise-in .6s  ease .25s both; }
.hero-stats, .hero .product-icon.icon-lg { animation: rise-in .65s ease .33s both; }
.hero-terminal { animation: rise-in .75s ease .3s both; }

/* 状态圆点呼吸 */
.hero-badge .dot { animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.12); } }

/* 按钮微交互：上移 2px + 阴影 + 箭头右移 3px + 按下缩放 */
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn-primary::after { display: inline-block; transition: transform .18s ease; }
.btn-primary:hover {
  transform: translateY(-2px); opacity: 1;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--btn-bg) 28%, transparent);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-ghost:hover { background: var(--bg-soft); }

/* 滚动入场：淡入 + 上移 20px，逐个错开 */
.js-anim .reveal { transition: opacity .6s ease, transform .6s ease; transition-delay: var(--rd, 0ms); }
.js-anim .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.product-card:hover, .blog-card:hover, .cross-card:hover { transform: translateY(-4px); }

/* 导航滚动后加深毛玻璃 */
.site-header { transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  box-shadow: 0 1px 0 var(--border), 0 10px 32px rgba(10, 10, 12, .05);
}

/* ---------------- Claude 页：左文右终端 ---------------- */
.hero-split {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px;
  align-items: center; text-align: left;
}
.hero-split h1 { font-size: clamp(36px, 4.6vw, 62px); }
.hero-split p.sub { margin-left: 0; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-split .hero-stats { justify-content: flex-start; gap: 44px; }

/* 模拟 Claude Code 终端 */
.term {
  background: #16130f; border: 1px solid #2e2820; border-radius: 14px;
  box-shadow: 0 34px 80px rgba(60, 40, 20, .25);
  overflow: hidden; font-family: var(--mono); font-size: 12.8px;
  line-height: 1.75; text-align: left; color: #d8d0bd;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #2e2820; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-bar .r { background: #e5695e; } .term-bar .y { background: #e5b95e; } .term-bar .g { background: #7cc06e; }
.term-bar span { margin-left: 8px; color: #8d8471; font-size: 12px; }
.term-head { display: flex; gap: 13px; padding: 16px 18px 4px; align-items: flex-start; }
.term-logo {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: #c15f3c; color: #f7f1e5;
  display: flex; align-items: center; justify-content: center;
}
.term-logo svg { width: 20px; height: 20px; }
.term-head b { color: #f0e9d8; display: block; font-size: 13px; }
.term-head small { color: #8d8471; display: block; line-height: 1.6; font-size: 11.5px; }
.term-body { padding: 10px 18px 18px; list-style: none; margin: 0; min-height: 315px; }
.term-body li { padding: 2.5px 0; white-space: pre-wrap; word-break: break-word; }
.js-anim .term-body li { opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.js-anim .term-body li.on { opacity: 1; transform: none; }
.t-user { color: #f0e9d8; } .t-user::before { content: "> "; color: #8d8471; }
.t-act { color: #a89e88; } .t-act::before { content: "● "; color: #7cc06e; }
.t-act b { color: #f0e9d8; font-weight: 600; }
.t-act b + span { color: #8d8471; }
.t-out { color: #8d8471; padding-left: 19px !important; }
.t-out::before { content: "⎿ "; }
.t-del { color: #dd8a80; padding-left: 19px !important; }
.t-add { color: #9fce8f; padding-left: 19px !important; }
.t-cursor::after { content: "▋"; color: #7cc06e; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .term-body { min-height: 0; }
}

/* 尊重系统减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-anim .reveal:not(.in), .js-anim .term-body li { opacity: 1; transform: none; }
}

/* ---------------- 卡片：悬浮 + 背光聚光 ---------------- */
.glow-card { position: relative; }
.glow-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  background: radial-gradient(
    360px circle at var(--px, 50%) var(--py, -20%),
    color-mix(in srgb, var(--kicker) 13%, transparent), transparent 60%
  );
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }
.glow-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--kicker) 38%, var(--border));
  box-shadow:
    0 18px 44px color-mix(in srgb, var(--kicker) 10%, rgba(10, 10, 12, .10)),
    0 4px 14px rgba(10, 10, 12, .05);
}
.theme-grok .glow-card:hover {
  box-shadow: 0 18px 50px rgba(224, 49, 46, .12), 0 4px 16px rgba(0, 0, 0, .5);
}
/* 深色主推卡（Claude）保持自身底色，仅提亮描边 */
.theme-claude .price-card.featured.glow-card:hover { border-color: #4a3c2a; }
.card { position: relative; }
.logo-mark svg { display: block; }

/* ---------------- 统一线条图标（替代 emoji） ---------------- */
.trust-badge svg { width: 16px; height: 16px; color: var(--kicker); flex-shrink: 0; }
.help-card h3 svg {
  width: 18px; height: 18px; color: var(--kicker); flex-shrink: 0;
}
.help-card h3 { display: flex; align-items: center; gap: 9px; }
.result-icon { margin-bottom: 18px; }
.result-icon svg { width: 52px; height: 52px; margin: 0 auto; display: block; }
.result-icon .i-ok { color: #0d9a58; }
.result-icon .i-wait { color: var(--text-3); animation: spin-slow 1.6s linear infinite; }
.result-icon .i-info { color: var(--kicker); }
.result-icon .i-warn { color: #c98a12; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------------- 卡密自助充值入口 ---------------- */
.redeem-banner {
  margin-top: 22px; display: flex; align-items: center; gap: 26px;
  padding: 28px 32px; flex-wrap: wrap;
  border-style: dashed; border-width: 1.5px;
}
.redeem-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--kicker);
  display: flex; align-items: center; justify-content: center;
}
.redeem-icon svg { width: 26px; height: 26px; }
.redeem-info { flex: 1; min-width: 280px; }
.redeem-info h3 { font-family: var(--display); font-size: 19px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.2px; }
.redeem-info p { color: var(--text-2); font-size: 14px; }
.redeem-info p b { color: var(--text); }
.redeem-action { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.redeem-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.5px; color: var(--text-3);
}
.redeem-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  animation: breathe 2.8s ease-in-out infinite;
}
@media (max-width: 680px) {
  .redeem-banner { padding: 24px 22px; }
  .redeem-action { width: 100%; align-items: stretch; text-align: center; }
}

/* ---------- 后台：支付与站点设置 ---------- */
.settings-group {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px;
}
.settings-group h3 { font-size: 15px; margin-bottom: 16px; }
.settings-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px 20px;
}
.s-field { display: flex; flex-direction: column; gap: 6px; }
.s-field.wide { grid-column: 1 / -1; }
.s-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.s-field label em { color: #d33; font-style: normal; }
.s-field .hint { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.s-field input, .s-field select, .s-field textarea {
  padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 13.5px; font-family: inherit;
}
.s-field input:focus, .s-field select:focus, .s-field textarea:focus {
  outline: none; border-color: var(--text-3);
}
.s-field textarea { font-family: var(--mono); font-size: 12px; min-height: 120px; resize: vertical; }
.s-tag {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; vertical-align: 1px;
}
.s-tag-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.s-tag-warn { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }
.settings-actions {
  display: flex; align-items: center; gap: 14px;
  position: sticky; bottom: 0; padding: 14px 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px);
}
.settings-msg { font-size: 13.5px; }
.settings-msg.ok { color: var(--ok); }
.settings-msg.err { color: #d33; }

/* ---------- 自建收银台 ---------- */
.checkout-page { max-width: 520px; padding-top: 56px; }
.checkout-card { text-align: center; padding: 40px 34px 34px; box-shadow: var(--shadow); }
.checkout-channel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.checkout-channel .ch-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.checkout-channel.ch-wxpay { background: rgba(7, 193, 96, 0.10); color: #07c160; }
.checkout-channel.ch-alipay { background: rgba(22, 119, 255, 0.10); color: #1677ff; }
.checkout-title { font-size: 24px; letter-spacing: -0.3px; margin-bottom: 6px; }
.checkout-sub { color: var(--text-2); font-size: 14.5px; margin-bottom: 24px; }
.checkout-qr-wrap { display: flex; justify-content: center; margin-bottom: 22px; }
.checkout-qr {
  width: 232px; height: 232px; padding: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.checkout-qr svg { width: 100%; height: 100%; display: block; }
.qr-loading { color: var(--text-3); font-size: 13.5px; }
.checkout-open-btn { max-width: 260px; margin: 0 auto 20px; }
.checkout-amount { font-size: 34px; font-weight: 700; letter-spacing: -1px; margin-bottom: 4px; }
.checkout-meta { color: var(--text-2); font-size: 13.5px; margin-bottom: 22px; }
.checkout-meta .mono { font-family: var(--mono); font-size: 12.5px; }
.checkout-meta .dot-sep { margin: 0 8px; color: var(--text-3); }
.checkout-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; margin-bottom: 6px;
}
.checkout-status.paid { color: var(--ok); }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--warn);
  animation: co-pulse 1.6s ease-in-out infinite;
}
.pulse-dot.ok { background: var(--ok); animation: none; }
@keyframes co-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.checkout-tip { color: var(--text-3); font-size: 12.5px; margin-bottom: 24px; }
.checkout-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.checkout-note { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 22px; line-height: 2; }
.checkout-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .checkout-card { padding: 30px 20px 26px; }
  .checkout-qr { width: 200px; height: 200px; }
}

/* ---------- 企业微信引导（支付成功页 + 后台管理） ---------- */
.cs-guide { text-align: center; padding: 36px 30px; margin-top: 18px; }
.cs-guide h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.2px; }
.cs-guide-text { color: var(--text-2); font-size: 14.5px; max-width: 400px; margin: 0 auto 18px; }
.cs-guide-qr {
  width: 216px; height: 216px; object-fit: contain;
  margin: 0 auto 18px; padding: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
}
.cs-guide-order { color: var(--text-2); font-size: 13.5px; line-height: 2.2; }
.cs-order-no { cursor: pointer; font-size: 14px; padding: 4px 12px; }
.qr-panel-hint { color: var(--text-3); font-size: 13px; margin-bottom: 16px; line-height: 1.7; }
.qr-manage { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.qr-preview {
  width: 132px; height: 132px; flex: none;
  border: 1px dashed var(--border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--text-3); font-size: 13px;
  overflow: hidden;
}
.qr-preview img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qr-preview-vid { width: 220px; height: 132px; }
.qr-preview-vid video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.qr-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* 收银台：链接支付模式的大按钮 */
.checkout-open-btn { max-width: 300px; margin: 6px auto 22px; }
