:root {
  --bg: #07111f;
  --bg-soft: #0d1a2e;
  --bg-card: #12233a;
  --line: rgba(140, 180, 230, 0.18);
  --text: #e8f0fa;
  --muted: #9bb0c9;
  --accent: #2f7fff;
  --accent-2: #1ec8ff;
  --wave: #16375f;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1100px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 127, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(30, 200, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #06101c 0%, #0a1628 45%, #07111f 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header {
  background: transparent;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.ads-panel {
  background: transparent;
  padding: 6px 0 10px;
  border-top: 1px solid var(--line);
}

.ads-panel .container {
  min-height: 0;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  background: transparent;
}

#ads .ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads a {
  display: block;
  width: 65px;
  height: 65px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#ads a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

#ads img {
  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;
  object-fit: contain;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
  background: transparent;
}

#ads .caption {
  display: block;
  width: 100%;
  margin-top: 6px;
  height: 16px;
  line-height: 16px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 800;
}

.hero-lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 22px;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  color: #06101c;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 28px rgba(47, 127, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.phone-stack {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: min(230px, 42vw);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2f4d, #0b1628);
  border: 1px solid rgba(160, 200, 255, 0.28);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.phone-back {
  transform: translate(-48px, 18px) rotate(-8deg);
  z-index: 1;
  opacity: 0.95;
}

.phone-front {
  transform: translate(42px, -10px) rotate(6deg);
  z-index: 2;
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 1em;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.6em 0 0.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(18, 35, 58, 0.9), rgba(10, 20, 36, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #0a1424;
}

.feature-card .body {
  padding: 14px 16px 18px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.step .num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 127, 255, 0.2);
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 36px);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal {
  padding: 20px 0 60px;
}

.error-box {
  text-align: center;
  padding: 80px 0 100px;
}

.error-box .code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-box h1 {
  margin: 0 0 10px;
}

.error-box p {
  color: var(--muted);
  margin: 0 0 22px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  padding: 34px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #7e93ad;
  font-size: 13px;
  text-align: center;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .phone-stack {
    height: 400px;
    margin-top: 10px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    background: rgba(7, 17, 31, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .phone-stack {
    height: 340px;
  }

  .phone {
    width: min(168px, 46vw);
  }

  .phone-back {
    transform: translate(-34px, 16px) rotate(-7deg);
  }

  .phone-front {
    transform: translate(30px, -6px) rotate(5deg);
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 32px 0;
  }
}
