/* ============================================
   Ditto 介绍页 —— 样式表
   配色：主色深蓝 #1E4D8C / 亮蓝 #4FA3E6
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #1E4D8C;
  --primary-dark: #0F2F5C;
  --primary-light: #2E6DB4;
  --accent: #4FA3E6;
  --accent-glow: rgba(79, 163, 230, 0.35);

  --bg: #ffffff;
  --bg-alt: #F4F7FB;
  --bg-deep: #0F2F5C;

  --text: #1A1A2E;
  --text-soft: #4A5568;
  --text-muted: #6B7280;
  --text-inverse: #ffffff;

  --border: #E5EBF3;
  --border-strong: #D1DBE8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(15, 47, 92, 0.06), 0 1px 2px rgba(15, 47, 92, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 47, 92, 0.08), 0 2px 6px rgba(15, 47, 92, 0.04);
  --shadow-lg: 0 18px 48px rgba(15, 47, 92, 0.12), 0 6px 16px rgba(15, 47, 92, 0.06);
  --shadow-xl: 0 28px 60px rgba(15, 47, 92, 0.20);

  --container-max: 1200px;
  --header-h: 72px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 基础 Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
/* 空 src 占位：统一隐藏破碎图标，显示虚线框 + alt 文字 */
img[src=""], img:not([src]) {
  background: #F4F7FB;
  border: 1.5px dashed #B8C5D6;
  border-radius: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
img[src=""]::after, img:not([src])::after {
  content: attr(alt);
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 2px 6px;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- 渐变文字 ---------- */
.gradient-text {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 通用 section ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(30, 77, 140, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  font-size: 15px;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 77, 140, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 77, 140, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:active { transform: translateY(0); }

.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-lg svg { width: 20px; height: 20px; }

.btn-xl {
  padding: 18px 48px;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  box-shadow: 0 12px 40px rgba(15, 47, 92, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-xl:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 56px rgba(15, 47, 92, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-ghost {
  color: var(--primary);
  padding: 12px 22px;
}
.btn-ghost:hover { background: rgba(30, 77, 140, 0.08); }

/* ============================================
   Header / 导航
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand-logo {
  width: 38px; height: 38px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px dashed var(--border-strong);
  overflow: hidden;
}
.brand-name { font-size: 20px; letter-spacing: -0.01em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-link:hover { color: var(--primary); background: rgba(30, 77, 140, 0.06); }
.nav-link-cta {
  background: var(--primary);
  color: #fff;
}
.nav-link-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 22px;
  height: 2.2px;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero 首屏
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(79, 163, 230, 0.18), transparent 60%),
    radial-gradient(800px 500px at -5% 10%, rgba(30, 77, 140, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(30, 77, 140, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 640px;
}

/* 左侧文案 */
.hero-copy { z-index: 2; }
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(30, 77, 140, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: 1px solid rgba(30, 77, 140, 0.12);
}
.hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 560px;
}

/* 版本 + 更新日期 */
.hero-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.meta-icon { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}

/* 下载区域在首屏 */
.hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-tags {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-tags li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-tags li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.7;
}

/* 右侧截图 */
.hero-visual {
  position: relative;
  z-index: 1;
}
.screenshot-frame {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero-visual:hover .screenshot-frame {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.screenshot-bar {
  height: 40px;
  background: linear-gradient(180deg, #F7FAFC 0%, #EDF2F7 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.screenshot-bar .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }
.screenshot-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.screenshot-body {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, #F4F7FB, #F4F7FB 14px, #EEF2F7 14px, #EEF2F7 28px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 浮动卡片 */
.floating-card {
  position: absolute;
  background: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  animation: float 5s ease-in-out infinite;
}
.floating-card .fc-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30, 77, 140, 0.08);
  border-radius: var(--radius-sm);
}
.floating-card strong { display: block; font-size: 14px; color: var(--primary-dark); }
.floating-card small { font-size: 12px; color: var(--text-muted); }
.floating-1 { top: -16px; left: -28px; animation-delay: 0s; }
.floating-2 { bottom: 24px; right: -16px; animation-delay: 2.2s; }

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

/* ============================================
   功能模块
   ============================================ */
.features { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(30,77,140,0.08), rgba(79,163,230,0.12));
  border-radius: var(--radius-md);
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============================================
   用户评价
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-text {
  flex: 1;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  padding-left: 18px;
}
.review-text::before {
  content: "\201C";
  position: absolute;
  left: -6px; top: -18px;
  font-size: 52px;
  line-height: 1;
  color: rgba(30, 77, 140, 0.15);
  font-family: Georgia, serif;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(30, 77, 140, 0.3);
  user-select: none;
}
.review-author strong {
  display: block;
  font-size: 14px;
  color: var(--primary-dark);
}
.review-author small {
  font-size: 12px;
  color: var(--text-muted);
}

/* 统计数据条 */
.review-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.stat strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--bg-alt); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(30, 77, 140, 0.10);
}
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--primary); }
.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px; height: 20px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-toggle::before {
  width: 14px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 2px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 26px 22px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.faq-a code {
  background: rgba(30, 77, 140, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  color: var(--primary-dark);
}

/* ============================================
   下载区
   ============================================ */
.download-section {
  padding-top: 40px;
  padding-bottom: 120px;
  background: var(--bg-alt);
}
.download-card {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #F0F6FF 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,163,230,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.download-card::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,77,140,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.download-logo-wrap {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.download-logo { width: 100%; height: 100%; object-fit: cover; }
.download-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.download-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.download-meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.download-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.download-meta span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}
.download-meta strong {
  font-size: 16px;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}
.download-card .btn-xl { position: relative; z-index: 2; }
.download-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-muted);
}
.download-note a {
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px dashed var(--primary);
}
.download-note code {
  background: rgba(30, 77, 140, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12.5px;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
  color: var(--primary-dark);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  border: 1px dashed rgba(255,255,255,0.25);
  overflow: hidden;
}
.footer-brand strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand p {
  font-size: 13px;
}
.footer-info {
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}
.footer-info p { margin-bottom: 2px; }

/* ============================================
   滚动淡入动画
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式
   ============================================ */

/* 1100px：Hero 变单栏 */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
  }
  .hero-copy { text-align: left; order: 1; }
  .hero-visual { order: 2; max-width: 620px; margin: 0 auto; width: 100%; }
  .floating-1 { left: -12px; }
  .floating-2 { right: -12px; }
}

/* 900px：三栏变两栏 */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .review-stats  { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }

  .download-meta { gap: 28px; }
}

/* 800px：导航汉堡 */
@media (max-width: 800px) {
  .site-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
  }
  .site-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav .nav-link {
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .site-nav .nav-link-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .hero { padding-top: calc(var(--header-h) + 40px); }

  .hero-meta { gap: 12px; }
  .meta-item { padding: 8px 14px; }

  .floating-card { transform: scale(0.88); }
  .floating-1 { left: 0; }
  .floating-2 { right: 0; }

  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-info { text-align: left; }
}

/* 600px：全部单栏 */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .review-stats  {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 18px;
  }
  .hero-desc { font-size: 15.5px; margin-bottom: 26px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-meta .meta-item { width: 100%; justify-content: space-between; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-tags { flex-direction: column; gap: 10px; }

  .screenshot-frame { transform: none; border-radius: var(--radius-md); }
  .floating-1, .floating-2 {
    display: none;
  }

  .download-card {
    padding: 50px 22px;
  }
  .download-meta {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .btn-xl { padding: 16px 36px; font-size: 16px; }
}

/* 超小屏兜底 */
@media (max-width: 380px) {
  .review-stats { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
}

/* 减少动效偏好 */
@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;
  }
  .fade-in { opacity: 1; transform: none; }
}
