/* ============================================================
   driiiip 词多多官网 - 公共样式
   主色 #1A6EFF · 苹果风格留白 · Inter + PingFang SC
   ============================================================ */

:root {
  --primary: #1A6EFF;
  --primary-dark: #0051D0;
  --primary-light: #EFF6FF;
  --text-main: #1D1D1F;
  --text-sub: #86868B;
  --text-muted: #A1A1A6;
  --bg-main: #FFFFFF;
  --bg-soft: #F5F5F7;
  --bg-blue: #EFF6FF;
  --border: #E5E5E7;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 110, 255, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Helvetica Neue', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

/* ============ 顶部导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.nav-brand span { color: var(--primary); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  color: var(--text-sub);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-main); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: scale(0.97); }
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ============ 通用容器 ============ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-blue { background: var(--bg-blue); }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ============ 标题层级 ============ */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
}
.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-main);
}
.h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.lead {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-sub);
  line-height: 1.5;
  font-weight: 400;
  margin-top: 16px;
}
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: scale(0.97); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-light); }
.btn-white {
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { transform: scale(0.97); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ============ 卡片 ============ */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.card-icon img {
  width: 36px;
  height: 36px;
  display: block;
}
.inline-icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  margin-right: 3px;
}
.card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}
.card-desc {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.55;
}

/* ============ 网格 ============ */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============ Hero ============ */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%);
}
.hero h1 { margin-bottom: 0; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-shot {
  margin: 64px auto 0;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
  position: relative;
  aspect-ratio: 720 / 1280;
}
.hero-shot .hc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-shot .hc-img.hc-on { opacity: 1; }
.hc-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  gap: 7px;
  justify-content: center;
  z-index: 2;
}
.hc-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.hc-dot.hc-dot-on { width: 20px; background: #fff; }
@media (max-width: 640px) {
  .hero-shot { margin-top: 44px; border-radius: 20px; }
}

/* ============ 数据展示 ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 16px;
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ 功能截图展示 ============ */
.shot-frame {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 0 auto;
}
.shot-frame img {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

/* ============ 适合人群标签 ============ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-soft);
  color: var(--text-sub);
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
}

/* ============ 扫码区 ============ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); margin-top: 16px; font-size: 18px; }
.cta-qr {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  margin: 32px auto 16px;
}
.cta-qr img { width: 100%; height: auto; border-radius: 12px; }
.cta-hint { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-q {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.faq-a {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.7;
  padding-left: 40px;
}

/* ============ 页脚 ============ */
.footer {
  background: var(--bg-soft);
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-weight: 700;
  color: var(--text-main);
}
.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.footer-links a { color: var(--text-sub); }

/* ============ 动画 ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease-out both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* 滚动淡入 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ 品牌logo：driiiip 深色字，4个i 常亮彩色直接变色 + 跳动动画随机分配 ============ */
.brand-word { position: relative; display: inline-flex; align-items: baseline; color: var(--text-main); }
.nav-brand .brand-word { color: var(--text-main); } /* 抵消 .nav-brand span 的蓝色 */
.brand-word .i,
.footer-brand .i {
  display: inline-block;
  font-style: normal;
  transform-origin: 50% 100%;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.30, 0.60, 0.40, 1);
}
/* 每个 i 三动画：动作（6家族随机洗牌，含3D）+ 变色 + 同步辉光；默认值即慢节奏（无JS回退） */
.i1 { color: #1A6EFF;  animation-name: i-jump, c1, g1;   animation-duration: 2.1s, 4.6s, 4.6s; animation-delay: 0s, 0s, 0s; }
.i2 { color: #FF6B35;  animation-name: i-swing, c2, g2;  animation-duration: 2.5s, 5.8s, 5.8s; animation-delay: 0.3s, 0.9s, 0.9s; }
.i3 { color: #22C55E;  animation-name: i-jelly, c3, g3;  animation-duration: 2.0s, 4.0s, 4.0s; animation-delay: 0.5s, 1.2s, 1.2s; }
.i4 { color: #A855F7;  animation-name: i-pulse, c4, g4;  animation-duration: 2.8s, 6.6s, 6.6s; animation-delay: 0.2s, 0.5s, 0.5s; }
@keyframes i-jump {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-0.32em); }
  50% { transform: translateY(0.03em); }
  70% { transform: translateY(-0.08em); }
  85% { transform: translateY(0); }
}
@keyframes i-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-14deg); }
  55% { transform: rotate(11deg); }
  80% { transform: rotate(-5deg); }
}
@keyframes i-jelly {
  0%, 100% { transform: skewX(0deg) scaleX(1); }
  30% { transform: skewX(13deg) scaleX(1.06); }
  55% { transform: skewX(-9deg) scaleX(0.97); }
  78% { transform: skewX(4deg) scaleX(1.02); }
}
@keyframes i-pulse {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  35% { transform: scaleY(0.68) scaleX(1.18); }
  60% { transform: scaleY(1.12) scaleX(0.95); }
  80% { transform: scaleY(0.95) scaleX(1.03); }
}
/* 3D 家族（.iw 提供 perspective） */
@keyframes i-flip3d {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(-178deg) translateY(-0.06em); }
  100% { transform: rotateX(-360deg); }
}
@keyframes i-sway3d {
  0%, 100% { transform: rotateY(0deg); }
  30% { transform: rotateY(40deg); }
  65% { transform: rotateY(-32deg); }
}
/* 家族7-9：平面自旋 / 浮沉 / 歪头 */
@keyframes i-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes i-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.22em); }
}
@keyframes i-tilt {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-9deg); }
  60% { transform: rotate(7deg); }
  82% { transform: rotate(-3deg); }
}
/* 家族10-12：滑步 / 颤动 / 横向伸缩 */
@keyframes i-slide {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-0.2em); }
  55% { transform: translateX(0.16em); }
  80% { transform: translateX(-0.05em); }
}
@keyframes i-tremble {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-0.045em); }
  35% { transform: translateX(0.045em); }
  50% { transform: translateX(-0.04em); }
  65% { transform: translateX(0.035em); }
  80% { transform: translateX(-0.02em); }
}
@keyframes i-stretch {
  0%, 100% { transform: scaleX(1); }
  35% { transform: scaleX(1.22); }
  65% { transform: scaleX(0.92); }
  82% { transform: scaleX(1.04); }
}
/* 家族13-15：心跳 / 探头 / 3D扭转 */
@keyframes i-heartbeat {
  0%, 28%, 60%, 100% { transform: scale(1); }
  14% { transform: scale(1.14); }
  42% { transform: scale(1.18); }
  78% { transform: scale(1.03); }
}
@keyframes i-peek {
  0%, 100% { transform: translateY(0) scaleY(1); }
  30% { transform: translateY(0.14em) scaleY(0.82); }
  55% { transform: translateY(-0.1em) scaleY(1.06); }
  78% { transform: translateY(0) scaleY(1); }
}
@keyframes i-twist3d {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
  35% { transform: rotateX(24deg) rotateY(-28deg); }
  65% { transform: rotateX(-18deg) rotateY(20deg); }
  85% { transform: rotateX(6deg) rotateY(-6deg); }
}
@keyframes c1 { 0%, 100% { color: #1A6EFF; }  50% { color: #22D3EE; } }
@keyframes c2 { 0%, 100% { color: #FF6B35; }  50% { color: #F472B6; } }
@keyframes c3 { 0%, 100% { color: #22C55E; }  50% { color: #A3E635; } }
@keyframes c4 { 0%, 100% { color: #A855F7; }  50% { color: #EC4899; } }
.brand-cn {
  margin-left: 6px;
  color: var(--primary);
}

/* ---------- i 活体系统 v3：外层 .iw 管入场/大小/独舞/磁吸/打盹，内层 .i 管动作(含3D)/变色/辉光 ---------- */
.iw { display: inline-block; position: relative; cursor: pointer; perspective: 460px; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: translate .3s cubic-bezier(.2,.6,.3,1), filter 1.6s ease; }
/* 入场：4颗水滴错峰落下弹起 + 大小呼吸（人浪/独舞由 WAAPI 驱动，不占用此动画列表） */
.brand-word .iw, .footer-brand .iw { animation: iw-enter .85s cubic-bezier(.22,.68,.34,1.18) backwards, iw-breathe 6s ease-in-out infinite; }
.w2 { animation-delay: .14s, 0s; }
.w3 { animation-delay: .28s, 0s; }
.w4 { animation-delay: .42s, 0s; }
@keyframes iw-enter {
  0% { translate: 0 -0.9em; opacity: 0; scale: .55; }
  62% { translate: 0 .05em; opacity: 1; scale: 1.07; }
  100% { translate: 0 0; opacity: 1; scale: 1; }
}
@keyframes iw-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }

/* 辉光：与变色同周期呼吸式发光 */
@keyframes g1 { 0%, 100% { text-shadow: 0 0 0 rgba(26,110,255,0); } 50% { text-shadow: 0 0 13px rgba(26,110,255,.8), 0 0 34px rgba(26,110,255,.35); } }
@keyframes g2 { 0%, 100% { text-shadow: 0 0 0 rgba(255,107,53,0); } 50% { text-shadow: 0 0 13px rgba(255,107,53,.8), 0 0 34px rgba(244,114,182,.35); } }
@keyframes g3 { 0%, 100% { text-shadow: 0 0 0 rgba(34,197,94,0); } 50% { text-shadow: 0 0 13px rgba(34,197,94,.8), 0 0 34px rgba(163,230,53,.35); } }
@keyframes g4 { 0%, 100% { text-shadow: 0 0 0 rgba(168,85,247,0); } 50% { text-shadow: 0 0 13px rgba(168,85,247,.8), 0 0 34px rgba(236,72,153,.35); } }

/* 人浪（WAAPI 驱动，见 site.js wave()） */

/* 独舞：随机一个 i 放大闪耀（scale 由 WAAPI），其余压暗聚光 */
.logo-solo .iw:not(.soloing) .i { opacity: .38; filter: saturate(.35); transition: opacity .4s, filter .4s; }
.logo-solo .iw.soloing .i { filter: brightness(1.25); transition: filter .4s; }

/* 打盹：闲置 75s 后整体调暗放慢，任何操作唤醒并伸个懒腰（触发人浪） */
.logo-dozing .iw { filter: brightness(.68) saturate(.72); }
.logo-dozing .i { animation-duration: 3.6s, 7s, 7s !important; }

/* 长按蓄力：850ms 后充能提亮，松手爆发 */
.iw.charged .i { filter: brightness(1.8) drop-shadow(0 0 18px rgba(34,211,238,.9)); transition: filter .3s ease; }

/* 鼠标悬停聚光：被碰的 i 提亮，其余退后 */
.iw:hover .i { filter: brightness(1.35) drop-shadow(0 0 9px rgba(26,110,255,.55)); transition: filter .18s; }
.brand-word:has(.iw:hover) .i, .footer-brand:has(.iw:hover) .i { opacity: .45; filter: saturate(.4); transition: opacity .25s, filter .25s; }
.brand-word:has(.iw:hover) .iw:hover .i, .footer-brand:has(.iw:hover) .iw:hover .i { opacity: 1; filter: brightness(1.35) drop-shadow(0 0 9px rgba(26,110,255,.55)); }

/* 字母 i 头上的点：偶尔滴下一滴水珠（品牌=水滴，雨水雕刻之意） */
.iw .i { position: relative; }
.iw .i::after {
  content: ''; position: absolute; top: .04em; left: 56%;
  width: .14em; height: .14em; border-radius: 50%;
  background: currentColor; opacity: 0;
  animation: i-drip 18s infinite;
}
.w1 .i::after { animation-duration: 18s; animation-delay: 4s; }
.w2 .i::after { animation-duration: 23s; animation-delay: 11s; }
.w3 .i::after { animation-duration: 16s; animation-delay: 8s; }
.w4 .i::after { animation-duration: 21s; animation-delay: 15s; }
@keyframes i-drip {
  0%, 86% { opacity: 0; transform: translate(0, 0) scale(.4); }
  88% { opacity: .95; transform: translate(0, .03em) scale(1); }
  100% { opacity: 0; transform: translate(-.12em, .95em) scale(.85); }
}

/* 点击/轻点：水花飞溅 */
.splash-p { position: absolute; left: 50%; top: 32%; width: .17em; height: .17em; border-radius: 50%; pointer-events: none; animation: sp-fly .68s cubic-bezier(.15,.6,.4,1) forwards; }
@keyframes sp-fly {
  from { transform: translate(-50%,-50%); opacity: 1; scale: 1; }
  to { transform: translate(-50%,-50%) translate(var(--dx), var(--dy)); opacity: 0; scale: .25; }
}
.splash-ring { position: absolute; left: 50%; top: 32%; width: .55em; height: .55em; border: 2px solid rgba(34,211,238,.85); border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); animation: sp-ring .55s ease-out forwards; }
@keyframes sp-ring { from { opacity: .9; scale: .3; } to { opacity: 0; scale: 2.3; } }
.splash-ring.big { width: .95em; height: .95em; border-width: 3px; animation: sp-ring .9s ease-out forwards; }

@media (prefers-reduced-motion: reduce) {
  .brand-word .i, .footer-brand .i,
  .brand-word .iw, .footer-brand .iw { animation: none !important; }
  .iw .i::after { display: none; }
}

/* ============ 首页动态关键词展示 ============ */
.kinetic-line {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.01em;
}
.kinetic-fixed { color: var(--text-sub); margin-right: 8px; }
.kinetic-words {
  position: relative;
  display: inline-block;
  min-width: 6.5em;
  text-align: left;
  color: var(--primary);
}
.kinetic-words .kw {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.kinetic-words .kw.kw-on {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

/* ===== 功能页 · 用户故事与攻略板块 ===== */
.story-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; margin-top: 56px; }
.story-fig { border-radius: 20px; overflow: hidden; box-shadow: 0 14px 36px rgba(15,35,80,.14); border: 1px solid #E3ECF9; margin: 0; }
.story-fig img { display: block; width: 100%; height: auto; }
.story-quote { font-size: 15.5px; line-height: 1.95; color: #33415C; margin: 0 0 14px; }
.story-quote strong { color: #0F1B33; }
.story-text .btn { margin-top: 6px; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.story-card { display: block; background: #fff; border: 1px solid #E3ECF9; border-radius: 16px; padding: 20px 18px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,110,255,.12); }
.story-card .sc-chip { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--primary); background: #EAF2FF; border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.story-card .sc-title { font-size: 14.5px; font-weight: 700; color: #0F1B33; line-height: 1.55; margin: 0 0 8px; }
.story-card .sc-desc { font-size: 12.5px; color: #5B6B85; line-height: 1.65; margin: 0; }
@media (max-width: 860px) {
  .story-wrap { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .story-cards { grid-template-columns: 1fr; }
}

/* =====================================================
   首页改版（词多多 · 移动优先 · 引流小程序）
   ===================================================== */
/* 汉堡菜单按钮（默认隐藏，手机显示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-links.nav-open { display: flex; }
.nav-cta.nav-hidden { display: none; }

/* 首屏 Hero 分栏：左文案 + 右小程序码 */
.hero-split { padding: 72px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-copy .lead { margin-left: 0; }
.hero-actions { justify-content: flex-start; }
.qr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}
.qr-card img { display: block; width: 100%; height: auto; max-width: 260px; margin: 0 auto; border-radius: 12px; }
.qr-title { font-size: 15px; font-weight: 600; color: var(--text-main); margin: 14px 0 6px; }
.qr-name { font-size: 13px; color: var(--text-sub); line-height: 1.6; margin: 0; }
.qr-name b { color: var(--primary); }

/* 品牌主视觉 hero 图（顶部居中） */
.hero-cover-top { text-align: center; margin-bottom: 44px; }
.hero-cover-img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* 给谁用 分区块 */
.aud-grid { display: grid; gap: 28px; }
.aud-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.aud-img { display: block; width: 100%; height: auto; border-radius: 16px; }
.aud-body h3 { margin-bottom: 14px; }
.aud-list { list-style: none; margin: 0; padding: 0; }
.aud-list li {
  font-size: 15.5px;
  line-height: 1.8;
  color: #33415C;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.aud-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.aud-list b { color: #0F1B33; }

/* 学段横滚 */
.stage-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stage-scroll::-webkit-scrollbar { display: none; }
.stage-scroll .tag { white-space: nowrap; font-size: 15px; padding: 9px 20px; }

/* 攻略卡片链接 */
.card-link { text-decoration: none; display: block; }
.card-link .card-title { margin-bottom: 10px; }

/* CTA 搜索提示 */
.cta-search { font-size: 14.5px; color: var(--text-sub); margin-top: 14px; }
.cta-search b { color: var(--primary); }

/* ===== 移动端：手机优先 ===== */
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(15,35,80,.10);
    padding: 10px 22px 18px;
    gap: 0;
    z-index: 90;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 6px;
    font-size: 16px;
    border-bottom: 1px solid #EEF2F8;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav { position: relative; }
  .hero-split { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-copy .lead { margin-left: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .qr-card { max-width: 300px; }
  .aud-card { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .aud-card .aud-img { order: -1; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .stats { gap: 24px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 32px; }
  .aud-card { gap: 22px; padding: 20px; }
}

/* 例句卖点横条 */
.sentence-strip {
  margin-top: 40px;
  background: linear-gradient(120deg, #EAF2FF 0%, #F4F8FF 100%);
  border: 1px solid #D8E6FB;
  border-radius: 18px;
  padding: 22px 26px;
  text-align: center;
}
.sentence-strip-title { font-size: 17px; font-weight: 700; color: #0F1B33; margin: 0 0 8px; }
.sentence-strip-desc { font-size: 14.5px; color: #5B6B85; line-height: 1.75; margin: 0; }

/* 它是怎么帮你安排的（三规则） */
.how { margin-top: 48px; text-align: center; }
.how-sub { font-size: 14.5px; color: var(--text-sub); margin: 6px 0 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
  text-align: center;
}
.how-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-sm);
}
.how-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: #EAF2FF;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.how-icon img { width: 28px; height: 28px; }
.how-title { font-size: 15.5px; font-weight: 700; color: #0F1B33; margin: 0 0 8px; }
.how-desc { font-size: 13.5px; color: #5B6B85; line-height: 1.7; margin: 0; }

/* 手机端：三规则单列 */
@media (max-width: 640px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-card { padding: 20px 18px; }
}

/* 微信搜索提示（微信绿胶囊） */
.wechat-tip {
  display: inline-block;
  background: #07C160;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 999px;
  padding: 8px 16px;
  margin-top: 4px;
}
.cta-search .wechat-tip { margin-top: 10px; font-size: 14px; padding: 10px 20px; }

/* 例句示例 */
.example-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  text-align: left;
}
.example-card {
  background: #fff;
  border: 1px solid #DCE8F8;
  border-radius: 14px;
  padding: 16px 18px;
}
.ex-en { font-size: 15px; font-weight: 600; color: #0F1B33; line-height: 1.65; margin: 0 0 6px; }
.ex-en b { color: var(--primary); }
.ex-cn { font-size: 13px; color: #5B6B85; line-height: 1.6; margin: 0; }

/* 手机端：例句示例单列 */
@media (max-width: 640px) {
  .example-list { grid-template-columns: 1fr; }
}

/* 功能卡：图标 + 标题横排居中，省竖向空间 */
.card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.card-head .card-icon { margin: 0; }
.card-head .card-title { margin: 0; }

/* 小程序界面预览（替换“扫码开始学”按钮） */
.app-preview { margin-top: 44px; }
.app-preview a { display: inline-block; }
.app-preview img {
  width: 250px;
  height: auto;
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 16px 40px rgba(16, 60, 140, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.app-preview a:hover img {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(16, 60, 140, 0.24);
}
.app-preview-tip { margin-top: 14px; color: var(--text-sub); font-size: 14px; }
@media (max-width: 640px) {
  .app-preview img { width: 200px; }
}
