/* ====================================
   像素风暴 官网 — 科技白蓝主题
   ==================================== */

:root {
  /* ── 背景色阶 ── */
  --bg:       #f7f9fc;   /* 冷白 */
  --bg2:      #eef2f8;   /* 淡蓝灰 */
  --bg3:      #ffffff;   /* 纯白卡片 */

  /* ── 表面 & 边框 ── */
  --surface:       rgba(59,130,246,0.04);
  --surface-hover: rgba(59,130,246,0.08);
  --border:        #dde4f0;
  --border-bright: #bfcde8;

  /* ── 品牌色：科技蓝系 ── */
  --primary:       #1a56db;   /* 科技蓝 */
  --primary-light: #3b82f6;   /* 亮蓝 */
  --primary-dark:  #1039a0;
  --accent:        #06b6d4;   /* 青色 */
  --accent2:       #10b981;   /* 绿色 */

  /* ── 文字色阶 ── */
  --text:       #0f172a;   /* 深蓝黑 */
  --text-muted: #475569;   /* 石板灰 */
  --text-dim:   #94a3b8;   /* 浅灰蓝 */

  /* ── 渐变 ── */
  --grad-main: linear-gradient(135deg, #1a56db, #06b6d4);
  --grad-blue: linear-gradient(135deg, #3b82f6, #1a56db);
  --grad-warm: linear-gradient(135deg, #06b6d4, #10b981);

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Canvas ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--grad-blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26,86,219,0.25);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,86,219,0.35);
}
.btn-primary.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-primary.btn-xl { padding: 18px 48px; font-size: 18px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-bright); background: var(--surface); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  border: 1.5px solid var(--primary-light);
}
.btn-outline:hover {
  background: rgba(26,86,219,0.06);
  border-color: var(--primary);
}

/* ── Gradient text ── */
.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.18);
  color: var(--primary-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ════════════════════════════
   NAVBAR
   ════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250,248,245,0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo picture { display: flex; flex-shrink: 0; }
.logo-img { width: 30px; height: 30px; object-fit: contain; display: block; }
.logo-text {
  font-size: 20px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════
   HOME
   ════════════════════════════ */
.home {
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.home-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 24px 72px;
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.home-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}
.home-content {
  flex: 1;
  min-width: 0;
}
.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(26,86,219,0.07);
  border: 1px solid rgba(26,86,219,0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 6px var(--accent2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(1.3); }
}
.home-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mobile-break { display: none; }
.home-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.home-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.home-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-unit {
  font-size: 20px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Phone mockup ── */
.home-visual {
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup { position: relative; width: 280px; }
.phone-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 16px;
  box-shadow:
    0 2px 0 1px #e8e2d9,
    0 40px 80px rgba(0,0,0,0.12),
    0 8px 24px rgba(0,0,0,0.07);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.screen-header { display: flex; align-items: center; gap: 10px; }
.screen-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-blue);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sa-wedding { background: linear-gradient(135deg, #ec4899, #a855f7); }
.sa-event   { background: linear-gradient(135deg, #1a56db, #818cf8); }
.screen-info { flex: 1; min-width: 0; }
.screen-title { font-size: 13px; font-weight: 700; color: var(--text); }
.screen-sub   { font-size: 11px; color: var(--text-muted); }
.screen-qr { color: var(--text-dim); flex-shrink: 0; cursor: pointer; }
.screen-qr:hover { color: var(--primary); }

/* 主视觉区 */
.screen-feature {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.sfo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: linear-gradient(to top, rgba(15,23,42,0.45), transparent);
}
.sfo-tag {
  font-size: 10px; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 999px;
}
.sfo-time { font-size: 10px; color: rgba(255,255,255,0.8); }

/* 元数据行 */
.screen-meta {
  display: flex;
  gap: 10px;
  font-size: 10px;
  color: var(--text-dim);
  overflow: hidden;
}
.screen-meta span { white-space: nowrap; display: flex; align-items: center; gap: 3px; }

/* 分类标签 */
.screen-tabs {
  display: flex;
  gap: 6px;
}
.stab {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg2);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.stab.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* 瀑布流照片 */
.screen-mosaic {
  display: flex;
  gap: 5px;
}
.sw-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.photo-card {
  border-radius: 8px;
  animation: shimmer 3s infinite;
  width: 100%;
  flex-shrink: 0;
}
.swc-tall  { height: 72px; }
.swc-mid   { height: 52px; }
.swc-short { height: 44px; }
.swc-more {
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  border-radius: 8px;
}
.card-1 { background: linear-gradient(135deg, #93c5fd, #3b82f6); animation-delay: 0s;   }
.card-2 { background: linear-gradient(135deg, #67e8f9, #06b6d4); animation-delay: 0.3s; }
.card-3 { background: linear-gradient(135deg, #6ee7b7, #10b981); animation-delay: 0.6s; }
.card-4 { background: linear-gradient(135deg, #a5b4fc, #6366f1); animation-delay: 0.9s; }
.card-5 { background: linear-gradient(135deg, #bfdbfe, #60a5fa); animation-delay: 1.2s; }
.card-6 { background: linear-gradient(135deg, #99f6e4, #14b8a6); animation-delay: 1.5s; }
@keyframes shimmer {
  0%,100% { opacity: 0.8; }
  50%      { opacity: 1;   }
}

/* 互动数据栏 */
.screen-engage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.se-item {
  display: flex; align-items: center; gap: 3px;
  font-size: 11px; color: var(--text-muted);
}
.se-dl-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  color: #fff;
  background: var(--grad-main);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.screen-actions {
  display: flex;
  justify-content: space-around;
  padding: 8px 0 4px;
}
.action-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.action-btn:hover { background: var(--surface-hover); color: var(--primary); }

.phone-glow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 60px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.15) 0%, transparent 70%);
  filter: blur(16px);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.fc-1 { top:60px; right:-80px; animation: float1 4s ease-in-out infinite; }
.fc-2 { bottom:230px; right:-70px; animation: float2 4.5s ease-in-out infinite; }
.fc-3 { bottom:160px; left:-80px; animation: float3 5s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)}  }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ════════════════════════════
   CORE FEATURES
   ════════════════════════════ */
.core-features {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}
.core-features::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.core-features::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feature-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.feature-card:hover::after { opacity: 1; }
.feature-card.fc-highlight {
  border-color: rgba(26,86,219,0.2);
  background: linear-gradient(160deg, rgba(26,86,219,0.04), #fff 60%);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.icon-green  { background: rgba(125,170,139,0.12); color: #5a9e6f; border: 1px solid rgba(125,170,139,0.25); }
.icon-purple { background: rgba(26,86,219,0.1);   color: var(--primary-light); border: 1px solid rgba(26,86,219,0.2); }
.icon-blue   { background: rgba(6,182,212,0.1);  color: var(--accent); border: 1px solid rgba(6,182,212,0.2); }
.feature-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.feature-card p  { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.feature-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.feature-tags span {
  padding: 4px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ════════════════════════════
   PRODUCT DETAIL
   ════════════════════════════ */
.product-detail {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.detail-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.detail-desc { color: var(--text-muted); font-size: 17px; line-height: 1.75; margin-bottom: 36px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; }
.list-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(125,170,139,0.12);
  border: 1px solid rgba(125,170,139,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a9e6f;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-list strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.feature-list span   { font-size: 14px; color: var(--text-muted); }

/* Dashboard mockup */
.dashboard-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red    { background: #f87171; }
.dash-dot.yellow { background: #60a5fa; }
.dash-dot.green  { background: #34d399; }
.dash-body { display: flex; }
.dash-sidebar {
  width: 120px;
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
  background: var(--bg);
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
}
.dash-nav-item.active { color: var(--primary); background: rgba(26,86,219,0.07); font-weight: 600; }
.dash-nav-item:hover:not(.active) { color: var(--text-muted); }
.dash-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #fff;
}
.dash-stats-row { display: flex; gap: 12px; }
.dash-stat {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
}
.ds-num   { display: block; font-size: 18px; font-weight: 800; color: var(--primary); }
.ds-label { font-size: 10px; color: var(--text-dim); }
.dash-album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.dash-album {
  border-radius: var(--radius-sm);
  padding: 11px 10px;
  font-size: 11px;
  font-weight: 600;
}
.da-1 { background: rgba(26,86,219,0.1);  color: var(--primary); }
.da-2 { background: rgba(6,182,212,0.1); color: var(--accent);  }
.da-3 { background: rgba(125,170,139,0.1); color: #5a9e6f; }
.da-4 { background: rgba(180,130,200,0.1); color: #8a6fa0; }
.dp-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dp-bar { height: 6px; background: var(--bg2); border-radius: 999px; overflow: hidden; }
.dp-fill {
  height: 100%;
  background: var(--grad-blue);
  border-radius: 999px;
  animation: fillBar 2s ease forwards;
}
@keyframes fillBar { from { width: 0; } }

/* ── Dashboard 面板切换动画 ── */
.dash-panel {
  animation: panelIn 0.22s ease;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 通用小标题 ── */
.dash-section-label { font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── 相册管理：相册格扩展 ── */
.dash-album { display: flex; flex-direction: column; gap: 3px; }
.da-name { font-size: 11px; font-weight: 600; }
.da-count { font-size: 9px; opacity: 0.7; }

/* ── 相册管理：近期活动 ── */
.dash-recent { display: flex; flex-direction: column; gap: 5px; }
.dr-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.dr-dot   { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dr-name  { flex: 1; font-size: 10px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-badge { font-size: 9px; padding: 1px 5px; border-radius: 4px; background: rgba(26,86,219,0.1); color: var(--primary-light); flex-shrink: 0; }
.dr-time  { font-size: 9px; color: var(--text-dim); flex-shrink: 0; }

/* ── 上传图片：统计条 ── */
.dash-upload-meta {
  display: flex;
  gap: 10px;
  padding: 6px 8px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dum-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--text-muted); }

/* ── 上传图片：底部按钮 ── */
.dash-upload-actions { display: flex; gap: 8px; margin-top: 2px; }
.dua-btn {
  flex: 1;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
}
.dua-btn.dua-primary { background: var(--grad-blue); color: #fff; border: none; }

/* ── 数据统计：来源分布 ── */
.dash-source-list { display: flex; flex-direction: column; gap: 6px; }
.dsl-item { display: flex; align-items: center; gap: 7px; }
.dsl-label { font-size: 9px; color: var(--text-muted); width: 42px; flex-shrink: 0; }
.dsl-bar-wrap { flex: 1; height: 5px; background: var(--bg2); border-radius: 999px; overflow: hidden; }
.dsl-bar { height: 100%; background: var(--grad-blue); border-radius: 999px; }
.dsl-pct { font-size: 9px; color: var(--text-dim); width: 26px; text-align: right; flex-shrink: 0; }

/* ── 上传图片面板 ── */
.dash-upload-zone {
  border: 1.5px dashed var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.dash-upload-zone svg { color: var(--primary-light); margin-bottom: 2px; }
.dash-upload-zone span { font-size: 11px; font-weight: 600; color: var(--text); }
.dash-upload-zone small { font-size: 10px; color: var(--text-dim); }
.dash-upload-list { display: flex; flex-direction: column; gap: 7px; }
.dul-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dul-thumb {
  width: 28px; height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}
.du-1 { background: linear-gradient(135deg, #93c5fd, #3b82f6); }
.du-2 { background: linear-gradient(135deg, #67e8f9, #06b6d4); }
.du-3 { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.dul-info { flex: 1; min-width: 0; }
.dul-name { display: block; font-size: 10px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dul-size { font-size: 9px; color: var(--text-dim); }
.dul-status { font-size: 10px; flex-shrink: 0; }
.dul-status.done { color: #5a9e6f; font-weight: 700; }
.dul-status.uploading { display: flex; align-items: center; gap: 4px; color: var(--primary-light); font-size: 9px; font-weight: 600; }
.dul-bar { width: 40px; height: 4px; background: var(--bg2); border-radius: 999px; overflow: hidden; }
.dul-bar-fill { height: 100%; background: var(--grad-blue); border-radius: 999px; }

/* ── 数据统计面板 ── */
.dash-chart { margin-bottom: 12px; }
.dc-label { font-size: 10px; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.dc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 90px;
}
.dc-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.dc-bar {
  width: 100%;
  background: var(--grad-blue);
  border-radius: 3px 3px 0 0;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.dc-col:hover .dc-bar { opacity: 1; }
.dc-col span { font-size: 8px; color: var(--text-dim); white-space: nowrap; }

/* ── 权限设置面板 ── */
.dash-perm-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.dpl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  gap: 8px;
}
.dpl-info { flex: 1; min-width: 0; }
.dpl-name { display: block; font-size: 11px; font-weight: 600; color: var(--text); }
.dpl-desc { font-size: 9px; color: var(--text-dim); }
.dpl-toggle {
  width: 28px; height: 16px;
  border-radius: 999px;
  background: var(--border-bright);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.dpl-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.dpl-toggle.on { background: var(--primary-light); }
.dpl-toggle.on::after { transform: translateX(12px); }


/* ════════════════════════════
   WORKFLOW
   ════════════════════════════ */
.workflow {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--bg2);
}
.workflow::before,
.workflow::after {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.workflow::before { top: 0; }
.workflow::after  { bottom: 0; }
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.step:hover {
  border-color: rgba(26,86,219,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.step-num {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  position: absolute;
  top: 20px; right: 24px;
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: rgba(26,86,219,0.08);
  border: 1px solid rgba(26,86,219,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin: 0 auto 20px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.step p   { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step-arrow { flex-shrink: 0; color: var(--border-bright); padding: 0 16px; margin-top: -20px; }
.arrow-v { display: none; }

/* ════════════════════════════
   SCENARIOS
   ════════════════════════════ */
.scenarios {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.scenario-card {
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 0 0 1px var(--border), 0 2px 8px rgba(0,0,0,0.06);
  border-radius: var(--radius);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  animation: fadeInUp 0.5s ease both;
  animation-delay: var(--delay);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  background-size: cover;
  background-position: center;
}
/* 各场景背景图 */
.scenario-card:nth-child(1) { background-image: url('/images/scenes/children.svg'); }
.scenario-card:nth-child(2) { background-image: url('/images/scenes/gala.svg'); }
.scenario-card:nth-child(3) { background-image: url('/images/scenes/wedding.svg'); }
.scenario-card:nth-child(4) { background-image: url('/images/scenes/team.svg'); }
.scenario-card:nth-child(5) { background-image: url('/images/scenes/sports.svg'); }
.scenario-card:nth-child(6) { background-image: url('/images/scenes/lecture.svg'); }
.scenario-card:nth-child(7) { background-image: url('/images/scenes/landscape.svg'); }
.scenario-card:nth-child(8) { background-image: url('/images/scenes/exhibition.svg'); }
/* 底部白色渐变遮罩，保证文字可读 */
.scenario-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.97) 78%,
    #fff 100%
  );
  z-index: 1;
  transition: background var(--transition);
}
.scenario-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 40%,
    rgba(255,255,255,0.95) 75%,
    #fff 100%
  );
}
/* 内容区 */
.scenario-content {
  position: relative;
  z-index: 2;
  padding: 20px 20px 22px;
  text-align: left;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.scenario-card:hover {
  box-shadow: 0 0 0 1.5px rgba(26,86,219,0.3), 0 20px 48px rgba(26,86,219,0.13);
  transform: translateY(-6px);
}
.scenario-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.scenario-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.scenario-card p  { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ════════════════════════════
   CTA
   ════════════════════════════ */
.cta-section {
  padding: 72px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4fb 0%, #faf8f5 50%, #fdf5ed 100%);
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.cta-content > p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}
.cta-note {
  margin-top: 20px !important;
  font-size: 14px !important;
  color: var(--text-dim) !important;
}

/* ════════════════════════════
   FOOTER
   ════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background: var(--bg2);
}
.footer-top {
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-brand { flex-shrink: 0; max-width: 260px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.footer-links {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: flex-end;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--primary); }
.footer-col svg { flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ── 回到顶部按钮 ── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  box-shadow: 0 8px 28px rgba(26,86,219,0.18);
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */
@media (max-width: 1024px) {
  .home-inner { flex-direction: column; text-align: left; padding: 88px 24px 56px; }
  .home-desc { margin: 0 auto 36px; }
  .home-actions { justify-content: center; }
  .home-stats { justify-content: center; }
  .home-visual { order: 1; width: 100%; }
  .phone-mockup { width: min(340px, 90vw); }
  .fc-1, .fc-2, .fc-3 { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .detail-visual { min-width: 0; width: 100%; }
  .dashboard-mockup { width: 100%; }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .mobile-break { display: block; }
  .steps { flex-direction: column; gap: 16px; }
  .step-arrow { padding: 0; margin-top: 0; }
  .arrow-h { display: none; }
  .arrow-v { display: block; }
  .phone-mockup { width: min(320px, 90vw); }

  /* Dashboard 响应式：sidebar 折叠为顶部 icon tab */
  .dash-body { flex-direction: column; }
  .dash-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0;
    display: flex;
    flex-direction: row;
  }
  .dash-nav-item {
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px;
    font-size: 10px;
    justify-content: center;
    text-align: center;
  }
  .dash-nav-item svg { flex-shrink: 0; }
  .dash-stats-row { gap: 8px; }
  .dash-stat { padding: 6px 4px; }
  .ds-num { font-size: 14px; }
  .ds-label { font-size: 9px; }
  .footer-top { align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links { justify-content: center; gap: 32px; }
  .footer-col { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .scenarios-grid { grid-template-columns: 1fr 1fr; }
  .home-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
}

/* ════════════════════════════
   HOME & CTA 图片背景
   ════════════════════════════ */
/* Home 区域：纹理叠加在网格之上 */
.home {
  background-image: url('/images/home-bg.svg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* CTA 区域：替换纯色渐变为暖调图片背景 */
.cta-section {
  background-image: url('/images/cta-bg.svg');
  background-size: cover;
  background-position: center;
}
/* 在图片上叠一层柔和白色遮罩 */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(240,244,251,0.82) 0%,
    rgba(250,248,245,0.78) 50%,
    rgba(253,245,237,0.82) 100%
  );
  z-index: 0;
}
.cta-section::before, .cta-content { position: relative; z-index: 1; }
