/* ========== 设计令牌（女性审美 + 科技感 + 清新） ========== */
:root {
  --bg-0: #ece4ff;
  --bg-1: #ddd1ff;
  --ink-0: #1a0f3d;
  --ink-1: #2c1f5e;
  --ink-2: #544b86;
  --ink-3: #8a83b8;

  --pink: #ff5fa8;
  --pink-soft: #ffd2e7;
  --lilac: #7c5cff;
  --lilac-soft: #e6deff;
  --mint: #46c8a8;
  --peach: #ffc9a4;
  --gold: #f7d27a;

  --grad-1: linear-gradient(135deg, #ff5fa8 0%, #7c5cff 50%, #46c8a8 100%);
  --grad-2: linear-gradient(135deg, #ffd6ec 0%, #ddd1ff 50%, #c4eddf 100%);
  --grad-3: linear-gradient(135deg, #ff8fb8 0%, #b89bff 100%);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-soft: 0 12px 40px rgba(60, 30, 120, 0.18);
  --shadow-card: 0 24px 60px rgba(60, 30, 120, 0.28);
  --shadow-glow: 0 0 60px rgba(255, 95, 168, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== 基础 ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
  color: var(--ink-0);
  background: #f4eeff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========== 背景光斑 ========== */
.bg-glow {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { background: var(--pink); top: -120px; left: -120px; }
.blob-2 { background: var(--lilac); top: 30%; right: -180px; animation-delay: -6s; }
.blob-3 { background: var(--mint); bottom: -160px; left: 30%; animation-delay: -12s; opacity: 0.22; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.06); }
  66% { transform: translate(-30px, 30px) scale(0.96); }
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(60, 30, 120, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 30, 120, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  opacity: 0.7;
}

/* ========== 导航 ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  isolation: isolate;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(236, 228, 255, 0.95);
  border-bottom: 1px solid rgba(124, 92, 255, 0.22);
  box-shadow: 0 4px 20px rgba(60, 30, 120, 0.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.nav-brand-text { font-weight: 700; font-size: 18px; letter-spacing: 0.5px; color: var(--ink-0); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-1); font-weight: 600; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--lilac); }
.nav-cta {
  padding: 10px 20px;
  background: var(--grad-1);
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 95, 168, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta-icon { width: 16px; height: 16px; display: none; }
.nav-cta-text { display: inline; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 95, 168, 0.6); }

/* ========== 通用段头 ========== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--lilac);
  background: var(--lilac-soft);
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink-0);
  background: linear-gradient(135deg, var(--ink-0) 0%, var(--lilac) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports (-webkit-background-clip: text) {
  .section-title { color: transparent; }
}
.section-sub { color: var(--ink-2); margin-top: 12px; font-size: 16px; }

/* ========== Hero ========== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--pink);
  background: var(--pink-soft);
  border-radius: 999px;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 8px var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ink-0);
}
.grad-text {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: shift 8s ease-in-out infinite;
  display: inline-block;
  /* 兜底：部分浏览器不支持 text-fill-color 时使用深紫色 */
  color: var(--lilac);
}
@supports (-webkit-background-clip: text) {
  .grad-text { color: transparent; }
}
@keyframes shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub { font-size: 18px; color: var(--ink-1); font-weight: 500; }

.hero-actions { display: flex; gap: 16px; margin: 32px 0 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--grad-1);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(255, 95, 168, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(255, 95, 168, 0.7); }
.btn-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
.btn-ghost {
  background: #ffffff;
  border: 1.5px solid rgba(124, 92, 255, 0.4);
  color: var(--ink-0);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(60, 30, 120, 0.08);
}
.btn-ghost:hover { border-color: var(--lilac); color: var(--lilac); transform: translateY(-2px); }

.hero-meta {
  display: flex; gap: 24px;
  font-size: 14px; color: var(--ink-2);
  flex-wrap: wrap;
}
.hero-meta li {
  position: relative; padding-left: 14px;
}
.hero-meta li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-1);
}
.hero-meta strong { color: var(--ink-0); font-weight: 700; }

/* 手机展示组 */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  min-height: 480px;
}
.phone {
  position: relative;
  width: 200px;
  background: #1d1735;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  animation: floaty 6s ease-in-out infinite;
}
.phone-1 { transform: rotate(-6deg) translateY(-10px); }
.phone-2 { transform: translateY(20px); z-index: 2; }
.phone-3 { transform: rotate(6deg) translateY(-10px); }
.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--grad-2);
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.hero-video,
.feature-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f6f3ff;
}
.sound-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--lilac);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(60, 30, 120, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  z-index: 2;
}
.sound-toggle:hover { transform: scale(1.08); background: #fff; }
.sound-toggle:active { transform: scale(0.95); }
.sound-toggle .icon-on { display: none; }
.sound-toggle .icon-mute { display: inline-block; }
.sound-toggle.is-on { background: var(--grad-1); color: #fff; }
.sound-toggle.is-on .icon-mute { display: none; }
.sound-toggle.is-on .icon-on { display: inline-block; }
.sound-toggle svg { width: 18px; height: 18px; }
.phone-tag {
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-1);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ========== 痛点 ========== */
.pain {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pain-card {
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(124, 92, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(60, 30, 120, 0.08);
}
.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-3);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.pain-card:hover::before { opacity: 0.18; }
.pain-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}
.pain-card p { color: var(--ink-1); font-size: 15px; font-weight: 600; }

/* ========== 功能动图 ========== */
.features {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card {
  text-align: center;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); }
.feature-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 280px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-2);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.4s var(--ease);
}
.feature-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 122, 182, 0.2), rgba(167, 139, 250, 0.2));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.feature-card:hover .feature-frame { box-shadow: 0 30px 80px rgba(255, 122, 182, 0.4); }
.feature-card:hover .feature-frame::after { opacity: 1; }
.feature-frame img,
.feature-frame video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.feature-card:hover .feature-frame img,
.feature-card:hover .feature-frame video { transform: scale(1.05); }
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--ink-0);
}
.feature-card p { color: var(--ink-1); font-size: 15px; font-weight: 500; }

/* ========== 下载 ========== */
.download {
  padding: 100px 40px 120px;
  max-width: 1100px;
  margin: 0 auto;
}
.download-card {
  background: var(--grad-1);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
  box-shadow: 0 30px 80px rgba(167, 139, 250, 0.45);
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(40px);
}
.download-card::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(50px);
}
.download-text { position: relative; z-index: 1; }
.download-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.download-text p { font-size: 16px; opacity: 0.92; }

.download-buttons {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 1;
}
.store-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  background: #fff;
  color: var(--ink-0);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  min-width: 220px;
}
.store-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.store-icon { width: 32px; height: 32px; flex-shrink: 0; }
.store-android .store-icon { color: #3ddc84; }
.store-ios .store-icon { color: #1d1735; }
.store-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-meta small { font-size: 11px; color: var(--ink-2); letter-spacing: 0.5px; }
.store-meta strong { font-size: 17px; font-weight: 700; }

/* ========== Footer ========== */
.footer { padding: 32px 40px; background: rgba(255, 255, 255, 0.5); border-top: 1px solid rgba(167, 139, 250, 0.12); }
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-1); }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-copy { color: var(--ink-2); font-size: 13px; }

/* ========== 滚动渐显 ========== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ========== 自适应 ========== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 28px 80px; }
  .hero-phones { min-height: 420px; }
  .phone { width: 180px; }
  .pain { padding: 80px 28px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .features { padding: 80px 28px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feature-frame { max-width: 220px; }
  .download { padding: 80px 28px; }
  .download-card { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .download-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 16px;
    gap: 8px;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-brand { gap: 8px; min-width: 0; flex: 0 1 auto; }
  .nav-logo { width: 30px; height: 30px; }
  .nav-brand-text { font-size: 15px; white-space: nowrap; }
  .nav-links { gap: 8px; flex: 0 0 auto; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1;
    font-weight: 700;
  }
  .nav-cta-text { display: inline; }
  .nav-cta-icon { display: none; }

  .hero { padding: 36px 20px 60px; gap: 32px; }
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
    color: var(--ink-0);
  }
  .hero-sub { font-size: 16px; color: var(--ink-1); font-weight: 600; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn { justify-content: center; padding: 14px 22px; }
  .hero-meta { font-size: 13px; gap: 14px; color: var(--ink-1); }
  .hero-meta strong { color: var(--ink-0); }
  .hero-phones {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: auto;
  }
  .phone { width: 60vw; max-width: 220px; transform: none !important; }

  .pain { padding: 60px 20px; }
  .pain-grid { grid-template-columns: 1fr; gap: 14px; }
  .pain-card { padding: 22px 20px; }

  .features { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-frame { max-width: 70vw; }

  .download { padding: 60px 20px 80px; }
  .download-card { padding: 32px 22px; border-radius: 28px; }
  .download-buttons { flex-direction: column; align-items: stretch; }
  .store-btn { min-width: 0; }

  .footer { padding: 24px 20px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* 偏好减弱动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
