:root {
  --bg: #0a0c11;
  --bg-soft: #10141d;
  --panel: rgba(22, 27, 38, 0.68);
  --panel-strong: #161b26;
  --text: #f5f7fb;
  --muted: #9aa5b5;
  --dim: #6f7a8b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --red: #ff453a;
  --blue: #0a84ff;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(10, 132, 255, 0.16), transparent 62%),
    radial-gradient(900px 600px at 8% 8%, rgba(255, 69, 58, 0.10), transparent 55%),
    linear-gradient(180deg, #0b0e14 0%, var(--bg) 55%, #080a0e 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
picture { display: block; }
code { font-family: "SF Mono", Menlo, monospace; font-size: 0.9em; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(9, 11, 16, 0.58);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.lang-switch button {
  appearance: none;
  border: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button[aria-pressed="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.accent {
  background: linear-gradient(92deg, #ff6b5f 0%, #ff453a 38%, #4aa7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #3d9cff, #0877e8);
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
}

.button.ghost:hover { background: rgba(255, 255, 255, 0.08); }

.meta {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.hero-shot {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0e1118;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: linear-gradient(180deg, #1a1f2a, #141924);
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }

.window-bar em {
  margin-left: auto;
  margin-right: auto;
  padding-left: 52px;
  font-style: normal;
  font-size: 11px;
  color: var(--dim);
}

.hero-shot img {
  width: 100%;
  height: auto;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 40px;
}

.highlights span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-top: 72px;
  padding-bottom: 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 11px;
  border: 1px solid rgba(10, 132, 255, 0.22);
  background: rgba(10, 132, 255, 0.10);
  color: #79bbff;
}

.icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon svg .fill { fill: currentColor; stroke: none; }

.card h3 {
  margin-bottom: 7px;
  font-size: 15px;
  letter-spacing: -0.015em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0e1118;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}

.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.gallery-item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 12px;
  color: var(--muted);
}

.gallery-item strong { color: var(--text); font-size: 12.5px; }
.gallery-item span { color: var(--dim); text-align: right; }

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(10, 132, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.download-card img {
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.download-card h2 {
  margin-bottom: 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.download-card p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

.download-actions .meta { margin: 0; text-align: center; }

.footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--dim);
  font-size: 11.5px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 56px; }
  .hero-shot { transform: none; max-width: 860px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-template-columns: auto 1fr; }
  .download-actions { grid-column: span 2; flex-direction: row; flex-wrap: wrap; align-items: center; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1120px); }
  .nav-inner { gap: 14px; }
  .nav-right { gap: 12px; }
  .nav-links { gap: 15px; font-size: 12px; }
  .nav-links a:nth-child(3) { display: none; }
  .lang-switch button { padding: 4px 8px; }
  h1 { font-size: 42px; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item figcaption { flex-direction: column; gap: 2px; }
  .gallery-item span { text-align: left; }
  .download-card { grid-template-columns: 1fr; padding: 24px; }
  .download-actions { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; }
}

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