:root {
  --bg: #0B0B16;
  --bg-2: #101326;
  --panel: rgba(18, 22, 42, 0.82);
  --panel-solid: #14182d;
  --text: #f5f7ff;
  --muted: #b7c2d9;
  --blue: #00D2FF;
  --pink: #FF007F;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 80px rgba(0, 210, 255, 0.12);
  --radius: 8px;
  --pill: 999px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 210, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 86% 22%, rgba(255, 0, 127, 0.12), transparent 26rem),
    var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    background-attachment: fixed;
  }
}

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.95em;
  height: 1.95em;
  flex: 0 0 auto;
  padding: 0.38em;
  border-radius: 50%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--blue);
  color: #041018;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 22, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 28px, var(--max));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  color: #dce6ff;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, text-shadow 0.2s ease;
}

.nav-menu a .icon {
  color: var(--blue);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--blue);
  border-color: rgba(0, 210, 255, 0.75);
  background: rgba(0, 210, 255, 0.06);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.18), inset 0 0 0 1px rgba(0, 210, 255, 0.18);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.58);
  outline: none;
}

.quick-grid a:hover .icon,
.quick-grid a:focus-visible .icon,
.footer-grid a:hover .icon,
.footer-grid a:focus-visible .icon,
.btn:hover .icon,
.btn:focus-visible .icon {
  color: #061018;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.45);
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  color: #061018;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #86f0ff);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.32);
  font-weight: 800;
  border-radius: var(--pill);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: #061018;
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #70ecff, #ffffff);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  text-shadow: none;
}

.nav-menu .nav-cta .icon {
  color: #061018;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease, background-color 0.22s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span {
  background: var(--blue);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section,
.hero {
  padding: 88px 0;
}

.section-dark {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(8, 10, 22, 0.56);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background:
    linear-gradient(90deg, rgba(11, 11, 22, 0.96), rgba(11, 11, 22, 0.42)),
    url("img/cover.webp") center / cover no-repeat;
  filter: saturate(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid,
.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 46px;
  align-items: center;
  z-index: 1;
}

.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 8%, var(--blue) 48%, var(--pink) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 34px rgba(0, 210, 255, 0.22);
}

h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #ffffff 54%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(0, 210, 255, 0.18);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: min(100%, 168px);
  height: 3px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--blue), var(--pink));
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.34);
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-lead {
  max-width: 720px;
  font-size: 18px;
  color: #dfe8ff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--pill);
  font-weight: 800;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -42% auto -42% -75%;
  width: 56%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.btn .icon {
  width: 30px;
  height: 30px;
}

.btn-primary {
  color: #061018;
  background: linear-gradient(135deg, var(--blue), #8ef4ff);
  box-shadow: 0 0 28px rgba(0, 210, 255, 0.34);
  border-radius: var(--pill);
}

.btn-primary .icon,
.nav-menu .nav-cta .icon {
  color: #061018;
  background: rgba(255, 255, 255, 0.32);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn:hover::after,
.btn:focus-visible::after {
  animation: button-shine 0.82s ease forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.hero-media,
.screen-card,
.gallery-item {
  margin: 0;
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-media img,
.screen-card img,
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.42s ease;
}

.hero-media:hover,
.screen-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.52);
  box-shadow: 0 30px 96px rgba(0, 210, 255, 0.18), 0 0 0 1px rgba(255, 0, 127, 0.18);
}

.hero-media:hover img,
.screen-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.safe-crop.crop-phone img {
  object-position: 0% 50%;
}

.safe-crop.crop-ui img {
  object-position: 0% 50%;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.quick-nav {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

.quick-grid a {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 18px 12px;
  color: #dfe8ff;
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--pill);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.quick-grid a:hover,
.quick-grid a:focus-visible {
  color: #fff;
  background: rgba(0, 210, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 210, 255, 0.3), 0 14px 36px rgba(0, 210, 255, 0.1);
  transform: translateY(-2px);
  outline: none;
}

.quick-grid span {
  display: block;
  grid-column: 2;
  color: var(--pink);
  font-size: 12px;
}

.quick-grid .icon {
  grid-row: span 2;
  color: var(--blue);
  width: 34px;
  height: 34px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 760px;
}

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

.info-card,
.feature-list article,
.steps article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, background-color 0.26s ease;
}

.info-card,
.feature-list article,
.steps article {
  padding: 22px;
}

.info-card:hover,
.feature-list article:hover,
.steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.42);
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.08), rgba(255, 255, 255, 0.055));
  box-shadow: 0 20px 54px rgba(0, 210, 255, 0.12), inset 0 0 0 1px rgba(255, 0, 127, 0.12);
}

.info-card:hover .card-icon,
.feature-list article:hover h3,
.steps article:hover h3 {
  color: var(--blue);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #061018;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  font-weight: 900;
}

.steps {
  display: grid;
  gap: 14px;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.timeline li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 0, 127, 0.38);
  background: rgba(255, 0, 127, 0.055);
  box-shadow: 0 18px 44px rgba(255, 0, 127, 0.1);
}

.timeline time {
  color: var(--blue);
  font-weight: 900;
}

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

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(0, 210, 255, 0.42);
  background: rgba(0, 210, 255, 0.055);
  box-shadow: 0 16px 40px rgba(0, 210, 255, 0.1);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 800;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.faq-list summary:hover {
  color: var(--blue);
}

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

.cta-band {
  padding: 54px 0;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.14), rgba(255, 0, 127, 0.12));
  border-block: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.friend-links {
  position: relative;
  padding: 66px 0 72px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 48% 35%, rgba(0, 210, 255, 0.16), transparent 22rem),
    linear-gradient(115deg, #151323 0%, rgba(0, 210, 255, 0.28) 46%, rgba(255, 0, 127, 0.58) 100%),
    var(--bg);
}

.friend-links::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 22, 0.86), rgba(11, 11, 22, 0.2), rgba(11, 11, 22, 0.74)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 18rem);
  pointer-events: none;
}

.friend-links-inner {
  position: relative;
  text-align: center;
}

.friend-links h2 {
  margin-bottom: 34px;
}

.friend-links h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  color: #061018;
  border-color: rgba(0, 210, 255, 0.84);
  background: linear-gradient(135deg, var(--blue), #ffffff);
  box-shadow: 0 18px 50px rgba(0, 210, 255, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  outline: none;
}

.site-footer {
  padding: 42px 0;
  background: #070711;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-grid a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-grid a .icon {
  color: var(--blue);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--blue);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.45);
  outline: none;
}

@keyframes button-shine {
  0% {
    left: -75%;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(11, 11, 22, 0.96);
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .section,
  .hero {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats,
  .content-grid,
  .feature-list,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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