/* ===========================================================================
   Vokk · 官网首页（液态玻璃版）
   ---------------------------------------------------------------------------
   设计基调：浅色渐变底 + 浮色光斑，所有内容块都是「半透明磨砂玻璃」——
   靠 backdrop-filter 让背后的光斑透上来，再叠一道顶部高光边形成玻璃厚度。
   只依赖 CSS，没有图片、没有外部字体。
   =========================================================================== */

:root {
  --brand: #5b76ff;
  --brand-2: #8b5cf6;
  --brand-dark: #4459d8;

  --text: #171b2b;
  --text-2: #4a5366;
  --text-3: #7b8598;

  /* 玻璃三件套：底色 / 边框 / 高光 */
  --glass-bg: rgba(255, 255, 255, 0.44);
  --glass-bg-strong: rgba(255, 255, 255, 0.70);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-highlight: rgba(255, 255, 255, 0.96);

  --shadow-1: 0 4px 16px rgba(28, 38, 74, 0.07);
  --shadow-2: 0 14px 40px rgba(28, 38, 74, 0.10);
  --shadow-brand: 0 12px 30px rgba(91, 118, 255, 0.34);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* 底色：整页都要有颜色，玻璃才有「透上来」的层次。
     用 rgba 光斑而不是纯色渐变 —— blur 一片纯色等于没模糊，
     必须有明暗/色相变化，卡片才是「磨砂」而不是「白底」。
     不用 background-attachment: fixed（和 .bg-deco 的 fixed 叠加会掉帧）。 */
  background:
    radial-gradient(760px 520px at 86% 56%, rgba(178, 145, 255, 0.40) 0%, transparent 62%),
    radial-gradient(700px 520px at 8% 82%, rgba(120, 178, 255, 0.36) 0%, transparent 62%),
    radial-gradient(680px 460px at 52% 96%, rgba(126, 226, 236, 0.28) 0%, transparent 62%),
    radial-gradient(860px 600px at 16% -8%, rgba(138, 168, 255, 0.46) 0%, transparent 60%),
    linear-gradient(180deg, #f3f7ff 0%, #f1f3fb 50%, #edf1fb 100%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ===========================================================================
   背景光斑
   =========================================================================== */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-deco .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.bg-deco .b1 {
  width: 620px; height: 620px;
  left: -160px; top: -180px;
  background: radial-gradient(circle at 30% 30%, #7d95ff 0%, rgba(125, 149, 255, 0) 68%);
  animation: float1 22s ease-in-out infinite;
}
.bg-deco .b2 {
  width: 560px; height: 560px;
  right: -140px; top: 40px;
  background: radial-gradient(circle at 60% 40%, #b98cff 0%, rgba(185, 140, 255, 0) 68%);
  animation: float2 26s ease-in-out infinite;
}
.bg-deco .b3 {
  width: 700px; height: 700px;
  left: 34%; bottom: -420px;
  background: radial-gradient(circle at 50% 50%, #7fe6f0 0%, rgba(127, 230, 240, 0) 66%);
  opacity: 0.4;
  animation: float3 30s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 30px, 0) scale(1.06); }
}
@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-46px, 26px, 0) scale(1.05); }
}
@keyframes float3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, -24px, 0) scale(1.07); }
}

/* ===========================================================================
   玻璃容器（所有卡片的共同基类）
   =========================================================================== */
.glass {
  position: relative;
  background: linear-gradient(160deg, var(--glass-bg-strong), var(--glass-bg));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  /* 两层外阴影制造「悬空」+ 两层内高光模拟玻璃厚度 */
  box-shadow:
    0 10px 30px rgba(28, 38, 74, 0.10),
    0 1px 2px rgba(28, 38, 74, 0.05),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

/* 浏览器不支持 backdrop-filter：提高不透明度，保证文字可读 */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass { background: rgba(255, 255, 255, 0.9); }
}

/* ===========================================================================
   顶部导航
   =========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px 0;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 60px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  transition: box-shadow 0.25s, background 0.25s;
}
.nav.scrolled .nav-inner {
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--glass-highlight);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 0 0 auto;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px rgba(91, 118, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
  flex: 0 0 auto;
}
.logo-mark.sm { width: 26px; height: 26px; border-radius: 9px; font-size: 13px; }

/* 自定义 LOGO 图片（site.js 会插入 .site-logo-img 并给容器加 .has-logo） */
.logo-mark.has-logo,
[data-site-logo].has-logo {
  background: transparent;
  box-shadow: 0 4px 12px rgba(28, 38, 74, 0.14);
}
.site-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}

.logo-text {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

/* ===========================================================================
   按钮
   =========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s, box-shadow 0.2s, background 0.2s, filter 0.2s;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn:active { transform: scale(0.985); }

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 36px rgba(91, 118, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 玻璃按钮：与卡片同一套材质，但更亮一点 */
.btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--glass-highlight);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--glass-highlight);
}

/* ===========================================================================
   Hero
   =========================================================================== */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 78px 24px 54px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--glass-highlight);
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fc26b;
  box-shadow: 0 0 0 3px rgba(47, 194, 107, 0.18);
}

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.hero-title > span { display: block; }
.hero-title .grad {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 62%, #e86ad0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.85;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* 首屏的两个客户端下载按钮：次要动作，和主 CTA 用同一套玻璃材质，图标略微减弱 */
.hero-cta .hero-dl { font-weight: 650; }
.hero-dl svg { flex: 0 0 auto; opacity: 0.82; }

.hero-points {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hp-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #34d17b, #1fae63);
  flex: 0 0 auto;
}

/* ===========================================================================
   数据带
   =========================================================================== */
.stats {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
}
.stat {
  text-align: center;
  padding: 2px 8px;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14%;
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(126, 141, 180, 0.28), transparent);
}
.stat b {
  display: block;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-3);
}

/* ===========================================================================
   区块标题
   =========================================================================== */
.sec-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}
.sec-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0.9;
}
.sec-head h2 {
  margin: 10px 0 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 780;
  letter-spacing: -0.4px;
}
.sec-head p {
  margin: 10px auto 0;
  max-width: 560px;
  font-size: 14px;
  color: var(--text-2);
}

/* ===========================================================================
   功能卡片
   =========================================================================== */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 62px 24px 8px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px 20px 20px;
  border-radius: var(--radius-lg);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 46px rgba(28, 38, 74, 0.13),
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}
.card-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 255, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(28, 38, 74, 0.09), inset 0 1px 0 #fff;
}
.card h3 {
  margin: 14px 0 0;
  font-size: 15.5px;
  font-weight: 700;
}
.card p {
  margin: 7px 0 0;
  font-size: 13.3px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ===========================================================================
   CTA 玻璃块
   =========================================================================== */
.band {
  max-width: 900px;
  margin: 62px auto 0;
  padding: 38px 28px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(246, 248, 255, 0.5));
}
.band h2 {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 780;
  letter-spacing: -0.3px;
}
.band p {
  margin: 9px 0 22px;
  font-size: 13.8px;
  color: var(--text-2);
}

/* ===========================================================================
   下载区（桌面版 / 安卓版）
   ---------------------------------------------------------------------------
   两张等宽卡片并排，每张都是竖排：徽章 → 标题 → 说明 → 三个胶囊 → 按钮（贴底、整行）。
   ≤900px 收成一列。按钮用 margin-top:auto 对齐到底部，两张卡文字长短不一时按钮仍齐平。
   =========================================================================== */
.download {
  max-width: 1000px;
  margin: 62px auto 0;
  padding: 0 24px;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 255, 0.52));
}

.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(91, 118, 255, 0.11);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.dl-badge svg { flex: 0 0 auto; }
/* 安卓卡片用绿色系徽章，和桌面版区分开 */
.dl-badge-and {
  background: rgba(52, 199, 123, 0.14);
  color: #1a7f4b;
}

.dl-card h2 {
  margin: 13px 0 0;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 780;
  letter-spacing: -0.3px;
}
.dl-card p {
  margin: 9px 0 0;
  max-width: 44ch;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--text-2);
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.dl-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
}
.dl-chip i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-3);
}
.dl-chip b {
  font-size: 13px;
  font-weight: 750;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.dl-right {
  margin-top: auto;          /* 两张卡文字长短不一时，按钮仍然齐平贴底 */
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dl-btn { width: 100%; }
.dl-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-3);
}

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq {
  max-width: 780px;
  margin: 0 auto;
  padding: 62px 24px 0;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow-2), inset 0 1px 0 var(--glass-highlight); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ===========================================================================
   页脚
   =========================================================================== */
.foot {
  margin-top: 74px;
  padding: 26px 24px 34px;
}
.foot-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(126, 141, 180, 0.18);
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.foot-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.foot-sep { opacity: 0.5; }

/* ===========================================================================
   入场动画（landing.js 会给元素加 .is-in）
   html 上先挂 .js；没有脚本时元素保持可见，不会永远空白
   =========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bg-deco .blob { animation: none; }
}

/* ===========================================================================
   响应式
   =========================================================================== */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  /* 下载区：两张卡在窄一点的窗口里就上下堆叠，别硬挤成两列 */
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .nav { padding: 10px 12px 0; }
  .nav-inner { height: 54px; gap: 10px; }
  .logo-text { max-width: 120px; font-size: 14.5px; }

  .hero { padding: 52px 18px 40px; }
  .hero-sub { font-size: 14.5px; }
  .hero-cta { margin-top: 24px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 140px; }
  /* 三个按钮：两个下载并排各占半行，主 CTA 独占一整行更醒目 */
  .hero-cta .hero-dl { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 0 12px; font-size: 13.5px; }
  .hero-cta .btn-primary { flex: 1 1 100%; }
  .hero-points { font-size: 12px; gap: 8px 14px; }

  .stats { margin: 0 12px; padding: 18px 6px; grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 8px 4px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(126, 141, 180, 0.14); }

  .features, .faq { padding-left: 16px; padding-right: 16px; }
  .features { padding-top: 46px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .download { margin-top: 46px; padding: 0 12px; }
  .dl-grid { gap: 12px; }
  .dl-card { padding: 22px 18px 20px; }
  .dl-card p { max-width: none; }

  .band { margin: 46px 12px 0; padding: 28px 18px 30px; }

  .foot { margin-top: 54px; padding: 10px 16px 28px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 400px) {
  .logo-text { display: none; }
  .hero-title { font-size: 28px; }
}
