:root {
  --bg: #05070b;
  --bg-soft: #0b1017;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --text: #f5f7fb;
  --muted: #a9b3c2;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --max: 1240px;
  --blur: blur(18px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(88, 116, 255, 0.12), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 50% 85%, rgba(70, 120, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #05070b 0%, #090d14 45%, #05070b 100%);
  z-index: -1;
}

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

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

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

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

.narrow {
  max-width: 900px;
}

.narrow-text {
  max-width: 760px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(6, 8, 13, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.topnav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topnav a {
  color: #dce4ee;
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn,
.github-link {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.section-first {
  padding-top: 56px;
}

.section {
  padding: 90px 0;
}

.hero-inner {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-tag,
.section-kicker {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #dbe7f4;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-subtitle,
.section-desc,
.feature-card p,
.platform-card p,
.process-item p,
.footer p,
.release-status,
.release-notes,
.release-date {
  color: var(--muted);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 21px);
  max-width: 640px;
  margin: 0;
}

.hero-actions,
.final-actions,
.release-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  color: #d7e1eb;
  font-size: 13px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  transition: all 0.22s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: #0a0e14;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f6f8fb;
  border-color: var(--line);
}

.btn-block {
  width: 100%;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.device {
  position: relative;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}

.device-large {
  width: min(100%, 620px);
}

.device-large img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  background: #0b1118;
}

.intro-section {
  padding-top: 40px;
}

.section-title {
  margin: 18px 0 14px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

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

.feature-card,
.platform-card,
.gallery-card,
.final-cta-box,
.release-box {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

.feature-card,
.platform-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #d7e2ee;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-card h3,
.platform-card .platform-name,
.process-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gallery-card.large {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #0c1219;
}

.gallery-card figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: #dde6ef;
  background: rgba(255, 255, 255, 0.02);
}

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

.release-box {
  border-radius: 28px;
  padding: 28px;
  margin-top: 24px;
}

.release-status {
  font-size: 15px;
}

.release-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.release-version-label,
.release-date-label,
.release-notes-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7e2ee;
  margin-bottom: 8px;
}

.release-version {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.release-notes-wrap {
  margin-top: 18px;
}

.release-notes {
  margin-top: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.process-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
}

.process-item span {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  font-weight: 700;
}

.final-cta {
  padding-top: 30px;
}

.final-cta-box {
  border-radius: 32px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

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

.footer-brand {
  font-size: 18px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #dfe7ef;
}

@media (max-width: 1120px) {
  .hero-inner,
  .feature-grid,
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-inner {
    align-items: start;
  }

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

  .gallery-card.large {
    grid-row: span 1;
  }

  .final-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .topnav {
    display: none;
  }

  .hero-inner,
  .feature-grid,
  .platform-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero h1 {
    font-size: 46px;
  }

  .brand-name {
    display: none;
  }

  .release-top {
    flex-direction: column;
  }
}
