:root {
  --void: #04060e;
  --ink: #08101c;
  --panel: rgba(12, 20, 40, 0.58);
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(180, 220, 255, 0.16);
  --cyan: #3df0ff;
  --violet: #7a63ff;
  --warm: #ffe7b8;
  --text: #eef5ff;
  --muted: #97aac4;
  --danger: #ffb4a8;
  --wrap: 1140px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  background:
    radial-gradient(1200px 640px at 12% -10%, rgba(122, 99, 255, 0.22), transparent 58%),
    radial-gradient(900px 520px at 92% 8%, rgba(61, 240, 255, 0.14), transparent 50%),
    linear-gradient(180deg, #070b16 0%, var(--void) 42%, #060914 100%);
  min-height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #c9fbff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  padding: 0.55rem 0.9rem;
  background: var(--cyan);
  color: #041018;
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.scene > .wrap,
.scene > .page-hero {
  position: relative;
  z-index: 1;
}

.bokeh,
.beam,
.floor {
  position: absolute;
  pointer-events: none;
}

.bokeh {
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
}

.b1 {
  width: 180px;
  height: 180px;
  left: 8%;
  top: 18%;
  background: rgba(61, 240, 255, 0.28);
}

.b2 {
  width: 120px;
  height: 120px;
  right: 14%;
  top: 12%;
  background: rgba(122, 99, 255, 0.34);
}

.b3 {
  width: 70px;
  height: 70px;
  right: 28%;
  bottom: 18%;
  background: rgba(255, 231, 184, 0.22);
}

.b4 {
  width: 46px;
  height: 46px;
  left: 36%;
  top: 8%;
  background: rgba(61, 240, 255, 0.2);
}

.beam {
  inset: -10% 20% auto;
  height: 46%;
  background: linear-gradient(180deg, rgba(61, 240, 255, 0.08), transparent 70%);
  transform: perspective(600px) rotateX(42deg);
}

.floor {
  inset: auto 0 -8%;
  height: 42%;
  background:
    linear-gradient(rgba(61, 240, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 240, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg);
  mask-image: linear-gradient(180deg, transparent, #000 35%, transparent);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.25);
  font-size: 0.82rem;
  color: var(--muted);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 22, 0.62);
  backdrop-filter: blur(22px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img,
.logo-block img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.brand small,
.logo-block small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-panel ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-panel a {
  display: inline-flex;
  padding: 0.45rem 0.72rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: linear-gradient(180deg, rgba(61, 240, 255, 0.22), rgba(61, 240, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.hero,
.detail,
.page-hero {
  display: grid;
  gap: 2rem;
}

.hero,
.detail {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  padding: 3.2rem 0 3.6rem;
}

.page-hero {
  padding: 2.6rem 0 2.2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 240, 255, 0.28);
  background: rgba(61, 240, 255, 0.08);
  color: #c9fbff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.tag.alt {
  border-color: rgba(122, 99, 255, 0.35);
  background: rgba(122, 99, 255, 0.12);
  color: #ddd6ff;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

h3 {
  font-size: 1.08rem;
}

.lead,
.anno,
p {
  margin: 0 0 0.9rem;
}

.lead {
  color: #c5d4ea;
  font-size: 1.05rem;
}

.anno,
.muted,
.crumbs {
  color: var(--muted);
}

.crumbs {
  font-size: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.button,
.button-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.button {
  color: #041018;
  background:
    linear-gradient(180deg, #8af7ff, var(--cyan));
  box-shadow:
    0 10px 24px rgba(61, 240, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button:hover {
  color: #021018;
}

.button-alt {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.metric,
.card,
.platform,
.step,
.seo-card,
.faq details {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: perspective(900px) rotateX(3deg);
}

.metric,
.card,
.platform,
.step,
.seo-card {
  padding: 1.05rem 1.1rem 1.15rem;
}

.metric::after,
.card::after,
.platform::after,
.step::after,
.seo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%);
}

.metric strong,
.kicker {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric strong {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  text-transform: none;
  letter-spacing: 0;
}

.metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

.device {
  perspective: 1600px;
}

.device-shell {
  position: relative;
  transform: rotateY(-16deg) rotateX(9deg);
  transform-style: preserve-3d;
}

.device-bezel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 38%, rgba(80, 120, 255, 0.1));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 -24px 48px rgba(61, 240, 255, 0.08) inset,
    28px 42px 70px rgba(0, 0, 0, 0.5);
}

.device-bezel img {
  width: 100%;
  border-radius: 14px;
}

.glint,
.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glint {
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.3) 0%, transparent 26%, transparent 64%, rgba(61, 240, 255, 0.1) 100%);
}

.scan {
  background: linear-gradient(180deg, transparent, rgba(61, 240, 255, 0.12), transparent);
  height: 28%;
  animation: scan 7s linear infinite;
}

.device-shadow {
  height: 28px;
  margin: 1.1rem 12% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(6px);
}

@keyframes scan {
  0% { transform: translateY(-40%); }
  100% { transform: translateY(280%); }
}

section {
  padding: 1.4rem 0 2.4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head p {
  max-width: 36rem;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.9rem;
}

.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)); }

.seo-card,
.card,
.platform,
.step {
  color: inherit;
  text-decoration: none;
}

.seo-card:hover,
.card:hover,
.platform:hover {
  transform: perspective(900px) rotateX(0deg) translateY(-5px);
  border-color: rgba(61, 240, 255, 0.32);
}

.ico {
  width: 36px;
  height: 36px;
  margin-bottom: 0.55rem;
  color: var(--cyan);
}

.faq details {
  transform: none;
  padding: 0.2rem 1rem 0.85rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0 0.35rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
}

.faq details[open] summary::after {
  content: "–";
}

.warn {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 180, 168, 0.28);
  background: rgba(80, 24, 24, 0.28);
  color: var(--danger);
}

footer {
  margin-top: 1rem;
  padding: 2.4rem 0 1.4rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 16, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 1.4rem;
}

.logo-block {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

footer h3 {
  font-size: 0.95rem;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer li {
  margin: 0.3rem 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .hero,
  .detail,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 6px);
    padding: 0.6rem;
    border-radius: 16px;
    background: rgba(8, 14, 28, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-panel ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    position: sticky;
  }

  .nav {
    position: relative;
  }
}

@media (max-width: 720px) {
  .hero,
  .detail,
  .metrics,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .section-head,
  .legal,
  .topbar-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .device-shell {
    transform: none;
  }

  .metric,
  .card,
  .platform,
  .step,
  .seo-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scan,
  .bokeh,
  .beam {
    animation: none;
  }

  .device-shell,
  .metric,
  .card,
  .platform,
  .step,
  .seo-card,
  .seo-card:hover,
  .card:hover,
  .platform:hover {
    transform: none;
    transition: none;
  }
}
