:root {
  --bg: #0b1020;
  --bg-soft: #11172d;
  --panel: rgba(18, 24, 48, 0.88);
  --panel-strong: #151c35;
  --panel-alt: #1b2443;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f3ff;
  --muted: #b8c0e0;
  --muted-2: #8e98bf;
  --primary: #ff6b8b;
  --primary-2: #ff9b6b;
  --secondary: #8b6dff;
  --secondary-2: #5ad7ff;
  --accent: #ffd166;
  --success: #58d68d;
  --danger: #ff7d6e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 109, 255, 0.24), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(255, 107, 139, 0.22), transparent 25%),
    radial-gradient(circle at 85% 70%, rgba(90, 215, 255, 0.18), transparent 25%),
    linear-gradient(180deg, #080d1a 0%, #0b1020 55%, #0a0f1d 100%);
  overflow-x: hidden;
}

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

body::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 100%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 100%);
  background-size: 26px 26px, 32px 32px;
  opacity: 0.3;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

body::after {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%);
  background-size: 22px 22px;
  opacity: 0.12;
  transform: translate3d(0, 0, 0);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1f33;
  font-weight: 800;
}

.skip-link:focus {
  left: 1rem;
}

.page-shell {
  position: relative;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 24, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
}

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

.brand img {
  width: auto;
  height: 46px;
  max-width: 156px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

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

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  max-width: min(100%, 74vw);
  scrollbar-width: none;
}

.site-nav ul::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-pill {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(139, 109, 255, 0.28);
}

.hero {
  position: relative;
  padding: 4.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.hero h1,
.section-title h2,
.feature-title,
.page-title {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 4.6vw, 5.3rem);
  max-width: 12ch;
  font-family: "Arial Black", "Microsoft YaHei", "Segoe UI", sans-serif;
}

.hero p {
  margin: 1.1rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.82rem 1.3rem;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 16px 35px rgba(255, 107, 139, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% 10% 6%;
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 107, 139, 0.22), rgba(139, 109, 255, 0.12)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 45%);
  filter: blur(8px);
  opacity: 0.9;
}

.phone-stack {
  position: relative;
  width: min(100%, 540px);
  display: grid;
  gap: 1rem;
}

.phone-frame {
  position: relative;
  margin: 0 auto;
  width: min(100%, 360px);
  border-radius: 36px;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  background: #121829;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: -3%;
  bottom: 12%;
  width: min(260px, 45%);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(18, 24, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card .mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.mini-tags span,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-card.alt {
  left: -4%;
  right: auto;
  top: 6%;
  bottom: auto;
  width: min(230px, 40%);
}

.stats-strip {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.feature-card,
.note-card,
.review-card,
.screenshot-card,
.info-card,
.faq-card,
.section-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1rem 1.1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-section {
  padding: 1.2rem 0 2.6rem;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-title h2,
.page-title {
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.feature-card,
.note-card,
.info-card,
.faq-card,
.section-panel,
.review-card,
.screenshot-card {
  padding: 1.15rem;
}

.feature-card::after,
.note-card::after,
.info-card::after,
.review-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
}

.feature-card h3,
.note-card h3,
.info-card h3,
.review-card h3,
.faq-card summary,
.screenshot-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card p,
.note-card p,
.info-card p,
.review-card p,
.faq-card p,
.screenshot-card p,
.section-panel p,
.section-panel li {
  color: var(--muted);
}

.feature-card ul,
.section-panel ul,
.section-panel ol,
.info-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.feature-card li + li,
.section-panel li + li {
  margin-top: 0.35rem;
}

.comic-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.33rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 139, 0.18), rgba(139, 109, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffd9e2;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.section-panel h3,
.feature-card h3 {
  margin-bottom: 0.45rem;
}

.section-panel .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.section-panel .panel-head p {
  margin: 0;
}

.section-panel .panel-head .badge {
  white-space: nowrap;
}

.callout {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(90, 215, 255, 0.12), rgba(255, 107, 139, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.callout strong {
  display: block;
  margin-bottom: 0.3rem;
}

.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  list-style: none;
  margin: 0 0 1rem;
  padding: 1rem 1rem 1rem 3.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 900;
}

.steps li strong {
  display: block;
  margin-bottom: 0.2rem;
}

.faq-grid {
  display: grid;
  gap: 0.9rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 800;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-card[open] summary::after {
  content: "–";
}

.faq-card p {
  margin: 0.8rem 0 0;
}

.screenshot-grid {
  display: grid;
  gap: 1rem;
}

.shot {
  display: grid;
  gap: 0.85rem;
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.shot .caption {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.shot .caption p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.download-box {
  display: grid;
  gap: 1rem;
}

.download-card {
  padding: 1.15rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 107, 139, 0.12), rgba(139, 109, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-card h3 {
  margin: 0;
}

.download-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.download-list {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-item {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.download-item strong {
  display: block;
}

.download-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

td {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.review-grid {
  display: grid;
  gap: 1rem;
}

.review-card blockquote {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.review-card footer {
  margin-top: 0.9rem;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 21, 0.78);
}

.footer .wrap {
  padding: 1.7rem 0 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: 1.2rem;
}

.footer p,
.footer li,
.footer a {
  color: var(--muted);
}

.footer ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.footer li + li {
  margin-top: 0.45rem;
}

.footer .mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer .mini-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
  font-size: 0.92rem;
}

.related-links {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.related-links strong {
  display: block;
}

.related-links span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  padding: 3rem 0 1.2rem;
}

.page-hero .panel {
  padding: 1.4rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 107, 139, 0.15), rgba(139, 109, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.page-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.page-hero p {
  margin: 1rem 0 0;
  max-width: 70ch;
  color: var(--muted);
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 96px;
}

.article {
  display: grid;
  gap: 1rem;
}

.article p {
  margin: 0;
}

.article .lead {
  font-size: 1.06rem;
}

.article h2,
.article h3 {
  margin: 0 0 0.45rem;
}

.article section + section {
  margin-top: 0.2rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
}

.feature-list .item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list .item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.page-links a:hover {
  color: var(--text);
}

.soft-shadow {
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.hidden-desktop {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .content-columns,
  .footer-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 540px;
  }
}

@media (max-width: 860px) {
  .site-header .wrap {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    padding: 0.6rem 0 1rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-grid,
  .content-columns,
  .footer-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .stats-strip,
  .download-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-card.alt {
    top: 2%;
    left: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 1rem));
  }

  .brand img {
    max-width: 122px;
  }

  .brand > span > span {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions,
  .section-actions {
    gap: 0.7rem;
  }

  .btn,
  .cta-pill {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone-frame {
    width: min(100%, 310px);
  }

  .hero-card {
    width: 48%;
    right: 0;
  }

  .hero-card.alt {
    width: 44%;
  }

  .shot img {
    aspect-ratio: 4 / 5;
  }
}
