/* ============================================
   搜狗输入法 - AI智能输入解决方案
   网站样式表
   域名: ai-sougou-shurufa.com.cn
   设计风格: 现代科技 / AI智能感
   ============================================ */

/* CSS变量定义 */
:root {
  --primary-color: #431407;
  --secondary-color: #7c2d12;
  --accent-color: #f97316;
  --accent-hover: #ea580c;
  --highlight-color: #fdba74;
  --text-primary: #7c2d12;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #fff7ed;
  --bg-tertiary: #ffedd5;
  --border-color: #fed7aa;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-primary: linear-gradient(135deg, #431407 0%, #7c2d12 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fdba74 100%);
  --gradient-hero: linear-gradient(135deg, #431407 0%, #7c2d12 50%, #431407 100%);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* 全局重置与基础样式 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.navbar-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-menu li a:hover {
  color: var(--accent-color);
  background: rgba(6, 182, 212, 0.06);
}

.navbar-menu li a.active {
  color: var(--accent-color);
  font-weight: 600;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hero区域 */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 50px;
  color: var(--highlight-color);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

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

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

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fdba74 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--highlight-color);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 480px;
  height: 520px;
  opacity: 0.9;
}

.hero-mockup {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-input-bar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.mockup-candidates {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.candidate-chip {
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--border-radius-sm);
  color: var(--highlight-color);
  font-size: 0.9rem;
  font-weight: 500;
}

/* 功能特性区 */
.features-section {
  padding: 120px 0;
  background: var(--bg-primary);
}

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

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 38px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 182, 212, 0.2);
}

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

.feature-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.08));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: var(--accent-color);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* 下载CTA区 */
.download-cta {
  padding: 100px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.download-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.download-btn .icon {
  font-size: 1.4rem;
}

/* 教程推荐区 */
.tutorials-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.tutorial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}

.tutorial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.tutorial-image {
  height: 200px;
  background: linear-gradient(135deg, #431407, #1e3a5f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--highlight-color);
  position: relative;
  overflow: hidden;
}

.tutorial-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.tutorial-content {
  padding: 28px;
}

.tutorial-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 14px;
}

.tutorial-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.tutorial-content p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* 页面头部（非首页） */
.page-header {
  padding: 140px 0 70px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(34, 211, 238, 0.07) 0%, transparent 45%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--highlight-color);
  font-weight: 500;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.page-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 600px;
}

/* 内容区域 */
.content-section {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-tertiary);
}

.content-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 36px 0 16px;
}

.content-wrapper p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

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

.content-wrapper li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1.01rem;
}

.content-wrapper strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* 下载卡片 */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
  margin: 48px 0;
}

.download-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 42px 36px;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.download-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(34, 211, 238, 0.08));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  color: var(--accent-color);
}

.download-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.download-card .version-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.download-card .btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: var(--gradient-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.download-card .btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.4);
}

.download-card .requirements {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* 安装步骤 */
.install-steps {
  counter-reset: step-counter;
  margin: 40px 0;
}

.step-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-color);
  counter-increment: step-counter;
}

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

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-tertiary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-question .icon {
  font-size: 1.3rem;
  transition: transform var(--transition-normal);
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

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

/* Footer */
.footer {
  background: var(--primary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu li a {
    padding: 14px 18px;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .step-item {
    flex-direction: column;
    gap: 16px;
  }

  .tutorials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .download-btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
  }
}
