/* ============================================================
   OneNexus MDM · 产品官网
   视觉：深墨绿品牌体系（对齐产品 PPT）
   ============================================================ */
:root {
  --ink: #14231d;
  --ink-2: #2a3a33;
  --muted: #5c6f66;
  --muted-2: #86968e;
  --line: #ddeae3;
  --line-2: #ebf3ee;
  --bg: #ffffff;
  --bg-2: #f5faf7;
  --bg-3: #e9f4ee;
  --brand: #1e7a5a;
  --brand-d: #14503a;
  --brand-l: #e7f4ee;
  --accent: #2fbe8d;
  --accent-l: #e3f7ef;
  /* 深色体系 */
  --d-bg: #0a201b;
  --d-bg-2: #0e2c24;
  --d-card: rgba(255,255,255,.05);
  --d-line: rgba(255,255,255,.13);
  --d-text: #ecf5f0;
  --d-muted: #9db5aa;
  --d-brand: #4fd6a4;
  --d-accent: #35c08f;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20,35,29,.05), 0 10px 28px -14px rgba(20,35,29,.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 滚动入场动效（仅 JS 可用时启用） ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: rgba(10,32,27,.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav.scrolled { background: rgba(8,26,21,.92); }
.nav-in {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; gap: 36px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; flex: none; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo small { display: block; font-size: .68rem; font-weight: 500; color: var(--d-muted); letter-spacing: .08em; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin-left: auto; }
.nav-links a {
  display: inline-block; padding: 8px 13px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: rgba(236,245,240,.72);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.on { color: #fff; background: rgba(79,214,164,.14); }
.nav-cta { flex: none; }
.nav .btn { padding: 9px 20px; font-size: .88rem; }
.burger { display: none; }

/* 语言切换 */
.lang {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 32px; padding: 0 12px; border-radius: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: rgba(236,245,240,.76); border: 1px solid rgba(255,255,255,.18);
  transition: color .2s, border-color .2s, background .2s;
}
.lang:hover { color: #fff; border-color: rgba(79,214,164,.55); background: rgba(79,214,164,.1); }
.nav-links .m-lang { display: none; }
html[lang="en"] .nav-links a { font-size: .86rem; padding: 8px 11px; }
html[lang="en"] .logo span { white-space: nowrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px; cursor: pointer; border: 0;
  font-size: .95rem; font-weight: 600; font-family: inherit;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn-p { background: var(--accent); color: #06231a; box-shadow: 0 8px 22px -8px rgba(53,192,143,.55); }
.btn-p:hover { transform: translateY(-2px); background: #43cf9e; }
.btn-g { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-g:hover { background: rgba(255,255,255,.12); }
.btn-o { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-o:hover { background: var(--brand-l); }
.btn-sm { padding: 9px 18px; font-size: .86rem; border-radius: 10px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 700px at 78% 30%, #14453a 0%, transparent 55%),
              radial-gradient(900px 600px at 12% 85%, #10362c 0%, transparent 50%),
              linear-gradient(135deg, #081c17 0%, #0b231d 48%, #0d2b22 100%);
  padding: 172px 0 110px;
}
.hero::before { /* PPT 风格暗角晕影 */
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(closest-side at 70% 38%, rgba(0,0,0,.72), transparent 72%);
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  color: var(--d-brand); text-transform: uppercase;
  border: 1px solid rgba(79,214,164,.35); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 22px; background: rgba(79,214,164,.07);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-brand); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(79,214,164,.45); } 55% { box-shadow: 0 0 0 7px rgba(79,214,164,0); } }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.6rem); line-height: 1.14; letter-spacing: -.02em; margin-bottom: 14px; }
.hero h1 .grad { background: linear-gradient(92deg, #4fd6a4 10%, #a7e9cf 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.18rem; font-weight: 600; color: rgba(236,245,240,.88); margin-bottom: 16px; }
.hero .lead { font-size: 1rem; color: var(--d-muted); max-width: 30.5em; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: .8rem; color: rgba(157,181,170,.7); letter-spacing: .05em; }

/* 浏览器框截图卡 */
.shot-frame {
  border-radius: 16px; overflow: hidden; position: relative;
  background: #0d2822; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 80px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(79,214,164,.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .5s ease;
}
.shot-frame:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.shot-bar i:first-child { background: rgba(79,214,164,.55); }
.shot-bar span { margin-left: 10px; font-size: .72rem; color: var(--d-muted); letter-spacing: .06em; }
.shot-frame img { width: 100%; }

/* ---------- 数字条 ---------- */
.stats { background: var(--d-bg-2); color: #fff; padding: 34px 0; border-bottom: 1px solid var(--d-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid b { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; color: var(--d-brand); }
.stats-grid span { display: block; font-size: .84rem; color: var(--d-muted); margin-top: 2px; }

/* ---------- 通用版块 ---------- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg-2); }
.sec.tint { background: var(--bg-3); }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; margin-bottom: 12px; }
.sec h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.015em; margin-bottom: 16px; }
.sec .sec-lead { color: var(--muted); font-size: 1rem; max-width: 44em; margin-bottom: 40px; }
.sec-head { margin-bottom: 42px; }
.sec-head p { color: var(--muted); font-size: .98rem; max-width: 46em; }

/* 卡片 */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: #bfe2d2; transform: translateY(-3px); box-shadow: var(--shadow); }
.card .no {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px;
  background: var(--accent-l); color: var(--brand-d); font-weight: 700; font-size: .9rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: .89rem; color: var(--muted); }
.card .tag { display: inline-block; font-size: .74rem; font-weight: 600; color: var(--brand-d); background: var(--accent-l); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.card ul { list-style: none; margin-top: 10px; }
.card ul li { font-size: .86rem; color: var(--muted); padding: 5px 0 5px 20px; position: relative; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* 表格（PPT 风格：深绿表头） */
.tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; overflow-x: auto; box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.tbl thead th {
  background: #10382d; color: #eaf6f0; text-align: left; font-weight: 600;
  padding: 13px 18px; letter-spacing: .02em; white-space: nowrap;
}
.tbl tbody td { padding: 14px 18px; border-top: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
.tbl tbody tr:nth-child(even) { background: var(--bg-2); }
.tbl tbody td b { color: var(--brand-d); font-weight: 600; white-space: nowrap; }
.tbl tbody td .ok { color: var(--brand); font-weight: 600; }

/* 提示条（浅绿底） */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-l); border: 1px solid #c9ecdd; border-radius: 12px;
  padding: 14px 18px; font-size: .9rem; color: var(--ink-2);
}
.callout::before { content: "✦"; color: var(--brand); font-size: 1rem; line-height: 1.6; }
.callout b { color: var(--brand-d); }

/* 交付闭环步骤 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow .step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 18px 20px; position: relative; counter-increment: step;
  transition: border-color .2s, transform .2s;
}
.flow .step:hover { border-color: #bfe2d2; transform: translateY(-3px); }
.flow .step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .92rem;
  margin-bottom: 14px;
}
.flow .step h4 { font-size: .98rem; font-weight: 700; margin-bottom: 6px; }
.flow .step p { font-size: .82rem; color: var(--muted); }
.flow-eco { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.flow-eco .side {
  border-radius: 14px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line);
}
.flow-eco .side.dark { background: #10382d; border-color: #10382d; color: #eaf6f0; }
.flow-eco .side b { display: block; font-size: 1rem; margin-bottom: 6px; }
.flow-eco .side p { font-size: .86rem; color: var(--muted); }
.flow-eco .side.dark p { color: rgba(234,246,240,.75); }
.flow-eco .side .en { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; }

/* 一句话理解产品 */
.oneliner {
  background: linear-gradient(135deg, #10382d, #0d2f26); color: #fff;
  border-radius: var(--radius); padding: 30px 34px; margin-bottom: 34px;
  font-size: 1.06rem; line-height: 1.9; position: relative; overflow: hidden;
}
.oneliner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79,214,164,.22), transparent); }
.oneliner b { color: var(--d-brand); }

/* 页面 Hero（子页） */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 640px at 82% 20%, #14453a 0%, transparent 55%),
              linear-gradient(135deg, #081c17 0%, #0b231d 55%, #0e2c24 100%);
  padding: 158px 0 78px;
}
.page-hero::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(closest-side at 68% 42%, rgba(0,0,0,.6), transparent 70%); pointer-events: none; }
.ph-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.ph-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--d-brand); text-transform: uppercase; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 3.7vw, 2.8rem); letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero p.lead { font-size: 1rem; color: var(--d-muted); max-width: 31em; margin-bottom: 12px; }
.ph-img { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 30px 70px -26px rgba(0,0,0,.78); background: #0d2822; }
.ph-img img { width: 100%; height: auto; object-fit: contain; }
.ph-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ph-badges span { font-size: .78rem; font-weight: 600; color: rgba(236,245,240,.82); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); padding: 5px 13px; border-radius: 999px; }

/* 图文分栏 */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.split.rev .sp-img { order: 2; }
.sp-img { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-3); }
.sp-img img { width: 100%; }
.sp-img figcaption { font-size: .76rem; color: var(--muted-2); padding: 10px 16px; border-top: 1px solid var(--line-2); background: #fff; }
.sp-txt h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; }
.sp-txt p { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }
.sp-txt ul { list-style: none; margin-top: 4px; }
.sp-txt ul li { font-size: .9rem; color: var(--ink-2); padding: 7px 0 7px 22px; position: relative; }
.sp-txt ul li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.sp-txt ul li b { color: var(--brand-d); }

/* 双手机展示 */
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-end; }
.phones figure {
  width: 46%; max-width: 260px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
  transition: transform .3s;
}
.phones figure:hover { transform: translateY(-5px); }
.phones figure:last-child { margin-bottom: 26px; }
.phones img { border-radius: 10px; }
.phones figcaption { font-size: .76rem; color: var(--muted); text-align: center; padding-top: 10px; }

/* 架构分层图 */
.arch { display: flex; flex-direction: column; gap: 10px; }
.arch .layer { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: stretch; }
.arch .layer > b {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #10382d; color: #eaf6f0; border-radius: 10px;
  font-size: .84rem; font-weight: 600; padding: 10px;
}
.arch .cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.arch .cells span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: .82rem; color: var(--ink-2); padding: 12px 10px; line-height: 1.5;
}
.arch .cells span.hl { background: var(--accent-l); border-color: #b9e5d2; color: var(--brand-d); font-weight: 600; }

/* CTA 区 */
.cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(900px 500px at 50% -10%, #14453a 0%, transparent 60%),
              linear-gradient(135deg, #081c17, #0d2b22);
  padding: 92px 0;
}
.cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 14px; }
.cta p { color: var(--d-muted); max-width: 34em; margin: 0 auto 30px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .contact { margin-top: 34px; font-size: .86rem; color: var(--d-muted); }
.cta .contact b { color: rgba(236,245,240,.9); font-weight: 600; }

/* 页脚 */
footer { background: #081a15; color: rgba(236,245,240,.6); padding: 44px 0 36px; font-size: .84rem; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-in .logo { font-size: .95rem; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.foot-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(157,181,170,.5); font-size: .78rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-in, .ph-grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .sp-img { order: 0; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-eco { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .arch .layer { grid-template-columns: 96px 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-in { height: 58px; }
  .burger {
    display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .burger i { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .burger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open i:nth-child(2) { opacity: 0; }
  .burger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,26,21,.97); backdrop-filter: blur(14px);
    padding: 12px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 6px; font-size: .95rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-left: 0; }
  .nav-cta { display: none; }
  .lang { display: none; }
  .nav-links .m-lang { display: block; }
  .nav-links .m-lang a { color: rgba(79,214,164,.9); }
  .hero { padding: 130px 0 80px; }
  .page-hero { padding: 122px 0 58px; }
  .sec { padding: 62px 0; }
  .cards3, .cards4, .cards2, .flow { grid-template-columns: 1fr; }
  .phones figure { width: 58%; }
  .oneliner { padding: 24px 22px; }
}

/* 4 列流程（响应式由断点接管） */
.flow.cols4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .flow.cols4 { grid-template-columns: 1fr 1fr; } }
