/* ─────────────────────────────────────────────
   嗒嗒 DaDa 官网 — 白底淡紫渐变（Soul 式轻盈感）
   #8B5CF6 主紫 / #7C3AED 深紫 / 白底 + 柔和粉紫氛围光
   ───────────────────────────────────────────── */
:root {
  --violet: #7c3aed;
  --violet-deep: #6d28d9;
  --violet-link: #6d28d9;
  --violet-light: #a78bfa;
  --tint: #f3f0fb;
  --coral: #e86674;
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --card: #ffffff;
  --card-border: #e8e7ee;
  --text: #1c1b22;
  --text-2: #55525f;
  --text-3: #8a8794;
  --shadow-soft: 0 4px 20px rgba(28, 27, 34, 0.05);
  --radius: 12px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* ───────── 导航 ─────────
   顶部时透明融入 Hero 浅紫背景；下滑后变白色毛玻璃，消除「断层」 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(124, 92, 214, 0.08);
  box-shadow: 0 2px 18px rgba(96, 70, 180, 0.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 34px; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}
.logo-text { font-weight: 700; font-size: 17px; }
.logo-text em { font-style: normal; color: var(--violet-link); font-weight: 500; font-size: 13px; }

/* 导航链接紧跟 logo 靠左排布 */
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  position: relative;
  font-size: 14px; color: var(--text-2);
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--violet-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--violet-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--violet-deep); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-toggle {
  border: 1px solid #d6d4de; background: transparent;
  color: var(--text-2); border-radius: 6px; padding: 6px 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang-toggle:hover { color: var(--violet-deep); border-color: var(--violet-deep); }

/* 下载按钮 + 二维码弹层 */
.download-wrap { position: relative; }
.btn-download {
  display: flex; align-items: center; gap: 7px;
  background: var(--violet-deep);
  color: #fff; border: none; border-radius: 8px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 600;
  transition: background 0.2s;
}
.btn-download:hover { background: #5b21b6; }
.qr-pop {
  position: absolute; right: 0; top: calc(100% + 12px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px; width: max-content; max-width: 210px;
  background: #fff; border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 44px rgba(28, 27, 34, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.22s ease;
}
.download-wrap.open .qr-pop,
.download-wrap:hover .qr-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-item img { width: 132px; height: 132px; border-radius: 10px; background: #f3f0fb; }
.qr-item span { font-size: 12px; color: #4c4368; font-weight: 600; white-space: nowrap; }
.qr-note {
  margin: 0; text-align: center; font-size: 10.5px;
  line-height: 1.6; color: #a99fc4;
}

/* 移动端汉堡 */
.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 6px; }
.nav-burger span { width: 20px; height: 2px; background: var(--text-2); border-radius: 2px; }
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px);
  display: none; flex-direction: column; padding: 12px 24px 20px;
  border-bottom: 1px solid var(--card-border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 15px; color: var(--text-2); border-bottom: 1px solid rgba(124, 92, 214, 0.07); }

/* ───────── Hero ───────── */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 24px 64px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #f5f3fb 0%, #fbfafd 55%, #ffffff 100%);
}
.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--violet-deep); font-weight: 600;
  border: 1px solid #ddd6f3; border-radius: 4px;
  padding: 5px 12px; margin-bottom: 24px; background: #f6f3fc;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; }
.hero h1 .grad { color: var(--violet-deep); }
.hero-sub { margin-top: 18px; font-size: 15.5px; color: var(--text-2); max-width: 480px; line-height: 1.8; }

.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--violet-deep);
  color: #fff; border: none; border-radius: 8px; padding: 12px 30px;
  font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: #5b21b6; }
.btn-primary.big { font-size: 16px; padding: 14px 38px; }
.btn-ghost {
  background: #fff; color: var(--text); border: 1px solid #d6d4de;
  border-radius: 8px; padding: 12px 30px; font-size: 15px; font-weight: 600;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--violet-deep); color: var(--violet-deep); }

.hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font-size: 22px; color: var(--violet-deep); }
.hero-stats span { font-size: 12.5px; color: var(--text-3); }

/* ───── 双卡并排：决策 | →拍板 | 计划 ───── */
.hero-duo {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 10px; align-items: stretch;
}
.duo-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 16px 14px 14px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
}
.duo-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 12.5px; font-weight: 600; color: var(--violet-deep);
  background: var(--tint); border-radius: 5px; padding: 4px 12px 4px 6px;
}
.duo-tag i {
  width: 17px; height: 17px; border-radius: 4px; font-style: normal; font-size: 11px;
  display: grid; place-items: center; color: #fff;
  background: var(--violet-deep);
}
.duo-link {
  align-self: center; display: flex; flex-direction: column; align-items: center;
  color: var(--violet-link); font-size: 11.5px; font-weight: 700; gap: 0;
}
.duo-link b { font-size: 18px; line-height: 1; }

.ps-header { display: flex; gap: 9px; align-items: center; }
.ps-icon {
  width: 30px; height: 30px; border-radius: 8px; background: var(--tint);
  display: grid; place-items: center; flex-shrink: 0;
  color: var(--violet-deep);
}
.ps-header b { display: block; font-size: 13px; }
.ps-header i { display: block; font-style: normal; font-size: 10.5px; color: var(--text-3); }
.ps-verdict {
  background: rgba(139, 92, 246, 0.07); border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 12px; padding: 8px 11px;
}
.ps-verdict b { font-size: 12px; color: var(--violet-deep); display: block; }
.ps-radar svg { width: 100%; height: 132px; }
.ps-legend { display: flex; justify-content: center; gap: 16px; font-size: 11px; color: var(--text-2); margin-top: 2px; }
.ps-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }
.ps-legend .c1 { background: var(--violet); }
.ps-legend .c2 { background: var(--coral); }
.ps-legend b { color: var(--violet-deep); }

.daily-flow { display: flex; flex-direction: column; gap: 8px; }
.cb { max-width: 94%; padding: 7px 11px; border-radius: 12px; font-size: 11.5px; line-height: 1.55; }
.cb.user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.cb.ai {
  align-self: flex-start; background: var(--tint);
  color: var(--text-2); border-bottom-left-radius: 4px;
}
.task-line {
  display: flex; align-items: center; gap: 8px;
  background: rgba(139, 92, 246, 0.05); border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: 10px; padding: 7px 10px; font-size: 11px; color: var(--text-2);
}
.task-line i {
  width: 16px; height: 16px; border-radius: 6px; font-style: normal; font-size: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  border: 1.5px solid rgba(139, 92, 246, 0.35); color: transparent;
}
.task-line .tick { background: var(--violet); border-color: var(--violet); color: #fff; }
.prog-row { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--text-3); padding: 2px 2px 0; }
.prog-row .bar { flex: 1; height: 5px; border-radius: 5px; background: rgba(139, 92, 246, 0.14); overflow: hidden; }
.prog-row .bar b { display: block; height: 100%; width: 71%; border-radius: 5px; background: linear-gradient(90deg, var(--violet), var(--violet-light)); }
.prog-row em { font-style: normal; color: var(--violet-deep); font-weight: 700; }

/* ───── 场景词：静态、居中、可换行 ───── */
.scenarios {
  position: relative;
  max-width: 980px; margin: 48px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.scenarios span {
  font-size: 13px; color: var(--text-2);
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 6px; padding: 7px 16px;
}

/* ───────── 通用 section ───────── */
section { padding: 84px 24px; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.4px; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 15.5px; }

/* 关键词强调：品牌色加粗，无底衬（正式风格） */
.hl {
  font-style: normal;
  color: var(--violet-deep);
  font-weight: 600;
}

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ───────── 功能区（左右交替） ───────── */
.features { max-width: 1180px; margin: 0 auto; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding: 44px 0;
}
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-art { order: 1; }
.chip {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--violet-deep);
  background: var(--tint); border: 1px solid #ddd6f3;
  border-radius: 4px; padding: 4px 12px; margin-bottom: 16px;
}
.feature-copy h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.3; }
.feature-copy p { margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.85; }
.feature-copy ul { margin-top: 18px; list-style: none; }
.feature-copy li {
  position: relative; padding-left: 18px; margin-bottom: 10px;
  color: var(--text-2); font-size: 14px;
}
.feature-copy li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(139, 92, 246, .45);
}

.feature-art {
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
}
.art-radar svg { width: 100%; max-height: 300px; }
.radar-labels text { fill: var(--text-3); }

/* 计划卡 */
.plan-card { font-size: 13px; }
.plan-title { font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.plan-stage { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--text-2); flex-wrap: wrap; }
.plan-stage i {
  width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px;
  display: grid; place-items: center; border: 1.5px solid rgba(139, 92, 246, 0.35); color: var(--text-3);
}
.plan-stage.done i { background: var(--violet); border-color: var(--violet); color: #fff; }
.plan-stage.active { color: var(--text); font-weight: 600; }
.plan-stage.active i { border-color: var(--violet); color: var(--violet-deep); }
.plan-bar { flex-basis: 100%; height: 5px; border-radius: 5px; background: rgba(139, 92, 246, 0.14); margin-left: 32px; }
.plan-bar b { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--violet), var(--violet-light)); }
.plan-sub { display: flex; gap: 9px; align-items: center; padding: 5px 0 5px 32px; color: var(--text-3); font-size: 12.5px; }
.plan-sub em {
  width: 15px; height: 15px; border-radius: 5px; font-style: normal; font-size: 10px;
  display: grid; place-items: center; background: var(--violet); color: #fff;
}
.plan-sub.todo em { background: transparent; border: 1.5px solid rgba(139, 92, 246, 0.35); }
.plan-sub.todo { color: var(--text-2); }

/* 热力图卡 */
.heat-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.heatmap { display: grid; grid-template-rows: repeat(7, 11px); grid-auto-flow: column; grid-auto-columns: 11px; gap: 3px; margin-bottom: 18px; }
.heatmap i { border-radius: 3px; background: rgba(139, 92, 246, 0.09); }
.heatmap i.l1 { background: rgba(139, 92, 246, 0.3); }
.heatmap i.l2 { background: rgba(139, 92, 246, 0.55); }
.heatmap i.l3 { background: var(--violet); }
.heat-msg { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 88%; padding: 9px 13px; border-radius: 13px; font-size: 12.5px; line-height: 1.6; }
.bubble.user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: var(--tint); color: var(--text-2); border-bottom-left-radius: 4px; }

/* 主动提醒卡 */
.notify-card { display: flex; flex-direction: column; gap: 12px; }
.notify-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(96, 70, 180, 0.07);
}
.notify-item b { display: block; font-size: 13.5px; margin-bottom: 4px; color: var(--text); }
.notify-item p { font-size: 12.5px; line-height: 1.65; color: var(--text-2); margin: 0; }
.notify-dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral); margin-top: 6px;
}
.notify-dot.read { background: rgba(139, 92, 246, 0.25); }
.notify-item.dim { opacity: 0.72; }

/* ───────── 怎么用 ───────── */
.how { background: var(--bg-soft); }
.how-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch;
}
.how-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.how-card:hover { border-color: #c9bcec; box-shadow: var(--shadow-soft); }
.how-card .num { font-size: 13px; font-weight: 800; color: var(--violet-link); letter-spacing: 1px; }
.how-card h4 { margin-top: 10px; font-size: 17px; }
.how-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.how-arrow { display: grid; place-items: center; color: var(--violet-light); font-size: 20px; }

/* ───────── 技术 ───────── */
.tech-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.tech-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tech-card:hover { border-color: #c9bcec; box-shadow: var(--shadow-soft); }
.tech-ico {
  width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center;
  background: var(--tint); margin-bottom: 14px;
  color: var(--violet-deep);
}
.tech-card h4 { font-size: 16.5px; }
.tech-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

/* ───────── 发展历程 ───────── */
.story { background: var(--bg-soft); }
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: #ddd6f3;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -28px; top: 5px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--violet-deep);
}
.tl-item b { font-size: 16.5px; }
.tl-item p { margin-top: 6px; color: var(--text-2); font-size: 14px; }

/* ───────── 招聘 ───────── */
.job-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 22px 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.job-card:hover { border-color: #c9bcec; box-shadow: var(--shadow-soft); }
.job-card h4 { font-size: 16.5px; }
.job-card p { margin-top: 5px; font-size: 13px; color: var(--text-3); }
.job-apply {
  flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--violet-deep);
  border: 1px solid #c9bcec; border-radius: 8px; padding: 9px 20px;
  transition: all 0.2s;
}
.job-apply:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }

/* ───────── CTA：品牌色整幅横带（企业官网式） ───────── */
.cta {
  text-align: center; max-width: none; margin: 0;
  background: linear-gradient(135deg, #6d28d9, #7c3aed 60%, #8b5cf6);
  border: none; border-radius: 0; padding: 76px 32px;
}
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: #fff; }
.cta p { margin: 14px 0 32px; color: rgba(255, 255, 255, 0.82); }
.cta .btn-primary { background: #fff; color: var(--violet-deep); }
.cta .btn-primary:hover { background: #f1edfb; }

/* ───────── 页脚：深色（企业官网式） ───────── */
.footer { padding: 60px 24px 28px; background: #17141f; }
.footer .logo-text { color: #fff; }
.footer .logo-text em { color: #a99fd6; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand p { margin-top: 12px; color: #8e89a0; font-size: 13.5px; }
.footer-qrs { display: flex; gap: 18px; margin-top: 18px; }
.qr-item.small img { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 5px; border: none; }
.qr-item.small span { color: #8e89a0; font-size: 11.5px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b { font-size: 14px; margin-bottom: 4px; color: #fff; }
.footer-col a { font-size: 13.5px; color: #8e89a0; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  max-width: 1180px; margin: 44px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: #6f6a80;
}

/* ───────── 响应式 ───────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-art { order: 2; }
  .how-grid { grid-template-columns: 1fr; }
  .how-arrow { transform: rotate(90deg); }
  .tech-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  section { padding: 64px 18px; }
  .qr-pop { right: -60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-duo { grid-template-columns: 1fr; }
  .duo-link { transform: rotate(90deg); padding: 2px 0; }
}
