/* 多镜指纹浏览器 — 官网样式 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #070b12;
  --bg-dark-mid: #0d1420;
  --bg-dark-light: #141e2e;
  --accent-blue: #3395fe;
  --accent-teal: #2ec4b6;
  --accent-glow: rgba(46, 196, 182, 0.35);
  --text-primary: #0c1222;
  --text-secondary: #4a5568;
  --text-muted: #64748b;
  --text-light: #e8eef7;
  --text-dim: #8b9bb4;
  --surface: #f3f6fb;
  --surface-alt: #e8eef6;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: #d8e0ec;
  --max-width: 1160px;
  --header-h: 64px;
  --radius: 8px;
  --transition: 0.22s ease;
  --font-display: "Outfit", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-teal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(14, 17, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.active {
  color: #fff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-teal);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px !important;
  margin-left: 8px;
  background: var(--accent-teal);
  color: #0e1118 !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  background: #2dd4d5;
  color: #0e1118 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 190, 191, 0.28);
}

.nav-cta.active::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  height: 40px;
  width: 40px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  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: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  animation: hero-grid-drift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: hero-orb-float 14s ease-in-out infinite;
}

.hero-orb-a {
  width: 48vw;
  height: 48vw;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(51, 149, 254, 0.28) 0%, transparent 68%);
}

.hero-orb-b {
  width: 42vw;
  height: 42vw;
  right: -6%;
  top: 18%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.22) 0%, transparent 68%);
  animation-delay: -6s;
}

@keyframes hero-grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, 4%) scale(1.06); }
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  text-align: center;
  max-width: 720px;
  width: 100%;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-media {
  width: 100%;
  max-width: 960px;
  animation: hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-preview {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-dark-mid);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.45);
}

.hero-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-preview-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.hero-preview-bar span:nth-child(1) { background: #ff5f57; }
.hero-preview-bar span:nth-child(2) { background: #febc2e; }
.hero-preview-bar span:nth-child(3) { background: #28c840; }

.hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-media-fallback {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: linear-gradient(180deg, var(--bg-dark-mid), var(--bg-dark-light));
  font-size: 14px;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Homepage value / cookie / capabilities */
.page-home .section-value {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 196, 182, 0.06), transparent 60%),
    var(--surface);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.value-item {
  padding: 40px 28px;
  text-align: left;
  border-right: 1px solid var(--border-light);
}

.value-item:last-child {
  border-right: none;
}

.value-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: var(--accent-teal);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.value-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.section-cookie {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cookie-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.cookie-showcase-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cookie-showcase-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.cookie-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.cookie-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.cookie-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.cookie-showcase-visual {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(7, 11, 18, 0.14);
}

.cookie-showcase-visual img {
  width: 100%;
  display: block;
}

.cookie-showcase-frame {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  background: #fff;
}

.cookie-showcase-frame img {
  width: 100%;
  display: block;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.capability-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.capability-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-scenarios {
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(51, 149, 254, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(46, 196, 182, 0.1), transparent 50%),
    var(--bg-dark);
  color: var(--text-light);
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .scenario-item {
  display: flex;
  gap: 20px;
  text-align: left;
  padding: 32px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  transition: background var(--transition);
}

.page-home .scenario-item:nth-child(2n) {
  border-right: none;
}

.page-home .scenario-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-home .scenario-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.page-home .scenario-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.section-shots {
  background: var(--surface);
}

.shot-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shot-item {
  margin: 0;
}

.shot-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  display: block;
  box-shadow: 0 12px 40px rgba(7, 11, 18, 0.1);
}

.shot-item figcaption {
  padding: 14px 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.shot-fallback {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .value-row,
  .capability-row,
  .scenario-list,
  .shot-rail {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .cookie-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-home .scenario-item,
  .page-home .scenario-item:nth-child(2n) {
    border-right: none;
  }

  .fingerprint-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 48px;
  }

  .hero-stage {
    gap: 36px;
  }
}

/* ---- Fingerprint kernel block ---- */
.fingerprint-kernel {
  padding: 36px;
  margin-bottom: 40px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(51, 149, 254, 0.14), transparent 50%),
    linear-gradient(145deg, var(--bg-dark) 0%, var(--bg-dark-light) 100%);
  border: 1px solid rgba(46, 196, 182, 0.22);
  border-radius: 12px;
}

.fingerprint-kernel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.fingerprint-kernel-head h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.fingerprint-kernel-head p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 640px;
}

.chrome-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Segoe UI", "Consolas", monospace;
  color: var(--accent-teal);
  background: rgba(37, 190, 191, 0.1);
  border: 1px solid rgba(37, 190, 191, 0.35);
  border-radius: var(--radius);
  white-space: nowrap;
}

.chrome-version span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fingerprint-spec-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.fingerprint-spec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.fingerprint-spec-item {
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.fingerprint-spec-item:hover {
  border-color: rgba(37, 190, 191, 0.35);
}

.fingerprint-spec-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.fingerprint-spec-item span {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
}

.feature-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .fingerprint-spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid-secondary {
    grid-template-columns: 1fr;
  }
}

.hero-copy .hero-actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-teal);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: #3dd4c6;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ---- Sections ---- */
section {
  padding: 88px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--accent-teal);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.section-dark .section-header p {
  color: var(--text-dim);
}

.section-scenarios .section-label {
  color: var(--accent-teal);
}

.section-scenarios .section-header h2 {
  color: #fff;
}

.section-scenarios .section-header p {
  color: var(--text-dim);
}

/* ---- Feature Grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(51, 149, 254, 0.35);
  box-shadow: 0 4px 20px rgba(51, 149, 254, 0.08);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-teal);
  background: rgba(37, 190, 191, 0.1);
  border: 1px solid rgba(37, 190, 191, 0.25);
  border-radius: var(--radius);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- Scenario ---- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-item {
  padding: 24px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.scenario-item:hover {
  border-color: rgba(37, 190, 191, 0.35);
}

.scenario-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.scenario-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ---- Screenshots ---- */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.screenshot-item figcaption {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
}

.screenshot-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  background: linear-gradient(180deg, #eef2ff 0%, #e2e8f0 100%);
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(46, 196, 182, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg-dark-light) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 16px;
}

.site-header .container {
  width: 100%;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: calc(var(--header-h) + 56px) 0 48px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(51, 149, 254, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(46, 196, 182, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
}

/* ---- Download Page ---- */
.dl-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 80px;
  background: var(--bg-dark);
  overflow: hidden;
  text-align: center;
}

.dl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.dl-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.6;
}

.page-download .btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 14px;
  padding: 18px 28px;
  background: var(--accent-teal);
  color: var(--bg-dark);
  font-family: var(--font-display);
  border-radius: 10px;
  text-align: left;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-download .btn-download:hover {
  background: #3dd4c6;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.page-download .btn-download svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.page-download .btn-download span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-download .btn-download strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.page-download .btn-download small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
}

.page-download .download-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.dl-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.dl-meta-item {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-meta-item:last-child {
  border-right: none;
}

.dl-meta-item span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.dl-meta-item strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.dl-steps-section {
  background: var(--surface);
  padding: 88px 0;
}

.dl-steps {
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
}

.dl-steps li {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}

.dl-step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-teal);
  flex-shrink: 0;
  padding-top: 2px;
}

.dl-steps h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dl-steps p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.dl-steps code {
  font-size: 13px;
  padding: 1px 6px;
  background: rgba(46, 196, 182, 0.1);
  color: #0d9488;
  border-radius: 4px;
}

.dl-reqs-section {
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 88px 0;
}

.dl-req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
}

.dl-req-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border-light);
}

.dl-req-item:last-child {
  border-right: none;
}

.dl-req-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dl-req-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.dl-tips-section {
  padding: 72px 0;
  background: var(--surface);
}

.dl-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
}

.dl-tip h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.dl-tip p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.dl-faq-section {
  padding: 72px 0 96px;
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.download-card {
  max-width: 720px;
  margin: -32px auto 0;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 1;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.download-meta dt {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.download-meta dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 28px;
  margin-bottom: 16px;
  background: var(--accent-teal);
  color: var(--bg-dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-download:hover {
  background: #3dd4c6;
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-download svg {
  width: 22px;
  height: 22px;
}

.download-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .dl-meta,
  .dl-req-grid,
  .dl-tips {
    grid-template-columns: 1fr 1fr;
  }

  .dl-meta-item:nth-child(2n),
  .dl-req-item:nth-child(2n) {
    border-right: none;
  }

  .dl-meta-item:nth-child(-n+2),
  .dl-req-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dl-req-item:nth-child(-n+2) {
    border-bottom-color: var(--border-light);
  }

  .dl-hero {
    padding: calc(var(--header-h) + 56px) 0 56px;
  }

  .dl-steps li {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .dl-meta,
  .dl-req-grid,
  .dl-tips {
    grid-template-columns: 1fr;
  }

  .dl-meta-item,
  .dl-req-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dl-req-item {
    border-bottom-color: var(--border-light);
  }

  .dl-meta-item:last-child,
  .dl-req-item:last-child {
    border-bottom: none;
  }
}

.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text-primary);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.content-block ul,
.content-block ol {
  padding-left: 24px;
  margin: 12px 0;
}

.content-block li {
  margin-bottom: 8px;
}

.content-block li strong {
  color: var(--text-primary);
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.step-list li {
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--border-light);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-teal);
  background: rgba(37, 190, 191, 0.1);
  border: 1px solid rgba(37, 190, 191, 0.3);
  border-radius: var(--radius);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Tutorial / Guide Layout ---- */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0 88px;
}

.doc-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.doc-sidebar h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.doc-sidebar ul {
  list-style: none;
}

.doc-sidebar li {
  margin-bottom: 6px;
}

.doc-sidebar a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: all var(--transition);
}

.doc-sidebar a:hover,
.doc-sidebar a.active {
  color: var(--accent-blue);
  background: rgba(51, 149, 254, 0.06);
}

.doc-content section {
  padding: 0 0 48px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.doc-content section:last-child {
  padding-bottom: 0;
}

.doc-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.doc-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.doc-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.doc-content ul,
.doc-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.doc-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.doc-tip {
  padding: 16px 20px;
  margin: 20px 0;
  background: rgba(37, 190, 191, 0.06);
  border-left: 3px solid var(--accent-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.doc-tip strong {
  color: var(--text-primary);
}

.doc-screenshot {
  margin: 24px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.doc-screenshot img {
  width: 100%;
}

.doc-screenshot .screenshot-placeholder {
  aspect-ratio: 16 / 9;
}

.guide-card {
  padding: 28px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.guide-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 0;
  border: none;
}

.guide-card p {
  margin-bottom: 10px;
}

.guide-card ul {
  margin-top: 8px;
}

/* ---- News / Articles ---- */
.news-section {
  padding: 48px 0 88px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.news-card:hover {
  border-color: rgba(51, 149, 254, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.news-tag {
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-teal);
  background: rgba(37, 190, 191, 0.1);
  border: 1px solid rgba(37, 190, 191, 0.25);
  border-radius: 3px;
}

.news-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.news-card h2 a {
  color: var(--text-primary);
}

.news-card h2 a:hover {
  color: var(--accent-blue);
}

.news-card p {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
}

.news-read-more:hover {
  color: var(--accent-teal);
}

.article-page {
  padding: calc(var(--header-h) + 40px) 0 96px;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(51, 149, 254, 0.08), transparent 60%),
    var(--surface);
  min-height: 60vh;
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 36px 40px 48px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-back:hover {
  color: var(--accent-blue);
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--text-primary);
}

.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.article-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.article-body li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Footer ---- */
.site-footer {
  padding: 48px 0 32px;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links a {
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-contact {
  max-width: 160px;
}

.footer-wechat {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-wechat img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.footer-wechat span {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-dim);
}

.footer-bottom a:hover {
  color: var(--accent-teal);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-row {
    grid-template-columns: 1fr;
  }

  .shot-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    background: rgba(14, 17, 24, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    display: flex;
    height: auto;
    padding: 14px 16px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .site-nav a.active::after {
    display: none;
  }

  .site-nav a.active {
    color: var(--accent-teal);
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    margin-left: 0;
    text-align: center;
    justify-content: center;
    height: 44px;
    border-bottom: none;
  }

  .article-container {
    padding: 24px 20px 36px;
    border-radius: 10px;
  }

  .article-page {
    padding: calc(var(--header-h) + 24px) 16px 64px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
  }

  section {
    padding: 64px 0;
  }

  .download-card {
    padding: 28px 20px;
    margin: -24px 16px 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}
