/* ═══════════════════════════════════════════════
   北极熊CRM 官网 — v4 暖白舞台版
   风格: 暖白奶油底 + 珊瑚红点缀 / Notion×飞书式干净卡片
   与 v3 暗色首屏刻意差异化
   ═══════════════════════════════════════════════ */

:root {
  --coral: #F2553D;
  --coral-d: #E04A32;
  --coral-soft: rgba(242, 85, 61, 0.12);
  --coral-glow: rgba(242, 85, 61, 0.28);
  --ink: #1a1a1f;
  --ink-2: #3a3a45;
  --muted: #6b6b78;
  --line: #ebe6de;
  --cream: #FBF7F1;
  --cream-2: #F5EFE6;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(26, 26, 31, 0.04), 0 8px 24px rgba(26, 26, 31, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 26, 31, 0.12), 0 8px 20px rgba(26, 26, 31, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }
ul { list-style: none }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 700; cursor: pointer; border: none;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: 0 4px 16px rgba(242, 85, 61, 0.28);
}
.btn-primary:hover {
  background: var(--coral-d); transform: translateY(-1px);
  box-shadow: 0 0 0 4px var(--coral-glow), 0 8px 24px rgba(242, 85, 61, 0.32);
}
.btn-soft {
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-soft:hover { border-color: #d8d2c8; transform: translateY(-1px) }
.btn-sm { padding: 9px 18px; font-size: 13.5px }
.btn-lg { padding: 14px 28px; font-size: 15px }

/* ── 顶栏：亮色毛玻璃 ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: saturate(1.3) blur(16px);
  background: rgba(251, 247, 241, 0.78);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(26, 26, 31, 0.04);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--ink);
}
.brand img { width: 30px; height: 30px; border-radius: 8px }
.nav-links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 14px; color: var(--muted); font-weight: 600;
}
.nav-links a { transition: color .15s }
.nav-links a:hover { color: var(--ink) }

/* ── 首屏 ── */
.hero {
  position: relative;
  padding: 104px 24px 36px;
  overflow: hidden;
  min-height: auto;
  display: flex; flex-direction: column; align-items: center;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
#hero-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; z-index: 0;
}
.hero-glow.g1 {
  width: 420px; height: 420px; top: 80px; left: 8%;
  background: rgba(242, 85, 61, 0.14);
}
.hero-glow.g2 {
  width: 380px; height: 380px; top: 160px; right: 6%;
  background: rgba(255, 196, 140, 0.22);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 760px; margin: 0 auto 28px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  padding: 6px 14px 6px 6px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-kicker img { width: 24px; height: 24px; border-radius: 7px }
.hero-title {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.18; font-weight: 900; letter-spacing: -0.5px;
  color: var(--ink); margin-bottom: 18px;
}
.hero-title em {
  font-style: normal; color: var(--coral);
}
.hero-desc {
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: var(--muted); line-height: 1.75; margin-bottom: 28px;
}
.hero-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.hero-pills span {
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}

/* 舞台：主截图 + 两张悬浮 */
.hero-stage {
  position: relative; z-index: 2;
  width: min(920px, 100%);
  margin: 4px auto 0;
  min-height: 360px;
  padding-bottom: 24px;
}
.stage-frame.main {
  position: relative; z-index: 2;
  width: min(720px, 88%);
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(26, 26, 31, 0.14));
}
.stage-frame.float-a,
.stage-frame.float-b {
  position: absolute; z-index: 3;
  width: min(240px, 30%);
  animation: floatY 5.5s ease-in-out infinite;
}
.stage-frame.float-a {
  left: 0; top: 12%;
  animation-delay: 0s;
}
.stage-frame.float-b {
  right: 0; top: 42%;
  animation-delay: 1.2s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-10px) }
}

/* ── 浏览器 Mockup ── */
.browser-mockup {
  background: #1a1a22;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 31, 0.08);
  box-shadow: var(--shadow-lg);
}
.browser-mockup.compact { border-radius: 12px }
.browser-mockup.wide { border-radius: 18px }
.browser-header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.browser-dots { display: flex; gap: 6px }
.browser-dots span { width: 10px; height: 10px; border-radius: 50% }
.browser-dots span:nth-child(1) { background: #ff5f57 }
.browser-dots span:nth-child(2) { background: #febc2e }
.browser-dots span:nth-child(3) { background: #28c840 }
.browser-url {
  flex: 1; text-align: center; font-size: 11.5px; color: #8a8a98;
  background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 6px;
  max-width: 240px; margin: 0 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-body {
  line-height: 0; overflow: hidden; background: #0f0f14;
}
.browser-body img {
  width: 100%; height: auto; display: block;
  object-fit: contain;
  object-position: top center;
}
.hero-shot, .hero-shot img { max-height: 360px }
.side-shot, .side-shot img { max-height: 150px }
.gallery-shot, .gallery-shot img { max-height: 600px }

/* ── 通用区块 ── */
.section-head {
  text-align: center; max-width: 640px; margin: 0 auto 40px;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900; line-height: 1.25; letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: 15.5px }

/* ── 产品画廊 ── */
.showcase {
  padding: 88px 24px 72px;
  background: var(--white);
}
.gallery { max-width: 960px; margin: 0 auto }
.gallery-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.gallery-tab {
  border: 1px solid var(--line); background: var(--cream);
  color: var(--muted); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  transition: all .2s;
}
.gallery-tab:hover { color: var(--ink); border-color: #d8d2c8 }
.gallery-tab.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.gallery-panel { display: none }
.gallery-panel.active { display: block }
.gallery-caption {
  text-align: center; margin-top: 18px;
  color: var(--muted); font-size: 14.5px; font-weight: 500;
}

/* ── 一句话 ── */
.pitch {
  padding: 64px 24px;
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  text-align: center;
}
.pitch p {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800; color: var(--ink); letter-spacing: -0.3px;
}
.pitch em { font-style: normal; color: var(--coral) }

/* ── 时间线 ── */
.workflow {
  padding: 88px 24px;
  background: var(--cream);
}
.timeline {
  max-width: 720px; margin: 0 auto;
  position: relative;
  padding-left: 8px;
}
.timeline::before {
  content: '';
  position: absolute; left: 31px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--coral), #f3c4b8);
}
.t-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  margin-bottom: 22px; position: relative;
}
.t-index {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: var(--coral);
  box-shadow: var(--shadow); z-index: 1;
}
.t-body {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px;
  box-shadow: var(--shadow);
}
.t-body h3 {
  font-size: 17px; font-weight: 800; margin-bottom: 6px;
}
.t-body p { color: var(--muted); font-size: 14.5px }

/* ── Bento ── */
.features {
  padding: 88px 24px;
  background: var(--white);
}
.bento {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.bento-card.big {
  grid-column: span 2;
  background: linear-gradient(145deg, #fff8f5 0%, var(--cream) 60%, #fff 100%);
  border-color: #f0d7cf;
}
.bento-card .b-label {
  display: inline-block; font-size: 11px; font-weight: 800;
  color: var(--coral); background: var(--coral-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.bento-card h3 {
  font-size: 19px; font-weight: 900; margin-bottom: 10px;
}
.bento-card p {
  color: var(--muted); font-size: 14.5px; margin-bottom: 10px;
}
.bento-card ul {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.bento-card ul li {
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
}
.bento-card.cta {
  background: var(--ink); color: #fff; border-color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
}
.bento-card.cta p { color: rgba(255,255,255,.72) }
.bento-card.cta h3 { color: #fff }

/* ── 安全 ── */
.security {
  padding: 88px 24px;
  background: var(--cream);
}
.security-shell {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px;
  align-items: stretch;
}
.security-copy {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow);
}
.security-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900; margin: 10px 0 14px; line-height: 1.25;
}
.security-copy > p {
  color: var(--muted); font-size: 15px; margin-bottom: 18px;
}
.check { display: grid; gap: 10px }
.check li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.check li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral-soft);
  box-shadow: inset 0 0 0 5px var(--coral);
}
.security-panel {
  background: #16161d; color: #fff;
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 12px;
  justify-content: center;
}
.sp-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82);
}
.sp-row b {
  font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 800;
}
.sp-row b.local { background: rgba(40, 200, 64, 0.18); color: #6dff8a }
.sp-row b.cloud { background: rgba(242, 85, 61, 0.2); color: #ffb4a8 }
.sp-row b.you { background: rgba(255, 196, 140, 0.18); color: #ffd2a1 }
.sp-foot {
  margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5;
}

/* ── 下载 ── */
.download {
  padding: 72px 24px 96px;
  background: var(--white);
}
.download-card {
  max-width: 640px; margin: 0 auto;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 28px;
  box-shadow: var(--shadow);
}
.dl-logo {
  width: 64px; height: 64px; border-radius: 16px;
  margin: 0 auto 18px;
  box-shadow: var(--shadow);
}
.download-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900; margin-bottom: 10px;
}
.dl-sub { color: var(--muted); margin-bottom: 24px; font-size: 15px }
.dl-note {
  margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.7;
}
.dl-version {
  margin-top: 16px; display: inline-block;
  font-size: 12.5px; font-weight: 800; color: var(--coral);
  background: var(--coral-soft); padding: 6px 12px; border-radius: 999px;
}

/* ── 页脚 ── */
.footer {
  padding: 36px 24px 48px;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; text-align: center;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 16px; margin-bottom: 8px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 8px }
.footer-slogan { color: var(--muted); font-size: 14px; margin-bottom: 8px }
.footer-copy { color: #9a958c; font-size: 12.5px }
.footer-copy a { color: var(--coral); font-weight: 700 }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .stage-frame.float-a,
  .stage-frame.float-b { display: none }
  .hero-stage { min-height: auto }
  .bento { grid-template-columns: 1fr 1fr }
  .bento-card.big { grid-column: span 2 }
  .security-shell { grid-template-columns: 1fr }
}
@media (max-width: 720px) {
  .nav-links { display: none }
  .hero { padding-top: 100px; min-height: auto }
  .hero-shot, .hero-shot img { max-height: 260px }
  .gallery-shot, .gallery-shot img { max-height: 320px }
  .bento { grid-template-columns: 1fr }
  .bento-card.big { grid-column: span 1 }
  .timeline::before { left: 23px }
  .t-item { grid-template-columns: 40px 1fr; gap: 12px }
  .t-index { width: 40px; height: 40px; font-size: 12px; border-radius: 12px }
  .hide-sm { display: none }
}
