/* =========================================================================
   超会用 —— landing page
   纯静态、零依赖；配色沿用 App 的纯黑 + 亮蓝强调 + 深灰玻璃。
   ========================================================================= */

:root {
  --bg: #000000;
  --label: #f2f2f7;
  --label-2: rgba(242, 242, 247, 0.62);
  --label-3: rgba(242, 242, 247, 0.4);
  --accent: #49a8ff;
  --accent-deep: #007aff;
  --violet: #7c6bff;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

/* 锚点跳转别被吸顶导航盖住 */
main,
section[id] {
  scroll-margin-top: 84px;
}

body {
  background: var(--bg);
  color: var(--label);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC",
    "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* ── 背景光晕 ─────────────────────────────────────────────── */

.glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.glow-a {
  top: -320px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-58%);
  background: radial-gradient(closest-side, rgba(73, 168, 255, 0.28), transparent);
}

.glow-b {
  right: -280px;
  top: 420px;
  width: 620px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(124, 107, 255, 0.2), transparent);
}

/* ── 导航 ─────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--accent);
  background: linear-gradient(160deg, rgba(73, 168, 255, 0.24), rgba(124, 107, 255, 0.16));
  border: 1px solid rgba(73, 168, 255, 0.34);
  box-shadow: 0 6px 20px rgba(73, 168, 255, 0.18);
}

.brand-name {
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--label-2);
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}

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

/* ── 按钮 ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 0.18s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-primary {
  color: #04121f;
  background: linear-gradient(180deg, #7ec2ff, var(--accent));
  box-shadow:
    0 10px 30px rgba(73, 168, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  box-shadow:
    0 12px 36px rgba(73, 168, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--label);
  background: var(--glass);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--glass-strong);
  border-color: var(--line-strong);
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--label-2);
  background: var(--glass);
  border: 1px solid var(--line);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(73, 168, 255, 0.16);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.grad {
  background: linear-gradient(96deg, #9ecbff 0%, var(--accent) 42%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 30em;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--label-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-meta {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--label-3);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats dt {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-stats dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--label-3);
}

/* ── 手机 mockup ──────────────────────────────────────────── */

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 8px 0 24px;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(180deg, #26262b, #101013 42%, #08080a);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 38px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: #000;
  /* 截图是 1200×2670，比机身比例略长；contain 保住整屏内容，不裁底部 */
  aspect-ratio: 9 / 19.2;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.phone-hero {
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg) translateZ(0);
  transition: transform 0.6s var(--ease);
}

.phone-hero:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(0deg);
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(30, 30, 34, 0.92), rgba(14, 14, 16, 0.9));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  animation: floaty 7s ease-in-out infinite;
}

.fc-a {
  top: 48px;
  left: -8px;
}

.fc-b {
  right: -14px;
  bottom: 78px;
  animation-delay: -3.2s;
}

.fc-label {
  font-size: 11px;
  color: var(--label-3);
}

.floating-card strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fc-sub {
  font-size: 11.5px;
  color: var(--label-2);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ── 通用 section ─────────────────────────────────────────── */

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 88px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.24;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  font-size: 15px;
  color: var(--label-2);
}

/* ── 功能网格 ─────────────────────────────────────────────── */

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

.card {
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line);
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 168, 255, 0.3);
  background: linear-gradient(170deg, rgba(73, 168, 255, 0.1), rgba(255, 255, 255, 0.022));
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(73, 168, 255, 0.12);
  border: 1px solid rgba(73, 168, 255, 0.22);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--label-2);
}

/* ── 截图 ─────────────────────────────────────────────────── */

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: 28px;
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.shot .phone {
  /* 跟随网格列宽收缩，窄屏下不会把三列撑出横向滚动 */
  width: 100%;
  max-width: 252px;
  padding: 7px;
  border-radius: 36px;
}

.shot .phone::after {
  inset: 7px;
  border-radius: 30px;
}

.shot .phone-screen {
  border-radius: 30px;
}

.shot figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.shot figcaption strong {
  font-size: 15px;
  font-weight: 550;
}

.shot figcaption span {
  font-size: 12.5px;
  color: var(--label-3);
}

/* ── 隐私面板 ─────────────────────────────────────────────── */

.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(73, 168, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.panel p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--label-2);
}

.checks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--label);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
}

.panel-art {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--label-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.stack {
  display: grid;
  gap: 10px;
}

.stack-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.9);
}

.stack-card strong {
  font-size: 15px;
  font-weight: 600;
}

.sc-1 {
  background: linear-gradient(100deg, #232b46, #3a2033);
  transform: rotate(-1.2deg);
}

.sc-2 {
  background: linear-gradient(100deg, #2b2350, #3d2148);
  transform: rotate(0.8deg);
}

.sc-3 {
  background: linear-gradient(100deg, #1d3040, #2a2b4a);
  transform: rotate(-0.4deg);
}

/* ── 页脚 ─────────────────────────────────────────────────── */

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 24px 40px;
  font-size: 13px;
  color: var(--label-3);
}

.foot-note {
  color: var(--label-3);
}

.foot-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--label-2);
  transition: color 0.2s var(--ease);
}

.foot-mail:hover {
  color: var(--accent);
}

.foot-copy {
  margin-left: auto;
}

/* ── 入场动画 ─────────────────────────────────────────────── */

.hero-copy > *,
.hero-art {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(1) {
  animation-delay: 0.02s;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.14s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.2s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.26s;
}
.hero-art {
  animation-delay: 0.12s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── 响应式 ───────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 48px;
    text-align: left;
  }

  .hero-art {
    order: 2;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .nav-links {
    display: none;
  }

  .nav .btn {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 36px 20px 64px;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats dt {
    font-size: 19px;
  }

  .floating-card {
    padding: 10px 13px;
  }

  .fc-a {
    top: 24px;
    left: -4px;
  }

  .fc-b {
    right: -4px;
    bottom: 46px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .screens {
    grid-template-columns: 1fr;
  }

  .shot .phone {
    width: min(260px, 76vw);
  }

  .section {
    padding: 16px 20px 64px;
  }

  .panel {
    padding: 22px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}