/* ==========================================================================
   Here云 (herecloud.mom) - 官方原生样式表 (日夜双主题系统)
   版本: 2026.2.0 | 晴空万里 (Day) · 满月星空 (Night) | 极致秒开与自然天空光影
   ========================================================================== */

/* --------------------------------------------------------------------------
   主题变量体系 (Theme CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root,
html[data-theme="dark"] {
  --theme-mode: dark;
  
  --bg-primary: #060b17;
  --bg-secondary: #0d1527;
  --bg-card: #141e34;
  --bg-card-hover: #1b2945;
  --border-color: #22324f;
  --border-highlight: #3b82f6;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --header-bg: rgba(6, 11, 23, 0.88);
  --header-border: #1e2c47;
  
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: #60a5fa;
  --accent: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #8b5cf6;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 24px rgba(59, 130, 246, 0.3);
  
  --hero-title: #ffffff;
  --hero-sub: #cbd5e1;
  --hero-highlight-start: #60a5fa;
  --hero-highlight-end: #a78bfa;
  --hero-badge-bg: rgba(59, 130, 246, 0.14);
  --hero-badge-border: rgba(59, 130, 246, 0.35);
  --hero-badge-text: #93c5fd;
  
  --table-caption-bg: rgba(255, 255, 255, 0.03);
  --table-head-bg: rgba(255, 255, 255, 0.05);
  --table-hover-bg: rgba(255, 255, 255, 0.03);
  
  --app-pill-bg: rgba(255, 255, 255, 0.05);
  --app-pill-border: #22324f;
  --app-pill-text: #f1f5f9;
  
  --cta-box-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  --cta-box-border: rgba(59, 130, 246, 0.35);
  
  --footer-bg: #040812;
  --footer-border: #162238;
  
  --max-width: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --header-height: 72px;
}

html[data-theme="light"] {
  --theme-mode: light;
  
  --bg-primary: #f4f9fd;
  --bg-secondary: #eaf3fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --border-color: #d2e4f5;
  --border-highlight: #2563eb;
  
  --text-main: #0c1a30;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --header-bg: rgba(244, 249, 253, 0.88);
  --header-border: #cfe1f2;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #1d4ed8;
  --accent: #059669;
  --accent-amber: #d97706;
  --accent-purple: #7c3aed;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 12px 32px rgba(37, 99, 235, 0.12);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.2);
  
  --hero-title: #08172e;
  --hero-sub: #1e293b;
  --hero-highlight-start: #1d4ed8;
  --hero-highlight-end: #6d28d9;
  --hero-badge-bg: rgba(255, 255, 255, 0.85);
  --hero-badge-border: rgba(37, 99, 235, 0.35);
  --hero-badge-text: #1d4ed8;
  
  --table-caption-bg: rgba(37, 99, 235, 0.04);
  --table-head-bg: rgba(37, 99, 235, 0.06);
  --table-hover-bg: rgba(37, 99, 235, 0.02);
  
  --app-pill-bg: #ffffff;
  --app-pill-border: #d2e4f5;
  --app-pill-text: #0f172a;
  
  --cta-box-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  --cta-box-border: rgba(37, 99, 235, 0.3);
  
  --footer-bg: #e2edf7;
  --footer-border: #cadbef;
}

/* --------------------------------------------------------------------------
   重置与全局平滑过渡
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 键盘可访问性：跳至主要内容 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid #fff;
}

/* 容器与基础排版 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section, h1, h2, h3 {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.6s ease;
}

p {
  color: var(--text-secondary);
  transition: color 0.6s ease;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #93c5fd;
  text-decoration: underline;
}
html[data-theme="light"] a:hover {
  color: #1e40af;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

/* ==========================================================================
   页眉与导航系统
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.8s ease, border-color 0.6s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.logo-wrap:hover {
  text-decoration: none;
  opacity: 0.96;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
  filter: drop-shadow(0 3px 6px rgba(37, 99, 235, 0.28));
}
.logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}
.logo-wrap:hover .logo-icon {
  transform: translateY(-1.5px) scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.42));
}

/* 品牌文字排版与官方正品徽章 */
.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.logo-brand-name {
  color: var(--text-main);
}
.logo-brand-accent {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .logo-brand-accent {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.22);
  vertical-align: middle;
  line-height: 1.2;
}
html[data-theme="dark"] .logo-badge {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.main-nav a:hover {
  color: var(--text-main);
  background: var(--bg-card);
  text-decoration: none;
}
.main-nav a.highlight-nav {
  color: var(--accent-amber);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   日夜模式切换按键 (Theme Toggle Button)
   -------------------------------------------------------------------------- */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: scale(1.05);
}

.theme-toggle-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* 在暗黑模式下：显示太阳图标（提示可切换为白昼） */
html[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #fbbf24;
}
html[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
  color: #94a3b8;
}

/* 在明亮模式下：显示月亮图标（提示可切换为星夜） */
html[data-theme="light"] .sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
  color: #fbbf24;
}
html[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #2563eb;
}

/* ==========================================================================
   按钮规范 (严格 >= 44x44px 触控区，无障碍及转化样式)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--text-main);
  text-decoration: none;
}

.btn-accent {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
}
.btn-accent:hover {
  background: linear-gradient(135deg, #059669, #047857);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 50px;
  padding: 12px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero 主视觉区架构重构 (独立层叠上下文与天空四层体系)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate; /* 彻底修复层叠上下文，杜绝父容器或外部遮罩冲突 */
  overflow: hidden;
  padding: 85px 0 80px;
  text-align: center;
  background: transparent;
}

/* 1. 天空底色层 (Sky Base Gradient Layer) */
.hero-sky-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* 白天晴空渐变: 晴空蓝 #68BDF2 -> 天空蓝 #A8DDFF -> 柔和过渡到底部背景色 */
.sky-bg-day {
  background: linear-gradient(180deg, #5ebdf6 0%, #8dd2fc 35%, #bce4fe 70%, var(--bg-primary) 100%);
  opacity: 0;
}
html[data-theme="light"] .sky-bg-day {
  opacity: 1;
}

/* 黑夜深空渐变: 午夜黑 #050914 -> 深空蓝 #0B1733 -> 柔和过渡到底部背景色 */
.sky-bg-night {
  background: 
    radial-gradient(ellipse at 78% 22%, rgba(59, 130, 246, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 65%, rgba(139, 92, 246, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #050914 0%, #091226 40%, #0d1a38 75%, var(--bg-primary) 100%);
  opacity: 1;
}
html[data-theme="light"] .sky-bg-night {
  opacity: 0;
}

/* 2. 天空装饰层 (Sky Decor Layer: 白云与阳光 VS 满天繁星与满月) */
.hero-sky-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   【白天模式装饰】阳光与自然流云
   -------------------------------------------------------------------------- */
.day-decor {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
html[data-theme="light"] .day-decor {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   【白天模式装饰】明亮自然太阳系统 (Sun, Core, Rays & Corona)
   -------------------------------------------------------------------------- */
.sun {
  position: absolute;
  top: 7%;
  left: 10%;
  width: 96px;
  height: 96px;
  pointer-events: none;
  z-index: 1;
}

/* 太阳核心实体 (清晰可见的金白艳阳球体) */
.sun-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, 
    #ffffff 0%, 
    #fffdf2 22%, 
    #fef08a 48%, 
    #fde047 72%, 
    #f59e0b 100%
  );
  box-shadow: 
    0 0 25px rgba(255, 255, 255, 0.95),
    0 0 50px rgba(254, 240, 138, 0.85),
    0 0 95px rgba(245, 158, 11, 0.65),
    0 0 150px rgba(245, 158, 11, 0.4);
  animation: sunCorePulse 6s ease-in-out infinite alternate;
}

/* 太阳放射金芒 (12条自然放射金光束，极为优雅地缓缓旋转) */
.sun-rays {
  position: absolute;
  inset: -45px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.65) 0deg,
    rgba(254, 240, 138, 0.2) 15deg,
    transparent 30deg,
    rgba(255, 255, 255, 0.65) 45deg,
    rgba(254, 240, 138, 0.2) 60deg,
    transparent 75deg,
    rgba(255, 255, 255, 0.65) 90deg,
    rgba(254, 240, 138, 0.2) 105deg,
    transparent 120deg,
    rgba(255, 255, 255, 0.65) 135deg,
    rgba(254, 240, 138, 0.2) 150deg,
    transparent 165deg,
    rgba(255, 255, 255, 0.65) 180deg,
    rgba(254, 240, 138, 0.2) 195deg,
    transparent 210deg,
    rgba(255, 255, 255, 0.65) 225deg,
    rgba(254, 240, 138, 0.2) 240deg,
    transparent 255deg,
    rgba(255, 255, 255, 0.65) 270deg,
    rgba(254, 240, 138, 0.2) 285deg,
    transparent 300deg,
    rgba(255, 255, 255, 0.65) 315deg,
    rgba(254, 240, 138, 0.2) 330deg,
    transparent 345deg,
    rgba(255, 255, 255, 0.65) 360deg
  );
  filter: blur(4px);
  animation: sunRaysRotate 55s linear infinite;
}

/* 太阳外围温暖大气晕光 */
.sun-glow {
  position: absolute;
  inset: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.65) 0%, 
    rgba(254, 240, 138, 0.38) 35%, 
    rgba(104, 189, 242, 0.15) 65%, 
    transparent 85%
  );
  filter: blur(22px);
  animation: sunGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes sunCorePulse {
  0% { transform: scale(0.96); }
  100% { transform: scale(1.04); }
}

@keyframes sunRaysRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes sunGlowPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* 自然白云渲染 (纯CSS多层柔和拼接，绝非卡通画) */
.cloud {
  position: absolute;
  background: #ffffff;
  border-radius: 100px;
  filter: drop-shadow(0 8px 24px rgba(104, 189, 242, 0.28));
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}

/* 云朵 1: 右上方高空远景白云 (极其缓慢横向呼吸微动) */
.cloud-1 {
  top: 14%;
  right: 5%;
  width: 170px;
  height: 52px;
  opacity: 0.88;
  animation: cloudDrift1 100s ease-in-out infinite alternate;
}
.cloud-1::before {
  width: 76px;
  height: 76px;
  top: -38px;
  left: 28px;
}
.cloud-1::after {
  width: 58px;
  height: 58px;
  top: -26px;
  right: 28px;
}

/* 云朵 2: 左侧中景白云 */
.cloud-2 {
  top: 26%;
  left: 3%;
  width: 210px;
  height: 64px;
  opacity: 0.92;
  animation: cloudDrift2 120s ease-in-out infinite alternate;
}
.cloud-2::before {
  width: 96px;
  height: 96px;
  top: -46px;
  left: 36px;
}
.cloud-2::after {
  width: 74px;
  height: 74px;
  top: -32px;
  right: 36px;
}

/* 云朵 3: 远景轻薄白云 */
.cloud-3 {
  top: 8%;
  left: 38%;
  width: 140px;
  height: 40px;
  opacity: 0.65;
  transform: scale(0.85);
  animation: cloudDrift3 140s ease-in-out infinite alternate;
}
.cloud-3::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 25px;
}
.cloud-3::after {
  width: 44px;
  height: 44px;
  top: -20px;
  right: 25px;
}

/* 云朵 4: 右下方柔和云絮 */
.cloud-4 {
  bottom: 12%;
  right: 3%;
  width: 180px;
  height: 54px;
  opacity: 0.78;
  animation: cloudDrift4 110s ease-in-out infinite alternate;
}
.cloud-4::before {
  width: 82px;
  height: 82px;
  top: -40px;
  left: 32px;
}
.cloud-4::after {
  width: 62px;
  height: 62px;
  top: -28px;
  right: 32px;
}

@keyframes cloudDrift1 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-28px, 6px); }
  100% { transform: translate(16px, -4px); }
}
@keyframes cloudDrift2 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(32px, -6px); }
  100% { transform: translate(-18px, 4px); }
}
@keyframes cloudDrift3 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 4px); }
  100% { transform: translate(25px, -3px); }
}
@keyframes cloudDrift4 {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-25px, -5px); }
  100% { transform: translate(18px, 6px); }
}

/* --------------------------------------------------------------------------
   【黑夜模式装饰】明亮满月与繁星点缀
   -------------------------------------------------------------------------- */
.night-decor {
  position: absolute;
  inset: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
html[data-theme="light"] .night-decor {
  opacity: 0;
  transform: translateY(8px);
}

/* 自然明亮满月 (位于右上方，具备月面阴影与多重柔和银白光晕) */
.moon {
  position: absolute;
  top: 10%;
  right: 11%;
  width: 96px;
  height: 96px;
  pointer-events: none;
}

.moon-body {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f1f5f9 40%, #cbd5e1 75%, #94a3b8 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.65),
    0 0 50px rgba(186, 230, 253, 0.4),
    0 0 100px rgba(96, 165, 250, 0.22);
}

/* 月面自然环形微纹理 (自然不规则月海阴影) */
.moon-crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
  box-shadow: inset 1px 1px 2px rgba(100, 116, 139, 0.35);
}
.moon-crater.c1 {
  width: 24px;
  height: 24px;
  top: 38%;
  left: 22%;
}
.moon-crater.c2 {
  width: 16px;
  height: 16px;
  top: 22%;
  left: 54%;
}
.moon-crater.c3 {
  width: 30px;
  height: 26px;
  bottom: 18%;
  right: 20%;
}

/* 满月外层呼吸柔和银辉光晕 */
.moon-halo {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.22) 0%, rgba(147, 197, 253, 0.1) 45%, transparent 70%);
  animation: moonGlow 7s ease-in-out infinite alternate;
}
@keyframes moonGlow {
  0% { transform: scale(0.96); opacity: 0.75; }
  100% { transform: scale(1.06); opacity: 1; }
}

/* 满天繁星系统 (大小、疏密、明暗各异的多层纯CSS星空) */
.star-cluster {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 星群 1: 微小远景星辰 (1px，高密度) */
.star-cluster-1 {
  background-image: 
    radial-gradient(1px 1px at 8% 18%, #ffffff, transparent),
    radial-gradient(1px 1px at 15% 42%, #ffffff, transparent),
    radial-gradient(1px 1px at 22% 12%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 32% 68%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 45% 25%, #ffffff, transparent),
    radial-gradient(1px 1px at 58% 16%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 64% 48%, #ffffff, transparent),
    radial-gradient(1px 1px at 72% 78%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 84% 34%, #ffffff, transparent),
    radial-gradient(1px 1px at 92% 19%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 95% 62%, #ffffff, transparent);
  animation: starTwinkle1 6s ease-in-out infinite alternate;
}

/* 星群 2: 中景明亮星辰 (1.5px - 2px) */
.star-cluster-2 {
  background-image: 
    radial-gradient(1.5px 1.5px at 12% 28%, #bae6fd, transparent),
    radial-gradient(2px 2px at 28% 36%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 39% 14%, #e0e7ff, transparent),
    radial-gradient(2px 2px at 52% 52%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 68% 28%, #bae6fd, transparent),
    radial-gradient(2px 2px at 79% 64%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 88% 42%, #fef08a, transparent);
  animation: starTwinkle2 8s ease-in-out infinite alternate;
}

/* 星群 3: 前景璀璨主星 (带细微光芒) */
.star-cluster-3 {
  background-image: 
    radial-gradient(2.5px 2.5px at 18% 22%, #ffffff, rgba(255,255,255,0.4) 50%, transparent),
    radial-gradient(2.5px 2.5px at 48% 38%, #ffffff, rgba(186,230,253,0.4) 50%, transparent),
    radial-gradient(2px 2px at 82% 18%, #ffffff, rgba(254,240,138,0.4) 50%, transparent);
  animation: starTwinkle3 5s ease-in-out infinite alternate;
}

@keyframes starTwinkle1 {
  0% { opacity: 0.55; }
  50% { opacity: 0.95; }
  100% { opacity: 0.7; }
}
@keyframes starTwinkle2 {
  0% { opacity: 0.85; }
  50% { opacity: 0.45; }
  100% { opacity: 1; }
}
@keyframes starTwinkle3 {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.75; transform: scale(1); }
}

/* 3. 局部柔和可读性过渡层 (严禁大面积白幕或黑布遮挡天空视觉) */
.hero-sky-readability {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
html[data-theme="light"] .hero-sky-readability {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 75%);
}
html[data-theme="dark"] .hero-sky-readability {
  background: radial-gradient(ellipse at 50% 50%, rgba(6, 11, 23, 0.38) 0%, rgba(6, 11, 23, 0) 80%);
}

/* 4. 页面内容层 (严格保持原结构与可读性) */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--hero-badge-bg);
  border: 1px solid var(--hero-badge-border);
  color: var(--hero-badge-text);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.6s ease;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--hero-title);
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.6s ease;
}

.hero-highlight {
  background: linear-gradient(120deg, var(--hero-highlight-start), var(--hero-highlight-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--hero-sub);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.6;
  transition: color 0.6s ease;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-features-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  max-width: 860px;
  margin: 0 auto;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.feature-tag svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   内容区块与全局卡片体系
   ========================================================================== */
.section {
  padding: 80px 0;
  background-color: var(--bg-primary);
  transition: background-color 0.8s ease;
}

.section-alt {
  background-color: var(--bg-secondary);
  transition: background-color 0.8s ease;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* 核心优势 3 卡片 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.8s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary-light);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.feature-points {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}
.feature-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.feature-points li svg {
  color: var(--accent);
}

/* 流媒体与 AI 支持图卡 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.8s ease, border-color 0.6s ease, box-shadow 0.4s ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-purple));
}

.capability-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.capability-header h3 {
  font-size: 1.4rem;
}

.badge-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.capability-desc {
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.capability-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-pill-bg);
  border: 1px solid var(--app-pill-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--app-pill-text);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

/* ==========================================================================
   套餐价格对比表
   ========================================================================== */
.pricing-wrapper {
  margin-bottom: 36px;
}

.pricing-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: background-color 0.8s ease, border-color 0.6s ease;
}

.pricing-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table caption {
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  background: var(--table-caption-bg);
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th,
.pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.pricing-table thead th {
  background: var(--table-head-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: var(--table-hover-bg);
}

.plan-title-col {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
}

.plan-tag-rec {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--accent-amber);
  color: #000;
  font-weight: 700;
  margin-left: 6px;
}

.price-cell {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-light);
}
.price-cell span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-guarantee {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   用户评价区块
   ========================================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.8s ease, border-color 0.6s ease;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.review-author h4 {
  font-size: 0.95rem;
  color: var(--text-main);
}
.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   常见问题解答 (FAQ) - details/summary
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, background-color 0.8s ease;
}

.faq-item[open] {
  border-color: var(--border-highlight);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-content {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-color);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-content a {
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   文章与内容页通用排版 (Prose & Knowledge)
   ========================================================================== */
.article-container {
  max-width: 860px;
  margin: 40px auto 80px;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-secondary);
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: 1.55rem;
  margin: 42px 0 16px;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text-main);
}

.prose p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.prose ul, .prose ol {
  margin: 0 0 24px 24px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-main);
}

.prose blockquote {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.8s ease;
}

.article-cta-box {
  background: var(--cta-box-bg);
  border: 1px solid var(--cta-box-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
  transition: all 0.6s ease;
}

.article-cta-box h2,
.article-cta-box h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.article-cta-box p {
  margin-bottom: 20px;
  font-size: 0.98rem;
}

/* 知识库卡片列表 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.knowledge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.8s ease;
}

.knowledge-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.knowledge-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 10px;
  display: inline-block;
}

.knowledge-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.knowledge-card h3 a {
  color: var(--text-main);
  text-decoration: none;
}
.knowledge-card h3 a:hover {
  color: var(--primary-light);
}

.knowledge-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.knowledge-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

/* ==========================================================================
   页脚规范 (严格只保留四个链接单页，在新标签中打开)
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 48px 0 32px;
  margin-top: auto;
  transition: background-color 0.8s ease, border-color 0.6s ease;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.footer-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式媒体查询 (@media 自适应规范)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .moon {
    width: 80px;
    height: 80px;
    right: 6%;
    top: 8%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .site-header .main-nav {
    display: none; /* 移动端精简化，主要内容可直达 */
  }
  
  .hero {
    padding: 55px 0 45px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .grid-3, .grid-2, .grid-4, .knowledge-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-nav {
    gap: 16px;
    flex-direction: column;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .pricing-table-container {
    border-radius: var(--radius-md);
  }
  
  .feature-points {
    padding-top: 12px;
  }
  
  /* 移动端月亮与云朵位置与尺寸适配，绝不遮挡文字与按钮 */
  .moon {
    width: 60px;
    height: 60px;
    top: 4%;
    right: 5%;
  }
  .moon-halo {
    inset: -14px;
  }
  /* 移动端太阳与月亮尺寸位置适配，绝不遮挡文字与按钮 */
  .sun {
    width: 60px;
    height: 60px;
    top: 4%;
    left: 5%;
  }
  .sun-rays {
    inset: -25px;
  }
  .sun-glow {
    inset: -50px;
  }
  .cloud-1 {
    width: 120px;
    height: 38px;
    top: 8%;
    right: 2%;
    opacity: 0.7;
  }
  .cloud-2 {
    width: 140px;
    height: 44px;
    top: 18%;
    left: -20px;
    opacity: 0.7;
  }
  .cloud-3, .cloud-4 {
    display: none; /* 手机端隐藏次级远景云朵，保持视觉干净清爽 */
  }
}

@media (max-width: 390px) {
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .logo-badge {
    font-size: 0.65rem;
    padding: 1px 5px;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  .moon {
    width: 48px;
    height: 48px;
    top: 3%;
    right: 4%;
  }
}

/* 动效支持减弱 (遵循 prefers-reduced-motion) */
@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;
  }
}
