/* ============================================================
   Xinyu Mail — 静谧深空设计系统
   graphite night · aurora glass · serif ink
   ============================================================ */

:root {
  --bg0: #070A0F;
  --bg1: #0C1016;
  --bg2: #12171F;
  --ink: #E9EDF3;
  --ink2: #A9B2C0;
  --ink3: #69737F;
  --jade: #7CD4CE;
  --violet: #9D8CFF;
  --grad: linear-gradient(120deg, #7CD4CE 0%, #8FB8F0 55%, #9D8CFF 100%);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.035);
  --serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 语言切换：body[data-lang] 控制 */
[data-lang="zh"] .t-en { display: none !important; }
[data-lang="en"] .t-zh { display: none !important; }

::selection { background: rgba(124, 212, 206, 0.28); color: #F2FBFA; }

/* 噪点颗粒 */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------------- 极光 ---------------- */
.aurora {
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.b1 {
  width: 56vw; height: 56vw;
  left: -12vw; top: -18vw;
  background: radial-gradient(circle at 40% 40%, rgba(124, 212, 206, 0.14), transparent 65%);
  animation: drift1 46s ease-in-out infinite alternate;
}
.b2 {
  width: 48vw; height: 48vw;
  right: -14vw; top: 6vh;
  background: radial-gradient(circle at 60% 40%, rgba(157, 140, 255, 0.12), transparent 65%);
  animation: drift2 58s ease-in-out infinite alternate;
}
.b3 {
  width: 52vw; height: 52vw;
  left: 22vw; bottom: -30vw;
  background: radial-gradient(circle at 50% 50%, rgba(96, 145, 250, 0.10), transparent 65%);
  animation: drift3 64s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(9vw, 7vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-7vw, 10vh) scale(0.92); } }
@keyframes drift3 { to { transform: translate(6vw, -8vh) scale(1.08); } }

/* ---------------- 悬浮胶囊导航 ---------------- */
.nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 9px 10px 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
  border: 1px solid var(--line2);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 28px; height: 28px; display: block; }
.brand-name { font-weight: 650; font-size: 15.5px; letter-spacing: 0.02em; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.lang-toggle {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}
.lang-toggle button {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  color: var(--ink3);
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  transition: color 0.3s;
}
.lang-toggle button.on { color: #0B1416; }
.lang-toggle button.on::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(124, 212, 206, 0.4);
}

/* ---------------- 通用排版 ---------------- */
main { position: relative; z-index: 1; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--jade);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); opacity: 0.8; }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: 0.02em;
  margin: 14px 0 10px;
}
.sec-sub { color: var(--ink2); max-width: 560px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .kicker { justify-content: center; }
.sec-head .kicker::after { content: ""; width: 28px; height: 1px; background: var(--grad); opacity: 0.8; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn-primary {
  color: #0B1416;
  background: var(--grad);
  box-shadow: 0 8px 30px rgba(124, 212, 206, 0.28), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124, 212, 206, 0.4), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
#dust { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--ink2);
  padding: 8px 18px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(124, 212, 206, 0.8);
}

.title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.015em;
  margin-bottom: 22px;
}
.title .t-zh, .title .t-en {
  background: linear-gradient(115deg, #F2F7F5 10%, #CFEAE7 38%, var(--jade) 62%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  color: var(--ink2);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 16px;
  text-wrap: balance;
}
.sub-traits {
  display: flex; align-items: center; flex-wrap: wrap;
  font-size: clamp(.92rem, 1.2vw, 1.02rem);
  color: var(--ink2);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 34px;
}
.sub-traits > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.sub-traits b { font-weight: 550; color: var(--ink); }
.sub-traits i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(124, 212, 206, 0.45);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.stat b {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.stat b i { font-style: normal; font-size: 1.15rem; color: var(--jade); margin-left: 2px; }
.stat > span { display: block; font-size: 12.5px; color: var(--ink3); letter-spacing: 0.06em; margin-top: 2px; }

/* 手机模型 */
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone-halo {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 212, 206, 0.16), rgba(157, 140, 255, 0.10) 45%, transparent 68%);
  filter: blur(30px);
  animation: halo 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes halo { to { transform: scale(1.15) translateY(-14px); opacity: 0.85; } }

.phone-float {
  transform-style: preserve-3d;
  animation: floaty 8s ease-in-out infinite alternate;
}
.phone {
  position: relative;
  width: 296px; height: 604px;
  border-radius: 52px;
  background: linear-gradient(165deg, #1A2029, #0B0E13 55%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(10, 14, 19, 0.9),
    0 0 0 7px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
}
@keyframes floaty { to { transform: translateY(-12px); } }

.phone-glare {
  position: absolute; inset: 0;
  border-radius: 52px;
  background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, transparent 28%);
  pointer-events: none;
  z-index: 3;
}
.screen {
  position: absolute; inset: 10px;
  border-radius: 44px;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 80% -10%, rgba(124, 212, 206, 0.10), transparent 55%),
    radial-gradient(120% 60% at 10% 110%, rgba(157, 140, 255, 0.10), transparent 55%),
    linear-gradient(180deg, #0B0F14, #0A0D12);
  display: flex; flex-direction: column;
  padding: 16px 14px 12px;
}
.s-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; color: var(--ink);
  padding: 2px 8px 10px;
}
.s-sig { display: flex; gap: 3px; align-items: flex-end; }
.s-sig i { width: 3px; border-radius: 1px; background: var(--ink2); }
.s-sig i:nth-child(1) { height: 5px; } .s-sig i:nth-child(2) { height: 7px; } .s-sig i:nth-child(3) { height: 9px; }

/* 头部：大标题 + 副标题 + 42pt 玻璃搜索圆钮（与 App InboxView.header 同构） */
.s-head { display: flex; align-items: flex-start; gap: 10px; padding: 2px 2px 0; }
.s-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.s-title { line-height: 1.25; font-size: 21px; font-weight: 800; letter-spacing: 0.01em; color: var(--ink); line-height: 1.2; }
.s-subtitle { line-height: 1.3; font-size: 9.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-searchbtn {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.s-searchbtn svg { width: 14px; height: 14px; }

/* 账号胶囊（XMAccountChip：标题 + 未读数） */
.s-chiprow { display: flex; padding: 10px 2px 0; }
.s-chip {
  line-height: 1.3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 600; color: var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.s-chip i {
  font-style: normal; font-size: 9px; font-weight: 700; color: #fff;
  background: rgba(110, 163, 255, 0.9);
  border-radius: 999px;
  padding: 1px 6px;
}

/* 「未读 N」 + 筛选触发器（真实形态：一行两端，非 chips 组） */
.s-metarow { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px 8px; }
.s-unreadtext { line-height: 1.3; font-size: 11.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-filterbtn { color: var(--ink); display: flex; }
.s-filterbtn svg { width: 15px; height: 15px; }

/* WhatsApp 式扁平行：头像 + 发件人/旗标/时间 + 主题 + 单行摘要；分割线只在文字列 */
.s-list { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: 2px; margin-bottom: 8px; overflow: hidden; }
.s-row {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 2px;
}
.s-row.unread .s-l1 b { font-weight: 800; }
.s-row.unread .s-subj { color: var(--ink); }
.s-ava {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ac, #5E96F0);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #FFFFFF;
}
.s-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.5px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
.s-l1 { display: flex; align-items: center; gap: 5px; line-height: 1.3; }
.s-l1 b { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-l1 time { flex: none; font-size: 9px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.s-star { flex: none; font-style: normal; font-size: 9px; color: #FBBF24; }
.s-dotb { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #6EA3FF; }
.s-subj { line-height: 1.3; font-size: 11px; font-weight: 500; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-snip { line-height: 1.3; font-size: 10px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-att { font-style: normal; font-size: 8.5px; color: var(--ink3); margin-left: 5px; }

/* 右下悬浮玻璃钮：返回顶部 + 写信（系统玻璃、上下排列） */
.s-fabs {
  position: absolute;
  right: 14px; bottom: 64px;
  display: flex; flex-direction: column; gap: 8px;
}
.s-fab {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}
.s-fab svg { width: 15px; height: 15px; }
.s-fab.strong { color: #0B1416; background: linear-gradient(120deg, #9ADDD7, #A99CF7); border-color: transparent; }

/* 悬浮玻璃胶囊 Tab 栏：首页(tray.full)/设置(gearshape)，方案C选中不染色、仅内衬药丸 */
.s-tabbar {
  position: relative;
  margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.s-tabbar .tab {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink2);
  width: 76px;
}
.s-tabbar .tab svg { width: 17px; height: 17px; display: block; }
.s-tabbar .tab i { font-style: normal; font-size: 8px; font-weight: 600; letter-spacing: 0.02em; }
.s-pill {
  position: absolute;
  left: 12px; top: 4px; bottom: 4px;
  width: calc(50% - 16px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-hint span {
  display: block;
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--jade);
  animation: wheel 2.2s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- 服务商 ---------------- */
.providers { padding: 30px 24px 90px; position: relative; z-index: 1; }
.strip-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  color: var(--ink3);
  margin-bottom: 20px;
}
.strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink2);
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s, color 0.35s;
}
.pill b { font-weight: 600; }
.pill:hover { transform: translateY(-3px); border-color: rgba(124, 212, 206, 0.4); color: var(--ink); }
.pill.alt { border-style: dashed; border-color: rgba(255, 255, 255, 0.18); }

/* ---------------- 特性 ---------------- */
.features { padding: 90px 24px 40px; max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.f-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.f-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(124, 212, 206, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.f-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 212, 206, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(124, 212, 206, 0.06);
}
.f-card:hover::before { opacity: 1; }
.f-glyph {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line2);
  margin-bottom: 18px;
}
.f-glyph svg { width: 27px; height: 27px; }
.f-card h3 { font-size: 17px; font-weight: 650; letter-spacing: 0.01em; margin-bottom: 10px; }
.f-card p { font-size: 14px; color: var(--ink2); }

/* ---------------- 理念 ---------------- */
.philosophy { padding: 100px 24px 60px; max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-block .kicker { justify-content: center; }
.quote-block .kicker::after { content: ""; width: 28px; height: 1px; background: var(--grad); opacity: 0.8; }
.quote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 22px 0 18px;
  background: linear-gradient(115deg, #F2F7F5, var(--jade) 70%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-sub { color: var(--ink2); max-width: 640px; margin: 0 auto 54px; }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.p-card {
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.p-card:hover { transform: translateY(-4px); border-color: rgba(124, 212, 206, 0.35); }
.p-card b { font-size: 14.5px; font-weight: 650; }
.p-card span { font-size: 13px; color: var(--ink2); }
.privacy-link { margin-top: 40px; }

/* ---------------- 获取 ---------------- */
.get { padding: 60px 24px 110px; position: relative; z-index: 1; }
.get-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 66px 40px 60px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line2);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.get-glow {
  position: absolute; inset: -40%;
  background:
    radial-gradient(40% 40% at 30% 20%, rgba(124, 212, 206, 0.12), transparent 70%),
    radial-gradient(40% 40% at 75% 80%, rgba(157, 140, 255, 0.12), transparent 70%);
  animation: glowspin 18s linear infinite;
  pointer-events: none;
}
@keyframes glowspin { to { transform: rotate(360deg); } }
.get-card h2 { position: relative; }
.get-card p { position: relative; color: var(--ink2); margin-bottom: 30px; }
.store-badges { position: relative; display: flex; justify-content: center; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}
.badge svg { width: 26px; height: 26px; }
.badge span { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.badge small { font-size: 11px; color: var(--ink3); letter-spacing: 0.04em; }
.badge b { font-size: 15px; font-weight: 650; }
.badge.soon { opacity: 0.85; }

/* ---------------- 悬浮联系竖标（贴右缘垂直居中，随时可点） ---------------- */
.contact-tab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 10px 16px;
  border-radius: 14px 0 0 14px;
  border: 1px solid var(--line2);
  border-right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px) saturate(150%);
  color: var(--ink);
  font-family: var(--sans);
  cursor: pointer;
  box-shadow: -10px 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, color 0.3s;
  animation: tabIn 0.7s var(--ease) 0.5s backwards;
}
.contact-tab svg { width: 19px; height: 19px; display: block; }
.contact-tab .tab-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em;
}
.contact-tab:hover {
  transform: translateY(-50%) translateX(-4px);
  border-color: rgba(124, 212, 206, 0.4);
  color: var(--jade);
  box-shadow: -14px 16px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(124, 212, 206, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
@keyframes tabIn { from { opacity: 0; transform: translateY(-50%) translateX(20px); } }

/* ---------------- 联系卡片弹层 ---------------- */
.foot-links button.foot-link {
  border: 0; background: none; cursor: pointer;
  padding: 0;
  color: var(--ink3);
  font-family: var(--sans);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.25s;
}
.foot-links button.foot-link:hover { color: var(--jade); }

.contact-dialog {
  margin: auto;
  border: 1px solid var(--line2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 26, 34, 0.94), rgba(12, 16, 22, 0.97));
  backdrop-filter: blur(24px) saturate(150%);
  color: var(--ink);
  padding: 34px 34px 30px;
  max-width: 440px;
  width: calc(100vw - 48px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contact-dialog::backdrop {
  background: rgba(4, 6, 10, 0.62);
  backdrop-filter: blur(6px);
}
.contact-dialog[open] { animation: dialogIn 0.35s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
.dialog-close {
  position: absolute; top: 14px; right: 16px;
  border: 0; background: none; cursor: pointer;
  color: var(--ink3);
  font-size: 22px; line-height: 1;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s;
}
.dialog-close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.contact-dialog h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 14px 0 8px;
}
.dialog-sub { color: var(--ink2); font-size: 14px; margin-bottom: 22px; }
.dialog-mail {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line2);
  margin-bottom: 14px;
}
.mail-text {
  flex: 1; min-width: 0;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn-copy {
  flex: none;
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.btn-copy:hover { background: rgba(255, 255, 255, 0.09); }
.btn-copy.copied { color: var(--jade); border-color: rgba(124, 212, 206, 0.45); }
.btn-copy.small {
  padding: 4px 12px;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 8px;
  border-radius: 999px;
}
.dialog-note { font-size: 12.5px; color: var(--ink3); line-height: 1.7; }

/* ---------------- 页脚 ---------------- */
.foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 44px 24px 50px;
  text-align: center;
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto 14px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.foot-brand { color: var(--ink2); font-size: 14px; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { color: var(--ink3); text-decoration: none; font-size: 13.5px; transition: color 0.25s; }
.foot-links a:hover { color: var(--jade); }
.foot-note { font-size: 12px; color: var(--ink3); letter-spacing: 0.12em; }

/* ---------------- 隐私政策文档页 ---------------- */
.doc-page .doc {
  position: relative; z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 150px 24px 90px;
}
.doc-head { margin-bottom: 54px; }
.doc-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 16px 0 12px;
  background: linear-gradient(115deg, #F2F7F5, var(--jade) 75%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.doc-meta { color: var(--ink3); font-size: 13.5px; letter-spacing: 0.04em; }
.doc-meta-sep { margin: 0 8px; color: var(--ink3); }
.doc-lead { color: var(--ink2); margin-top: 18px; font-size: 15.5px; }

.doc-sec {
  padding: 34px 30px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.doc-sec h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 0 0 14px;
  color: var(--ink);
}
.doc-sec p, .doc-sec li { color: var(--ink2); font-size: 15px; }
.doc-sec p + p { margin-top: 12px; }
.doc-sec ul { padding-left: 22px; margin-top: 8px; }
.doc-sec li { margin-bottom: 8px; }
.doc-sec li::marker { color: var(--jade); }
.doc-sec b { color: var(--ink); font-weight: 650; }
.doc-sec code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--jade);
  background: rgba(124, 212, 206, 0.08);
  border: 1px solid rgba(124, 212, 206, 0.18);
  padding: 1px 7px;
  border-radius: 6px;
}
.doc-sec a { color: var(--jade); text-decoration: none; border-bottom: 1px dashed rgba(124, 212, 206, 0.5); }
.doc-back { text-align: center; margin-top: 34px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 150px; }
  .hero-copy { text-align: center; }
  .sub { margin-left: auto; margin-right: auto; }
  .sub-traits { justify-content: center; }
  .cta-row, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .phone { width: 258px; height: 528px; border-radius: 46px; }
  .screen { border-radius: 38px; inset: 9px; }
  .phone-glare { border-radius: 46px; }
  .s-list .s-row:last-child { display: none; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .doc-page .doc { padding-top: 130px; }
  .doc-sec { padding: 26px 20px; }
  .foot-inner { flex-direction: column; }
  .contact-tab { padding: 11px 8px 13px; gap: 8px; }
  .contact-tab .tab-text { font-size: 12px; }
  .contact-tab svg { width: 17px; height: 17px; }
}

/* ---------------- 动效克制 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .phone-float, .phone-halo, .s-pill, .scroll-hint span::after, .get-glow { animation: none !important; }
  .contact-tab { animation: none !important; }
}
