/* ==========================================================================
   橙橙科技（Orange Tech）官网样式 —— Linear 风 · 深色橙主题
   设计语言：暖黑 #0b0806 + 活力橙 #f97316 点缀；分层环境光（噪点 + 网格 +
   漂浮光斑）；渐变标题；多层阴影；bento 卡片；入场动画见 js/main.js。
   架构源自 gv-trust/frontend/trust-site 的 linear.css（token 化主题，
   浅色主题 orange-light.css / orange-white.css 覆盖同一组变量）。
   字体：Inter + JetBrains Mono（自托管 latin 子集），中文回退系统字体。
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* ---------- 设计令牌 ---------- */
:root {
  /* 暖黑分层（永不用纯黑/纯白） */
  --bg-deep: #070503;
  --bg-base: #0b0806;
  --bg-elevated: #151009;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
  /* 文本 */
  --fg: #F2EEE9;
  --fg-muted: #948D84;
  --fg-subtle: rgba(242, 238, 233, 0.6);
  /* 活力橙点缀 */
  --accent: #f97316;
  --accent-bright: #fb923c;
  --accent-rgb: 249, 115, 22;
  --accent-text: #fdba74;
  --accent-contrast: #1c0e03; /* 橙底上的深色文字（白字对比不足） */
  --accent-glow: rgba(var(--accent-rgb), 0.3);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(var(--accent-rgb), 0.32);
  /* 漂浮光斑（橙系） */
  --blob-2-bg: linear-gradient(135deg, rgba(249, 115, 22, .14), rgba(234, 88, 12, .08));
  --blob-3-bg: linear-gradient(225deg, rgba(251, 146, 60, .11), rgba(194, 65, 12, .06));
  --blob-primary-bg: rgba(var(--accent-rgb), 0.22);
  --blob-bottom-bg: rgba(var(--accent-rgb), 0.09);
  --danger: #f87171;

  /* ---- 主题化表面/氛围 token（浅色主题覆盖同一组变量） ---- */
  --page-bg: radial-gradient(ellipse 120% 70% at 50% -10%, #170e06 0%, var(--bg-base) 55%, var(--bg-deep) 100%);
  --grid-line: rgba(255, 255, 255, 0.022);
  --hairline-grad: rgba(255, 255, 255, 0.11);
  --hero-title-grad: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.94) 55%, rgba(255,255,255,.68) 100%);
  --hero-sheen: rgba(255, 255, 255, 0.18);
  --btn-outline-bg: rgba(255, 255, 255, 0.05);
  --btn-outline-ring: rgba(255, 255, 255, 0.1);
  --btn-outline-bg-hover: rgba(255, 255, 255, 0.08);
  --btn-outline-ring-hover: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(11, 8, 6, 0.65);
  --header-bg-scrolled: rgba(11, 8, 6, 0.85);
  --nav-mobile-bg: rgba(11, 8, 6, 0.95);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.13);
  --input-border-hover: rgba(255, 255, 255, 0.22);
  --input-bg-hover: rgba(255, 255, 255, 0.08);
  --option-bg: #151009;
  --mock-bg: linear-gradient(180deg, #1a120a 0%, var(--bg-elevated) 100%);
  --mock-border: rgba(255, 255, 255, 0.09);
  --mock-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 24px 80px rgba(0,0,0,.6), 0 0 120px rgba(var(--accent-rgb),.13);
  --mock-muted: rgba(255, 255, 255, 0.17);
  --mock-row-bg: rgba(255, 255, 255, 0.03);
  --mock-up: #6fcf97;
  --card-bg: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  --panel-soft-bg: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  --scrollbar-thumb: #241c14;
  --switch-hover-bg: rgba(255, 255, 255, 0.06);

  --header-h: 64px;
  --maxw: 1128px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, 'PingFang SC', 'Microsoft YaHei', monospace;
  /* 多层阴影公式 */
  --shadow-card: 0 0 0 1px rgba(255,255,255,.06), 0 2px 20px rgba(0,0,0,.4), 0 0 40px rgba(0,0,0,.2);
  --shadow-card-hover: 0 0 0 1px rgba(255,255,255,.1), 0 8px 40px rgba(0,0,0,.5), 0 0 80px rgba(var(--accent-rgb),.1);
  --shadow-cta: 0 0 0 1px rgba(var(--accent-rgb),.5), 0 4px 12px rgba(var(--accent-rgb),.3), inset 0 1px 0 0 rgba(255,255,255,.2);
  --shadow-cta-hover: 0 0 0 1px rgba(var(--accent-rgb),.6), 0 6px 20px rgba(var(--accent-rgb),.4), inset 0 1px 0 0 rgba(255,255,255,.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out */
  color-scheme: dark;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--page-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
/* 分层背景：噪点 + 64px 网格 */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
button { font-family: var(--font-body); }

::selection { background: rgba(var(--accent-rgb), .35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 5px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* 漂浮环境光斑 */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; animation: blob-float 9s ease-in-out infinite; }
.blob-primary {
  top: -400px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 640px;
  background: var(--blob-primary-bg);
  filter: blur(150px);
}
.blob-secondary {
  top: 18%; left: -260px;
  width: 600px; height: 620px;
  background: var(--blob-2-bg);
  filter: blur(120px);
  animation-delay: -3s;
}
.blob-tertiary {
  top: 8%; right: -220px;
  width: 520px; height: 560px;
  background: var(--blob-3-bg);
  filter: blur(100px);
  animation-delay: -6s;
}
.blob-bottom {
  bottom: -300px; left: 30%;
  width: 700px; height: 480px;
  background: var(--blob-bottom-bg);
  filter: blur(130px);
  animation: blob-pulse 12s ease-in-out infinite;
}
@keyframes blob-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(1deg); }
}
@keyframes blob-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

/* ---------- 布局通用 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 104px 0; position: relative; }
.section + .section::before,
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1128px, calc(100% - 48px)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-grad), transparent);
}
.site-footer::before { position: absolute; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.section-tag::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--accent);
}
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 14px 0 10px; }
.section-head.center { text-align: center; }
.section-head.center .section-tag::before { display: none; }
.section-subtitle { color: var(--fg-muted); font-size: 16px; max-width: 620px; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  border: 0;
  overflow: hidden;
  transition: all .2s var(--ease-out);
  text-align: center;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.98); box-shadow: var(--shadow-cta); }
.btn-primary::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, transparent, var(--hero-sheen), transparent);
  transform: translateX(-160%) skewX(-18deg);
  transition: transform .6s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(320%) skewX(-18deg); }
.btn-outline {
  background: var(--btn-outline-bg);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--btn-outline-ring);
}
.btn-outline:hover {
  background: var(--btn-outline-bg-hover);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--btn-outline-ring-hover), 0 4px 16px rgba(0,0,0,.3);
  transform: translateY(-1px);
}
.btn-outline:active { transform: scale(0.98); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out);
}
.site-header.scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: none;
  display: block;
}
.brand-name { font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 26px; }
/* :not(.btn) 排除按钮，避免链接灰色字色覆盖 .btn-primary */
.main-nav > a:not(.btn) { color: var(--fg-muted); font-size: 14px; font-weight: 500; }
.main-nav > a:not(.btn):hover { color: var(--fg); }
.main-nav > .btn-nav { padding: 7px 16px; font-size: 13.5px; }

.header-tools { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: none; border: 0; cursor: pointer; padding: 0; }
/* 语言切换下拉（双语见 js/i18n.js，样式模式源自 trust-site linear.css） */
.lang-select {
  appearance: none;
  padding: 7px 30px 7px 12px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background-color: var(--input-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.lang-select:hover { border-color: var(--input-border-hover); background-color: var(--input-bg-hover); }
.lang-select:focus-visible {
  outline: none;
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
}
/* 下拉选项：跟随主题（Windows 原生下拉为亮色时兜底） */
.lang-select option { background: var(--bg-elevated); color: var(--fg); }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--fg); margin: 0 auto; transition: all .2s var(--ease-out); border-radius: 2px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* overflow:hidden 裁剪 hero-visual::before 负 inset 光晕，避免窄屏水平溢出 */
.hero { padding: 150px 0 110px; position: relative; overflow: hidden; }
.hero-core { text-align: center; max-width: 780px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), 0.08);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); }
  50% { box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0); }
}
.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 26px 0 18px;
  background: var(--hero-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-subtitle { color: var(--fg-muted); font-size: 17px; max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Hero 资讯终端示意（纯装饰） */
.hero-visual { max-width: 860px; margin: 64px auto 0; position: relative; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(var(--accent-rgb),.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.mock {
  position: relative;
  border-radius: 16px;
  background: var(--mock-bg);
  border: 1px solid var(--mock-border);
  box-shadow: var(--mock-shadow);
  overflow: hidden;
  text-align: left;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mock-muted); }
.mock-titlebar .mock-label {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
}
.mock-list { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.mock-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mock-row-bg);
  border: 1px solid var(--border);
}
.mock-item .m-cat {
  flex: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 5px;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid var(--border-accent);
}
.mock-item .m-title { flex: 1; font-size: 13px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-item .m-hot { flex: none; font-family: var(--font-mono); font-size: 10px; color: var(--mock-up); }
.mock-foot {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .12em;
  color: var(--fg-subtle);
}
.mock-foot .m-demo { margin-left: auto; letter-spacing: .06em; opacity: .75; }

/* ---------- 玻璃面板 / 追光 ---------- */
.panel {
  position: relative;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb),.15), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- 平台数据面板 ---------- */
.stats-panel { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-label { font-size: 13px; color: var(--fg-muted); margin-top: 8px; }

/* ---------- 广告位卡 ---------- */
.ad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ad-card {
  position: relative;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.ad-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}
.ad-card .card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.ad-card .card-icon svg { width: 21px; height: 21px; }
.ad-card h3 { font-size: 18px; }
.ad-card p { color: var(--fg-muted); font-size: 14px; line-height: 1.7; }
.ad-card .ad-spec {
  margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--fg-subtle);
}

/* 内容频道矩阵：卡片复用上方 .ad-grid/.ad-card 组件，修饰类必须定义在 .ad-grid 之后以覆盖栅格密度 */
.channel-grid { grid-template-columns: repeat(3, 1fr); }

/* 合作流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step-num {
  width: 40px; height: 40px; margin: 0 auto 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), .12);
}
.step h4 { font-size: 15px; margin: 0 0 6px; font-weight: 600; }
.step p { font-size: 12.5px; color: var(--fg-muted); line-height: 1.65; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 4px;
  font-size: 15.5px; font-weight: 500; color: var(--fg); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-body);
  transition: color .2s var(--ease-out);
}
.faq-question:hover { color: var(--accent-bright); }
.faq-icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--fg-muted); border-radius: 2px; transition: background .2s; }
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--accent-bright); }
.faq-item.open .faq-question { color: var(--accent-bright); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out); }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { overflow: hidden; margin: 0; padding: 0 4px; color: var(--fg-muted); }
.faq-item.open .faq-answer p { padding-bottom: 22px; }

/* ---------- 联系 ---------- */
.contact-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-info-col { padding: 40px 44px; border-right: 1px solid var(--border); background: var(--panel-soft-bg); }
.contact-info-col h3 { font-size: 20px; margin-bottom: 10px; }
.contact-info-col > p { color: var(--fg-muted); font-size: 14px; margin-bottom: 24px; }
.contact-info { margin: 0; }
.contact-info > div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: 14.5px; }
.contact-info dd a:hover { color: var(--accent-bright); }
.contact-form-col { padding: 40px 44px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 500; color: var(--fg-muted); margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; min-height: 44px; padding: 11px 13px;
  border: 1px solid var(--input-border); border-radius: 8px;
  background: var(--input-bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}
.form-row input.invalid, .form-row textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.form-feedback { min-height: 20px; font-size: 13px; color: var(--accent-text); }
.form-feedback.error { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-deep); color: var(--fg-muted); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 300px; }
.footer-col h4 { color: var(--fg); font-size: 13.5px; margin: 0 0 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px;
}

/* ---------- 风格切换浮标（临时预览辅助，选定后移除） ---------- */
.style-switch {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.style-switch a, .style-switch span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px; font-weight: 500;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.style-switch a:hover { background: var(--switch-hover-bg); color: var(--fg); }
.style-switch span {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--border-accent);
}
.style-switch span::before, .style-switch a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.style-switch span::before { box-shadow: 0 0 6px var(--accent-glow); }

/* ---------- 入场动画（html.fx 下才隐藏，无 JS 可见） ---------- */
html.fx .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
html.fx .reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .btn-primary::after { display: none; }
  .hero-eyebrow::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-info-col { border-right: 0; border-bottom: 1px solid var(--border); }
  .contact-info-col, .contact-form-col { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 24px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .2s var(--ease-out), opacity .2s var(--ease-out);
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav > a:not(.btn) { padding: 12px 6px; border-bottom: 1px solid var(--border); }
  .main-nav > .btn-nav { margin-top: 10px; text-align: center; }
  .hero { padding: 96px 0 72px; }
  .hero-visual { margin-top: 52px; }
  .section { padding: 72px 0; }
  .ad-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .channel-grid { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-item .m-title { white-space: normal; }
}
