/* ============================================
   蜜语视频 · 样式表（旅行主题 / 深色背景 / 主色 #6366f1）
   ============================================ */
:root {
  --primary: #6366f1;
  --primary-light: #8b5cf6;
  --primary-soft: rgba(99, 102, 241, 0.18);
  --bg: #0d0e1a;
  --bg-alt: #131527;
  --card: #1a1c31;
  --border: rgba(255, 255, 255, 0.07);
  --text: #eceefc;
  --muted: #9aa0c3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --grad: linear-gradient(135deg, #4f46e5 0%, #6366f1 45%, #8b5cf6 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.logo-emoji { font-size: 24px; }
.nav-center { display: flex; gap: 22px; }
.nav-center a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-center a:hover, .nav-center a.active { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  padding: 110px 0 90px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.10), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.hero-sub {
  margin: 18px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}
.search-box {
  margin: 38px auto 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #1f2437;
}
.search-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.search-btn:hover { transform: scale(1.08); }
.hero-stats {
  margin-top: 46px;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  flex-wrap: wrap;
}
.hs-item { display: flex; flex-direction: column; align-items: center; }
.hs-item .stat-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
}
.hs-label { font-size: 13px; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

/* 漂浮粒子 */
.particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-105vh) translateX(30px); opacity: 0; }
}

/* ---------- 区块通用 ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}
.section-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-note { color: var(--muted); font-size: 15px; }
.more-link {
  color: var(--primary-light);
  font-size: 15px;
  transition: color 0.2s;
}
.more-link:hover { color: var(--text); }

/* ---------- 视频卡片网格 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.22);
}
.cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .cover img { transform: scale(1.06); }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.25s, transform 0.25s;
}
.video-card:hover .play-btn {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.12);
}
.dur {
  position: absolute;
  right: 10px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
}
.card-body { padding: 14px 15px 16px; }
.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}
.card-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.creator-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cname { font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.creator-row .meta:first-of-type { margin-left: auto; }

/* ---------- 明星创作者 ---------- */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.creator-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 14px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.creator-card:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, 0.55); }
.creator-card > img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
  border: 3px solid var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.star-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 18px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.creator-card h4 { margin-top: 12px; font-size: 15px; font-weight: 700; }
.fans { margin-top: 4px; font-size: 13px; color: var(--primary-light); font-weight: 600; }
.tag { margin-top: 2px; font-size: 12px; color: var(--muted); }

/* ---------- 平台特色 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, 0.55); }
.f-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--primary-soft);
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ---------- 数据统计 ---------- */
.big-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.bs-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 16px;
  box-shadow: var(--shadow);
}
.bs-item .stat-num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bs-unit { font-size: 18px; font-weight: 700; color: var(--primary-light); }
.bs-item p { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 用户评价 ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.t-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.t-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.5); }
.t-head { display: flex; align-items: center; gap: 12px; }
.t-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-soft);
}
.t-head h4 { font-size: 15px; }
.stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.t-card > p { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- 成功故事 ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
}
.story-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.5); }
.story-card h4 { font-size: 17px; margin-bottom: 10px; color: var(--primary-light); }
.story-card p { font-size: 14px; color: var(--muted); }

/* ---------- APP 展示 ---------- */
.app-wrap {
  display: flex;
  align-items: center;
  gap: 70px;
}
.app-left { flex: 1; }
.app-desc { margin-top: 12px; color: var(--muted); font-size: 15px; }
.app-features { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.af-item { display: flex; gap: 16px; align-items: flex-start; }
.af-item > span {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--primary-soft);
  font-size: 24px;
}
.af-item h4 { font-size: 16px; }
.af-item p { font-size: 14px; color: var(--muted); margin-top: 3px; }
.app-right { flex-shrink: 0; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 272px;
  height: 560px;
  border-radius: 44px;
  background: #0b0c17;
  border: 8px solid #262943;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(99, 102, 241, 0.35);
  overflow: hidden;
}
.phone .notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 24px;
  background: #0b0c17;
  border-radius: 14px;
  z-index: 3;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0a0b15;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.copyright {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 内页通用 ---------- */
.page-hero {
  background: var(--grad);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.page-hero p { color: rgba(255, 255, 255, 0.85); margin-top: 12px; font-size: 16px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: var(--primary); }
.filter-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* 关于我们 */
.about-story { background: var(--bg-alt); }
.about-text { max-width: 820px; margin: 0 auto; }
.about-text p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.about-text p strong { color: var(--text); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cta-box {
  background: var(--grad);
  border-radius: 24px;
  padding: 54px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.35);
}
.cta-box h3 { color: #fff; font-size: 26px; font-weight: 800; }
.cta-box p { color: rgba(255, 255, 255, 0.85); margin-top: 10px; font-size: 15px; }
.cta-box .btn-primary {
  margin-top: 24px;
  background: #fff;
  color: var(--primary);
  display: inline-block;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-center { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .big-stats { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .app-wrap { flex-direction: column; gap: 50px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .big-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-title { font-size: 14px; min-height: 40px; }
  .phone { width: 240px; height: 500px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-ghost { display: none; }
}
