/* ============================================================
   DataNeo · landing  (DataHunter brand)
   浅色品牌主题 — 白底 + 品牌绿 #23AB60 为主,紫/蓝/橙点缀
   纯静态,自托管字体,无构建步骤
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* DataHunter brand */
  --green:       #23AB60;
  --green-light: #6FD998;
  --green-deep:  #1c8d4f;
  --green-soft:  #e8f6ee;   /* tint bg */
  --purple:      #6C68CE;
  --blue:        #526CA0;
  --orange:      #F4A935;

  /* text hierarchy (brand) */
  --ink:    #000000;   /* 一级文本 */
  --text-2: #595959;   /* 二级文本 */
  --text-3: #BFBFBF;   /* 三级文本 */

  --bg:      #ffffff;
  --bg-alt:  #f6f8f7;
  --bg-soft: #eef3f0;
  --line:    #e9ecea;
  --line-2:  #dfe4e1;
  --card:    #ffffff;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 14px -4px rgba(16,40,28,.12), 0 2px 6px rgba(16,40,28,.06);
  --shadow-lg: 0 30px 70px -32px rgba(16,40,28,.28), 0 8px 24px -12px rgba(16,40,28,.12);

  --font: "Geist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --r: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv01", "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
code {
  font-family: var(--mono);
  font-size: .85em;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: .08em .4em;
  border-radius: 5px;
}

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  font-family: var(--mono);
}

/* ---------- brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 34px; height: 34px; flex: none; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand__data { color: var(--text-2); }
.brand__neo  { color: var(--green); }
.brand__beta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--green-deep); background: var(--green-soft);
  border-radius: 20px; padding: 2px 8px; margin-left: 4px; align-self: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 560; font-size: 14.5px; line-height: 1;
  padding: 11px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid {
  background: var(--green); color: #fff;
  box-shadow: 0 8px 22px -10px rgba(35,171,96,.65);
}
.btn--solid:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(35,171,96,.7); }
.btn--ghost { border-color: var(--line-2); color: var(--text-2); background: #fff; }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); }
.btn--lg { padding: 14px 24px; font-size: 15.5px; border-radius: 12px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--text-2); }
.nav__links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--green); transition: right .3s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { padding: 9px 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(48px, 9vw, 108px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(35,171,96,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,171,96,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 72% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 90% at 72% 0%, #000 0%, transparent 70%);
}
.hero__glow {
  position: absolute; top: -180px; right: -120px; width: 680px; height: 680px; pointer-events: none;
  background: radial-gradient(circle, rgba(111,217,152,.32), transparent 62%);
  filter: blur(10px);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__title {
  font-size: clamp(38px, 6vw, 66px); line-height: 1.05; letter-spacing: -.03em;
  font-weight: 700; margin: 18px 0 22px; color: var(--ink);
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--text-2); max-width: 540px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__meta {
  list-style: none; margin-top: 38px; display: grid; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero__meta li { font-size: 14px; color: var(--text-2); display: flex; align-items: baseline; gap: 12px; }
.hero__meta span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--green-deep); background: var(--green-soft); border-radius: 6px; padding: 3px 7px; flex: none;
}

/* ---------- demo panel ---------- */
.demo {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.demo__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-alt);
}
.demo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.demo__title { margin-left: 10px; font-size: 12.5px; color: var(--text-3); font-family: var(--mono); }
.demo__body { padding: 20px; display: grid; gap: 16px; }
.msg { display: grid; gap: 8px; }
.msg__who { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-family: var(--mono); }
.msg--user p {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px;
  padding: 11px 14px; font-size: 14.5px; color: var(--ink); justify-self: start; max-width: 90%;
}
.msg--ai {
  background: var(--green-soft); border: 1px solid rgba(35,171,96,.22);
  border-radius: 12px; padding: 14px;
}
.tools { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 11px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px;
}
.chip--accent { color: #fff; background: var(--green); border-color: var(--green); }

.chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 6px 4px 0; }
.bar {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px;
  height: 100%; position: relative;
}
.bar::before {
  content: ""; width: 100%; height: var(--h);
  border-radius: 6px 6px 0 0; transform-origin: bottom; transform: scaleY(0);
  background: var(--bar-c, var(--green));
}
.bar:nth-child(1){ --bar-c: var(--green); }
.bar:nth-child(2){ --bar-c: var(--green-light); }
.bar:nth-child(3){ --bar-c: var(--purple); }
.bar:nth-child(4){ --bar-c: var(--blue); }
.bar:nth-child(5){ --bar-c: var(--orange); }
.in-view .bar::before { animation: grow .9s var(--ease) forwards; animation-delay: calc(.1s * var(--i, 0)); }
.bar:nth-child(1){--i:0}.bar:nth-child(2){--i:1}.bar:nth-child(3){--i:2}.bar:nth-child(4){--i:3}.bar:nth-child(5){--i:4}
.bar__v {
  position: absolute; bottom: calc(var(--h) + 4px); font-size: 11px; font-weight: 600; color: var(--ink);
  font-family: var(--mono); opacity: 0;
}
.in-view .bar__v { animation: fade .5s ease forwards; animation-delay: calc(.1s * var(--i) + .5s); }
.bar__l { font-size: 11px; color: var(--text-3); }
.msg__note { font-size: 12px; color: var(--text-3); margin-top: 12px; line-height: 1.5; }

@keyframes grow { to { transform: scaleY(1); } }
@keyframes fade { to { opacity: 1; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 58px); }
.section__title {
  font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.025em; line-height: 1.12;
  font-weight: 700; margin-top: 14px; color: var(--ink);
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 28px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card__no { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: .1em; display: block; margin-bottom: 18px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; letter-spacing: -.01em; color: var(--ink); }
.card p { font-size: 14px; color: var(--text-2); }
.card em { font-style: normal; color: var(--green-deep); font-weight: 500; }

/* flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.flow__step { position: relative; padding: 30px 22px 30px 0; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: 14px; width: 22px; height: 1px; background: var(--line-2);
}
.flow__step:not(:last-child)::before {
  content: ""; position: absolute; top: 43px; right: 10px; width: 6px; height: 6px;
  border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); transform: rotate(45deg);
}
.flow__n {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 10px; border: 1px solid var(--line-2); color: var(--green-deep); font-weight: 600;
  font-family: var(--mono); font-size: 15px; margin-bottom: 18px;
  background: #fff; transition: background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.flow__step:hover .flow__n { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 8px 18px -6px rgba(35,171,96,.55); }
.flow__step h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.flow__step p { font-size: 13.5px; color: var(--text-2); padding-right: 18px; }

/* modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.mod { background: #fff; padding: 30px 26px; transition: background .3s; }
.mod:hover { background: var(--bg-alt); }
.mod h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; color: var(--ink); }
.mod h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); flex: none; }
.mod p { font-size: 13.5px; color: var(--text-2); }

/* sources */
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.sources__lead { color: var(--text-2); margin-top: 14px; font-size: 16px; max-width: 420px; }
.sources__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.src { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.src h3 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-family: var(--mono); }
.src ul { list-style: none; display: grid; gap: 11px; }
.src li { font-size: 14.5px; color: var(--text-2); padding-left: 20px; position: relative; }
.src li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); }
.tag { font-size: 10.5px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 10px; padding: 1px 7px; margin-left: 4px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: clamp(70px, 10vw, 124px) 0; position: relative; overflow: hidden; background: var(--bg-alt); border-top: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 130%, rgba(111,217,152,.35), transparent 60%);
}
.cta__inner { position: relative; text-align: center; max-width: 640px; margin-inline: auto; }
.cta__title { font-size: clamp(30px, 5vw, 50px); letter-spacing: -.03em; line-height: 1.08; margin: 16px 0 18px; font-weight: 700; color: var(--ink); }
.cta__note { color: var(--text-2); font-size: 16px; margin-bottom: 32px; }
.cta__note strong { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot__brand .brand__name { font-size: 17px; }
.foot__by { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); }
.foot__dh { height: 20px; width: auto; opacity: .9; }
.foot__links { display: flex; gap: 22px; font-size: 14px; color: var(--text-2); }
.foot__links a:hover { color: var(--green-deep); }
.foot__legal { font-size: 12.5px; color: var(--text-3); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.hero .reveal { animation: heroReveal .8s var(--ease) forwards; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes heroReveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .hero .reveal { opacity: 1; transform: none; }
  .bar::before { transform: scaleY(1); }
  .bar__v { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .demo { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after, .flow__step::before { display: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .sources { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .cards, .sources__cols { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}
