:root {
  color-scheme: light;
  --bg: #f4fbf7;
  --bg-soft: #eaf6ef;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(247, 252, 249, 0.94);
  --card: rgba(255, 255, 255, 0.92);
  --card-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.18);
  --text: #0f172a;
  --muted: #64748b;
  --muted-strong: #334155;
  --green: #23b26b;
  --green-deep: #16814b;
  --green-soft: rgba(35, 178, 107, 0.12);
  --blue-soft: rgba(59, 130, 246, 0.12);
  --orange-soft: rgba(249, 115, 22, 0.12);
  --hero-glow: rgba(35, 178, 107, 0.18);
  --hero-accent: rgba(37, 99, 235, 0.10);
  --surface-highlight: rgba(255, 255, 255, 0.78);
  --window-bg-top: rgba(248, 251, 253, 0.98);
  --window-bg-bottom: rgba(237, 243, 248, 0.96);
  --window-line: rgba(15, 23, 42, 0.10);
  --window-bar-bg: rgba(255, 255, 255, 0.74);
  --window-bar-text: rgba(15, 23, 42, 0.62);
  --download-surface: linear-gradient(180deg, rgba(241, 251, 246, 0.98), rgba(228, 247, 237, 0.96));
  --download-border: rgba(35, 178, 107, 0.20);
  --topbar-bg: rgba(255, 255, 255, 0.82);
  --shadow-lg: 0 28px 90px rgba(15, 23, 42, 0.16);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shell-width: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111a;
  --bg-soft: #0c1925;
  --panel: rgba(8, 17, 27, 0.72);
  --panel-strong: rgba(10, 21, 33, 0.9);
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #f7fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --green: #2fd47a;
  --green-deep: #1ea75f;
  --green-soft: rgba(47, 212, 122, 0.16);
  --blue-soft: rgba(59, 130, 246, 0.18);
  --orange-soft: rgba(249, 115, 22, 0.18);
  --hero-glow: rgba(47, 212, 122, 0.22);
  --hero-accent: rgba(59, 130, 246, 0.14);
  --surface-highlight: rgba(255, 255, 255, 0.08);
  --window-bg-top: rgba(15, 24, 36, 0.98);
  --window-bg-bottom: rgba(9, 16, 25, 0.96);
  --window-line: rgba(255, 255, 255, 0.14);
  --window-bar-bg: rgba(255, 255, 255, 0.03);
  --window-bar-text: rgba(255, 255, 255, 0.70);
  --download-surface: linear-gradient(180deg, rgba(17, 31, 24, 0.9), rgba(12, 23, 19, 0.94));
  --download-border: rgba(47, 212, 122, 0.18);
  --topbar-bg: rgba(6, 14, 22, 0.72);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--hero-glow), transparent 28%),
    radial-gradient(circle at 88% 16%, var(--hero-accent), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, #ffffff 100%);
  transition: background 220ms ease, color 220ms ease;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, var(--hero-glow), transparent 28%),
    radial-gradient(circle at 88% 16%, var(--hero-accent), transparent 22%),
    linear-gradient(180deg, #0a1621 0%, #07111a 48%, #050c13 100%);
}

button {
  font: inherit;
}

button,
a,
.hero,
.trust-strip,
.section-grid,
.preview-section,
.steps-section,
.requirements-section,
.footer,
.window-card,
.feature-card,
.step-card,
.requirements-card,
.download-card,
.topbar {
  transition:
    background-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

::selection {
  background: rgba(35, 178, 107, 0.18);
}

:root[data-theme="dark"] ::selection {
  background: rgba(47, 212, 122, 0.24);
}

body[data-theme] {
  color: var(--text);
}

body ::-webkit-scrollbar {
  width: 10px;
}

body ::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.3);
}

body ::-webkit-scrollbar-track {
  background: transparent;
}

:root[data-theme="dark"] body ::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.24);
}

.theme-switch {
  --switch-width: 60px;
  --switch-height: 28px;
  --switch-knob: 24px;
  --switch-offset: 2px;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  width: var(--switch-width);
  height: var(--switch-height);
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.theme-switch::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--switch-offset);
  width: var(--switch-knob);
  height: var(--switch-knob);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
  transform: translate(0, -50%);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  pointer-events: none;
}

:root[data-theme="dark"] .theme-switch {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .theme-switch::before {
  background: #2fd47a;
  box-shadow: 0 2px 10px rgba(47, 212, 122, 0.28);
}

:root[data-theme="dark"] .theme-switch.is-dark::before {
  transform: translate(calc(var(--switch-width) - var(--switch-knob) - (var(--switch-offset) * 2)), -50%);
}

:root:not([data-theme="dark"]) .theme-switch.is-dark::before {
  transform: translate(calc(var(--switch-width) - var(--switch-knob) - (var(--switch-offset) * 2)), -50%);
}

.theme-option {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1;
  transition: color 180ms ease;
}

.theme-option:hover {
  color: var(--text);
}

.theme-option.is-active {
  color: var(--green-deep);
}

:root[data-theme="dark"] .theme-option.is-active {
  color: #eafff1;
}

:root[data-theme="dark"] .theme-option:not(.is-active) {
  color: var(--muted-strong);
}

.theme-option:focus-visible {
  outline: 2px solid rgba(35, 178, 107, 0.34);
  outline-offset: 2px;
}

:root[data-theme="dark"] .theme-option:focus-visible {
  outline-color: rgba(47, 212, 122, 0.34);
}

.theme-option[aria-pressed="true"] {
  pointer-events: none;
}

body:not(.no-hover) .theme-switch:hover {
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 14px 28px rgba(15, 23, 42, 0.10);
}

:root[data-theme="dark"] body:not(.no-hover) .theme-switch:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.28);
}

.theme-option::after {
  content: "";
  position: absolute;
  inset: 9px 12px;
  border-radius: 999px;
  opacity: 0;
  background: radial-gradient(circle, rgba(35, 178, 107, 0.16), transparent 72%);
  transition: opacity 180ms ease;
}

.theme-option.is-active::after {
  opacity: 1;
}

:root[data-theme="dark"] .theme-option.is-active::after {
  background: radial-gradient(circle, rgba(47, 212, 122, 0.20), transparent 72%);
}

.theme-option {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

:root[data-theme="dark"] .theme-option {
  text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {

  .theme-switch,
  .theme-switch::before,
  .theme-option,
  .theme-option::after {
    transition: none;
  }
}

main {
  gap: 28px;
}

.hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
}

.requirements-section,
.section-grid,
.preview-section {
  display: none;
}

@media (max-width: 820px) {
  .theme-switch {
    order: 2;
  }
}

:root[data-theme="dark"] .brand-mark,
:root[data-theme="dark"] .button-primary,
:root[data-theme="dark"] .topnav .nav-cta {
  color: #04110a;
}

:root:not([data-theme="dark"]) .brand-mark,
:root:not([data-theme="dark"]) .button-primary,
:root:not([data-theme="dark"]) .topnav .nav-cta {
  color: #052613;
}

:root:not([data-theme="dark"]) .window-bar span:nth-child(1) {
  background: #fb7185;
}

:root:not([data-theme="dark"]) .window-bar span:nth-child(2) {
  background: #f59e0b;
}

:root:not([data-theme="dark"]) .window-bar span:nth-child(3) {
  background: #22c55e;
}

:root:not([data-theme="dark"]) .download-name {
  color: #103322;
}

:root:not([data-theme="dark"]) code {
  color: #11663d;
  background: rgba(35, 178, 107, 0.10);
  border-color: rgba(35, 178, 107, 0.18);
}

:root[data-theme="dark"] code {
  color: #dbfce7;
  background: rgba(47, 212, 122, 0.12);
  border-color: rgba(47, 212, 122, 0.22);
}

:root[data-theme="dark"] .section-label,
:root[data-theme="dark"] .eyebrow {
  color: #b5f5cf;
}

:root:not([data-theme="dark"]) .section-label,
:root:not([data-theme="dark"]) .eyebrow {
  color: #16814b;
}

:root:not([data-theme="dark"]) .badge-green {
  color: #15803d;
}

:root:not([data-theme="dark"]) .badge-blue {
  color: #1d4ed8;
}

:root:not([data-theme="dark"]) .badge-orange {
  color: #c2410c;
}

:root:not([data-theme="dark"]) .hero-meta li::before,
:root:not([data-theme="dark"]) .requirements-card li::before {
  box-shadow: 0 0 12px rgba(35, 178, 107, 0.22);
}

:root[data-theme="dark"] .hero-meta li::before {
  box-shadow: 0 0 12px rgba(47, 212, 122, 0.5);
}

:root:not([data-theme="dark"]) .topnav a:hover {
  background: rgba(15, 23, 42, 0.05);
}

:root:not([data-theme="dark"]) .button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.10);
}

:root:not([data-theme="dark"]) .button-secondary:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.16);
}

:root:not([data-theme="dark"]) .feature-card,
:root:not([data-theme="dark"]) .step-card,
:root:not([data-theme="dark"]) .requirements-card,
:root:not([data-theme="dark"]) .download-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 249, 0.88));
}

:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .step-card,
:root[data-theme="dark"] .requirements-card,
:root[data-theme="dark"] .download-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

:root:not([data-theme="dark"]) .trust-strip>div {
  background: rgba(255, 255, 255, 0.74);
}

:root[data-theme="dark"] .trust-strip>div {
  background: rgba(255, 255, 255, 0.03);
}

:root:not([data-theme="dark"]) .footer,
:root:not([data-theme="dark"]) .hero,
:root:not([data-theme="dark"]) .trust-strip,
:root:not([data-theme="dark"]) .section-grid,
:root:not([data-theme="dark"]) .preview-section,
:root:not([data-theme="dark"]) .steps-section,
:root:not([data-theme="dark"]) .requirements-section {
  background: var(--panel);
}

:root[data-theme="dark"] .footer,
:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .trust-strip,
:root[data-theme="dark"] .section-grid,
:root[data-theme="dark"] .preview-section,
:root[data-theme="dark"] .steps-section,
:root[data-theme="dark"] .requirements-section {
  background: var(--panel);
}

:root:not([data-theme="dark"]) .download-card {
  background:
    radial-gradient(circle at top right, rgba(35, 178, 107, 0.14), transparent 38%),
    var(--download-surface);
}

:root[data-theme="dark"] .download-card {
  background:
    radial-gradient(circle at top right, rgba(47, 212, 122, 0.16), transparent 38%),
    var(--download-surface);
}

:root:not([data-theme="dark"]) .window-card {
  border-color: var(--window-line);
  background: linear-gradient(180deg, var(--window-bg-top), var(--window-bg-bottom));
}

:root[data-theme="dark"] .window-card {
  border-color: var(--window-line);
  background: linear-gradient(180deg, var(--window-bg-top), var(--window-bg-bottom));
}

:root:not([data-theme="dark"]) .window-bar {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: var(--window-bar-bg);
}

:root[data-theme="dark"] .window-bar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: var(--window-bar-bg);
}

:root:not([data-theme="dark"]) .window-bar p,
:root:not([data-theme="dark"]) .hero-panel::before {
  color: var(--window-bar-text);
}

:root[data-theme="dark"] .window-bar p {
  color: var(--window-bar-text);
}

:root:not([data-theme="dark"]) .hero-panel::before {
  background: linear-gradient(135deg, rgba(35, 178, 107, 0.22), rgba(37, 99, 235, 0.12));
}

:root[data-theme="dark"] .hero-panel::before {
  background: linear-gradient(135deg, rgba(47, 212, 122, 0.28), rgba(59, 130, 246, 0.14));
}

:root:not([data-theme="dark"]) .hero::before {
  background: radial-gradient(circle, rgba(35, 178, 107, 0.16), transparent 66%);
}

:root[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(47, 212, 122, 0.22), transparent 66%);
}

:root:not([data-theme="dark"]) .page-shell::before {
  background: linear-gradient(135deg, rgba(35, 178, 107, 0.10), rgba(59, 130, 246, 0.06) 48%, transparent 82%);
}

:root[data-theme="dark"] .page-shell::before {
  background: linear-gradient(135deg, rgba(47, 212, 122, 0.12), rgba(59, 130, 246, 0.08) 48%, transparent 82%);
}

:root:not([data-theme="dark"]) .download-card {
  border-color: var(--download-border);
}

:root[data-theme="dark"] .download-card {
  border-color: var(--download-border);
}

:root:not([data-theme="dark"]) .topbar {
  background: var(--topbar-bg);
}

:root[data-theme="dark"] .topbar {
  background: var(--topbar-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 92%);
  opacity: 0.4;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06) 0, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0, transparent 1.6px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.04) 0, transparent 1.8px);
  background-size: 180px 180px, 220px 220px, 200px 200px;
  opacity: 0.18;
}

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

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

code {
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.92em;
  color: #dbfce7;
  background: rgba(47, 212, 122, 0.12);
  border: 1px solid rgba(47, 212, 122, 0.22);
}

.page-shell {
  position: relative;
  width: min(calc(100% - 40px), var(--shell-width));
  margin: 20px auto 40px;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 88px 0 auto;
  height: 520px;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(47, 212, 122, 0.12), rgba(59, 130, 246, 0.08) 48%, transparent 82%);
  filter: blur(8px);
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(6, 14, 22, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 130px;
  height: 65px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

:root:not([data-theme="dark"]) .brand-mark img {
  filter: drop-shadow(0 2px 8px rgba(35, 178, 107, 0.10));
}

:root[data-theme="dark"] .brand-mark img {
  filter: drop-shadow(0 2px 8px rgba(47, 212, 122, 0.16));
}

.footer>p {
  display: none;
}

.footer {
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .brand-mark {
    width: 90px;
    height: 45px;
  }
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.84rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  color: var(--muted-strong);
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.topnav .nav-cta {
  color: #04110a;
  font-weight: 700;
  background: linear-gradient(135deg, #7bf7b3 0%, #2fd47a 100%);
  box-shadow: 0 12px 28px rgba(47, 212, 122, 0.28);
}

.topnav .nav-cta:hover {
  color: #04110a;
  background: linear-gradient(135deg, #8af9bd 0%, #34de82 100%);
}

main {
  display: grid;
  gap: 34px;
  margin-top: 34px;
}

.hero,
.trust-strip,
.section-grid,
.preview-section,
.steps-section,
.requirements-section,
.footer {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.hero,
.section-grid,
.preview-section,
.steps-section,
.requirements-section,
.footer {
  border-radius: var(--radius-xl);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: center;
  gap: 40px;
  padding: 52px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -110px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 212, 122, 0.22), transparent 66%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #b5f5cf;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.82;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}

.badge-green {
  color: #74f2ad;
  background: rgba(47, 212, 122, 0.12);
  border-color: rgba(47, 212, 122, 0.24);
}

.badge-blue {
  color: #89c6ff;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.24);
}

.badge-orange {
  color: #ffc18f;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: #04110a;
  background: linear-gradient(135deg, #86fabe 0%, #2fd47a 100%);
  box-shadow: 0 16px 30px rgba(47, 212, 122, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 40px rgba(47, 212, 122, 0.34);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-meta {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-meta li {
  position: relative;
  padding-left: 20px;
  font-size: 0.96rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(47, 212, 122, 0.5);
}

.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 28px -12px -20px 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(47, 212, 122, 0.28), rgba(59, 130, 246, 0.14));
  filter: blur(30px);
  opacity: 0.7;
}

.window-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(15, 24, 36, 0.98), rgba(9, 16, 25, 0.96));
  box-shadow: var(--shadow-lg);
}

.window-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03));
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.window-bar span:nth-child(1) {
  background: #f87171;
}

.window-bar span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:nth-child(3) {
  background: #4ade80;
}

.window-bar p {
  margin: 0 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.window-card img {
  width: 100%;
  height: auto;
}

.compact-card {
  transform: perspective(1600px) rotateY(-10deg) rotateX(4deg);
  transform-origin: center left;
}

.compact-card img {
  aspect-ratio: 1.41;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
}

.trust-strip>div {
  display: grid;
  gap: 8px;
  padding: 26px 28px;
  background: rgba(255, 255, 255, 0.03);
}

.trust-strip>div+div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.65;
}

.section-grid,
.preview-section,
.steps-section,
.requirements-section,
.footer {
  padding: 38px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 30px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p:not(.section-label) {
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.8;
}

.section-heading.narrow {
  max-width: 760px;
}

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

.feature-card,
.step-card,
.requirements-card,
.download-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.feature-card,
.step-card {
  min-height: 220px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.feature-card::before,
.step-card::before,
.requirements-card::before,
.download-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.feature-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
}

.feature-index,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(47, 212, 122, 0.24);
  background: rgba(47, 212, 122, 0.1);
  color: #9ef5c1;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.feature-card h3,
.step-card h3,
.download-card h3 {
  margin: 18px 0 0;
  font-size: 1.22rem;
}

.feature-card p,
.step-card p,
.download-card p,
.requirements-card li,
.footer p {
  color: var(--muted-strong);
  line-height: 1.8;
}

.feature-card p,
.step-card p {
  margin: 12px 0 0;
}

.preview-section {
  display: grid;
  gap: 26px;
}

.large-card img {
  aspect-ratio: 1.75;
  object-fit: cover;
}

.steps-section {
  display: grid;
  gap: 26px;
}

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

.requirements-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
}

.requirements-card,
.download-card {
  padding: 28px;
}

.requirements-card ul {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.requirements-card li {
  position: relative;
  padding-left: 20px;
}

.requirements-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a7f3d0, #2fd47a);
}

.download-card {
  background:
    radial-gradient(circle at top right, rgba(47, 212, 122, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(17, 31, 24, 0.9), rgba(12, 23, 19, 0.94));
  border-color: rgba(47, 212, 122, 0.18);
}

.download-name {
  margin: 12px 0 0;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 1.58rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #effef5;
}

.download-meta {
  margin: 10px 0 22px;
}

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

.footer strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .compact-card {
    transform: none;
  }

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

  .requirements-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--shell-width));
    margin-top: 12px;
  }

  .topbar {
    top: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: space-between;
  }

  .trust-strip,
  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip>div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-grid,
  .preview-section,
  .steps-section,
  .requirements-section,
  .footer {
    padding: 28px;
  }

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

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top, var(--hero-glow), transparent 24%),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, #ffffff 100%);
  }

  :root[data-theme="dark"] body {
    background:
      radial-gradient(circle at top, var(--hero-glow), transparent 24%),
      linear-gradient(180deg, #0a1621 0%, #07111a 48%, #050c13 100%);
  }

  .hero {
    padding: 26px;
    gap: 26px;
  }

  .hero h1,
  .section-heading h2,
  .download-name {
    word-break: break-word;
  }

  .hero-actions,
  .topnav {
    gap: 10px;
  }

  .button,
  .topnav .nav-cta {
    width: 100%;
  }

  .topnav a {
    width: calc(50% - 5px);
    text-align: center;
  }

  .topnav a:nth-child(1),
  .topnav a:nth-child(2),
  .topnav a:nth-child(3) {
    width: calc(33.333% - 7px);
    min-width: 82px;
  }

  .hero-meta {
    gap: 8px;
  }

  .section-grid,
  .preview-section,
  .steps-section,
  .requirements-section,
  .footer {
    padding: 22px;
  }

  .feature-card,
  .step-card,
  .requirements-card,
  .download-card {
    border-radius: 18px;
  }

  .window-card {
    border-radius: 20px;
  }
}

.platform-footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 30px;
}

.platform-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.platform-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}

.platform-brand div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.platform-brand strong {
  color: var(--text);
  font-size: 1rem;
}

.platform-brand a,
.platform-info a {
  color: var(--green-deep);
  font-weight: 700;
}

:root[data-theme="dark"] .platform-brand a,
:root[data-theme="dark"] .platform-info a {
  color: #9ef5c1;
}

.platform-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.6;
}

.platform-info p {
  margin: 0;
}

.platform-info p+p::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 0;
  border-radius: 999px;
  background: var(--muted);
  opacity: 0.55;
}

@media (max-width: 820px) {
  .platform-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .platform-info {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 20px;
  }

  .brand {
    grid-column: 1;
    display: flex;
    align-items: center;
    width: 90px;
    height: 45px;
    gap: 0;
  }

  .brand-mark {
    width: 90px;
    height: 45px;
  }

  .topnav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
  }

  .topnav > a[href="#steps"] {
    display: none;
  }

  .theme-switch {
    order: 1;
    flex: 0 0 auto;
  }

  .theme-option {
    display: inline-grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 0.88rem;
    line-height: 1;
    text-align: center;
  }

  .topnav .nav-cta {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 82px;
    height: 34px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.86rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(47, 212, 122, 0.22);
  }

  .topnav a {
    width: auto;
    text-align: center;
  }
}

