/* Prism · 神色科技 — landing styles
   Light theme, Prism-inspired spectrum gradients, modern SaaS layout. */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-mute: #eef0f6;
  --fg: #0b1020;
  --fg-soft: #3b4255;
  --fg-mute: #6b7388;
  --border: #e6e8ef;
  --border-strong: #d2d6e1;
  --accent: #6d28d9;        /* violet-700 */
  --accent-2: #2563eb;      /* blue-600 */
  --accent-3: #06b6d4;      /* cyan-500 */
  --accent-warn: #f97316;   /* orange-500 */
  --good: #10b981;
  --bad: #ef4444;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --max-w: 1200px;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 45%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.10), rgba(37,99,235,.08), rgba(6,182,212,.10));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d18;
    --bg-soft: #0f1322;
    --bg-mute: #161b2c;
    --fg: #e6e8ef;
    --fg-soft: #c2c7d6;
    --fg-mute: #8a92a8;
    --border: #1e2336;
    --border-strong: #2a3047;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
    --grad-soft: linear-gradient(135deg, rgba(124,58,237,.18), rgba(37,99,235,.14), rgba(6,182,212,.16));
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* CJK glyphs in big H1 can otherwise push viewport on narrow screens */
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ───── Header / nav ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(10, 13, 24, .8); }
}
.nav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.nav .brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 18px; color: var(--fg);
}
.brand-mark {
  width: 40px; height: 40px;
  background: url("../img/logo.png") center/contain no-repeat;
  flex-shrink: 0;
  display: inline-block;
}
.brand-mark::before { content: none; }
.nav .brand small {
  font-weight: 500; font-size: 12px; color: var(--fg-mute); margin-left: 4px;
}
.nav-links {
  display: flex; gap: 22px; margin-left: 12px;
}
.nav-links a {
  color: var(--fg-soft); font-size: 14px; font-weight: 500;
}
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--bg-mute); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px; font-size: 12px;
}
.lang-switch button {
  background: transparent; border: 0; padding: 4px 12px;
  border-radius: 999px; cursor: pointer; color: var(--fg-mute);
  font-weight: 600; font-size: 12px;
}
.lang-switch button.active {
  background: var(--bg); color: var(--fg); box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: 6px; color: var(--fg);
}
.mobile-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav-links.open a { padding: 10px 0; border-top: 1px solid var(--border); }
  /* On small screens hide the header CTA: it's still accessible via the mobile menu */
  .nav-actions .btn-primary { display: none; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .nav { gap: 8px; padding: 12px 0; }
  .nav .brand { font-size: 16px; gap: 8px; }
  .nav .brand small { display: none; }
  .nav-spacer { display: none; } /* let actions group sit at the natural end of the brand row */
  .nav-actions { margin-left: auto; gap: 8px; }
  .lang-switch { font-size: 11px; }
  .lang-switch button { padding: 3px 8px; }
  /* Hero pills should wrap nicely on mobile (no horizontal overflow) */
  .hero { padding: 56px 0 48px; }
  .hero-meta { gap: 8px; }
  .hero-meta .pill { font-size: 12px; padding: 4px 9px; }
  .hero-cta .btn-lg { font-size: 14px; padding: 12px 16px; }
  .section { padding: 56px 0; }
  .sniper .row { padding: 18px 16px; gap: 12px; }
  .stat-triple .num { font-size: 30px; }
  .cta-banner { padding: 28px 22px; }
  .cta-banner h3 { font-size: 19px; }
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 18px rgba(109, 40, 217, .3);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(109, 40, 217, .4); }
.btn-ghost {
  background: var(--bg-mute); color: var(--fg); border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg); border-color: var(--border-strong); }
.btn-outline {
  background: transparent; color: var(--fg); border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--bg-mute); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-soldout {
  background: var(--bg-mute); color: var(--fg-mute);
  border-color: var(--border); cursor: not-allowed;
  pointer-events: none; opacity: .75;
  font-weight: 700; letter-spacing: .04em;
}

/* === 临时隐藏「实测案例」入口（v0.5 之后启用，详见 docs/08-future-effects-page.md） === */
a[href="effects.html"] { display: none !important; }

/* === 临时隐藏「用户之声」入口与主页 section（积累足够真实反馈后启用，详见 docs/10-future-voices-page.md） === */
a[href="voices.html"] { display: none !important; }
#voices { display: none !important; }

/* === 客服微信弹窗（产品内测期，所有"下载/购买"按钮拦截弹窗） === */
.contact-overlay {
  position: fixed; inset: 0;
  background: rgba(13, 16, 23, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s ease;
  padding: 20px;
}
.contact-overlay.open {
  display: flex;
  opacity: 1;
}
.contact-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 440px; width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.92);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.contact-overlay.open .contact-card { transform: scale(1); }
.contact-close {
  position: absolute; top: 14px; right: 16px;
  background: var(--bg-soft); border: 1px solid var(--border);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 18px; color: var(--fg-mute); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0;
  transition: all .15s ease;
}
.contact-close:hover {
  background: var(--bg-mute); color: var(--fg); border-color: var(--border-strong);
}
.contact-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.contact-title {
  font-size: 22px; font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1.3;
}
.contact-sub {
  color: var(--fg-soft); font-size: 14.5px;
  margin: 0 0 22px;
  line-height: 1.6;
}
.qrcode-box {
  margin: 0 auto 18px;
  width: 220px; height: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.qrcode-box .qrcode-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.qrcode-caption {
  display: block;
  font-size: 13px; color: var(--fg-soft);
  margin: -8px 0 18px;
  font-weight: 500;
}
.contact-meta {
  font-size: 13px; color: var(--fg-soft);
  margin: 0; line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.contact-meta strong {
  color: var(--fg); font-weight: 700;
}
.contact-meta a {
  color: var(--accent);
  text-decoration: none;
}
.contact-meta a:hover { text-decoration: underline; }

/* X (Twitter) 关注按钮 — 弹窗内 */
.contact-x-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  align-self: center;
  border: 1px solid #000;
}
.contact-x-btn svg {
  width: 14px; height: 14px; fill: currentColor; flex-shrink: 0;
}
.contact-x-btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

/* 弹窗打开时禁止 body 滚动 */
body.modal-open { overflow: hidden; }

/* === 动画与强调 === */

/* Reveal on scroll — 元素进入视口时淡入上滑 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero pills 错位入场 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-meta .pill {
  opacity: 0;
  animation: fadeInUp .55s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-meta .pill:nth-child(1) { animation-delay: .15s; }
.hero-meta .pill:nth-child(2) { animation-delay: .28s; }
.hero-meta .pill:nth-child(3) { animation-delay: .41s; }
.hero-meta .pill:nth-child(4) { animation-delay: .54s; }

/* Hero h1 + lede 入场 */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  animation: heroFadeIn .7s cubic-bezier(.2,.8,.2,1) both;
}
.hero .lede {
  animation: heroFadeIn .7s cubic-bezier(.2,.8,.2,1) .15s both;
}
.hero .hero-cta {
  animation: heroFadeIn .7s cubic-bezier(.2,.8,.2,1) .28s both;
}

/* Hero gradient halo — subtle floating */
@keyframes heroHaloFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .9; }
  50%      { transform: translate3d(0, -10px, 0); opacity: 1; }
}
.hero::before {
  animation: heroHaloFloat 8s ease-in-out infinite;
}

/* Gradient text — 极轻微呼吸 */
@keyframes gradTextShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.grad-text {
  background-size: 200% 200%;
  animation: gradTextShift 6s ease-in-out infinite;
}

/* Primary button — hover glow 强化 */
.btn-primary {
  position: relative;
  transition: transform .15s ease, box-shadow .25s ease;
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(124, 58, 237, .55);
  transition: box-shadow .35s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  box-shadow: 0 0 0 6px rgba(124, 58, 237, .12);
}

/* Cards — hover lift 增强 */
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 25, 50, .09);
}

/* Tier (pricing) — featured 卡 hover 加强 */
.tier { transition: transform .2s ease, box-shadow .2s ease; }
.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 25, 50, .09);
}
.tier.featured:hover {
  box-shadow: 0 18px 40px rgba(109, 40, 217, .25);
}

/* Sniper rows — hover 强调 */
.sniper .row { transition: background .2s ease, border-color .2s ease; }
.sniper .row:hover {
  border-color: var(--border-strong);
}

/* Stats num — 渐变文字闪光 */
.stat .num,
.voices-stats .stat .num {
  background-size: 200% 200%;
  animation: gradTextShift 6s ease-in-out infinite;
}

/* Footer support pulse-dot 已有 keyframes — 无需重写 */


/* ───── Hero ───── */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 70%;
  background: var(--grad-soft); filter: blur(60px);
  z-index: -1;
}
.hero h1 {
  font-size: clamp(28px, 5.4vw, 60px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 18px;
  overflow-wrap: anywhere; /* CJK + inline gradient span needs to break safely on narrow widths */
}
.hero h1 .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  font-size: clamp(16px, 1.5vw, 19px); color: var(--fg-soft); max-width: 760px;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--fg-mute); font-size: 13px;
}
.hero-meta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-mute); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 11px;
}
.hero-meta .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--good);
}

/* ───── Section ───── */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.15;
  margin: 0 0 14px;
}
.section .section-lede {
  color: var(--fg-soft); font-size: 17px; max-width: 760px; margin: 0 0 40px;
}

/* ───── Grids ───── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ───── Cards ───── */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px); border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card .card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--accent);
}
.card h3 {
  font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.3;
}
.card p { color: var(--fg-soft); font-size: 14.5px; margin: 0; }

/* ───── Sniper-points (痛点 → 解决) ───── */
.sniper {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.sniper .row {
  display: grid; grid-template-columns: 60px 1fr 1fr; gap: 18px;
  align-items: start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.sniper .num {
  font-size: 26px; font-weight: 800; color: transparent;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  line-height: 1;
}
.sniper .pain h4, .sniper .fix h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 6px; color: var(--fg-mute);
}
.sniper .pain h4 { color: var(--bad); }
.sniper .fix h4 { color: var(--good); }
.sniper .pain p, .sniper .fix p {
  margin: 0; font-size: 14.5px; color: var(--fg-soft); line-height: 1.55;
}
.sniper .fix p strong { color: var(--fg); }
@media (max-width: 760px) {
  .sniper .row { grid-template-columns: 50px 1fr; }
  .sniper .fix { grid-column: 2 / 3; padding-top: 8px; border-top: 1px dashed var(--border); }
}

/* ───── Stat triple ───── */
.stat-triple {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg);
}
.stat-triple .stat {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-triple .stat:last-child { border-right: 0; }
.stat-triple .num {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-triple .lbl { color: var(--fg-mute); font-size: 13px; margin-top: 6px; }
@media (max-width: 720px) {
  .stat-triple { grid-template-columns: 1fr; }
  .stat-triple .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-triple .stat:last-child { border-bottom: 0; }
}

/* ───── Feature stack visual ───── */
.stack-visual {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg);
}
.stack-visual .layer {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
}
.stack-visual .layer .badge {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad); color: #fff; padding: 3px 8px; border-radius: 999px;
}
.stack-visual .layer .name { font-weight: 700; }
.stack-visual .layer .desc { color: var(--fg-mute); font-size: 13.5px; margin-left: auto; text-align: right; }

/* ───── Trust strip ───── */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg);
}
.trust-strip .item { display: flex; align-items: center; gap: 12px; }
.trust-strip .item .ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-strip .item .t { font-weight: 700; font-size: 14px; }
.trust-strip .item .s { color: var(--fg-mute); font-size: 12.5px; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .trust-strip { grid-template-columns: 1fr; } }

/* ───── Pricing ───── */
.pricing {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 1100px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .pricing { grid-template-columns: 1fr; } }
.tier {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.tier.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow-md);
  position: relative;
}
.tier.featured::after {
  content: attr(data-badge);
  position: absolute; top: -12px; right: 16px;
  background: var(--grad); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tier.sold-out {
  position: relative;
  opacity: .85;
}
.tier.sold-out::before {
  content: "已售罄 / SOLD OUT";
  position: absolute; top: -12px; right: 16px;
  background: var(--fg-mute); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 999px;
}

/* Lifetime 限量金黄角标 */
.tier.limited {
  position: relative;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, #f59e0b, #ef4444) border-box;
}
.tier.limited::before {
  content: "🔥 终身资格名额有限 · 仅限前 100 位";
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
  color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  animation: limitedPulse 2.4s ease-in-out infinite;
  z-index: 2;
}
@keyframes limitedPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.55);
  }
}
.tier h3 { margin: 0; font-size: 18px; font-weight: 700; }
.tier .price { display: flex; align-items: baseline; gap: 6px; }
.tier .price .amt {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
}
.tier .price .per { color: var(--fg-mute); font-size: 13px; }
.tier .desc { color: var(--fg-soft); font-size: 14px; min-height: 40px; }
.tier ul { list-style: none; padding: 0; margin: 4px 0 0; }
.tier ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; padding: 7px 0; color: var(--fg-soft);
}
.tier ul li::before {
  content: ""; flex: 0 0 16px; height: 16px; margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-size: 14px 14px;
}
.tier ul li.no::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}
.tier .cta { margin-top: auto; padding-top: 12px; }

/* ───── Compare table ───── */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg);
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table th { background: var(--bg-soft); font-weight: 700; font-size: 13px; }
.compare-table th.us {
  background: var(--grad); color: #fff;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--good); font-weight: 700; }
.compare-table .no { color: var(--bad); font-weight: 700; }
.compare-table .partial { color: var(--accent-warn); font-weight: 700; }
.compare-wrap { overflow-x: auto; }

/* ───── FAQ ───── */
.faq { display: flex; flex-direction: column; gap: 10px; }
details.faq-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0;
}
details.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--fg-mute); transition: transform .2s;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .a {
  padding: 0 22px 18px; color: var(--fg-soft); font-size: 14.5px; line-height: 1.65;
}

/* ───── CTA banner ───── */
.cta-banner {
  background: var(--grad); color: #fff;
  border-radius: var(--radius); padding: 40px 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-banner h3 { font-size: 24px; margin: 0 0 6px; line-height: 1.25; }
.cta-banner p { margin: 0; opacity: .92; }
.cta-banner .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.1); }

/* ───── Footer ───── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px;
}
.footer-grid.footer-grid-2 {
  grid-template-columns: 2.5fr 1fr; gap: 48px;
}
.footer-grid.footer-grid-3 {
  grid-template-columns: 1.5fr 1.5fr 1fr; gap: 48px;
  align-items: start;
}
.footer-grid.footer-grid-4 {
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .footer-grid.footer-grid-3 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid.footer-grid-3 .footer-col-wide { grid-column: 1 / -1; }
  .footer-grid.footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid.footer-grid-4 .footer-col-wide { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid.footer-grid-2 { grid-template-columns: 1fr; }
  .footer-grid.footer-grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid.footer-grid-4 { grid-template-columns: 1fr; gap: 32px; }
}
.footer-col-wide { max-width: 460px; }
.footer-col.footer-col-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 0;
  align-items: start;
}
.footer-col.footer-col-2col h5 { grid-column: 1 / -1; text-align: center; }

/* ───── Voices (testimonials) ───── */
.voices-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin: 32px 0 40px;
}
@media (max-width: 760px) { .voices-stats { grid-template-columns: 1fr 1fr; } }
.voices-stats .stat {
  text-align: center;
  padding: 22px 16px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px;
}
.voices-stats .stat .num {
  font-size: 30px; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.voices-stats .stat .lbl {
  margin-top: 6px; color: var(--fg-soft); font-size: 13px;
}

.voices-filters {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 28px 0 32px;
}
.voices-filter-chip {
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; color: var(--fg-soft); cursor: pointer;
  transition: all .15s ease;
}
.voices-filter-chip:hover { border-color: var(--border-strong); color: var(--fg); }
.voices-filter-chip.active {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 12px rgba(109, 40, 217, .25);
}

.voices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 1100px) { .voices-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .voices-grid { grid-template-columns: 1fr; } }

.voice-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.voice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 25, 50, .08);
  border-color: var(--border-strong);
}
.voice-card.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
}
.voice-card::before {
  content: """; position: absolute; top: -8px; right: 14px;
  font-family: Georgia, serif; font-size: 80px; line-height: 1;
  color: rgba(124, 58, 237, .08); pointer-events: none; user-select: none;
}

.voice-top {
  display: flex; justify-content: space-between; align-items: center;
}
.voice-tag {
  display: inline-block; padding: 4px 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  border-radius: 6px;
}
.voice-tag.tag-ecom      { background: rgba(124,58,237,.10); color: #7c3aed; }
.voice-tag.tag-affiliate { background: rgba(37,99,235,.10);  color: #2563eb; }
.voice-tag.tag-b2b       { background: rgba(6,182,212,.12);  color: #0891b2; }
.voice-tag.tag-web3      { background: rgba(217,119,6,.12);  color: #d97706; }
.voice-tag.tag-dev       { background: rgba(16,185,129,.12); color: #059669; }
.voice-tag.tag-mcn       { background: rgba(236,72,153,.10); color: #db2777; }
.voice-tag.tag-ads       { background: rgba(245,158,11,.12); color: #d97706; }
.voice-tag.tag-security  { background: rgba(239,68,68,.10);  color: #dc2626; }
.voice-tag.tag-ai        { background: rgba(139,92,246,.10); color: #7c3aed; }

.voice-stars { display: inline-flex; gap: 2px; }
.voice-stars .star {
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpolygon points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26'/%3E%3C/svg%3E") center/contain no-repeat;
}
.voice-stars .star.empty {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e5e7eb'%3E%3Cpolygon points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26'/%3E%3C/svg%3E") center/contain no-repeat;
}

.voice-text {
  color: var(--fg); font-size: 14px; line-height: 1.7;
  position: relative; z-index: 1;
  flex: 1;
}

.voice-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.voice-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad);
  color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: -.5px;
}
.voice-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.voice-name { font-weight: 700; font-size: 14px; color: var(--fg); }
.voice-role { color: var(--fg-mute); font-size: 12.5px; }
.footer-tagline {
  color: var(--fg-soft); font-size: 14px; line-height: 1.7;
  margin: 14px 0 18px;
}
.footer-feats {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-feats li {
  color: var(--fg-soft); font-size: 13.5px; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 9px;
}
.footer-feats li::before {
  content: "✓";
  color: var(--accent); font-weight: 800;
  flex-shrink: 0; line-height: 1.5;
}
.footer-support-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--fg);
  margin-bottom: 14px; text-decoration: none;
}
.footer-support-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: footer-pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes footer-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.footer-meta {
  display: block; color: var(--fg-mute); font-size: 13px;
  padding: 4px 0;
}

/* Footer 邮箱链接 */
.footer-email-link {
  display: inline-block;
  font-size: 13.5px; font-weight: 500;
  color: var(--fg);
  margin: 8px 0 12px;
  word-break: break-all;
  text-decoration: none;
}
.footer-email-link:hover { color: var(--accent); text-decoration: underline; }

/* Footer 小二维码 */
.footer-qr {
  width: 72px; height: 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  margin: 8px 0 4px;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.footer-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-qr-label {
  font-size: 12px; color: var(--fg-mute);
  display: block; margin-bottom: 12px;
}

/* === 右下角浮动联系客服按钮（FAB） === */
.contact-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad);
  color: #fff;
  border: none; border-radius: 999px;
  padding: 12px 20px 12px 16px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
  z-index: 998;
  transition: transform .15s ease, box-shadow .25s ease;
  text-decoration: none;
  letter-spacing: .02em;
}
.contact-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.55);
  color: #fff;
  text-decoration: none;
}
.contact-fab svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.contact-fab .pulse-fab {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: footer-pulse 2.2s infinite;
  flex-shrink: 0;
  margin-right: 2px;
}
@media (max-width: 540px) {
  .contact-fab {
    right: 16px; bottom: 16px;
    padding: 10px 16px 10px 12px;
    font-size: 13px;
  }
}
/* 弹窗打开时隐藏 FAB 避免重叠 */
body.modal-open .contact-fab { opacity: 0; pointer-events: none; transition: opacity .2s ease; }

/* === 回到顶部按钮（位于联系团队 FAB 上方） === */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 84px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 25, 50, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease, background .15s ease, color .15s ease, border-color .15s ease;
  z-index: 998;
  padding: 0;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--bg);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.22);
  transform: translateY(-3px);
  color: var(--accent);
  border-color: var(--accent);
}
.back-to-top svg {
  width: 18px; height: 18px;
  transition: transform .15s ease;
}
.back-to-top:hover svg {
  transform: translateY(-1px);
}
@media (max-width: 540px) {
  .back-to-top {
    right: 16px;
    bottom: 74px;
    width: 40px; height: 40px;
  }
}
body.modal-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}
.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-mute); margin: 0 0 14px;
}
.footer-col a {
  display: block; padding: 4px 0; color: var(--fg-soft); font-size: 14px;
}
.footer-col a:hover { color: var(--fg); text-decoration: none; }
.site-footer .copy {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  color: var(--fg-mute); font-size: 13px;
}

/* ───── Misc helpers ───── */
.muted { color: var(--fg-mute); }
.mt-12 { margin-top: 12px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.kbd {
  display: inline-block; padding: 1px 6px; background: var(--bg-mute);
  border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 6px; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.callout {
  border-left: 3px solid var(--accent); background: var(--grad-soft);
  padding: 16px 18px; border-radius: 0 10px 10px 0; color: var(--fg-soft);
}
.callout strong { color: var(--fg); }

/* Smooth gradient hover for inline links */
.link-grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 600;
}
