/* ==========================================================================
   FANGUARD · iOS 安装站
   ========================================================================== */

:root {
  --bg: #060b14;
  --bg-soft: #0a1220;
  --panel: rgba(15, 26, 43, 0.72);
  --panel-solid: #0d1728;
  --line: rgba(96, 138, 178, 0.22);
  --line-strong: rgba(100, 215, 255, 0.34);
  --text: #e8f0fa;
  --muted: #8ea4bd;
  --dim: #6c8199;
  --cyan: #64d7ff;
  --teal: #5ce3c6;
  --gold: #ffc963;
  --red: #ff7a7a;
  --radius: 16px;
  --maxw: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(40, 128, 190, 0.3), transparent 62%),
    radial-gradient(760px 520px at 88% 4%, rgba(255, 201, 99, 0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(30, 120, 140, 0.14), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 180, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 220, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 78%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #a6ecff;
}

main,
.nav,
.footer {
  position: relative;
  z-index: 1;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 66px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(120, 210, 255, 0.25), 0 6px 18px -6px rgba(60, 190, 255, 0.65);
}

.brand-word {
  font-size: 19px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.4px;
}

.brand-word b {
  color: var(--cyan);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}

.nav-links a {
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  transition: 0.16s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(100, 215, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-version {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--dim);
  font-weight: 700;
}

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(23, 38, 58, 0.75);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  border-color: var(--line-strong);
  background: rgba(30, 52, 76, 0.9);
  transform: translateY(-1px);
  color: var(--text);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, #7ce4ff, #43c4f0);
  border-color: transparent;
  color: #04202e;
  box-shadow: 0 10px 30px -12px rgba(80, 210, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #93ecff, #56d2fa);
  color: #04202e;
  box-shadow: 0 16px 38px -12px rgba(80, 210, 255, 0.95);
}

.btn-gold {
  background: linear-gradient(180deg, #ffd98a, #f0b74a);
  border-color: transparent;
  color: #2a1c02;
  box-shadow: 0 12px 30px -14px rgba(255, 193, 84, 0.9);
}

.btn-gold:hover {
  color: #2a1c02;
  background: linear-gradient(180deg, #ffe3a5, #f7c563);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 9px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
  border-radius: 13px;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------------------------------------------------------------- 排版 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid rgba(92, 227, 198, 0.32);
  border-radius: 999px;
  background: rgba(92, 227, 198, 0.07);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.pill.gold {
  border-color: rgba(255, 201, 99, 0.32);
  background: rgba(255, 201, 99, 0.07);
  color: var(--gold);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12.5px;
}

.hl {
  color: var(--cyan);
}

.hl-gold {
  color: var(--gold);
}

/* ---------------------------------------------------------------- 首屏 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
  padding-block: 78px 64px;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #8ce8ff 5%, #64d7ff 40%, #5ce3c6 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(90, 220, 255, 0.35));
}

.hero .lead {
  max-width: 33em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(430px, 88vw);
  height: min(430px, 88vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 200, 255, 0.22), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(8, 20, 34, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px -18px #000;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.hero-badge b {
  color: var(--text);
  font-size: 11.5px;
}

.hero-badge-a {
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-badge-b {
  bottom: -24px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.hero-badge .ok {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(92, 227, 198, 0.14);
  color: var(--teal);
}

.hero-badge .ok svg {
  width: 12px;
  height: 12px;
}

/* ---------------------------------------------------------------- 区块 */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 34em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 33, 54, 0.82), rgba(9, 17, 30, 0.7));
  overflow: hidden;
  transition: 0.2s;
}

.card:hover {
  border-color: rgba(100, 215, 255, 0.28);
  transform: translateY(-2px);
}

.card h3 {
  margin: 14px 0 7px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(100, 215, 255, 0.24);
  background: rgba(100, 215, 255, 0.08);
  color: var(--cyan);
}

.card-icon svg {
  width: 19px;
  height: 19px;
}

.card-icon.gold {
  border-color: rgba(255, 201, 99, 0.24);
  background: rgba(255, 201, 99, 0.08);
  color: var(--gold);
}

.card-icon.teal {
  border-color: rgba(92, 227, 198, 0.24);
  background: rgba(92, 227, 198, 0.08);
  color: var(--teal);
}

.card-num {
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  color: rgba(120, 200, 255, 0.07);
  letter-spacing: -3px;
}

/* ---------------------------------------------------------------- 三小步 */
.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 20, 34, 0.55);
  overflow: hidden;
}

.quick-step {
  position: relative;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.quick-step:last-child {
  border-right: 0;
}

.quick-step b {
  display: block;
  margin: 12px 0 4px;
  font-size: 15px;
}

.quick-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.quick-step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 2px;
}

/* ---------------------------------------------------------------- 提示条 */
.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 201, 99, 0.22);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 201, 99, 0.08), rgba(255, 201, 99, 0.02));
  color: #d9c69a;
  font-size: 13px;
  line-height: 1.75;
}

.notice.info {
  border-color: rgba(100, 215, 255, 0.22);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(100, 215, 255, 0.08), rgba(100, 215, 255, 0.02));
  color: #b7d4e6;
}

.notice svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.notice.info svg {
  color: var(--cyan);
}

.notice b {
  color: #ffe7b8;
}

.notice.info b {
  color: #d9f4ff;
}

/* ---------------------------------------------------------------- 安装步骤 */
.steps {
  max-width: 980px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.step:first-child {
  border-top: 0;
  padding-top: 18px;
}

.step-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan);
}

.step-no::before,
.step-no::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.step-head h3 {
  font-size: clamp(20px, 2.6vw, 27px);
  letter-spacing: -0.02em;
}

.step-head p {
  margin: 12px auto 0;
  max-width: 31em;
  color: var(--muted);
  font-size: 13.5px;
}

.step-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 52px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.step:nth-child(even) .step-body {
  grid-template-columns: 268px minmax(0, 1fr);
}

.step:nth-child(even) .step-copy {
  order: 2;
}

.step:nth-child(even) .step-visual {
  order: 1;
}

.step-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-copy li {
  position: relative;
  padding: 0 0 14px 26px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.step-copy li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(100, 215, 255, 0.8);
}

.step-copy li b {
  color: var(--text);
  font-weight: 600;
}

.step-copy .kbd {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.step-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed rgba(100, 215, 255, 0.26);
  border-radius: 10px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}

.step-tip b {
  color: var(--cyan);
}

/* ---------------------------------------------------------------- 手机样机 */
.phone {
  position: relative;
  width: 268px;
  flex: 0 0 auto;
  aspect-ratio: 268 / 552;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2b3746, #0a0d12 40%, #05070b);
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(150, 190, 220, 0.18),
    inset 0 0 0 2px #05080c;
}

.phone::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 120px;
  width: 2px;
  height: 56px;
  border-radius: 2px;
  background: #31404f;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  color: #fff;
  line-height: 1.4;
}

.phone-island {
  position: absolute;
  z-index: 9;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 21px;
  border-radius: 12px;
  background: #000;
}

.statusbar {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 20px 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.statusbar .sb-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.statusbar svg {
  height: 10px;
  width: auto;
  display: block;
}

.ios {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  position: relative;
}

.ios-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 12px 4px;
  color: #0a84ff;
  font-size: 12px;
  min-height: 26px;
}

.ios-nav b {
  font-weight: 600;
}

.ios-title {
  padding: 0 16px 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.ios-sub {
  padding: 0 16px;
  color: #8e8e93;
  font-size: 9.5px;
  line-height: 1.5;
}

.ios-group {
  margin: 10px 12px;
  border-radius: 10px;
  background: #1c1c1e;
  overflow: hidden;
}

.ios-group.plain {
  background: transparent;
}

.ios-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-bottom: 0.5px solid #2c2c2e;
  font-size: 10.5px;
  position: relative;
}

.ios-row:last-child {
  border-bottom: 0;
}

.ios-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
}

.ios-row .val {
  margin-left: auto;
  color: #8e8e93;
  font-size: 9.5px;
}

.chev {
  margin-left: 2px;
  color: #5b5b60;
  font-size: 11px;
  line-height: 1;
}

.ios-row.accent {
  background: rgba(10, 132, 255, 0.12);
  box-shadow: inset 3px 0 0 #0a84ff;
}

.ios-row .badge {
  margin-left: auto;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}

.ios-section-label {
  padding: 10px 16px 4px;
  color: #8e8e93;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ios-search {
  margin: 2px 12px 0;
  height: 24px;
  border-radius: 7px;
  background: #1c1c1e;
  color: #8e8e93;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 10px;
}

/* 下载弹窗 */
.sheet {
  margin-top: auto;
  padding: 10px 12px 16px;
  border-radius: 14px 14px 0 0;
  background: rgba(28, 28, 30, 0.98);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.sheet-grab {
  width: 34px;
  height: 4px;
  border-radius: 3px;
  background: #3a3a3c;
  margin: 0 auto 12px;
}

.sheet-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 9px;
  background: linear-gradient(180deg, #2f6fa8, #1a3a5c);
  display: grid;
  place-items: center;
  color: #8ddcff;
}

.sheet-icon svg {
  width: 20px;
  height: 20px;
}

.sheet h4 {
  margin: 0 0 3px;
  font-size: 11.5px;
  font-weight: 700;
}

.sheet p {
  margin: 0 0 10px;
  color: #8e8e93;
  font-size: 9.5px;
  line-height: 1.5;
}

.sheet-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet-btns span {
  padding: 6px 0;
  border-radius: 7px;
  background: #2c2c2e;
  color: #0a84ff;
  font-size: 10.5px;
  font-weight: 600;
}

.sheet-btns span.primary {
  background: #0a84ff;
  color: #fff;
}

/* 密码键盘 */
.passcode {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.passcode h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
}

.dots {
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
}

.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #8e8e93;
}

.dots i.on {
  background: #fff;
  border-color: #fff;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 54px);
  gap: 12px 20px;
  justify-content: center;
}

.keypad span {
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
}

.keypad span small {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  color: #8e8e93;
}

/* 描述文件详情 */
.profile-hero {
  text-align: center;
  padding: 8px 18px 4px;
}

.profile-hero .big-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 13px;
  box-shadow: 0 8px 20px -8px #000;
}

.profile-hero h4 {
  margin: 0;
  font-size: 13px;
}

.profile-hero p {
  margin: 2px 0 0;
  color: #8e8e93;
  font-size: 9px;
}

.profile-hero .unsigned {
  color: #ff6961;
}

.ios-btn-install {
  margin: auto 12px 14px;
  padding: 8px;
  border-radius: 9px;
  background: #0a84ff;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

/* 桌面 */
.home {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(90, 200, 255, 0.33), transparent 60%),
    radial-gradient(90% 60% at 8% 88%, rgba(50, 155, 235, 0.2), transparent 62%),
    linear-gradient(160deg, #0b2a44, #071321 55%, #0a0f1a);
  padding-top: 4px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px 4px;
  padding: 10px 8px 0;
  justify-items: center;
}

.home-app {
  width: 46px;
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.1px;
}

.home-app i {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  border-radius: 10px;
  background: linear-gradient(160deg, #3a4b61, #1d2735);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
}

.home-app.featured i {
  padding: 0;
  background: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 8px 20px -4px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  animation: app-glow 3.4s ease-in-out infinite;
}

.home-app.featured img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.home-app.featured span {
  color: #fff;
  font-weight: 600;
}

.home-dock {
  margin: 10px 10px 12px;
  padding: 8px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
}

.home-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 12px 0 4px;
}

.home-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.home-dots i.on {
  background: #fff;
}

.home-dock i {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(160deg, #40536b, #222c3a);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes app-glow {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 22px rgba(100, 215, 255, 0.35),
      0 8px 20px -4px rgba(0, 0, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 0 2px #fff, 0 0 34px rgba(100, 215, 255, 0.75),
      0 8px 20px -4px rgba(0, 0, 0, 0.8);
  }
}

/* 卡片飞行/高亮辅助 */
.ios-row .time {
  margin-left: auto;
  color: #8e8e93;
  font-size: 9.5px;
}

/* ---------------------------------------------------------------- 复制链接 / 规格表 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
}

.copy-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  max-width: 560px;
}

.url-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(8, 17, 30, 0.8);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.url-input:focus {
  outline: 1px solid var(--line-strong);
  color: var(--text);
}

.spec-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(96, 138, 178, 0.18);
  font-size: 12.5px;
  color: var(--dim);
}

.spec-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* ---------------------------------------------------------------- 折叠问答 */
.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details.qa {
  border-bottom: 1px solid var(--line);
}

details.qa summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

details.qa summary::-webkit-details-marker {
  display: none;
}

details.qa summary::after {
  content: "+";
  margin-left: auto;
  color: var(--cyan);
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  transition: 0.2s;
}

details.qa[open] summary::after {
  transform: rotate(45deg);
}

details.qa .a {
  padding: 0 4px 22px 32px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

details.qa .a p {
  margin: 0 0 8px;
}

details.qa .a p:last-child {
  margin-bottom: 0;
}

details.qa .q-index {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 1px;
}

/* ---------------------------------------------------------------- 页脚 */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 54px;
  background: rgba(4, 8, 14, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer p {
  margin: 10px 0 0;
  max-width: 46em;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ---------------------------------------------------------------- 提示浮层 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 60;
  transform: translate(-50%, 16px);
  max-width: min(92vw, 520px);
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 24, 38, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px #000;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.6;
  opacity: 0;
  pointer-events: none;
  transition: 0.24s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast b {
  color: var(--cyan);
}

/* 平台提示 */
.platform-note {
  display: none;
  margin: 0 0 34px;
}

html.is-desktop .platform-note,
html.is-android .platform-note {
  display: flex;
}

html.is-ios .ios-only {
  display: inline-flex;
}

html:not(.is-ios) .ios-only {
  display: none;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px 44px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual::before {
    width: min(380px, 86vw);
    height: min(380px, 86vw);
  }

  .hero .lead {
    max-width: none;
  }

  .hero-badge-a {
    left: 4%;
  }

  .hero-badge-b {
  bottom: -24px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 56px 0;
  }

  .step-body,
  .step:nth-child(even) .step-body {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 34px;
  }

  .step:nth-child(even) .step-body {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-version {
    display: none;
  }

  .nav-actions .btn:not(.btn-primary) {
    display: none;
  }

  .nav-inner {
    height: 60px;
    gap: 12px;
  }

  .wrap {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .quick-steps {
    grid-template-columns: 1fr;
  }

  .quick-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }

  .quick-step:last-child {
    border-bottom: 0;
  }

  .section-head {
    display: block;
  }

  .step {
    padding: 40px 0;
  }

  .step-body,
  .step:nth-child(even) .step-body {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 420px;
  }

  .step:nth-child(even) .step-copy,
  .step:nth-child(even) .step-visual {
    order: initial;
  }

  .step-visual {
    order: -1;
  }

  .hero-visual {
    order: 0;
    padding-top: 0;
  }

  .hero {
    padding-block: 44px 48px;
    gap: 28px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copy-row {
    flex-direction: column;
  }

  .copy-row .btn {
    width: 100%;
  }

  .phone {
    width: 244px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 20px;
  }
}

@media (max-width: 780px) {
  .toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 33px;
  }

  .phone {
    width: 228px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 10px;
  }

  .hero-badge-b {
  bottom: -24px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   安装指导页
   ========================================================================== */

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding-block: 58px 34px;
}

.guide-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.guide-hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #8ce8ff 5%, #64d7ff 45%, #5ce3c6 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.guide-hero .lead {
  max-width: 32em;
}

.guide-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 300px;
}

.guide-icon img {
  position: relative;
  z-index: 2;
  width: clamp(168px, 20vw, 226px);
  height: auto;
  border-radius: 24%;
  box-shadow:
    0 0 0 1px rgba(140, 220, 255, 0.28),
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 70px -10px rgba(70, 200, 255, 0.4);
}

.guide-icon::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 205, 255, 0.24), transparent 65%);
  filter: blur(10px);
}

.ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(100, 215, 255, 0.24);
  animation: spin 40s linear infinite;
}

.ring-b {
  width: 360px;
  height: 360px;
  border-style: solid;
  border-color: rgba(255, 201, 99, 0.1);
  animation-direction: reverse;
  animation-duration: 60s;
}

.ring-a::before,
.ring-b::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.ring-b::before {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.guide-version {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 12, 22, 0.8);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------------------------- 安全条 */
.safety-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}

.safety-strip > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 16px 20px;
  background: rgba(8, 16, 28, 0.9);
}

.safety-strip svg {
  width: 22px;
  height: 22px;
  grid-row: 1 / span 2;
  color: var(--teal);
}

.safety-strip b {
  font-size: 12.5px;
  font-weight: 600;
}

.safety-strip span {
  color: var(--dim);
  font-size: 11.5px;
}

/* ---------------------------------------------------------------- 状态栏细节 */
.sb-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sb-cell {
  display: inline-block;
  width: 3px;
  height: 4px;
  margin-top: 6px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 5px -2px 0 currentColor, 10px -4px 0 currentColor, 15px -6px 0 currentColor;
  margin-right: 14px;
}

.sb-wifi {
  width: 14px;
  height: 10px;
}

.sb-batt {
  position: relative;
  width: 22px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.85;
}

.sb-batt::before {
  content: "";
  position: absolute;
  inset: 1.5px 5px 1.5px 1.5px;
  border-radius: 1px;
  background: currentColor;
}

.sb-batt::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
  opacity: 0.6;
}

/* ---------------------------------------------------------------- Safari 样机 */
.browser {
  background: #0b0f14;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 8px 0;
  padding: 5px 10px;
  border-radius: 9px;
  background: #1c1c1e;
  color: #8e8e93;
  font-size: 9px;
}

.browser-bar .addr {
  flex: 1;
  padding: 3px 8px;
  border-radius: 5px;
  background: #2c2c2e;
  color: #d1d1d6;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-bar .b-back,
.browser-bar .b-more {
  font-size: 14px;
  line-height: 1;
  color: #0a84ff;
}

.browser-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 0;
  text-align: center;
  opacity: 0.52;
  filter: blur(0.4px);
}

.browser-page img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  margin-bottom: 10px;
}

.browser-page b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.browser-page .bp-sub {
  margin-top: 3px;
  color: #8e8e93;
  font-size: 9px;
}

.browser-page .bp-btn {
  margin-top: 16px;
  padding: 7px 22px;
  border-radius: 9px;
  background: #0a84ff;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.browser-page .bp-line {
  width: 76%;
  height: 6px;
  margin-top: 16px;
  border-radius: 3px;
  background: #2c2c2e;
}

.browser-page .bp-line.short {
  width: 56%;
  margin-top: 8px;
}

/* ---------------------------------------------------------------- 设置细节 */
.ios-search svg {
  width: 10px;
  height: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 17px;
  border-radius: 9px;
  background: #34c759;
  vertical-align: middle;
}

.switch::after {
  content: "";
  position: absolute;
  top: 1.5px;
  right: 1.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.row-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.row-stack b {
  font-size: 10.5px;
  font-weight: 500;
}

.row-stack small {
  color: #8e8e93;
  font-size: 8px;
}

.ios-icon.profile-mini {
  background: none;
  padding: 0;
  overflow: hidden;
}

.ios-icon.profile-mini img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.ios-footnote {
  margin: 6px 18px;
  color: #6b6b70;
  font-size: 8.5px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- 密码键盘补充 */
.keypad .key-empty {
  background: transparent;
}

.keypad .key-del {
  background: transparent;
  font-size: 15px;
  letter-spacing: 1px;
}

/* ---------------------------------------------------------------- 描述文件详情 */
.profile-warning {
  margin: 6px 18px 10px;
  color: #ff6961;
  font-size: 8.5px;
  line-height: 1.5;
}

.unsigned {
  color: #ff6961 !important;
}

/* ---------------------------------------------------------------- 备用方案 */
.mini-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ms;
}

.mini-steps li {
  counter-increment: ms;
  position: relative;
  padding: 0 0 14px 38px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.mini-steps li::before {
  content: counter(ms);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(100, 215, 255, 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
}

.mini-steps b {
  color: var(--text);
  font-weight: 600;
}

.compare-card {
  padding: 22px;
}

.cmp-head,
.cmp-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cmp-head {
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.cmp-head b {
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.cmp-row span {
  color: var(--muted);
}

.cmp-row b {
  text-align: center;
  font-weight: 600;
  font-size: 12px;
}

.cmp-row .yes {
  color: var(--teal);
}

.cmp-row .no {
  color: var(--dim);
  font-weight: 400;
}

.cmp-row:last-child {
  border-bottom: 0;
}

/* ---------------------------------------------------------------- 收尾 CTA */
.guide-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding: 24px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(100, 215, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(18, 34, 54, 0.9), rgba(8, 16, 28, 0.8));
}

.guide-footer-cta b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.guide-footer-cta span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------- 移动端下载条 */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(6, 12, 22, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.mobile-cta .btn {
  width: 100%;
  padding: 13px;
}

/* ---------------------------------------------------------------- 响应式（指导页） */
@media (max-width: 1000px) {
  .guide-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 44px 24px;
  }

  .guide-icon {
    order: -1;
    min-height: 260px;
  }

  .guide-icon img {
    width: 168px;
  }

  .ring {
    width: 240px;
    height: 240px;
  }

  .ring-b {
    width: 292px;
    height: 292px;
  }

  .safety-strip {
    grid-template-columns: 1fr;
  }

  .safety-strip > div {
    padding: 14px 18px;
  }
}

@media (max-width: 780px) {
  body.guide-page {
    padding-bottom: 84px;
  }

  .mobile-cta {
    display: block;
  }

  .guide-icon {
    min-height: 160px;
  }

  .guide-icon img {
    width: 108px;
  }

  .ring {
    width: 150px;
    height: 150px;
  }

  .ring-b {
    width: 184px;
    height: 184px;
  }

  .guide-version {
    bottom: 0;
  }

  .guide-footer-cta {
    display: block;
  }

  .guide-footer-cta .btn {
    margin-top: 16px;
    width: 100%;
  }
}

@media print {
  body::before,
  .nav,
  .footer,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}


