:root {
  color-scheme: dark;
  --bg: #0d0b10;
  --bg-soft: #151119;
  --surface: rgba(21, 17, 25, 0.74);
  --surface-strong: rgba(28, 22, 33, 0.9);
  --surface-bright: rgba(255, 244, 230, 0.06);
  --line: rgba(255, 241, 223, 0.12);
  --line-strong: rgba(255, 241, 223, 0.22);
  --text: #f5efe7;
  --muted: #c7bbaf;
  --accent: #d7ad74;
  --accent-2: #82a5a5;
  --accent-3: #f1ddd0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(130, 165, 165, 0.11), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(215, 173, 116, 0.12), transparent 28%),
    linear-gradient(180deg, #110d12 0%, #0d0b10 54%, #0a0910 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.7px),
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 60%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.8px),
    radial-gradient(circle at 28% 72%, rgba(130, 165, 165, 0.18) 0 1px, transparent 1.8px),
    radial-gradient(circle at 60% 38%, rgba(215, 173, 116, 0.2) 0 1px, transparent 1.8px);
  opacity: 0.5;
}

body::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent, black 16%, black 84%, transparent);
  opacity: 0.3;
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header,
.hero,
.section,
.quote-band,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

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

.brand-name,
.brand-subtitle,
.eyebrow,
.section-kicker,
.panel-label,
.feature-tag {
  letter-spacing: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.8rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.97rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  min-height: 42px;
  padding: 0 16px;
  background: rgba(255, 244, 230, 0.08);
  border-color: var(--line);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 34px 0 76px;
}

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

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dt,
dd,
li,
strong,
span {
  letter-spacing: 0;
}

h1,
h2,
.download-name {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

h1 {
  margin: 14px 0 0;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.92;
  font-weight: 600;
}

.hero-lead {
  margin: 18px 0 0;
  color: var(--accent-3);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.6;
}

.hero-copy {
  width: min(100%, 640px);
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.95;
}

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

.button.primary {
  min-width: 170px;
  background: linear-gradient(135deg, #fff6ec 0%, #ecd8bf 100%);
  color: #17120f;
  box-shadow: 0 18px 46px rgba(215, 173, 116, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(135deg, #fffaf3 0%, #f3e1ca 100%);
}

.button.secondary {
  min-width: 170px;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.button.wide {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 14px;
  width: min(100%, 580px);
  margin: 34px 0 0;
  padding: 16px;
  background: rgba(24, 18, 29, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-meta div {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-meta dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-meta dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.hero-orbit {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 173, 116, 0.18) 0%, rgba(130, 165, 165, 0.1) 42%, transparent 74%);
  filter: blur(12px);
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 241, 223, 0.12);
}

.orbit-ring-outer {
  width: min(44vw, 500px);
  aspect-ratio: 1;
  box-shadow: inset 0 0 0 1px rgba(215, 173, 116, 0.04);
  animation: drift 18s linear infinite;
}

.orbit-ring-middle {
  width: min(34vw, 390px);
  aspect-ratio: 1;
  border-color: rgba(130, 165, 165, 0.18);
  animation: drift-reverse 14s linear infinite;
}

.orbit-ring-inner {
  width: min(24vw, 278px);
  aspect-ratio: 1;
  border-color: rgba(255, 241, 223, 0.18);
}

.hero-core {
  position: relative;
  width: min(23vw, 250px);
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 244, 230, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 241, 223, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.orbit-caption {
  position: absolute;
  color: var(--muted);
  font-size: 0.86rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 14, 18, 0.68);
  border: 1px solid rgba(255, 241, 223, 0.09);
  backdrop-filter: blur(12px);
}

.orbit-caption-top {
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-caption-right {
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
}

.orbit-caption-bottom {
  bottom: 15%;
  left: 14%;
}

.quote-band {
  padding: 0 0 72px;
}

.quote-band p {
  margin: 0;
  max-width: 760px;
  color: var(--accent-3);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.8;
}

.section {
  padding: 0 0 92px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-head.compact {
  margin-bottom: 22px;
}

h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  font-weight: 600;
}

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

.feature-card,
.download-panel,
.steps-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 244, 230, 0.04), transparent 54%),
    var(--surface-strong);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  margin-bottom: 20px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.82rem;
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 241, 223, 0.08);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.feature-card p,
.download-note,
.steps-list span,
.footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.download-panel,
.steps-panel {
  padding: 30px;
  background: var(--surface);
  backdrop-filter: blur(16px);
}

.download-name {
  margin: 12px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.download-note {
  margin-bottom: 22px;
}

.download-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.download-hint span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent-3);
  font-size: 0.82rem;
  background: rgba(255, 244, 230, 0.05);
  border: 1px solid rgba(255, 241, 223, 0.08);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps-list li {
  display: grid;
  gap: 6px;
  padding-left: 24px;
  position: relative;
}

.steps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(215, 173, 116, 0.32);
}

.steps-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 30px;
  border-top: 1px solid rgba(255, 241, 223, 0.08);
}

.footer-brand {
  margin: 22px 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-link {
  color: var(--accent-3);
  font-size: 0.94rem;
}

:focus-visible {
  outline: 2px solid rgba(215, 173, 116, 0.95);
  outline-offset: 3px;
}

@keyframes drift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
  }

  .hero-copy-column {
    order: 2;
  }

  .hero-orbit {
    order: 1;
    min-height: 480px;
  }

  .hero-core {
    width: min(42vw, 240px);
  }

  .orbit-ring-outer {
    width: min(72vw, 460px);
  }

  .orbit-ring-middle {
    width: min(56vw, 340px);
  }

  .orbit-ring-inner {
    width: min(40vw, 240px);
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .section,
  .quote-band,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header,
  .site-footer,
  .header-actions {
    flex-wrap: wrap;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 360px;
  }

  .orbit-caption-right {
    right: 2%;
  }

  .orbit-caption-bottom {
    left: 8%;
  }

  .feature-card,
  .download-panel,
  .steps-panel {
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header-cta,
  .button,
  .header-link {
    transition: none;
  }

  .orbit-ring-outer,
  .orbit-ring-middle {
    animation: none;
  }
}
