/* =========================================================
   DeepSeek Harness Desktop — Landing Page
   Dark · DeepSeek Blue · Modern
   ========================================================= */

:root {
  --bg: #05060b;
  --bg-soft: #090b12;
  --bg-card: rgba(255, 255, 255, 0.028);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4fa;
  --text-dim: #a7afc2;
  --text-faint: #6d7589;
  --accent: #4d6bfe;
  --accent-soft: #6a83ff;
  --accent-2: #8b5cf6;
  --accent-3: #38bdf8;
  --success: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --radius-lg: 22px;
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --nav-h: 64px;
  --grad: linear-gradient(100deg, #6a83ff 0%, #8b5cf6 55%, #38bdf8 120%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(77, 107, 254, 0.4); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #23283c; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #323a5c; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

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

.icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.grad-text {
  background: linear-gradient(100deg, #8ea2ff 0%, #b39aff 45%, #7cc7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.42em;
  color: #b9c4ff;
  white-space: nowrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(115deg, #4d6bfe 0%, #6a5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(77, 107, 254, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 12px 36px -8px rgba(93, 112, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-version {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 1px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-stars {
  font-size: 12.5px;
  font-weight: 700;
  color: #c9d2ff;
  background: rgba(130, 150, 255, 0.16);
  border: 1px solid rgba(130, 150, 255, 0.35);
  border-radius: 8px;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(5, 6, 11, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled {
  background: rgba(5, 6, 11, 0.82);
  border-bottom-color: var(--border);
}

.nav-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 6px 18px -4px rgba(77, 107, 254, 0.5);
}
.brand-name {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.brand-name em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0a0c14;
  background: #fff;
  padding: 3px 7px;
  border-radius: 6px;
}
.brand-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c9d2ff;
  border: 1px solid rgba(130, 150, 255, 0.4);
  background: rgba(77, 107, 254, 0.14);
  padding: 3px 8px;
  border-radius: 20px;
}

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 10px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 17px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; padding: calc(var(--nav-h) + 64px) 0 96px; overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 720px;
  background:
    radial-gradient(42% 46% at 72% 58%, rgba(77, 107, 254, 0.3), transparent 70%),
    radial-gradient(30% 38% at 22% 40%, rgba(139, 92, 246, 0.2), transparent 70%),
    radial-gradient(50% 50% at 50% 0%, rgba(77, 107, 254, 0.16), transparent 72%);
  filter: blur(6px);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(55% 52% at 78% 62%, #000 0%, transparent 72%);
  mask-image: radial-gradient(55% 52% at 78% 62%, #000 0%, transparent 72%);
  opacity: 0.5;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(77, 107, 254, 0.07) 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent 96%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #b8c4ff;
  background: rgba(77, 107, 254, 0.1);
  border: 1px solid rgba(100, 125, 255, 0.32);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
  letter-spacing: 0.02em;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 0 0 rgba(106, 131, 255, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(106, 131, 255, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(106, 131, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 131, 255, 0); }
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 .grad-text { display: inline-block; }

.hero-sub {
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-sub a {
  color: #aab6ff;
  border-bottom: 1px dashed rgba(140, 160, 255, 0.5);
  transition: color 0.2s;
}
.hero-sub a:hover { color: #d3dbff; }

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

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.hero-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-platforms .icon { color: #9fb0ff; }

/* Hero visual — 斜向悬浮窗口 */
.hero-visual { position: relative; perspective: 1600px; }
.app-window {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a0d16;
  box-shadow:
    0 48px 120px -32px rgba(0, 0, 0, 0.9),
    0 18px 50px -14px rgba(77, 107, 254, 0.38);
  transform: rotateY(-10deg) rotateX(4deg) rotateZ(0.8deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s ease;
}
.app-window:hover {
  transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateY(-6px);
  box-shadow:
    0 60px 140px -32px rgba(0, 0, 0, 0.9),
    0 24px 60px -14px rgba(77, 107, 254, 0.45);
}
.app-shot { width: 100%; height: auto; display: block; }
.app-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(140deg, rgba(77, 107, 254, 0.4), transparent 32%, transparent 62%, rgba(139, 92, 246, 0.35));
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.5;
  backdrop-filter: saturate(1.1);
}
.shot-chip {
  position: absolute;
  z-index: 2;
  font-size: 12.5px;
  font-weight: 700;
  color: #dde4ff;
  background: rgba(13, 17, 32, 0.82);
  border: 1px solid rgba(120, 145, 255, 0.45);
  backdrop-filter: blur(10px);
  padding: 7px 13px;
  border-radius: 12px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  animation: float 5s ease-in-out infinite;
}
.chip-1 { top: 9%; left: -16px; }
.chip-2 { bottom: 12%; right: -14px; animation-delay: -2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ STATS ============ */
.stats { position: relative; z-index: 2; margin-top: -20px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.stat {
  background: linear-gradient(180deg, rgba(19, 23, 38, 0.9), rgba(10, 12, 22, 0.95));
  padding: 26px 20px;
  text-align: center;
  transition: background 0.3s;
}
.stat:hover { background: linear-gradient(180deg, rgba(28, 34, 58, 0.95), rgba(13, 16, 28, 0.95)); }
.stat-num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #e8ecff, #98a9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-unit { font-size: 0.55em; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }

/* ============ SECTIONS ============ */
.section { padding: 110px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(77, 107, 254, 0.08), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 16.5px; }

/* ============ FEATURES ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(120, 145, 255, 0.4);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(100, 125, 255, 0.08);
}
.card:hover::before { opacity: 1; }

.feature-card { display: flex; flex-direction: column; gap: 14px; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(77, 107, 254, 0.2), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(110, 132, 255, 0.35);
  color: #9fb2ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { font-size: 14.5px; color: var(--text-dim); }

/* ============ GALLERY ============ */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.gallery-tab {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.gallery-tab:hover { color: var(--text); border-color: var(--border-strong); }
.gallery-tab.is-active {
  color: #fff;
  background: linear-gradient(115deg, #4d6bfe, #6a5cf6);
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(77, 107, 254, 0.6);
}

.gallery-stage {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0a0d16;
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.95);
  cursor: zoom-in;
}
.gallery-stage img {
  width: 100%;
  height: auto;
  transition: opacity 0.25s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-stage img.is-fading { opacity: 0; }
.gallery-stage:hover img { transform: scale(1.012); }
.gallery-zoom {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dfe5ff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-zoom svg { width: 19px; height: 19px; }
.gallery-stage:hover .gallery-zoom { opacity: 1; transform: none; }
.gallery-zoom:hover { background: rgba(34, 42, 78, 0.9); }
.gallery-stage figcaption {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e6eaff;
  background: rgba(10, 13, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 7px 14px;
  border-radius: 12px;
  transition: opacity 0.25s;
}

/* ============ PLUGINS ============ */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plugin-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; }
.plugin-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 700;
  color: #0a0c14;
  background: linear-gradient(100deg, #9db0ff, #c9a8ff);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.plugin-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; margin-top: 4px; }
.plugin-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; flex: 1; }
.plugin-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #9fb2ff;
  transition: color 0.2s;
}
.plugin-card:hover .plugin-link { color: #d3dbff; }

/* ============ DOWNLOAD ============ */
.ver-pill {
  font-family: var(--mono);
  font-size: 0.85em;
  color: #b9c4ff;
  background: rgba(77, 107, 254, 0.15);
  border: 1px solid rgba(100, 125, 255, 0.4);
  border-radius: 8px;
  padding: 2px 10px;
}

/* GitHub 镜像开关 */
.proxy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  vertical-align: middle;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.proxy-toggle:hover { border-color: var(--border-strong); color: var(--text); }
.proxy-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.proxy-switch {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.proxy-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #cbd3ff;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.proxy-toggle input:checked + .proxy-switch {
  background: linear-gradient(115deg, #4d6bfe, #6a5cf6);
  border-color: transparent;
}
.proxy-toggle input:checked + .proxy-switch::after {
  transform: translateX(15px);
  background: #fff;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.dl-card { padding: 28px; }
.dl-card-mac { border-color: rgba(124, 199, 255, 0.3); }
.dl-card-mac:hover { border-color: rgba(124, 199, 255, 0.55); }

.dl-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.dl-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.dl-logo svg { width: 22px; height: 22px; color: #cfd7ff; }
.dl-head h3 { font-size: 17.5px; font-weight: 700; flex: 1; }
.dl-arch {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 9px;
}

.dl-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dl-list li > a, .dl-list li > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 15px;
  transition: all 0.2s ease;
}
.dl-list li > a:hover {
  color: #fff;
  border-color: rgba(120, 145, 255, 0.5);
  background: rgba(77, 107, 254, 0.1);
  transform: translateX(3px);
}
.dl-list li > a .icon { color: #9fb2ff; }
.dl-type {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: #9fb2ff;
  margin-left: auto;
}
.dl-list .dl-arch {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}
.dl-list li > span { color: var(--text-faint); }
.dl-sub {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

.dl-more { display: flex; justify-content: center; margin-bottom: 26px; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 14.5px; max-width: 340px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-links h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-made a { color: #9fb2ff; }
.footer-made a:hover { color: #d3dbff; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 4, 8, 0.88);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox.is-open .lightbox-figure { transform: none; }
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(88vh - 60px);
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95);
}
.lightbox-figure figcaption {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 22px;
  width: 42px; height: 42px;
  border-radius: 12px;
  font-size: 16px;
  color: #dfe5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  color: #dfe5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* ============ REVEAL ============ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .shot-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-platforms { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-eyebrow { margin-inline: auto; }
  .feature-grid, .plugin-grid, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(6, 8, 14, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 14px 4vw 20px;
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 15.5px; }
  .nav-burger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .nav > .container { justify-content: space-between; }

  .section { padding: 80px 0; }
  .feature-grid, .plugin-grid, .dl-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .chip-1 { left: 8px; }
  .chip-2 { right: 8px; }
  .lightbox-nav { display: none; }
  .hero { padding-bottom: 72px; }
}

@media (max-width: 520px) {
  .btn-lg { padding: 13px 20px; font-size: 15px; }
  .brand-badge { display: none; }
  .gallery-tab { padding: 8px 14px; font-size: 13px; }
}
