/* ============================================================
   趣打卡 FunDaka — 数字集章打卡活动平台
   设计系统：活力橙 #FF5A1F × 深墨紫 #191627 × 奶油纸底 #FFF9F3
   ============================================================ */

:root {
  /* 品牌色 */
  --primary: #FF5A1F;
  --primary-dark: #E8490F;
  --primary-soft: #FFE9DE;
  --primary-grad: linear-gradient(135deg, #FF8A50 0%, #FF5A1F 100%);

  /* 中性色 */
  --ink: #221D2E;
  --ink-2: #4A4358;
  --muted: #7A7385;
  --paper: #FFF9F3;
  --paper-2: #F7F2EC;
  --card: #FFFFFF;
  --line: #EFE8E0;
  --dark: #191627;
  --dark-2: #241F35;

  /* 功能图标色 */
  --acc-green: #2FB77C;
  --acc-blue: #4A90E2;
  --acc-orange: #FF9F43;
  --acc-pink: #F06292;
  --acc-purple: #9B6CF0;
  --acc-yellow: #FFC53D;

  /* 形状与阴影 */
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(34, 29, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(34, 29, 46, 0.10);
  --shadow-lg: 0 18px 50px rgba(255, 90, 31, 0.28);
  --ring: 0 0 0 1px var(--line);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--primary-soft); color: var(--ink); }

/* ---------- 布局基础 ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 72px; }
.section--alt { background: var(--paper-2); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--primary); opacity: 0.55;
}
.sec-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800; letter-spacing: -0.01em; line-height: 1.3;
}
.sec-head .sub { margin-top: 14px; color: var(--muted); font-size: 15px; }

.sec-cta { text-align: center; margin-top: 48px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border-radius: 999px; padding: 13px 28px;
  font-size: 15px; transition: all 0.2s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--primary-grad); color: #fff;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.32);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--card); color: var(--ink-2); box-shadow: var(--ring); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-lg { padding: 17px 42px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 249, 243, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 4px 24px rgba(34, 29, 46, 0.08); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(255, 90, 31, 0.35)); }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; }
.logo-text small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.3em; color: var(--primary); }

.main-nav { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.nav-link {
  padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-2); transition: all 0.18s ease;
}
.nav-link:hover { color: var(--primary); background: var(--primary-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--primary-soft); }

.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 49;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 10px 24px 20px;
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: all 0.25s ease;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  display: block; padding: 13px 8px; font-weight: 600; font-size: 15px;
  border-bottom: 1px solid var(--paper-2);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mm-cta { display: flex; gap: 10px; margin-top: 14px; }
/* 手机菜单里的「登录 / 免费注册」：这里会继承菜单链接的行高和内边距，
   不重新固定一遍，字就会偏上、或者看起来没在框中间 */
.mobile-menu .mm-cta .btn {
  /* 用 height + 上下 padding:0 定死高度，再交给 flex 居中 ——
     不要靠 padding 撑高：手机菜单本身带行高/字号，继承进来会让文字偏上 2px，
     客户看到的就是「字和框不居中」（真机反馈第 3 条）。 */
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 16px; line-height: 1; font-size: 15px; font-weight: 700; text-align: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 72px; overflow: hidden; background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 12% 8%, rgba(255, 138, 80, 0.16), transparent 60%),
    radial-gradient(520px 420px at 88% 78%, rgba(155, 108, 240, 0.13), transparent 60%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; box-shadow: var(--ring); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 700; color: var(--primary);
  margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.45); }
  55% { box-shadow: 0 0 0 7px rgba(255, 90, 31, 0); }
}
.hero-title {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.22;
  font-weight: 800; letter-spacing: -0.015em;
}
.hero-title .accent {
  display: inline-block; margin-top: 6px;
  background: var(--primary-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { margin-top: 22px; color: var(--primary); font-weight: 800; font-size: 17px; }
.hero-desc { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 480px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-note b { color: var(--ink-2); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 2% auto; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFE3D3, #FFC9A8 68%);
  filter: blur(6px); z-index: 0;
}

/* ---------- 手机 mockup ---------- */
.phone {
  position: relative; z-index: 1; width: 288px;
  background: var(--dark); border-radius: 42px; padding: 9px;
  box-shadow: 0 34px 70px rgba(34, 29, 46, 0.28);
}
.phone-screen {
  position: relative; background: #fff; border-radius: 34px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 570px;
}
.phone-notch { height: 26px; flex-shrink: 0; }
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 20px 6px; font-size: 11px; font-weight: 700; color: var(--ink);
}
.phone-status .s-icons { display: flex; gap: 5px; align-items: center; }

/* 参与者 App 界面 */
.app-head { background: var(--primary-grad); color: #fff; padding: 16px 18px 20px; }
.app-head .app-kicker { font-size: 10px; font-weight: 700; opacity: 0.85; letter-spacing: 0.1em; }
.app-head .app-title { font-size: 16px; font-weight: 800; margin-top: 3px; }
.app-progress { margin-top: 12px; }
.app-progress .p-label { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; opacity: 0.92; margin-bottom: 5px; }
.app-progress .p-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.32); overflow: hidden; }
.app-progress .p-bar span { display: block; height: 100%; width: 50%; border-radius: 99px; background: #fff; }

.app-body { flex: 1; background: var(--paper-2); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.app-card {
  background: #fff; border-radius: 14px; padding: 11px 12px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm);
}
.app-card .a-icon {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: var(--primary-soft);
}
.app-card .a-icon.i-green { background: #E3F7EC; }
.app-card .a-icon.i-yellow { background: #FFF4D6; }
.app-card .a-main { flex: 1; min-width: 0; }
.app-card .a-title { font-size: 12.5px; font-weight: 800; }
.app-card .a-sub { font-size: 10.5px; color: var(--muted); }
.a-cta {
  flex-shrink: 0; font-size: 11px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: var(--primary-grad); color: #fff;
}
.a-cta.done { background: #E3F7EC; color: #1E9E63; }

.app-popup {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  background: #fff; border: 2px solid var(--primary-soft); border-radius: 18px;
  padding: 12px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md); animation: floaty 3.2s ease-in-out infinite;
}
.app-popup .p-emoji { font-size: 26px; }
.app-popup .p-text { font-size: 12px; font-weight: 800; line-height: 1.3; }
.app-popup .p-text small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
@keyframes floaty { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 8px)); } }

.app-tabbar {
  display: flex; justify-content: space-around; align-items: center;
  padding: 9px 6px 12px; border-top: 1px solid var(--line); background: #fff; flex-shrink: 0;
}
.app-tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: var(--muted); }
.app-tabbar .tab.active { color: var(--primary); }
.app-tabbar .tab svg { width: 17px; height: 17px; }

/* 参与者地图界面 */
.map-screen { background: #EDF3EA; }
.map-canvas { position: relative; flex: 1; min-height: 240px; }
.map-roads svg { width: 100%; height: 100%; }
.map-pin {
  position: absolute; display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -50%); gap: 2px;
}
.map-pin .pin-dot {
  width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--primary); border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.map-pin .pin-dot.visited { background: #1E9E63; }
.map-pin .pin-label { background: #fff; border-radius: 8px; padding: 2px 7px; font-size: 9.5px; font-weight: 800; box-shadow: var(--shadow-sm); }
.map-me { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #4A90E2; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.25); transform: translate(-50%, -50%); }
.checkin-bar { padding: 12px 14px 16px; background: #fff; border-radius: 20px 20px 0 0; }
.checkin-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 999px;
  background: var(--primary-grad); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 90, 31, 0.35);
}

/* 运营者看板界面 */
.dash-head { background: var(--dark); color: #fff; padding: 16px 18px 18px; }
.dash-head .dash-kicker { font-size: 10px; opacity: 0.7; font-weight: 700; letter-spacing: 0.1em; }
.dash-head .dash-title { font-size: 15px; font-weight: 800; margin-top: 2px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.dash-stat { background: #fff; border-radius: 13px; padding: 11px 13px; box-shadow: var(--shadow-sm); }
.dash-stat .d-num { font-size: 19px; font-weight: 800; color: var(--primary); }
.dash-stat .d-num.n-green { color: #1E9E63; }
.dash-stat .d-label { font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.dash-chart { margin: 0 12px; background: #fff; border-radius: 13px; padding: 12px; box-shadow: var(--shadow-sm); }
.dash-chart .c-title { font-size: 11px; font-weight: 800; margin-bottom: 10px; }
.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 86px; }
.dash-bars .bar {
  flex: 1; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #FF8A50, #FF5A1F); opacity: 0.92;
}
.dash-bars .bar.alt { background: linear-gradient(180deg, #C9A6FF, #9B6CF0); }
.dash-rows { margin: 10px 12px 14px; background: #fff; border-radius: 13px; padding: 6px 13px; box-shadow: var(--shadow-sm); }
.dash-rows .d-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 11px; font-weight: 700; }
.dash-rows .d-row + .d-row { border-top: 1px solid var(--paper-2); }
.dash-rows .d-rank { width: 18px; height: 18px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); font-size: 9.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-rows .d-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-rows .d-val { color: var(--muted); font-size: 10.5px; }

/* ---------- 数据条 ---------- */
.stats { position: relative; z-index: 2; margin-top: -44px; padding-bottom: 0; }
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat { text-align: center; padding: 30px 16px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-num { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.stat-num .suffix { font-size: 0.55em; color: var(--primary); font-weight: 800; }
.stat-num.n-color { color: var(--primary); }
.stat-label { margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- 制作流程 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--ring); transition: all 0.25s ease; position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 18px;
  background: var(--primary-grad); color: #fff; font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(255, 90, 31, 0.3);
}
.step-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 功能卡片 ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  display: flex; flex-direction: column; background: var(--paper-2);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--ring); transition: all 0.25s ease;
}
.feature-card:hover { background: #fff; transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card:hover h3 { color: var(--primary); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.feat-icon svg { width: 24px; height: 24px; }
.feat-icon.c-green { background: var(--acc-green); }
.feat-icon.c-blue { background: var(--acc-blue); }
.feat-icon.c-orange { background: var(--acc-orange); }
.feat-icon.c-pink { background: var(--acc-pink); }
.feat-icon.c-purple { background: var(--acc-purple); color: #fff; }
.feat-icon.c-yellow { background: var(--acc-yellow); color: #4A3B00; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; transition: color 0.2s; }
.feature-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.feat-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; font-weight: 800; color: var(--primary);
}
.feat-more svg { width: 14px; height: 14px; transition: transform 0.2s; }
.feature-card:hover .feat-more svg { transform: translateX(3px); }

/* ---------- 双视角 Overview ---------- */
.ov-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ov-row + .ov-row { margin-top: 88px; }
.ov-row.flip .ov-copy { order: 2; }
.ov-row.flip .ov-visual { order: 1; }
.ov-tag {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 18px;
}
.ov-row.flip .ov-tag { background: #EAE6FF; color: #7C5BE0; }
.ov-copy h3 { font-size: clamp(22px, 2.8vw, 29px); font-weight: 800; line-height: 1.35; margin-bottom: 22px; }
.ov-copy h3 em { font-style: normal; background: linear-gradient(transparent 62%, var(--primary-soft) 62%); }
.ov-row.flip .ov-copy h3 em { background: linear-gradient(transparent 62%, #EAE6FF 62%); }
.ov-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.ov-list .check {
  flex-shrink: 0; width: 21px; height: 21px; border-radius: 7px; margin-top: 1px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.ov-row.flip .ov-list .check { background: #EAE6FF; color: #7C5BE0; }
.ov-list .check svg { width: 12px; height: 12px; }
.ov-visual { display: flex; justify-content: center; position: relative; }
.ov-visual::before {
  content: ""; position: absolute; inset: 12% 4% auto; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, #FFF0E6, #FFE0CC 70%); filter: blur(4px); z-index: 0;
}
.ov-row.flip .ov-visual::before { background: radial-gradient(circle at 40% 60%, #F0EBFF, #E3DAFF 70%); }

/* ---------- 三种类型 ---------- */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.type-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--ring); transition: all 0.25s ease;
  border-top: 5px solid transparent;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.type-card.hot { border-top-color: var(--primary); box-shadow: 0 14px 40px rgba(255, 90, 31, 0.16); }
.type-badge {
  position: absolute; top: -13px; right: 24px;
  background: var(--primary-grad); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(255, 90, 31, 0.35);
}
.type-emoji { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; background: var(--paper-2); }
.type-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.type-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.type-card .reco { font-size: 12.5px; color: var(--primary); font-weight: 700; }
.type-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.type-more:hover { color: var(--primary); }
.type-more svg { width: 14px; height: 14px; }

/* ---------- 价格 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.price-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center; box-shadow: var(--ring); position: relative; transition: all 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--dark); color: #fff; box-shadow: 0 20px 50px rgba(25, 22, 39, 0.35); }
.price-emoji { font-size: 30px; margin-bottom: 14px; }
.price-num { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price-num .yen { font-size: 0.55em; font-weight: 800; color: var(--primary); }
.price-card.featured .price-num .yen { color: #FFB28F; }
.price-num .up { font-size: 0.4em; color: var(--muted); font-weight: 700; }
.price-card.featured .price-num .up { color: rgba(255,255,255,0.6); }
.price-label { margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.price-card.featured .price-label { color: rgba(255,255,255,0.82); }
.pricing-note {
  margin: 34px auto 0; max-width: 640px; text-align: center;
  font-size: 13.5px; color: var(--muted); line-height: 1.8;
}
.pricing-note b { color: var(--ink-2); }
.pricing-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.jp-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 扫码 banner ---------- */
.sec-scan { position: relative; overflow: hidden; background: linear-gradient(120deg, #241F35 0%, #191627 60%, #2A1140 100%); }
.sec-scan::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22), transparent 68%);
  top: -180px; right: -120px;
}
.scan-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.scan-copy h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.35; }
.scan-copy h2 em { font-style: normal; background: var(--primary-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scan-copy p { margin-top: 14px; color: rgba(255, 255, 255, 0.62); font-size: 14.5px; }
.scan-visual { display: flex; justify-content: center; }
.qr-card {
  background: #fff; border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.qr-box { width: 168px; height: 168px; }
.qr-label { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.qr-sub { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ---------- 使用场景 ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.usecase-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--ring); transition: all 0.25s ease;
}
.usecase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.usecase-card .cover { aspect-ratio: 4 / 3; }
.usecase-card .u-body { padding: 18px 18px 20px; }
.usecase-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.usecase-card p { font-size: 12.5px; color: var(--muted); }

/* ---------- 案例 ---------- */
.case-group + .case-group { margin-top: 56px; }
.group-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  font-size: 20px; font-weight: 800;
}
.group-title .g-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.group-title small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--ring); transition: all 0.25s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card .cover { aspect-ratio: 4 / 3; transition: transform 0.3s ease; }
.case-card:hover .cover { transform: scale(1.03); }
.case-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-title { font-size: 14.5px; font-weight: 800; line-height: 1.45; }
.case-client { font-size: 12px; color: var(--muted); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
  background: var(--paper-2); color: var(--ink-2);
}
.tag.t-primary { background: var(--primary-soft); color: var(--primary); }
.tag.t-green { background: #E3F7EC; color: #1E9E63; }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--ring); transition: all 0.25s ease;
}
.demo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.demo-card .cover { aspect-ratio: 1 / 1; transition: transform 0.3s ease; }
.demo-card:hover .cover { transform: scale(1.03); }
.demo-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.demo-card h3 { font-size: 15px; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--ring); padding: 8px 28px; }
.faq-item + .faq-item { border-top: 1px solid var(--paper-2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; text-align: left; font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.faq-q .f-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease;
}
.faq-q .f-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .f-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a-inner { padding: 0 44px 22px 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.faq-more { text-align: center; margin-top: 28px; }

/* ---------- 新闻 ---------- */
.news-list { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--ring); overflow: hidden; }
.news-row {
  display: grid; grid-template-columns: 110px 92px 1fr; gap: 18px; align-items: center;
  padding: 17px 26px; transition: background 0.18s ease;
}
.news-row:hover { background: var(--paper); }
.news-row.static { cursor: default; }
.news-row.static:hover { background: transparent; }
.news-row.static:hover .news-title { color: var(--ink); }
.news-row + .news-row { border-top: 1px solid var(--paper-2); }
.news-date { font-size: 13px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.news-tag {
  justify-self: start; font-size: 11.5px; font-weight: 700; padding: 3px 11px;
  border-radius: 8px; background: var(--paper-2); color: var(--ink-2);
}
.news-tag.t-primary { background: var(--primary-soft); color: var(--primary); }
.news-title { font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color 0.18s; }
.news-row:hover .news-title { color: var(--primary); }

/* ---------- 结尾 CTA ---------- */
.sec-final { position: relative; overflow: hidden; background: linear-gradient(135deg, #241F35 0%, #191627 55%, #3A1024 100%); text-align: center; padding: 120px 0; }
.sec-final::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.25), transparent 65%);
  left: 50%; top: -260px; transform: translateX(-50%);
}
.sec-final .wrap { position: relative; }
.sec-final h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.3; }
.sec-final p { margin: 16px auto 34px; max-width: 560px; color: rgba(255, 255, 255, 0.62); font-size: 15px; }
.sec-final .fine { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.66); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.f-brand .logo-text { color: #fff; }
.f-brand .logo-text small { color: #FFB28F; }
.f-brand > p { margin-top: 16px; font-size: 13px; line-height: 1.8; max-width: 260px; }
.f-brand .badges { display: flex; gap: 8px; margin-top: 18px; }
.f-badge { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.75); }
.f-col h4 { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 18px; }
.f-col a { display: block; padding: 6px 0; font-size: 13.5px; transition: color 0.18s; }
.f-col a:hover { color: #FFB28F; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a:hover { color: #fff; }

/* ---------- 底部悬浮 CTA ---------- */
.bottom-cta {
  /* bottom 用变量：手机自带浏览器/微信的底部工具条是浮层，会盖住贴底元素。
     高度能被量到时 vhfix.js 会写进 --browser-bottom，这里自动让开。 */
  position: fixed; left: 0; right: 0; bottom: var(--browser-bottom, 0px); z-index: 40;
  transform: translateY(110%); transition: transform 0.35s ease;
}
.bottom-cta.show { transform: none; }
.bottom-cta-inner {
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(34, 29, 46, 0.1);
  padding: 14px 24px 16px;
}
.bottom-cta-grid { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bottom-cta-grid .bc-text b { display: block; font-size: 16px; }
.bottom-cta-grid .bc-text span { font-size: 12.5px; color: var(--muted); }

/* ---------- 场景封面插画 ---------- */
.cover { position: relative; overflow: hidden; }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 滚动渐显 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .app-popup { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding-top: 140px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-row, .ov-row.flip { grid-template-columns: 1fr; gap: 48px; }
  .ov-row.flip .ov-copy { order: 0; }
  .ov-row.flip .ov-visual { order: 0; }
  .usecase-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .scan-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .scan-visual { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .stats { margin-top: -30px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat { padding: 22px 10px; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .features-grid, .steps-grid, .usecase-grid, .case-grid, .demo-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .phone { width: 252px; transform: scale(0.96); }
  .phone-screen { min-height: 520px; }
  .news-row { grid-template-columns: 1fr; gap: 8px; padding: 15px 18px; }
  .bottom-cta-grid { flex-direction: column; text-align: center; }
  .bottom-cta-grid .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sec-final { padding: 88px 0; }
}

/* ---------- 价格模拟器弹窗 ---------- */
.calc-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 16, 30, 0.55);
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.calc-mask.show { display: flex; }
.calc-modal {
  width: 100%; max-width: 440px; background: #fff; border-radius: 24px;
  padding: 28px 26px 24px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  animation: calcIn 0.25s ease;
}
@keyframes calcIn { from { transform: translateY(14px) scale(0.97); opacity: 0; } }
.calc-modal h3 { font-size: 18px; font-weight: 800; }
.calc-sub { font-size: 12.5px; color: var(--muted); margin: 6px 0 20px; }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.calc-field label b { color: var(--primary); }
.calc-field input[type="range"] {
  width: 100%; accent-color: var(--primary); cursor: pointer;
  /* 22px 在手机上太细、滑块不好拖 —— 价格计算器是转化关键页面，加高到 36px
     并把原生滑块放大。触摸目标至少 36px 才好点。 */
  height: 36px; margin: 0;
}
@media (max-width: 640px) {
  .calc-field input[type="range"] { height: 44px; }
  .calc-field input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }
}
.calc-field input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; }
.calc-lines { background: var(--paper-2); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; }
.calc-line { display: flex; justify-content: space-between; padding: 5px 0; }
.calc-line.disc { color: var(--acc-green, #1E9E63); }
.calc-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14.5px; font-weight: 800; padding: 16px 2px 18px;
}
.calc-total b { font-size: 28px; color: var(--primary); }
.calc-actions { display: flex; gap: 10px; }
.calc-actions .btn { flex: 1; }
.calc-actions .btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- 细节体验：导航高亮 & 回到顶部 ---------- */
.nav-link.active-nav { color: var(--primary); }
.back-top {
  position: fixed; right: 26px; bottom: 90px; z-index: 45;
  width: 46px; height: 46px; border-radius: 14px;
  background: #fff; color: var(--ink-2); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: all 0.3s ease; border: 1px solid var(--line);
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { color: var(--primary); }
.back-top svg { width: 18px; height: 18px; }

/* ---------- Cookie 同意条 ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  max-width: 420px; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: all 0.35s ease;
}
.cookie-bar.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie-bar .cb-title { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.cookie-bar .cb-text { font-size: 12px; color: var(--muted); line-height: 1.75; }
.cookie-bar .cb-text a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.cookie-bar .cb-actions { display: flex; gap: 8px; }
.cookie-bar .cb-actions button {
  flex: 1; border-radius: 999px; padding: 9px 14px; font-size: 12.5px; font-weight: 800;
}
.cookie-bar .cb-ok { background: var(--primary-grad); color: #fff; }
.cookie-bar .cb-no { background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 640px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
