:root {
  --bg: #08090b;
  --bg-soft: #0c1117;
  --surface: #121821;
  --surface-2: #17202b;
  --text: #f7fbff;
  --muted: #a8b5c2;
  --line: rgba(151, 181, 205, 0.2);
  --accent: #42d6bd;
  --gold: #f0c66a;
  --rose: #e95f6d;
  --ink: #050607;
  --max: 1180px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  background: linear-gradient(180deg, #08090b 0%, #0a0f15 44%, #08090b 100%);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 18px;
  padding: 12px max(18px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(66, 214, 189, 0.3), 0 14px 28px rgba(0, 0, 0, 0.34);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 15px;
}

.nav a {
  flex: 0 0 auto;
  color: #d9e4ed;
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(66, 214, 189, 0.44);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  white-space: nowrap;
}

.hero {
  display: grid;
  max-width: var(--max);
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 48px;
  margin: 0 auto;
  padding: 58px 20px 74px;
}

.section,
.download-section,
.about-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 20px;
}

.hero-copy,
.section-heading,
.section-copy,
.download-copy,
.about-section article,
.feature-card,
.mobile-item,
.precheck-card,
.device-table,
.step-card,
.version-card,
.value-card,
.faq-list details,
.compare-table {
  min-width: 0;
}

.eyebrow,
.section-heading > span,
.section-copy > span,
.download-copy > span,
.about-section article > span {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: 52px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 27px;
  font-weight: 800;
}

.hero-intro,
.section-copy p,
.app-section .section-heading p {
  color: #d6e0e8;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.hero-intro {
  max-width: 660px;
  margin: 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  width: min(100%, 230px);
  min-height: 64px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.button span,
.button strong {
  display: block;
  overflow-wrap: anywhere;
}

.button span {
  font-size: 12px;
}

.button strong {
  font-size: 17px;
  line-height: 1.25;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #a5ffe9);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(240, 198, 106, 0.44);
  color: var(--gold);
  background: rgba(240, 198, 106, 0.07);
}

.hero-visual,
.visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.hero-visual img,
.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 1px solid rgba(66, 214, 189, 0.22);
  border-radius: 8px;
  background: var(--surface);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.signal-row,
.info-strip,
.status-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.signal-row {
  max-width: 650px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.info-strip {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.status-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.signal-row span,
.info-strip span,
.status-card div {
  min-width: 0;
  padding: 16px;
}

.signal-row span + span,
.info-strip span + span {
  border-left: 1px solid var(--line);
}

.status-card div:nth-child(even) {
  border-left: 1px solid var(--line);
}

.status-card div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.signal-row strong,
.signal-row small,
.info-strip strong,
.info-strip small,
.status-card span,
.status-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.signal-row strong,
.info-strip strong,
.status-card strong {
  color: var(--text);
  font-size: 17px;
}

.signal-row small,
.info-strip small,
.status-card span {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2,
.section-copy h2,
.download-copy h2,
.about-section h2 {
  margin: 8px 0 10px;
  font-size: 36px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.section-heading p,
.download-copy p,
.about-section p,
.feature-card p,
.mobile-item p,
.precheck-card p,
.device-table span,
.step-card p,
.version-card p,
.value-card p,
.faq-list p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.media-section,
.guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 34px;
}

.media-section.flip,
.guide-intro {
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
}

.feature-grid,
.mobile-grid,
.step-list,
.version-grid,
.value-grid,
.precheck-grid,
.visual-pair {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mobile-grid,
.version-grid,
.value-grid,
.precheck-grid,
.visual-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-list {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid {
  grid-template-columns: repeat(4, 1fr);
}

.visual-pair {
  margin-top: 24px;
}

.mobile-grid.compact,
.version-grid.compact {
  margin-top: 22px;
}

.feature-card,
.mobile-item,
.precheck-card,
.step-card,
.version-card,
.value-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-card,
.mobile-item,
.precheck-card,
.step-card,
.version-card,
.value-card {
  padding: 20px;
}

.feature-card span,
.step-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.mobile-item h3,
.precheck-card h3,
.step-card h3,
.version-card h3,
.value-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p,
.mobile-item p,
.precheck-card p,
.step-card p,
.version-card p,
.value-card p {
  margin: 0;
}

.device-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.device-table div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.device-table div + div {
  border-top: 1px solid var(--line);
}

.device-table strong {
  color: var(--gold);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 28px;
  align-items: stretch;
}

.download-copy,
.about-section {
  border: 1px solid rgba(66, 214, 189, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(66, 214, 189, 0.11), rgba(233, 95, 109, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.download-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.download-copy .button {
  margin-top: 8px;
}

.download-section .visual-card img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.guide-section {
  display: grid;
  gap: 24px;
}

.compare-table {
  display: grid;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.compare-table div {
  display: grid;
  grid-template-columns: 110px repeat(2, minmax(0, 1fr));
}

.compare-table div + div {
  border-top: 1px solid var(--line);
}

.compare-table strong,
.compare-table span {
  min-width: 0;
  padding: 12px 14px;
  overflow-wrap: anywhere;
}

.compare-table strong + strong,
.compare-table span + span {
  border-left: 1px solid var(--line);
}

.compare-table strong {
  color: var(--gold);
}

.compare-table span {
  color: var(--muted);
}

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

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 0 18px;
}

.about-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
}

.about-mark img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.footer {
  display: flex;
  max-width: var(--max);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 20px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 8px;
    column-gap: 12px;
    padding-bottom: 0;
  }

  .hero,
  .media-section,
  .media-section.flip,
  .guide-intro {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
  }

  .feature-grid,
  .step-list,
  .value-grid,
  .precheck-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .download-section .visual-card img {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 146px;
  }

  .site-header {
    gap: 12px;
  }

  .brand strong {
    font-size: 16px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 38px;
  }

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

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-intro,
  .section-copy p,
  .app-section .section-heading p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .signal-row,
  .info-strip,
  .status-card,
  .feature-grid,
  .mobile-grid,
  .step-list,
  .version-grid,
  .value-grid,
  .precheck-grid,
  .visual-pair {
    grid-template-columns: 1fr;
  }

  .signal-row span + span,
  .info-strip span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .status-card div:nth-child(even) {
    border-left: 0;
  }

  .status-card div + div {
    border-top: 1px solid var(--line);
  }

  .section,
  .download-section,
  .about-section {
    padding: 58px 18px;
  }

  .section-heading h2,
  .section-copy h2,
  .download-copy h2,
  .about-section h2 {
    font-size: 29px;
  }

  .device-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-table div {
    grid-template-columns: 1fr;
  }

  .compare-table strong + strong,
  .compare-table span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-section {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

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

@media (max-width: 430px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav {
    row-gap: 8px;
    column-gap: 11px;
  }

  .nav a {
    font-size: 12px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 7px 10px;
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .hero-subtitle {
    font-size: 20px;
  }

  .section,
  .download-section,
  .about-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .download-copy,
  .feature-card,
  .mobile-item,
  .precheck-card,
  .step-card,
  .version-card,
  .value-card {
    padding: 18px;
  }
}
