/* ============================================
   抠图酱官网 - 全局样式
   ============================================ */

/* --- CSS 变量 --- */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --max-width: 1200px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--border-light);
}

.nav-links a.nav-cta {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   Hero 首屏
   ============================================ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #8b5cf6 50%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-subtitle p {
  margin: 0;
}

.hero-subtitle strong {
  color: var(--primary);
}

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

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-meta span svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

.hero-visual {
  flex-shrink: 0;
  width: 480px;
  max-width: 100%;
}

/* Hero 区域拖拽对比滑块 */
.hero-comparison {
  width: 100%;
}

.hero-comparison-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
  cursor: col-resize;
  user-select: none;
  background: #e2e8f0;
  line-height: 0;
}

.hero-comparison-original {
  display: block;
  line-height: 0;
}

.hero-comparison-original .hero-comparison-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-comparison-result {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hero-comparison-result .hero-comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  display: block;
  max-width: none;
}

.hero-comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: col-resize;
}

.hero-handle-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: white;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.hero-handle-grip {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-secondary);
}

.hero-comparison-tip {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.04);
}

.btn-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

.btn-plugin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.figma-btn {
  background: #1e1e1e;
  color: white;
}

.figma-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.pixso-btn {
  background: #6c5ce7;
  color: white;
}

.pixso-btn:hover {
  background: #5a4bd1;
  transform: translateY(-1px);
}

/* ============================================
   功能特性
   ============================================ */
.features {
  background: var(--bg);
  padding-top: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-desc strong {
  color: var(--text);
}

/* ============================================
   界面展示
   ============================================ */
.showcase {
  background: var(--bg-alt);
}

.showcase-theme-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.theme-switch {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-switch.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.showcase-preview {
  margin-bottom: 48px;
}

/* 轮播容器 */
.showcase-carousel {
  display: none;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #f8fafc;
}

.showcase-carousel.active {
  display: block;
}

.showcase-carousel.dark {
  background: #1e1e2e;
  border-color: #2d2d3f;
}

/* 轮播轨道 */
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* 轮播按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  z-index: 2;
  line-height: 1;
}

.carousel-btn:hover {
  background: white;
  box-shadow: var(--shadow);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dots .dot.active {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.dark .carousel-dots .dot {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark .carousel-dots .dot.active {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

@media (max-width: 768px) {
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .carousel-prev {
    left: 8px;
  }
  .carousel-next {
    right: 8px;
  }
  .carousel-dots {
    bottom: 38px;
  }
}

.showcase-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.showcase-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.showcase-feature-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow);
}

.sf-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.sf-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sf-text strong {
  font-size: 15px;
  color: var(--text);
}

.sf-text span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   效果对比
   ============================================ */
.comparison {
  background: var(--bg);
}

.comparison-slider {
  max-width: 800px;
  margin: 0 auto 40px;
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  cursor: col-resize;
  user-select: none;
}

.comparison-original {
  position: absolute;
  inset: 0;
}

.comparison-result {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid white;
}

.comparison-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.original-bg {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--text-muted);
  position: relative;
}

.original-bg::after {
  content: "📷";
  font-size: 64px;
  display: block;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

.result-bg {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: var(--primary);
  position: relative;
}

.result-bg::after {
  content: "✨";
  font-size: 48px;
  display: block;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 40px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: col-resize;
}

.handle-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.handle-grip {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
}

.comparison-tip {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
}

.comparison-modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.mode-card {
  padding: 20px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

.mode-card.active {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.04);
}

.mode-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.mode-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.mode-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================
   插件介绍
   ============================================ */
.plugins {
  background: var(--bg-alt);
  padding-top: 0;
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.plugin-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
}

.plugin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plugin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.plugin-logo {
  display: flex;
  align-items: center;
}

.plugin-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.plugin-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.plugin-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.plugin-features {
  margin-bottom: 24px;
}

.plugin-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.plugin-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.plugins-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 24px;
  background: rgba(99, 102, 241, 0.04);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   下载区域
   ============================================ */
.download {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
}

.download-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.download-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-version {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.download-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dm-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
}

.download-card-body {
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
}

.download-requirements h4,
.download-formats h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.download-requirements ul {
  list-style: none;
}

.download-requirements li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.download-requirements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
}

.format-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.format-tags span {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--border-light);
  border-radius: 100px;
  color: var(--text-secondary);
}

.format-tags.output span {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-weight: 600;
}

.format-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--text-muted);
  padding-top: 28px;
}

.download-card-footer {
  padding: 30px 40px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.download-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #94a3b8;
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-qrcode {
  text-align: center;
}

.qrcode-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: white;
  padding: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* ============================================
   滚动动画
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-meta {
    justify-content: center;
  }

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

  .download-card-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .format-arrow {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}

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

  .section-title {
    font-size: 28px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: white;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
  }

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

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

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

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

  .hero-actions .btn {
    justify-content: center;
  }

  .download-card-header {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px 24px;
  }

  .download-meta {
    justify-content: center;
  }

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

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

  .footer-inner {
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
}

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

  .section-title {
    font-size: 24px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-visual {
    display: none;
  }

  .hero-app-preview {
    width: 100%;
  }

  .comparison-modes {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   回到顶部按钮
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
