/* ============================================
   Fan Control 官方推广网站 - 主样式表
   配色: 科技蓝 (#0066FF / #00D4FF)
   风格: 扁平现代专业
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
  /* 品牌色 */
  --brand-primary: #0066FF;
  --brand-accent: #00D4FF;
  --brand-gradient: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --brand-gradient-hover: linear-gradient(135deg, #0052CC 0%, #00B8E0 100%);

  /* 浅色主题 */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(15, 23, 42, 0.6);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-on-brand: #FFFFFF;

  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.3);
}

[data-theme="dark"] {
  --bg-primary: #0A0E1A;
  --bg-secondary: #111827;
  --bg-tertiary: #1E293B;
  --bg-card: #151B2E;
  --bg-overlay: rgba(0, 0, 0, 0.75);

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-tertiary: #64748B;

  --border-color: #1E293B;
  --border-hover: #334155;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.25);
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', '思源黑体', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== 排版 ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 880px;
}

/* ===== 区段 ===== */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

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

.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  color: var(--text-on-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== 导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(10, 14, 26, 0.85);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.navbar-brand:hover {
  color: var(--brand-primary);
}

/* 风扇logo - 鼠标悬停旋转 */
.fan-logo {
  width: 36px;
  height: 36px;
  color: var(--brand-primary);
  transition: color 0.3s ease;
  transform-origin: center;
}

.fan-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.navbar-brand:hover .fan-logo {
  animation: fanSpin 0.8s linear infinite;
  color: var(--brand-accent);
}

@keyframes fanSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-text {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--brand-primary);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-link:hover {
  color: var(--brand-primary);
  background: rgba(0, 102, 255, 0.06);
}

.navbar-link.active {
  color: var(--brand-primary);
  background: rgba(0, 102, 255, 0.1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 主题切换按钮 */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Hero 截图区 */
.hero-visual {
  position: relative;
}

.hero-screenshot {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 软件界面模拟 */
.app-mockup {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.app-mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.app-mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
}

.app-mockup-dot.red { background: #FF5F57; }
.app-mockup-dot.yellow { background: #FEBC2E; }
.app-mockup-dot.green { background: #28C840; }

.app-mockup-title {
  margin-left: 8px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.app-mockup-body {
  padding: 20px;
}

/* 温度仪表 */
.temp-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.temp-gauge {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid var(--border-color);
}

.temp-gauge-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 4px;
  font-weight: 500;
}

.temp-gauge-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.temp-gauge-value .unit {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 2px;
}

.temp-gauge-bar {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.temp-gauge-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 2px;
  transition: width 1s ease;
}

/* 风扇曲线图 */
.fan-curve-chart {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
  border: 1px solid var(--border-color);
}

.fan-curve-title {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-weight: 600;
}

.fan-curve-svg {
  width: 100%;
  height: 120px;
}

/* ===== 功能卡片网格 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 255, 0.1);
  border-radius: 14px;
  color: var(--brand-primary);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

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

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== 使用场景 ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.scenario-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scenario-emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.scenario-card h3 {
  margin-bottom: 12px;
}

.scenario-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.scenario-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
}

/* ===== 用户评价 ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #FFB800;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--brand-primary);
  line-height: 0.5;
  vertical-align: -0.4em;
  margin-right: 4px;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-info span {
  font-size: 0.825rem;
  color: var(--text-tertiary);
}

/* ===== 数据统计区 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== CTA 区域 ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: var(--brand-gradient);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-section .btn {
  position: relative;
  background: white;
  color: var(--brand-primary);
}

.cta-section .btn:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

/* ===== 下载弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--brand-primary);
  color: white;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 32px;
}

.modal-intro {
  text-align: center;
  margin-bottom: 32px;
}

.modal-intro p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0;
}

.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.download-option {
  text-align: center;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.download-option:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-option-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
}

.download-option-icon svg {
  width: 100%;
  height: 100%;
}

.download-option h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.download-option p {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* 二维码 */
.qr-code {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  background: white;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code svg {
  width: 100%;
  height: 100%;
}

.download-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 8px;
}

.modal-footer {
  padding: 20px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 20px 20px;
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-tertiary);
}

/* ===== 页面头部 (子页面) ===== */
.page-header {
  padding: 64px 0 48px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--brand-primary);
}

.breadcrumb-separator {
  color: var(--text-tertiary);
}

.page-title {
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ===== 内容区段 ===== */
.content-section {
  padding: 64px 0;
}

.content-block {
  margin-bottom: 64px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  margin-bottom: 16px;
}

.content-block h3 {
  margin: 32px 0 12px;
}

.content-block p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.content-block ul,
.content-block ol {
  margin: 16px 0;
  padding-left: 0;
}

.content-block ul li,
.content-block ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  background: var(--brand-gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-block ol {
  counter-reset: ol-counter;
}

.content-block ol li {
  counter-increment: ol-counter;
}

.content-block ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== 功能详情区 ===== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail:last-child {
  margin-bottom: 0;
}

.feature-detail.reverse .feature-detail-content {
  order: 2;
}

.feature-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-detail-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.feature-detail-list {
  margin-top: 20px;
}

.feature-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.feature-detail-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--brand-gradient);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.feature-detail-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

/* ===== 步骤指引 ===== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.step-content p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.step-content .tip {
  background: rgba(0, 102, 255, 0.06);
  border-left: 3px solid var(--brand-primary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin-top: 16px;
}

.step-content .tip strong {
  color: var(--brand-primary);
}

/* ===== FAQ 手风琴 ===== */
.faq-category {
  margin-bottom: 48px;
}

.faq-category h3 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: var(--brand-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-secondary);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer-inner p {
  margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ===== 下载卡片 ===== */
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.download-card h2 {
  margin-bottom: 16px;
}

.download-card .version-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.version-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-primary);
  font-weight: 700;
  border-radius: 6px;
}

.download-card .system-requirements {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ===== 更新日志 ===== */
.changelog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.changelog-entry {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.changelog-entry:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-version strong {
  font-size: 1.125rem;
  color: var(--text-primary);
}

.changelog-date {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.changelog-entry ul {
  padding-left: 20px;
}

.changelog-entry li {
  list-style: disc;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== 团队卡片 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.875rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ===== 路线图 ===== */
.roadmap-timeline {
  position: relative;
  padding-left: 32px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-color);
}

.roadmap-item {
  position: relative;
  padding-bottom: 32px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--brand-gradient);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  z-index: 1;
}

.roadmap-item.done .roadmap-dot {
  background: var(--brand-primary);
}

.roadmap-status {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 8px;
}

.roadmap-status.done {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.roadmap-status.progress {
  background: rgba(0, 102, 255, 0.1);
  color: var(--brand-primary);
}

.roadmap-status.planned {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-tertiary);
}

.roadmap-item h4 {
  margin-bottom: 8px;
}

.roadmap-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .navbar-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-primary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--brand-primary);
  color: white;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--text-tertiary);
}

.footer-bottom a:hover {
  color: var(--brand-primary);
}

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== 通知条 ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .feature-detail,
  .feature-detail.reverse .feature-detail-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-detail.reverse .feature-detail-content {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .navbar-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-menu.active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .navbar-menu.active .navbar-link {
    padding: 12px 16px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 24px;
    justify-content: space-between;
    width: 100%;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .download-card {
    padding: 32px 24px;
  }

  .modal-body {
    padding: 24px;
  }

  .page-header {
    padding: 48px 0 32px;
  }

  .navbar-actions .btn-secondary {
    display: none;
  }
}
