/* FishToon — Soft Daylight Creative Studio Stylesheet */
:root {
  --bg: #f6f8fc;
  --bg-elev: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --border: rgba(15, 23, 42, 0.085);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-indigo: #4f46e5;
  --accent-soft: rgba(37, 99, 235, 0.09);
  --cyan: #0284c7;
  --cyan-soft: rgba(14, 165, 233, 0.1);
  --emerald: #059669;
  --emerald-soft: rgba(16, 185, 129, 0.1);
  --amber: #d97706;
  --amber-soft: rgba(245, 158, 11, 0.11);
  --violet: #7c3aed;
  --violet-soft: rgba(124, 58, 237, 0.1);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.11);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --max-w: 1200px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(960px 460px at 86% -4%, rgba(37, 99, 235, 0.075), transparent 64%),
    radial-gradient(780px 420px at 8% 4%, rgba(14, 165, 233, 0.065), transparent 60%),
    radial-gradient(640px 360px at 50% 42%, rgba(99, 102, 241, 0.035), transparent 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
}

.container {
  width: min(var(--max-w), calc(100% - 40px));
  margin-inline: auto;
}

/* Soft daylight studio dot-grid backdrop */
.cinema-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 94%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-name {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

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

.nav-links a {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-soft);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.045);
}

.nav-links a.is-active {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.24);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(37, 99, 235, 0.34);
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  padding: 12px 20px 18px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background: var(--bg-elev);
  color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 54px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 650;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title-accent {
  background: linear-gradient(125deg, #2563eb 0%, #4f46e5 52%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-soft);
  max-width: 530px;
}

.pipeline-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
}

.pipe-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pipe-chip .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
}

.pipe-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(37, 99, 235, 0.36);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.hero-meta svg {
  color: var(--emerald);
}

/* Hero Dual-Layer Light Studio Stage */
.cinema-stage {
  position: relative;
  padding-bottom: 34px;
  padding-right: 18px;
}

.cinema-monitor {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.11);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.monitor-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: #f8fafd;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-soft);
}

.monitor-hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.monitor-hud-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.monitor-aspect {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
}

.monitor-viewport {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
  cursor: zoom-in;
}

.monitor-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.monitor-viewport:hover img {
  transform: scale(1.03);
}

.reticle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.72);
  border-style: solid;
  pointer-events: none;
}

.reticle.tl { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.reticle.tr { top: 12px; right: 12px; border-width: 1.5px 1.5px 0 0; }
.reticle.bl { bottom: 12px; left: 12px; border-width: 0 0 1.5px 1.5px; }
.reticle.br { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }

.monitor-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 11px 13px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.tl-track {
  padding: 7px 9px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tl-track .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tl-track .v {
  color: var(--text);
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-track.is-active {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.06);
}

.tl-track.is-active .k {
  color: var(--accent);
}

/* Floating Vertical Drama Card */
.drama-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 162px;
  padding: 5px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease;
}

.drama-float:hover {
  transform: translateY(-4px);
}

.drama-float-img {
  display: block;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: zoom-in;
}

.drama-float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drama-float-cap {
  padding: 8px 6px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.drama-float-cap strong {
  color: var(--text);
  font-weight: 750;
}

.drama-float-cap span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 5px;
}

/* Section Shared Typography */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.22;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-desc {
  margin: 10px 0 0;
  max-width: 580px;
  font-size: 15px;
  color: var(--text-soft);
}

/* Workflow 4-Step Grid */
.workflow {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 7px;
  color: var(--accent);
  background: var(--accent-soft);
}

.step-card:nth-child(2) .step-no { color: var(--cyan); background: var(--cyan-soft); }
.step-card:nth-child(3) .step-no { color: var(--violet); background: var(--violet-soft); }
.step-card:nth-child(4) .step-no { color: var(--emerald); background: var(--emerald-soft); }

.step-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 750;
  color: var(--text);
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Studio Workspace Showcase */
.workspace-shell {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.11);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.workspace-topbar {
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafd;
  border-bottom: 1px solid var(--border);
}

.win-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.win-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.win-dots span:nth-child(1) { background: #f87171; }
.win-dots span:nth-child(2) { background: #fbbf24; }
.win-dots span:nth-child(3) { background: #34d399; }

.workspace-path {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-soft);
}

.workspace-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
}

.workspace-screen {
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  background: #f1f5f9;
}

.workspace-screen img {
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.workspace-screen:hover img {
  transform: scale(1.012);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.metric-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.metric-val {
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--text);
}

.metric-val span {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-left: 4px;
}

.metric-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.cap-card {
  padding: 22px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.cap-card:nth-child(2) .cap-icon { background: var(--violet-soft); color: var(--violet); }
.cap-card:nth-child(3) .cap-icon { background: var(--emerald-soft); color: var(--emerald); }

.cap-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 750;
  color: var(--text);
}

.cap-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Gallery Contact Sheet */
.frames {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.gallery-controls[hidden] {
  display: none;
}

.gal-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.gal-btn:hover:not(:disabled) {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}

.gal-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gal-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  min-width: 96px;
  text-align: center;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.18) transparent;
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.16);
  border-radius: 999px;
}

.gallery-frame {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-frame:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-frame a {
  display: block;
  cursor: zoom-in;
}

.gallery-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-frame:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-meta {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.gallery-shot-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 750;
}

.gallery-shot-cap {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Download Section */
.download {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035), rgba(246, 248, 252, 0.8) 70%);
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.release-banner {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.dl-status-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dl-status {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
}

.dl-retry {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dl-retry[hidden] {
  display: none;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dl-card:not(.disabled):hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: var(--shadow-md);
}

.dl-card.is-primary:not(.disabled) {
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.045), #ffffff 65%);
}

.dl-card.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.dl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dl-os-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
}

.dl-card.is-primary .dl-os-icon {
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent);
}

.dl-arch {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-elev);
  color: var(--text-soft);
}

.dl-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.dl-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 3px;
}

.dl-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.changelog-box {
  margin-top: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.changelog-box summary {
  padding: 15px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.changelog-box summary::-webkit-details-marker {
  display: none;
}

.changelog-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-soft);
}

.changelog-body ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

/* FAQ Section */
.install {
  border-top: 1px solid var(--border);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 17px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-ans {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.faq-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 46px;
  background: #ffffff;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent);
}

.qq-dock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  font-size: 13px;
}

.qq-label {
  color: var(--text-soft);
}

.qq-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text);
}

.qq-copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.qq-copy-btn:hover {
  background: rgba(37, 99, 235, 0.16);
}

/* Lightbox Dialog */
.viewer {
  margin: auto;
  padding: 0;
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

.viewer::backdrop {
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(8px);
}

.viewer-frame {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.viewer-img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #f1f5f9;
}

.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-soft);
}

.viewer-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.viewer-controls[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-frame {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 650px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .cinema-stage {
    padding-right: 0;
    padding-bottom: 0;
  }

  .drama-float {
    position: static;
    width: 100%;
    margin-top: 14px;
    display: grid;
    grid-template-columns: 92px 1fr;
    align-items: center;
  }

  .drama-float-cap {
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 14px;
  }

  .workflow-grid,
  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .monitor-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-frame {
    flex: 0 0 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
