/* Atisbo · Ego 数据采集服务官网
   品牌色来自 Logo：炭灰 #373734 / 活力橙 #E56031 */

:root {
  --ink: #373734;
  --ink-2: #242522;
  --orange: #E56031;
  --orange-deep: #C84E22;
  --orange-soft: #FCEDE6;
  --paper: #FAF8F5;
  --white: #FFFFFF;
  --muted: #6E6D68;
  --line: #E6E2DC;
  --radius: 14px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, "Noto Sans Mono", monospace;
}

html[lang="en"] { --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, Arial, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink-2); color: #F3F1ED; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.section--ink .eyebrow { color: #FF8A5B; }
.section--ink .eyebrow::before { background: #FF8A5B; }

.h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.lead { font-size: 17px; color: var(--muted); margin-top: 16px; max-width: 680px; }
.section--ink .lead { color: #B9B6AF; }
.head { margin-bottom: 48px; }
.head--center { text-align: center; }
.head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav__links a { color: var(--muted); white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; align-items: center; flex: none; }
.nav__cta .btn { padding: 11px 18px; font-size: 14px; white-space: nowrap; }

/* 语言切换 */
.lang { display: flex; align-items: center; gap: 2px; margin-right: 4px; font-size: 12px; font-weight: 600; }
.lang a { padding: 5px 8px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.lang a:hover { color: var(--ink); background: var(--paper); }
html[lang="zh-CN"] .lang a[data-l="zh"],
html[lang="en"] .lang a[data-l="en"] { color: var(--orange); background: var(--orange-soft); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(229,96,49,.14), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  padding: 88px 0 96px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 500; color: var(--muted);
}
.hero__badge i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange);
  color: #fff; font-style: normal; font-size: 12px; display: grid; place-items: center; font-weight: 700;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 60px); margin-top: 22px; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 560px; }
.hero__cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.stat b small { font-size: 16px; font-weight: 700; color: var(--orange); margin-left: 2px; }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 首屏实拍图 */
.viewfinder {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(55,55,52,.22), 0 2px 6px rgba(55,55,52,.12);
  background: #1E1F1C;
}
.viewfinder__img { display: block; width: 100%; height: auto; }
.viewfinder__caption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: #15161400; color: #9A9890; font-size: 12px; font-family: var(--mono);
  border-top: 1px solid rgba(255,255,255,.08);
  /* 窄屏放不下就整段换行，别在 "/ Gaze" 中间断开 */
  flex-wrap: wrap; gap: 4px 16px;
}
.viewfinder__caption span { white-space: nowrap; }
.viewfinder__caption b { color: #fff; font-weight: 600; }

/* ---------- 服务对象条 ---------- */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust__label { font-size: 13px; color: var(--muted); letter-spacing: .08em; }
.chip {
  padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
}

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

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(55,55,52,.10); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card__tags span {
  font-size: 12px; padding: 3px 10px; border-radius: 6px; background: var(--paper);
  border: 1px solid var(--line); color: var(--ink); font-family: var(--mono);
}
.card--num { position: relative; }
.card--num::before {
  content: attr(data-n); position: absolute; top: 22px; right: 24px;
  font-size: 44px; font-weight: 800; color: var(--orange-soft); line-height: 1;
}

/* ---------- 为什么 Ego ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why__points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.why__points li:last-child { border-bottom: 1px solid var(--line); }
.why__points b { display: block; font-size: 17px; }
.why__points p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.why__points i {
  flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px;
}
.compare {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.compare__row > div { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare__row:last-child > div { border-bottom: 0; }
.compare__row--head > div { background: var(--paper); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.compare__row > div:first-child { color: var(--muted); }
.compare__row > div:last-child { color: var(--orange); font-weight: 600; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(229,96,49,.25));
}
.step { position: relative; padding: 0 12px; text-align: center; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--ink-2); color: #fff; border: 4px solid var(--white); position: relative;
  display: grid; place-items: center; font-weight: 800; font-size: 16px; font-family: var(--mono);
  box-shadow: 0 0 0 1px var(--line);
}
.step--hot .step__dot { background: var(--orange); }
.step h3 { font-size: 16px; }
.step p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- 质量 & 合规（深色区）---------- */
/* 3 张卡，3 列正好一行；换数量时同步改这里和 1024 断点 */
.quality { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qcard {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 30px 28px;
}
.qcard h3 { font-size: 19px; color: #fff; display: flex; align-items: center; gap: 10px; }
.qcard h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.qcard ul { margin-top: 16px; display: grid; gap: 10px; }
.qcard li { position: relative; padding-left: 22px; font-size: 15px; color: #C8C5BE; }
.qcard li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #FF8A5B; font-weight: 700;
}

/* ---------- 场景 ---------- */
/* 6 个场景，3 列正好两行满；换数量时同步改这里，别留半行 */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end;
}
/* 实景配图：img 铺满卡片，::before 压深色渐变保证文字可读 */
.scene__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.scene:hover .scene__img { transform: scale(1.04); }
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,20,18,.08) 0%, rgba(20,20,18,.22) 40%, rgba(20,20,18,.72) 68%, rgba(20,20,18,.94) 100%);
}
.scene::after { z-index: 2; }
.scene::after {
  content: ""; position: absolute; top: 14px; left: 14px; width: 18px; height: 18px;
  border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
}
/* 只抬升文字层；图片保持 .scene__img 的绝对定位铺满 */
.scene > :not(.scene__img) { position: relative; z-index: 2; }
.scene h3 { font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.scene p { font-size: 13px; color: #E4E1DB; margin-top: 4px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* ---------- 硬件 & 采集员 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 22px; }
/* 硬件清单 6 项，3 列正好两行 */
.list-cols--3 { grid-template-columns: repeat(3, 1fr); }
.list-cols li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink); }
.list-cols li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--orange);
}
.callout {
  margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--orange);
  background: var(--orange-soft); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink);
}
/* ---------- 合作模式 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: var(--white);
  display: flex; flex-direction: column;
}
.plan--hot { border-color: var(--orange); box-shadow: 0 16px 40px rgba(229,96,49,.14); }
.plan__tag { font-size: 12px; font-weight: 700; color: var(--orange); letter-spacing: .1em; }
.plan h3 { font-size: 20px; margin-top: 8px; }
.plan p { color: var(--muted); font-size: 14px; margin-top: 10px; flex: 1; }
.plan ul { margin-top: 18px; display: grid; gap: 8px; }
.plan li { font-size: 14px; padding-left: 18px; position: relative; }
.plan li::before { content: "·"; position: absolute; left: 4px; font-weight: 900; color: var(--orange); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--orange); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 15px; max-width: 720px; }

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; }
.contact .lead { color: #B9B6AF; }
.contact__meta { margin-top: 30px; display: grid; gap: 12px; font-size: 15px; color: #C8C5BE; }
.contact__meta b { color: #fff; font-weight: 600; margin-right: 8px; }
.form {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px;
  display: grid; gap: 14px;
}
.form label { font-size: 13px; font-weight: 600; color: var(--muted); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229,96,49,.15); background: #fff;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form small { color: var(--muted); font-size: 12px; }
/* 蜜罐：留在 DOM 里给机器人填，真人看不见也 tab 不到 */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; font-size: 14px; line-height: 1.5; }
.form__status.is-ok { color: #1F7A4C; }
.form__status.is-err { color: #C0392B; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- 页脚 ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__brand img { height: 32px; }
.footer__brand p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 360px; }
.footer__cols { display: flex; gap: 56px; }
.footer__cols b { display: block; font-size: 13px; margin-bottom: 12px; letter-spacing: .06em; }
.footer__cols a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.footer__cols a:hover { color: var(--orange); }
.footer__bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- 响应式 ---------- */
/* 英/日文导航文字更长，1180px 以下即收进汉堡菜单 */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav.is-open .nav__links a { padding: 10px 0; }
}
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .hero__grid, .why, .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4, .plans, .quality, .list-cols--3 { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .nav__cta .btn--primary { display: none; }
  .lang { margin-right: 0; }
  .lang a { padding: 4px 6px; font-size: 12px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 56px 0 64px; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .grid--3, .grid--2, .grid--4, .plans, .quality, .scenes, .list-cols, .list-cols--3, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare__row > div { padding: 12px; font-size: 13px; }
  .footer__cols { gap: 32px; flex-wrap: wrap; }
}
