/* ==========================================================
   flaixz 智能助手 - 官网样式
   主题：科技蓝紫 / AI 智能
   ========================================================== */

:root {
  --primary: #5b5bf0;
  --primary-2: #8b5cf6;
  --primary-3: #22d3ee;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #a855f7;
  --bg-dark: #0b1020;
  --bg-dark-2: #101733;
  --bg-light: #f7f8fe;
  --text-dark: #1b2140;
  --text-muted: #6b7290;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(91, 91, 240, 0.14);
  --shadow-lg: 0 30px 80px rgba(67, 56, 202, 0.22);
  --gradient: linear-gradient(120deg, #5b5bf0 0%, #8b5cf6 55%, #22d3ee 130%);
  --gradient-text: linear-gradient(120deg, #6d6bf5 0%, #a855f7 60%, #22d3ee 120%);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1180px, 92%); margin: 0 auto; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 26px rgba(91, 91, 240, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(91, 91, 240, 0.45); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #9333ea; transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-dark { background: #1b2140; color: #fff; }
.btn-dark:hover { background: #2a3160; transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn-xl { padding: 17px 40px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.logo-domain { color: rgba(255, 255, 255, 0.55); font-size: 11px; letter-spacing: 0.6px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(139, 92, 246, 0.18); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-download { padding: 9px 18px; font-size: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(139, 92, 246, 0.35), transparent 60%),
                    radial-gradient(900px 500px at 0% 110%, rgba(34, 211, 238, 0.2), transparent 55%);
  color: #fff;
  overflow: hidden;
  padding: 150px 0 90px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow-1 { width: 420px; height: 420px; background: #6d6bf5; top: -120px; right: 8%; }
.glow-2 { width: 320px; height: 320px; background: #22d3ee; bottom: -100px; left: 4%; opacity: 0.3; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-3); box-shadow: 0 0 10px var(--primary-3); }
.hero-title { font-size: 46px; line-height: 1.25; font-weight: 800; margin-bottom: 18px; letter-spacing: 1px; }
.title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-desc { color: rgba(255, 255, 255, 0.75); font-size: 17px; max-width: 560px; margin-bottom: 30px; }

.hero-search { margin-bottom: 30px; max-width: 600px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 8px 8px 8px 18px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.search-box:focus-within { border-color: rgba(139, 92, 246, 0.7); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.search-icon { width: 20px; height: 20px; color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  min-width: 0;
}
.search-box input::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-btn { padding: 11px 24px; border-radius: 11px; font-size: 15px; }
.hot-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.hot-label { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-right: 2px; }
.tag-chip {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s ease;
}
.tag-chip:hover { background: rgba(139, 92, 246, 0.3); border-color: rgba(139, 92, 246, 0.6); color: #fff; }

.hero-downloads { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-update { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* 手机展示 */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone-frame {
  width: 280px;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  position: relative;
}
.phone-frame::after {
  content: "";
  display: block;
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  background: #0d1330;
  z-index: -1;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #0d1330;
  border-radius: 20px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  border-radius: 30px;
  display: block;
}
.phone-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  animation: floatY 4s ease-in-out infinite;
}
.float-1 { top: 16%; right: -26px; animation-delay: 0s; }
.float-2 { bottom: 20%; left: -30px; animation-delay: 1.6s; }
.float-icon { font-size: 20px; }
.float-text { display: flex; flex-direction: column; line-height: 1.25; }
.float-text strong { font-size: 15px; color: #fff; }
.float-text span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.phone-ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(139, 92, 246, 0.5); animation: spin 22s linear infinite; }
.ring-1 { width: 330px; height: 330px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ring-2 { width: 390px; height: 390px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-direction: reverse; animation-duration: 30s; border-color: rgba(34, 211, 238, 0.35); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- 数据统计条 ---------- */
.stats-bar { background: var(--bg-dark-2); border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding: 34px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-num {
  font-size: 38px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.2;
}
.stat-label { color: rgba(255, 255, 255, 0.6); font-size: 14px; margin-top: 6px; }

/* ---------- 区块通用 ---------- */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-weight: 700;
}
.section-title { font-size: 36px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 12px; }
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 620px; margin: 0 auto; }

/* ---------- 功能特色 ---------- */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.feature-icon svg { width: 27px; height: 27px; }
.icon-1 { background: linear-gradient(135deg, #5b5bf0, #8b5cf6); }
.icon-2 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.icon-3 { background: linear-gradient(135deg, #22d3ee, #5b5bf0); }
.icon-4 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.icon-5 { background: linear-gradient(135deg, #22d3ee, #34d399); }
.icon-6 { background: linear-gradient(135deg, #5b5bf0, #4338ca); }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- AI 对话实验室 ---------- */
.search-lab { padding: 96px 0; background: #fff; }
.search-lab-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #eef0f8;
  box-shadow: var(--shadow);
  background: #fff;
}
.search-lab-left { padding: 32px 30px; background: var(--primary-light); }
.lab-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e3e7fb;
  border-radius: 14px;
  padding: 8px 8px 8px 16px;
  margin-bottom: 24px;
}
.lab-search-box .search-icon { color: var(--primary); }
.lab-search-box input { flex: 1; border: none; outline: none; font-size: 14.5px; font-family: inherit; color: var(--text-dark); min-width: 0; }
.lab-search-box input::placeholder { color: #a8aecb; }
.filter-group { margin-bottom: 18px; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 10px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  font-size: 13px;
  padding: 6px 15px;
  border-radius: 100px;
  border: 1px solid #d9ddf5;
  background: #fff;
  color: var(--text-muted);
  transition: all 0.25s ease;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(91, 91, 240, 0.3); }

.search-lab-right { padding: 32px 30px; }
.lab-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f8;
}
.result-count { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 100px; }
.lab-results { display: flex; flex-direction: column; gap: 8px; }
.lab-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-radius: 12px;
  background: #f8f9fe;
  transition: all 0.25s ease;
  cursor: pointer;
}
.lab-result-item:hover { background: var(--primary-light); transform: translateX(4px); }
.result-title { font-size: 14.5px; font-weight: 600; color: var(--text-dark); }
.result-meta { font-size: 12px; color: var(--primary); background: rgba(139, 92, 246, 0.1); padding: 3px 9px; border-radius: 100px; }

/* ---------- 场景广场 ---------- */
.scenes { padding: 96px 0; background: linear-gradient(180deg, #f7f8fe 0%, #fff 100%); }
.scenes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.scene-card {
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.35s ease;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scene-icon {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.scene-icon svg { width: 28px; height: 28px; }
.sc-1 { background: linear-gradient(135deg, #5b5bf0, #8b5cf6); }
.sc-2 { background: linear-gradient(135deg, #22d3ee, #5b5bf0); }
.sc-3 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.sc-4 { background: linear-gradient(135deg, #8b5cf6, #22d3ee); }
.scene-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.scene-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 热门功能榜 ---------- */
.ranking { padding: 96px 0; background: var(--bg-dark); }
.ranking .section-tag { background: rgba(139, 92, 246, 0.16); color: #b7b3ff; }
.ranking .section-desc { color: rgba(255, 255, 255, 0.6); }
.ranking-header { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; margin-bottom: 44px; }
.ranking-header .section-desc { margin: 0; }
.ranking-tabs { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.06); padding: 5px; border-radius: 12px; }
.rank-tab {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.25s ease;
}
.rank-tab:hover { color: #fff; }
.rank-tab.active { background: var(--gradient); color: #fff; }
.ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rank-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}
.rank-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.4); }
.rank-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rank-enum { font-size: 10px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.4); }
.rank-card-title { display: flex; align-items: center; gap: 10px; }
.rank-card-title h3 { color: #fff; font-size: 19px; }
.rank-period { font-size: 11px; color: #b7b3ff; background: rgba(139, 92, 246, 0.2); padding: 3px 9px; border-radius: 100px; }
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.25s ease;
}
.rank-item:hover { background: rgba(255, 255, 255, 0.06); }
.rank-num { width: 26px; font-size: 14px; font-weight: 800; color: rgba(255, 255, 255, 0.35); font-style: italic; }
.num-1 { color: #ffd76a; }
.num-2 { color: #c9d1ff; }
.num-3 { color: #ffa070; }
.rank-cover {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.cover-1 { background: linear-gradient(135deg, #5b5bf0, #8b5cf6); }
.cover-2 { background: linear-gradient(135deg, #22d3ee, #5b5bf0); }
.cover-3 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.cover-4 { background: linear-gradient(135deg, #6366f1, #34d399); }
.cover-new-1 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.cover-new-2 { background: linear-gradient(135deg, #22d3ee, #34d399); }
.cover-new-3 { background: linear-gradient(135deg, #ec4899, #a855f7); }
.cover-new-4 { background: linear-gradient(135deg, #5b5bf0, #22d3ee); }
.cover-fin-1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.cover-fin-2 { background: linear-gradient(135deg, #34d399, #22d3ee); }
.cover-fin-3 { background: linear-gradient(135deg, #a855f7, #ec4899); }
.cover-fin-4 { background: linear-gradient(135deg, #5b5bf0, #6366f1); }
.rank-info { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rank-name { color: #fff; font-size: 14.5px; font-weight: 600; }
.rank-detail { color: rgba(255, 255, 255, 0.45); font-size: 12px; }
.rank-change { font-size: 12px; font-weight: 700; }
.rank-change.up { color: #34d399; }
.rank-change.down { color: #f87171; }
.rank-change.flat { color: rgba(255, 255, 255, 0.35); }
.rank-badge { font-size: 10px; color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.5); padding: 2px 8px; border-radius: 100px; }

/* ---------- APP 截图展示 ---------- */
.screenshots { padding: 96px 0; background: #fff; }
.screenshot-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.showcase-main { display: flex; justify-content: center; }
.showcase-phone {
  width: 280px;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(91, 91, 240, 0.25), rgba(139, 92, 246, 0.08));
  border: 1px solid #e6e8f9;
  box-shadow: var(--shadow-lg);
}
.showcase-phone img { border-radius: 30px; }
.showcase-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.showcase-thumb {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background: #f7f8fe;
  text-align: center;
}
.showcase-thumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.showcase-thumb span {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.showcase-thumb:hover { border-color: var(--primary-2); transform: translateY(-3px); }
.showcase-thumb.active { border-color: var(--primary); box-shadow: 0 10px 26px rgba(91, 91, 240, 0.25); }
.showcase-thumb.active span { color: var(--primary); }

/* ---------- 下载 CTA ---------- */
.download-cta { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%); }
.cta-card {
  position: relative;
  border-radius: 28px;
  background: var(--bg-dark);
  background-image: radial-gradient(700px 400px at 90% 0%, rgba(139, 92, 246, 0.4), transparent 60%),
                    radial-gradient(600px 360px at 0% 100%, rgba(34, 211, 238, 0.22), transparent 55%);
  color: #fff;
  padding: 60px 56px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.cta-bg-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(139, 92, 246, 0.35); filter: blur(110px); top: -120px; right: 20%; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.cta-desc { color: rgba(255, 255, 255, 0.75); font-size: 16px; margin-bottom: 30px; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.cta-info { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); flex-wrap: wrap; }
.cta-info .dot { opacity: 0.5; }
.cta-note { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.cta-phone { position: relative; z-index: 1; display: flex; justify-content: center; }
.cta-phone img {
  width: 250px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

/* ---------- 常见问题 ---------- */
.faq { padding: 96px 0; background: var(--bg-light); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid #eef0f8;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: #d9ddf5; }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}
.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gradient); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.footer { background: #0a0e1e; color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-brand .logo-title { color: #fff; }
.footer-desc { font-size: 14px; margin: 16px 0 20px; max-width: 340px; color: rgba(255, 255, 255, 0.55); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); transition: all 0.25s ease; }
.footer-col a:hover { color: #b7b3ff; padding-left: 4px; }
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(91, 91, 240, 0.4);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: all 0.35s ease;
  z-index: 900;
}
.back-to-top.show { opacity: 1; transform: translateY(0); visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 移动端悬浮下载 ---------- */
.mobile-download-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(91, 91, 240, 0.5);
  z-index: 950;
  animation: fabPulse 2.4s ease-in-out infinite;
}
@keyframes fabPulse { 0%, 100% { box-shadow: 0 14px 34px rgba(91, 91, 240, 0.5), 0 0 0 0 rgba(139, 92, 246, 0.45); } 50% { box-shadow: 0 14px 34px rgba(91, 91, 240, 0.5), 0 0 0 14px rgba(139, 92, 246, 0); } }

/* ---------- 示例对话弹窗 ---------- */
.answer-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.answer-modal.show { opacity: 1; visibility: visible; }
.answer-modal-mask { position: absolute; inset: 0; background: rgba(11, 16, 32, 0.6); backdrop-filter: blur(6px); }
.answer-modal-card {
  position: relative;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
  transform: translateY(24px) scale(0.97);
  transition: all 0.35s ease;
  max-height: 82vh;
  overflow-y: auto;
}
.answer-modal.show .answer-modal-card { transform: translateY(0) scale(1); }
.answer-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.answer-modal-title { font-size: 17px; font-weight: 700; color: var(--text-dark); line-height: 1.4; }
.answer-modal-close {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f1f8;
  color: var(--text-muted);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.answer-modal-close:hover { background: #e2e4f3; color: var(--text-dark); }
.answer-modal-body { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.ai-avatar {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient);
  position: relative;
}
.ai-avatar::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.answer-text { flex: 1; font-size: 14.5px; color: var(--text-dark); background: #f7f8fe; border-radius: 14px; padding: 16px 18px; line-height: 1.8; }
.answer-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid #eef0f8; padding-top: 18px; }
.answer-modal-tip { font-size: 12px; color: #a8aecb; }

/* ---------- Toast ---------- */
.toast-msg {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%) translateY(20px);
  background: #1b2140;
  color: #fff;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 100px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  max-width: 90vw;
  text-align: center;
}
.toast-msg.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- 空结果 ---------- */
.lab-empty { justify-content: center; color: var(--text-muted); font-size: 13.5px; cursor: default; }
.lab-empty:hover { transform: none; background: #f8f9fe; }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 16, 32, 0.98);
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; }

  .hero { padding: 145px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-title { font-size: 34px; }
  .hero-phone { order: -1; }
  .phone-ring { display: none; }
  .float-1 { right: 0; }
  .float-2 { left: 0; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .search-lab-card { grid-template-columns: 1fr; }
  .screenshot-showcase { grid-template-columns: 1fr; }
  .showcase-main { order: -1; }
  .cta-card { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-phone { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .ranking-header { flex-direction: column; align-items: flex-start; }
  .mobile-download-fab { display: flex; }
  .back-to-top { bottom: 88px; }
}

@media (max-width: 560px) {
  .section-title { font-size: 28px; }
  .features-grid, .scenes-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 29px; }
  .hero-downloads { flex-direction: column; }
  .hero-downloads .btn { width: 100%; }
  .search-box { flex-wrap: wrap; }
  .search-btn { width: 100%; min-height: 46px; }
  .stat-num { font-size: 30px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .showcase-thumbs { grid-template-columns: repeat(2, 1fr); }
  .cta-info { justify-content: center; }
  .cta-actions .btn-xl { width: 100%; }

  /* 触控目标放大：导航按钮 / 热搜标签 / 筛选标签 */
  .nav-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
  .tag-chip { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 15px; }
  .filter-chip { min-height: 44px; display: inline-flex; align-items: center; padding: 7px 15px; }
  .rank-tab { min-height: 44px; display: inline-flex; align-items: center; }
  .search-btn, .lab-search-box .btn { min-height: 44px; }
  .nav-download { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-logo { min-height: 44px; }
  .footer-brand .btn { min-height: 44px; display: inline-flex; align-items: center; }

  /* 输入框字号 ≥16px，避免 iOS 聚焦自动缩放 */
  .search-box input, .lab-search-box input { font-size: 16px; }

  /* 辅助文字可读性微调 */
  .logo-domain { font-size: 12px; }
  .hero-update { font-size: 14px; line-height: 1.6; }
  .float-text span { font-size: 12px; }
  .hot-label { font-size: 14px; }
  .section-tag { font-size: 13px; padding: 7px 16px; }
  .filter-label { font-size: 14px; }
  .result-meta { font-size: 12.5px; }
}
