/* ====================================================================
   红杏出墙机场 (hxcqjichang.lol) - 动漫科技美学全新设计
   融合：流星掠空、樱花飘落、全图呼吸灯、动态线路轨迹、可拖拽交互控制器
   遵循系统字体栈，零外部依赖，WCAG 高对比度与性能指标严格达标
   ==================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  
  /* 动漫赛博配色基调 */
  --bg-deep: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2336;
  --bg-surface-glass: rgba(17, 24, 39, 0.78);
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --color-indigo: #6366f1;
  --color-violet: #8b5cf6;
  --color-sakura: #ec4899;
  --color-sakura-light: #f472b6;
  --color-cyan: #06b6d4;
  --color-sky: #38bdf8;
  --color-amber: #f59e0b;
  --color-emerald: #10b981;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-neon: rgba(99, 102, 241, 0.45);
  --border-sakura: rgba(236, 72, 153, 0.4);
  
  --glow-indigo: 0 0 25px rgba(99, 102, 241, 0.35);
  --glow-sakura: 0 0 25px rgba(236, 72, 153, 0.35);
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  
  --max-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #151c2e 0%, #090d16 65%);
}

main {
  flex: 1;
  position: relative;
  z-index: 10;
}

/* ================= 樱花与流星 Canvas 背景 ================= */
#animeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* ================= 全图呼吸灯光晕 ================= */
.ambient-breath-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}

.orb-primary {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(99, 102, 241, 0) 70%);
  animation: animeBreatheOrb 7s ease-in-out infinite alternate;
}

.orb-sakura {
  width: 480px;
  height: 480px;
  top: 400px;
  left: -120px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, rgba(236, 72, 153, 0) 70%);
  animation: animeBreatheOrb 9s ease-in-out infinite alternate-reverse;
}

.orb-cyan {
  width: 440px;
  height: 440px;
  bottom: 200px;
  right: -60px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
  animation: animeBreatheOrb 8s ease-in-out infinite alternate;
}

@keyframes animeBreatheOrb {
  0% { transform: scale(0.9) translateY(0); opacity: 0.55; }
  50% { transform: scale(1.12) translateY(-25px); opacity: 0.9; }
  100% { transform: scale(0.95) translateY(10px); opacity: 0.65; }
}

a {
  color: var(--color-sky);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--color-sakura-light);
  text-decoration: underline;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 5;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-logo:hover {
  text-decoration: none;
}

.brand-text-anime {
  background: linear-gradient(120deg, #ffffff 20%, #a5b4fc 60%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.brand-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 10px var(--color-emerald);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

.menu-toggle {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 6px;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-decoration: none;
}

.nav-link.active::after, .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-indigo), var(--color-sakura));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-sakura);
}

/* ================= 动漫科技 CTA 按钮 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 26px;
  border-radius: 24px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* 主 CTA：霓虹渐变 + 呼吸光晕 + 流光扫过 */
.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 48%, #db2777 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.45), 0 0 35px rgba(219, 39, 119, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: btnShine 4.5s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 75% { left: -60%; }
  100% { left: 160%; }
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.65), 0 0 50px rgba(219, 39, 119, 0.4);
  color: #ffffff;
}

/* 次 CTA：晶透黑曜石玻璃 + 霓虹微光边框 */
.btn-secondary {
  background: rgba(26, 35, 54, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 65, 0.95);
  border-color: var(--color-indigo);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 7px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-anime-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-neon);
  font-size: 0.86rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.hero-h1 {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
}

/* ================= 动态线路轨迹与互动控制 HUD ================= */
.interactive-hud-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--glow-indigo);
  position: relative;
  overflow: hidden;
}

.interactive-hud-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-indigo), var(--color-sakura));
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hud-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-sakura-light);
  letter-spacing: 0.04em;
}

.hud-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.hud-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 14px;
}

.pulse-ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 6px var(--color-emerald);
  animation: pulseDot 1.8s infinite;
}

/* 动态流光拓扑 SVG */
.circuit-canvas-wrap {
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
  position: relative;
}

.circuit-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG 轨迹流光效果 */
.stream-track {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.stream-pulse {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 40 180;
  animation: streamRun 3s linear infinite;
}

.pulse-hkg { stroke: var(--color-sky); animation-duration: 2.4s; }
.pulse-tyo { stroke: var(--color-sakura-light); animation-duration: 2.8s; }
.pulse-sgp { stroke: var(--color-cyan); animation-duration: 3.2s; }

@keyframes streamRun {
  0% { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}

/* 可拖动控制器 */
.hud-drag-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.drag-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.drag-label-text {
  color: var(--text-muted);
}

.drag-val-badge {
  font-weight: 700;
  color: var(--color-sky);
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.drag-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  margin-bottom: 14px;
  user-select: none;
  touch-action: none;
}

.drag-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-indigo), var(--color-sakura));
  border-radius: 6px;
  width: 33%;
  transition: width 0.08s ease;
}

.drag-thumb {
  position: absolute;
  top: 50%;
  left: 33%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-sakura);
  transform: translate(-50%, -50%);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--color-sakura);
  transition: transform 0.1s, box-shadow 0.2s;
}

.drag-thumb:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 24px var(--color-sakura);
}

.thumb-core {
  font-size: 11px;
  color: var(--color-indigo);
  font-weight: 900;
}

.drag-stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.drag-stop {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 2px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 600;
}

.drag-stop:hover, .drag-stop.active {
  background: rgba(99, 102, 241, 0.25);
  color: #ffffff;
  border-color: var(--color-indigo);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}

/* 实时指标数值反馈 */
.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hud-metric-card {
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-subtle);
  margin-bottom: 4px;
}

.metric-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-sky);
  letter-spacing: -0.01em;
}

/* ================= SECTION BASE ================= */
.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background-color: rgba(17, 24, 39, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-anime-chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-sakura-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ================= FEATURES ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-indigo), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-indigo);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), var(--glow-indigo);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid var(--border-neon);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.feature-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================= SUPPORT BLOCKS ================= */
.support-block {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.support-head {
  margin-bottom: 24px;
}

.support-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.support-p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.pill-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.pill-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--color-sakura);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.25);
}

.pill-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.pill-tag {
  font-size: 0.82rem;
  color: var(--color-sky);
}

/* ================= USE CASES ================= */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.case-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.case-card:hover {
  border-color: var(--border-sakura);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(236, 72, 153, 0.2);
}

.case-h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.case-device {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-sakura-light);
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.case-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================= PRICING ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-indigo);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), var(--glow-indigo);
}

.pricing-featured {
  border: 2px solid var(--color-sakura);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), var(--glow-sakura);
  background: linear-gradient(180deg, rgba(26, 32, 54, 0.9) 0%, rgba(17, 24, 39, 0.85) 100%);
}

.badge-featured {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 16px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
}

.tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.tier-audience {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.tier-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
}

.tier-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}

.tier-feat-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feat-check {
  color: var(--color-emerald);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* ================= FAQ ================= */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-neon);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  font-size: 1.35rem;
  color: var(--color-sakura-light);
  transition: transform 0.25s ease;
}

details[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= FINAL CTA ================= */
.final-cta-section {
  padding: 85px 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, rgba(9, 13, 22, 0.8) 75%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  position: relative;
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.cta-h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.cta-p {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 28px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--color-sakura-light);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-disclosure {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* ================= 移动端吸底 CTA ================= */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-neon);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.sticky-cta-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= 文章 / 指南 / 独立页面 ================= */
.page-container {
  max-width: 880px;
  margin: 44px auto 70px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.breadcrumb-nav a {
  color: var(--text-secondary);
}

.article-header {
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
}

.article-h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.32;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.article-body h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: #ffffff;
  margin: 26px 0 14px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 26px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  font-size: 0.96rem;
  background: rgba(17, 24, 39, 0.6);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.article-body th {
  background-color: rgba(30, 41, 59, 0.8);
  font-weight: 700;
  color: #ffffff;
}

.article-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #f1f5f9;
  background: rgba(26, 35, 54, 0.7);
  border-left: 4px solid var(--color-sakura);
  padding: 18px 22px;
  margin-bottom: 30px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  margin: 44px 0;
  box-shadow: var(--glow-indigo);
}

.article-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.article-cta-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.article-internal-links {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 40px;
}

.internal-links-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.internal-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.internal-links-list a {
  font-size: 0.96rem;
  color: var(--color-sky);
}

/* ================= GUIDES INDEX ================= */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.guide-card {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-sakura);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), var(--glow-sakura);
}

.guide-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-sakura-light);
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.35);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.guide-card-title {
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ffffff;
}

.guide-card-title a {
  color: #ffffff;
}

.guide-card-title a:hover {
  color: var(--color-sakura-light);
}

.guide-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.guide-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* ================= SITEMAP PAGE ================= */
.sitemap-group {
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
}

.sitemap-group-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-list a {
  font-size: 0.98rem;
  color: var(--color-sky);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .features-grid, .cases-grid, .guides-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(9, 13, 22, 0.96);
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }
  .nav-cta {
    width: 100%;
  }
  .hero-h1 {
    font-size: 2.1rem;
  }
  .section-h2 {
    font-size: 1.65rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #animeCanvas {
    display: none !important;
  }
}
