:root {
  --bg: #06150f;
  --panel: rgba(18, 45, 32, 0.82);
  --panel-strong: rgba(23, 59, 41, 0.96);
  --line: rgba(187, 255, 67, 0.18);
  --text: #f4fff4;
  --muted: rgba(244, 255, 244, 0.68);
  --muted-2: rgba(244, 255, 244, 0.48);
  --brand: #b8ff2f;
  --brand-2: #31d17b;
  --danger: #ff6d6d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 255, 47, 0.16), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(49, 209, 123, 0.12), transparent 28%),
    linear-gradient(180deg, #082018 0%, var(--bg) 48%, #020907 100%);
}

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

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(6, 21, 15, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #092012;
  border: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(24, 58, 40, 0.88), rgba(8, 26, 18, 0.88));
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-card {
  padding: 28px;
}

.phone-preview {
  margin: 0 auto;
  width: min(340px, 100%);
  min-height: 560px;
  border-radius: 42px;
  padding: 18px;
  background: #06120d;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03), 0 36px 80px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  min-height: 524px;
  border-radius: 30px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(184, 255, 47, 0.18), transparent 35%),
    linear-gradient(180deg, #10291d, #07140f);
}

.model-list-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.model-list-heading .eyebrow {
  margin-bottom: 6px;
}

.model-list-heading h3 {
  margin: 0;
  font-size: 19px;
}

.model-list-heading > span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.model-list {
  display: grid;
  gap: 9px;
}

.model-list-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.model-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(184, 255, 47, 0.11);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.model-list-item strong,
.model-list-item small {
  display: block;
}

.model-list-item strong {
  font-size: 14px;
}

.model-list-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.model-note {
  margin-top: 14px !important;
  font-size: 12px !important;
  line-height: 1.65;
}

.match-mini {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.match-mini strong {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--brand);
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  text-align: center;
  font-weight: 900;
}

.score-row .vs {
  font-size: 30px;
}

.prob-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.prob-row span {
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(184, 255, 47, 0.1);
  color: var(--brand);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 42px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.section-title h2,
.content-page h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

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

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

.panel {
  padding: 24px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.panel p,
.panel li,
.content-page p,
.content-page li {
  color: var(--muted);
  line-height: 1.75;
}

.panel ul,
.content-page ul {
  padding-left: 1.2em;
}

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}

.app-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.app-facts dl div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-facts dt {
  color: var(--muted-2);
  font-size: 13px;
}

.app-facts dd {
  margin: 7px 0 0;
  color: var(--text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.app-facts > p {
  margin: 18px 0 0;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.release-meta div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.release-meta b {
  display: block;
  color: var(--brand);
  font-size: 18px;
}

.content-page {
  max-width: 860px;
  padding: 58px 0 72px;
}

.content-page .panel {
  margin-top: 18px;
}

.footer {
  padding: 32px 0 42px;
  color: var(--muted-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  margin-left: 16px;
}

.warning {
  color: var(--danger);
}

.download-only-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.download-only {
  width: min(520px, calc(100% - 28px));
}

.download-card {
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(24, 58, 40, 0.92), rgba(8, 26, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.download-poster {
  display: block;
  width: 100%;
  border-radius: 24px;
  background: #071510;
}

.download-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  text-align: center;
}

.download-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.ios-landing-page {
  min-height: 100vh;
  padding: max(18px, env(safe-area-inset-top)) 0 max(24px, env(safe-area-inset-bottom));
}

.ios-shell {
  width: min(520px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.ios-shell-compact {
  padding-top: 10px;
}

.ios-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 0%, rgba(184, 255, 47, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(24, 58, 40, 0.92), rgba(8, 26, 18, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.ios-guide-polished {
  padding: 24px;
}

.ios-guide-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.ios-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 22px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-card h1 {
  margin: 4px 0 0;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.08;
}

.ios-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.ios-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.ios-guide-lead {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.ios-step-list {
  display: grid;
  gap: 10px;
}

.ios-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ios-step b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 255, 47, 0.16);
  color: var(--brand);
  font-size: 16px;
}

.ios-step span {
  color: var(--text);
  font-weight: 900;
  line-height: 1.45;
}

.ios-safari-tip {
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 18px;
  color: var(--muted);
  line-height: 1.65;
  background: rgba(184, 255, 47, 0.08);
  border: 1px solid rgba(184, 255, 47, 0.16);
}

.wechat-guide-page {
  min-height: 100vh;
  padding: max(12px, env(safe-area-inset-top)) 0 max(18px, env(safe-area-inset-bottom));
}

.wechat-guide-shell {
  width: min(520px, calc(100% - 28px));
  margin: 0 auto;
}

.wechat-guide-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 22px 22px 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 2%, rgba(184, 255, 47, 0.22), transparent 35%),
    linear-gradient(145deg, rgba(24, 58, 40, 0.94), rgba(8, 26, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.wechat-guide-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.wechat-guide-card .ios-logo {
  width: 68px;
  height: 68px;
  border-radius: 22px;
}

.wechat-guide-card .eyebrow {
  margin-bottom: 8px;
}

.wechat-guide-card h1 {
  margin: 0;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.wechat-open-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  margin-bottom: 16px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(184, 255, 47, 0.12), rgba(49, 209, 123, 0.08)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 255, 47, 0.18);
}

.wechat-open-callout > span {
  color: var(--text);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.wechat-menu-hint {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #092012;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(184, 255, 47, 0.2);
}

.wechat-menu-hint span {
  font-size: 25px;
  transform: translateY(-1px);
}

.wechat-menu-hint b {
  letter-spacing: 3px;
}

.wechat-guide-card .lead b {
  color: var(--brand);
}

.wechat-guide-card .lead {
  margin: 0 0 14px;
  max-width: none;
  font-size: 16px;
  line-height: 1.7;
}

.wechat-step-list {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.wechat-step-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wechat-step-list b {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 255, 47, 0.14);
  color: var(--brand);
}

.wechat-step-list span {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 420px) {
  .wechat-guide-shell {
    width: min(100% - 20px, 520px);
  }

  .wechat-guide-card {
    padding: 18px 16px 20px;
    border-radius: 26px;
  }

  .wechat-guide-top {
    margin-bottom: 18px;
  }
}

@media (max-width: 820px) {
  .site-nav {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .grid,
  .download-box,
  .app-facts dl,
  .release-meta {
    grid-template-columns: 1fr;
  }
}
