/* ============================================================
   跨境工具箱 · 图片翻译 官网
   全站共享样式
   ============================================================ */

/* ---------- 变量与基础 ---------- */
:root {
  --primary: #2563eb;
  --primary-2: #06b6d4;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #dbe7ff;
}

.btn-outline:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.14);
}

.btn-lg {
  padding: 16px 44px;
  font-size: 18px;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: #fff;
}

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 18, 40, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
}

.nav-logo .logo-mark svg {
  width: 20px;
  height: 20px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger svg {
  width: 26px;
  height: 26px;
  color: #fff;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(37, 99, 235, 0.55), transparent 60%),
    radial-gradient(800px 460px at 88% 10%, rgba(6, 182, 212, 0.4), transparent 60%),
    linear-gradient(160deg, #0b1d42 0%, #0a1633 55%, #081126 100%);
  color: #fff;
  padding: 168px 0 110px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #bfe8ff;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.hero h1 .grad-text {
  background: linear-gradient(120deg, #7dd3fc, #38bdf8 45%, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: #38bdf8;
}

/* ---------- Hero 真实效果演示（叠加对比） ---------- */
.hero-demo {
  position: relative;
  animation: float 7s ease-in-out infinite;
}

.hero-demo-stack {
  position: relative;
}

.hero-demo-main {
  margin: 0;
}

.hero-demo-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

.hero-demo-side {
  position: absolute;
  left: -20px;
  bottom: -16px;
  width: 48%;
  margin: 0;
  transform: rotate(-4deg);
  border: 6px solid #0d1b38;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  background: #0d1b38;
}

.hero-demo-side img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-demo-main figcaption,
.hero-demo-side figcaption {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-demo-main figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-demo-side figcaption {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(13, 27, 56, 0.75);
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  backdrop-filter: blur(4px);
}

.hero-demo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-demo-tag {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 800;
  color: #bfe8ff;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-demo-title {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 软件界面示意图 ---------- */
.app-window {
  background: #0d1b38;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

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

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-titlebar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.app-titlebar .app-title {
  margin-left: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.03em;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-family: inherit;
  cursor: default;
}

.toolbar-btn.on {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}

.engine-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 5px 11px;
}

.engine-chip .tick {
  color: #34d399;
}

.app-main {
  display: grid;
  grid-template-columns: 1fr 158px;
  gap: 12px;
  padding: 14px;
}

.app-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.img-card {
  background: #101f42;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.img-card .img-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.img-card .img-head .tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
}

.tag-zh { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; }
.tag-en { background: rgba(52, 211, 153, 0.18); color: #6ee7b7; }

.mock-stage {
  position: relative;
  height: 158px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(240px 160px at 30% 20%, rgba(37, 99, 235, 0.35), transparent 65%),
    radial-gradient(240px 160px at 75% 85%, rgba(6, 182, 212, 0.25), transparent 65%),
    #0c1a3a;
}

.mock-product {
  position: relative;
  width: 72px;
  height: 118px;
}

.mock-product .cap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 16px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
}

.mock-product .bottle {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 102px;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(160deg, #f8b4c8, #f472b6 60%, #db2777);
  box-shadow: inset -8px -6px 18px rgba(0, 0, 0, 0.18), 0 10px 22px rgba(219, 39, 119, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.mock-product .bottle .hl {
  width: 46px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.mock-product .bottle .hl.hl-sm {
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
}

/* 商品上的翻译文字 */
.mock-product .ptext {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}

.ptext.pt-zh-1 { top: 6px; font-size: 8.5px; }
.ptext.pt-zh-2 { bottom: 8px; font-size: 8px; color: rgba(255, 255, 255, 0.92); }
.ptext.pt-en-1 { top: 6px; font-size: 8.5px; letter-spacing: 0.02em; }
.ptext.pt-en-2 { bottom: 8px; font-size: 7px; color: rgba(255, 255, 255, 0.92); }

.mock-langs {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 10px 0 12px;
}

.mock-langs span {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 9px;
}

.mock-langs span.on {
  color: #fff;
  background: rgba(37, 99, 235, 0.55);
  border-color: rgba(96, 165, 250, 0.6);
}

/* 右侧样式面板 */
.app-sidebar {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  margin-bottom: -3px;
}

.sb-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sb-chip {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
  cursor: default;
}

.sb-chip.on {
  color: #fff;
  background: rgba(6, 182, 212, 0.35);
  border-color: rgba(6, 182, 212, 0.55);
}

.sb-swatch {
  display: flex;
  gap: 5px;
}

.sb-swatch i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: block;
}

.sb-swatch i.on {
  outline: 2px solid #38bdf8;
  outline-offset: 1px;
}

.sb-slider {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.sb-slider::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 62%;
  border-radius: 4px;
  background: var(--grad);
}

.sb-slider::before {
  content: "";
  position: absolute;
  left: 62%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.app-statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.app-statusbar .spinner {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  animation: spin 0.9s linear infinite;
}

.app-statusbar .ok {
  color: #34d399;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- 特色卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d9ff;
}

.feature-card .f-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-card:nth-child(2) .f-icon { background: #ecfeff; color: #0891b2; }
.feature-card:nth-child(3) .f-icon { background: #ecfdf5; color: #059669; }
.feature-card:nth-child(4) .f-icon { background: #fff7ed; color: #ea580c; }
.feature-card:nth-child(5) .f-icon { background: #fdf4ff; color: #c026d3; }
.feature-card:nth-child(6) .f-icon { background: #fef3c7; color: #d97706; }
.feature-card:nth-child(7) .f-icon { background: #fef2f2; color: #dc2626; }
.feature-card:nth-child(8) .f-icon { background: #f5f3ff; color: #7c3aed; }

.feature-card .f-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 对比区 ---------- */
.compare-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

.compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.compare-card .cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}

.compare-card .cc-head .cc-tag {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 11px;
}

.cc-tag-before { background: #f1f5f9; color: #475569; }
.cc-tag-after { background: #ecfdf5; color: #059669; }

.compare-stage {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(300px 200px at 30% 18%, rgba(37, 99, 235, 0.16), transparent 65%),
    radial-gradient(300px 200px at 72% 85%, rgba(6, 182, 212, 0.14), transparent 65%),
    linear-gradient(160deg, #f1f5f9, #e2e8f0);
}

.compare-stage .mock-product { transform: scale(1.15); }

.compare-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}

.compare-arrow svg {
  width: 24px;
  height: 24px;
}

.compare-note {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 34px;
}

.compare-note b {
  color: var(--ink);
}

/* ---------- 真实效果展示（轮播） ---------- */
.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 34px;
  box-shadow: var(--shadow);
}

.carousel-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.carousel-btn.prev {
  left: -24px;
}

.carousel-btn.next {
  right: -24px;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}

.carousel-dots .dot.active {
  width: 26px;
  background: var(--grad);
}

.carousel-counter {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

.showcase-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: #eef4ff;
  border: 1px solid #dbe7ff;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.showcase-info h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.showcase-info p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

.showcase-imgs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.showcase-fig {
  margin: 0;
}

.showcase-fig figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}

.fig-tag {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 11px;
}

.fig-tag-zh {
  background: #f1f5f9;
  color: #475569;
}

.fig-tag-en {
  background: #ecfdf5;
  color: #059669;
}

.showcase-fig img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.showcase-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32);
  flex-shrink: 0;
}

.showcase-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 920px) {
  .carousel-slide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .showcase-imgs {
    grid-template-columns: 1fr;
  }

  .showcase-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}

/* ---------- 使用流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 26px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 10px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

.step-card .step-tip {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
}

/* ---------- 语言支持 ---------- */
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 26px;
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lang-badge:hover {
  transform: translateY(-3px);
  border-color: #a8c4ff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.14);
}

.lang-badge .flag {
  font-size: 17px;
  line-height: 1;
}

.lang-note {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 下载 CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(700px 380px at 20% 0%, rgba(37, 99, 235, 0.5), transparent 60%),
    radial-gradient(700px 380px at 85% 100%, rgba(6, 182, 212, 0.4), transparent 60%),
    linear-gradient(160deg, #0b1d42, #0a1633);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  overflow: hidden;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16.5px;
  max-width: 640px;
  margin: 0 auto 38px;
}

.cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.cta-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #081126;
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 40px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13.5px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #7dd3fc;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 16px;
  margin-top: 4px;
}

.footer-contact .wx-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
}

.footer-contact .wx-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contact b {
  color: #fff;
  font-size: 15px;
  display: block;
  line-height: 1.3;
}

.footer-contact small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 子页面 Hero ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 420px at 15% -20%, rgba(37, 99, 235, 0.5), transparent 60%),
    radial-gradient(700px 400px at 90% 0%, rgba(6, 182, 212, 0.38), transparent 60%),
    linear-gradient(160deg, #0b1d42, #0a1633);
  color: #fff;
  padding: 142px 0 76px;
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 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: 44px 44px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- 下载页 ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.dl-card .dl-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
}

.dl-card .dl-icon svg {
  width: 32px;
  height: 32px;
}

.dl-icon-official { background: var(--grad); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); }
.dl-icon-fast { background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35); }

.dl-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dl-card .dl-ver {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: #eef4ff;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.dl-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 24px;
  min-height: 44px;
}

.dl-note {
  max-width: 860px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: #94a3b8;
}

/* 系统要求 / 安装说明 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.info-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.info-card li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
}

.info-card li .li-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #eef4ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.info-card li .li-icon svg {
  width: 13px;
  height: 13px;
}

/* 安装步骤 */
.install-steps {
  max-width: 860px;
  margin: 0 auto;
}

.install-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.install-step .is-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.install-step .is-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}

.install-step .is-body h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.install-step .is-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.install-step .is-body b {
  color: var(--ink);
}

.tip-box {
  max-width: 860px;
  margin: 30px auto 0;
  display: flex;
  gap: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: #9a3412;
  line-height: 1.75;
}

.tip-box svg {
  width: 22px;
  height: 22px;
  color: #ea580c;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-box a {
  color: #c2410c;
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- FAQ 页 ---------- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: #bcd0ff;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  font-size: 15.5px;
  font-weight: 700;
  user-select: none;
}

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

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s;
}

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

.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

.faq-item .faq-body p {
  margin-bottom: 10px;
}

.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

.faq-item .faq-body b {
  color: var(--ink);
}

.faq-item .faq-body ul {
  margin: 8px 0 4px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item .faq-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding-top: 150px;
  }

  .app-window,
  .hero-demo {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 18, 40, 0.97);
    padding: 14px 18px 20px;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-burger {
    display: block;
  }

  .nav .btn {
    display: none;
  }

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

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

  .compare-wrap {
    grid-template-columns: 1fr;
  }

  .compare-arrow {
    transform: rotate(90deg);
    justify-self: center;
    margin: -6px 0;
  }

  .app-main {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .dl-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .hero-meta {
    gap: 8px 16px;
  }

  .install-step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .install-step .is-num {
    width: 44px;
    height: 44px;
    font-size: 16px;
    border-radius: 13px;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }

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

  .compare-stage {
    height: 210px;
  }
}

/* ---------- 中屏：隐藏导航 Logo 文字，只保留图标 ---------- */
@media (max-width: 1080px) {
  .nav .logo-text {
    display: none;
  }
}

/* ---------- 语言切换按钮 ---------- */
.lang-toggle {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
}

/* ---------- 法律页面 ---------- */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.legal-updated {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 26px;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 10px;
}

.legal-section ul {
  margin: 6px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-section a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.legal-section b {
  color: var(--ink);
}

/* ---------- 定价页 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.18);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.price-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 20px;
}

.price-amount .num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-amount .per {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.price-feats {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-feats li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
}

.price-feats li svg {
  width: 18px;
  height: 18px;
  color: #059669;
  flex-shrink: 0;
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
}

.price-cta-box {
  text-align: center;
  max-width: 640px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.price-cta-box h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-cta-box p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.price-notes {
  max-width: 720px;
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.price-notes p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.8;
}

.price-notes a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 页脚邮箱 ---------- */
.footer-email {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email:hover {
  color: #7dd3fc;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
