/* =====================================================================
   可鹿 keluapp.cn — 官网样式
   主题：暖金 × 科技紫 · 浅色调（珍珠白）
   零外部依赖，纯静态。
   ===================================================================== */

:root {
  --bg:        #faf9f6;
  --bg-2:      #f4f2ec;
  --surface:   #ffffff;
  --surface-2: #f7f5f0;
  --line:      rgba(28, 25, 45, 0.09);
  --text:      #2b2838;
  --muted:     #6d6a7c;
  --faint:     #9b98a8;
  --gold:      #b8862f;
  --violet:    #6a58e0;
  --grad:      linear-gradient(120deg, #c08b32 0%, #9a6fe8 55%, #5f74ea 100%);
  --grad-soft: linear-gradient(120deg, rgba(212,169,95,.14), rgba(124,141,242,.14));
  --radius:    18px;
  --maxw:      1120px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── 背景光晕 ──────────────────────────────────────────────────────── */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs::before, .bg-orbs::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: .45;
}
.bg-orbs::before {
  width: 520px; height: 520px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(139,124,242,.22), transparent 70%);
}
.bg-orbs::after {
  width: 480px; height: 480px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(212,169,95,.20), transparent 70%);
}

/* ── 导航 ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250, 249, 246, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 16px; color: #fff; font-weight: 800;
}
.brand .name { font-size: 18px; }
.brand .en { color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: .18em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px; font-size: 14px;
  background: var(--grad); color: #fff !important; font-weight: 600;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 92px 0 70px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--muted);
  margin-bottom: 22px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.18; margin: 0 0 20px; letter-spacing: .01em; }
.hero .sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--line); transition: transform .2s var(--ease), background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; border: 0; }
.btn-ghost { background: var(--surface); color: var(--text); }

/* 旋转装饰图形 */
.compass { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 1; position: relative; }
.compass svg { width: 100%; height: 100%; }
.compass .ring-spin { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
.compass .ring-spin-rev { transform-origin: 50% 50%; animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 通用区块 ─────────────────────────────────────────────────────── */
section { padding: 76px 0; }
.section-head { max-width: 680px; margin: 0 0 46px; }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 12px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 14px; line-height: 1.25; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* ── 卡片网格 ─────────────────────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(106,88,224,.35); box-shadow: 0 12px 32px rgba(28,25,45,.08); }
.card .icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--grad-soft); border: 1px solid var(--line);
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ── 关于 ─────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); font-size: 16.5px; }
.about-text p .hl { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; }
.stat .num { font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat .label { color: var(--muted); font-size: 13.5px; }

/* ── 产品免责 ─────────────────────────────────────────────────────── */
.disclaimer {
  margin-top: 26px; padding: 16px 20px; border-radius: 14px;
  background: rgba(212,169,95,.10); border: 1px solid rgba(184,134,47,.28);
  color: var(--muted); font-size: 13.5px;
}
.disclaimer b { color: var(--gold); font-weight: 600; }

/* ── 联系 ─────────────────────────────────────────────────────────── */
.contact-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 48px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
.contact-box h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); }
.contact-box p { color: var(--muted); margin: 0 0 22px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 15px; }
.contact-list li b { color: var(--text); font-weight: 600; min-width: 84px; }
.qr {
  aspect-ratio: 1; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line);
  display: grid; place-items: center; text-align: center; color: var(--faint); font-size: 13px; padding: 16px;
}

/* ── 页脚 ─────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 48px 0 36px; background: var(--bg-2); }
.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.footer .brand { margin-bottom: 12px; }
.footer-desc { color: var(--faint); font-size: 14px; max-width: 360px; }
.footer-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h5 { margin: 0 0 14px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.footer-col a { display: block; color: var(--faint); font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--faint); font-size: 13px;
}
.footer-bottom a { color: var(--faint); }
.footer-bottom a:hover { color: var(--muted); }

/* ── 滚动渐显 ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── 法务页（privacy / terms）─────────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: 32px; margin: 0 0 8px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal a.back { color: var(--violet); font-size: 14px; }

/* ── 响应式 ───────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .compass { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 600px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(250,249,246,.98); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav-links.open { max-height: 360px; }
  .nav-links a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--line); }
  .nav-cta { margin: 12px 24px; text-align: center; }
  .nav-toggle { display: block; }
  .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
