/* ============================================================
   工业发货物流管理系统 · 案例展示站
   一成未来科技（深圳）有限公司
   深色商务科技风 / 响应式
   ============================================================ */

:root {
  --fs-base: 1.0625rem;   /* 17px 正文基准，不低于用户规范 */
  --fs-sm: 0.9375rem;     /* 15px 辅助 */
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-h2: clamp(1.75rem, 3.4vw, 2.6rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.6rem);

  --bg: #070b16;
  --bg-2: #0b1224;
  --bg-3: #101a33;
  --line: rgba(148, 178, 255, 0.14);
  --txt: #e8edf8;
  --txt-2: #9fb0cf;
  --txt-3: #6b7ba0;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --gold: #f5b83d;
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--txt);
  font-size: var(--fs-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 22, 0.78);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark { font-size: 1.35rem; font-weight: 800; letter-spacing: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-sub { font-size: 0.72rem; letter-spacing: 2px; color: var(--txt-3); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: var(--fs-sm); color: var(--txt-2); }
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--txt); }
.nav-links .nav-cta {
  padding: 8px 20px; border-radius: 999px; color: #fff;
  background: linear-gradient(90deg, var(--blue), #2563eb);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}
.nav-links .nav-cta:hover { color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--txt); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(700px 420px at 8% 30%, rgba(34, 211, 238, 0.13), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0a1122 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 178, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 24px; text-align: center; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(59, 130, 246, 0.1);
  color: var(--cyan); font-size: var(--fs-sm); letter-spacing: 1px; margin-bottom: 28px;
}
.hero-title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.25; margin-bottom: 22px; }
.grad-text {
  display: block; margin-top: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 55%, #a78bfa);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { max-width: 720px; margin: 0 auto 38px; color: var(--txt-2); font-size: var(--fs-lg); }
.hero-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 60px; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-size: 1.0625rem; font-weight: 600; transition: 0.3s; cursor: pointer;
}
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--blue), #2563eb); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(59, 130, 246, 0.5); }
.btn-ghost { color: var(--txt); border: 1px solid var(--line); background: rgba(148, 178, 255, 0.06); }
.btn-ghost:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); }

.hero-stats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.stat {
  min-width: 190px; padding: 22px 26px; border-radius: var(--radius);
  background: rgba(16, 26, 51, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.stat b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--cyan); line-height: 1.2; }
.stat span { color: var(--txt-3); font-size: var(--fs-sm); }

/* ---------- 通用 section ---------- */
.section { padding: 110px 0; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.sec-tag {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.3); color: var(--cyan);
  font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 18px;
}
.sec-head h2 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 16px; }
.sec-head p { color: var(--txt-2); }

/* ---------- 痛点 ---------- */
.pain { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card {
  padding: 32px 26px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s;
}
.pain-card:hover { transform: translateY(-6px); border-color: rgba(59, 130, 246, 0.5); }
.pain-icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pain-card p { color: var(--txt-2); font-size: var(--fs-sm); }
.pain-solution { text-align: center; margin-top: 56px; }
.solution-arrow { font-size: 1.6rem; color: var(--cyan); margin-bottom: 8px; }
.pain-solution p { font-size: var(--fs-lg); }
.pain-solution b { color: var(--cyan); }

/* ---------- 核心能力 ---------- */
.capability { background: var(--bg-2); }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap-card {
  position: relative; padding: 40px 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-3), #0d1730);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.cap-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.45); }
.cap-num {
  position: absolute; top: 18px; right: 26px; font-size: 3.4rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1px rgba(148, 178, 255, 0.25);
}
.cap-card h3 { font-size: 1.45rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cap-card h3::before { content: ""; width: 6px; height: 24px; border-radius: 4px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.cap-card p { color: var(--txt-2); margin-bottom: 18px; }
.cap-card ul { display: grid; gap: 8px; }
.cap-card li { position: relative; padding-left: 20px; color: var(--txt-2); font-size: var(--fs-sm); }
.cap-card li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }

/* ---------- 三端演示 ---------- */
.demo-sec { background: linear-gradient(180deg, var(--bg) 0%, #0a1122 100%); }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo-card {
  display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.demo-card:hover { transform: translateY(-8px); border-color: rgba(34, 211, 238, 0.5); box-shadow: var(--shadow); }
.demo-device { padding: 26px 26px 0; }
.mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: #0e1830; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0;
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #5b6c94; }
.mock-bar span:first-child { background: var(--red); }
.mock-bar span:nth-child(2) { background: var(--gold); }
.mock-bar span:nth-child(3) { background: var(--green); }
.mock-bar i { margin-left: auto; font-style: normal; font-size: 0.72rem; color: var(--txt-3); }
.mock-body { display: flex; background: #0a1428; border: 1px solid var(--line); border-radius: 0 0 10px 10px; overflow: hidden; }
.mock-sidebar { width: 90px; padding: 12px 8px; display: grid; gap: 7px; background: #0c1730; }
.mock-sidebar i { font-style: normal; font-size: 0.62rem; color: var(--txt-3); padding: 4px 6px; border-radius: 5px; }
.mock-sidebar i.on { color: var(--cyan); background: rgba(34, 211, 238, 0.12); }
.mock-main { flex: 1; padding: 12px; }
.mock-row { display: flex; gap: 8px; margin-bottom: 12px; }
.mock-row i { display: block; height: 8px; border-radius: 4px; background: rgba(148, 178, 255, 0.16); }
.w60 { width: 60%; } .w30 { width: 30%; }
.mock-table { display: grid; grid-template-columns: 1.4fr 1.2fr 0.9fr; gap: 5px 8px; font-size: 0.58rem; }
.mock-table .h { color: var(--txt-3); }
.mock-table span { color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-table em { font-style: normal; color: var(--gold); font-size: 0.56rem; }

.phone-mock { display: flex; justify-content: center; }
.phone-screen {
  width: 150px; border-radius: 18px; border: 2px solid #2a3a66; overflow: hidden;
  background: #0a1428; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.phone-head { padding: 10px 12px; background: linear-gradient(90deg, var(--blue), #1d4ed8); color: #fff; font-size: 0.78rem; font-weight: 600; }
.phone-list { padding: 8px; display: grid; gap: 7px; }
.p-item {
  padding: 8px 9px; border-radius: 8px; background: #0e1830; border: 1px solid var(--line);
  display: grid; gap: 3px;
}
.p-item b { font-size: 0.62rem; color: var(--txt); }
.p-item span { font-size: 0.56rem; color: var(--txt-3); }
.p-item em { font-style: normal; font-size: 0.56rem; color: var(--gold); justify-self: end; }
.p-item em.done { color: var(--green); }

.demo-info { padding: 22px 26px 26px; }
.demo-info h3 { font-size: 1.25rem; margin-bottom: 8px; }
.demo-info p { color: var(--txt-2); font-size: var(--fs-sm); margin-bottom: 14px; }
.demo-link { color: var(--cyan); font-size: var(--fs-sm); font-weight: 600; }
.demo-tip { text-align: center; margin-top: 30px; color: var(--txt-3); font-size: var(--fs-sm); }

/* ---------- 业务动线 ---------- */
.flow { background: var(--bg-2); }
.flow-track {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-bottom: 60px; position: relative;
}
.flow-track::before {
  content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0.35;
}
.flow-step {
  position: relative; text-align: center; padding-top: 0;
  display: grid; justify-items: center; gap: 8px;
}
.step-num {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3); border: 2px solid var(--blue);
  font-size: 1.35rem; font-weight: 800; color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
}
.flow-step b { font-size: 1.02rem; }
.flow-step i { font-style: normal; color: var(--txt-3); font-size: var(--fs-sm); line-height: 1.5; }

.role-map {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 34px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line);
}
.role-item {
  display: grid; justify-items: center; gap: 6px; padding: 10px 24px;
  border-right: 1px solid var(--line);
}
.role-item:last-child { border-right: 0; }
.role-ico { font-size: 1.7rem; }
.role-item b { font-size: 1.05rem; }
.role-item span { color: var(--txt-3); font-size: var(--fs-sm); }

/* ---------- 定制服务 ---------- */
.service { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 36px 30px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.service-card ul { display: grid; gap: 12px; }
.service-card li { color: var(--txt-2); font-size: var(--fs-sm); }
.service-card li b { color: var(--txt); font-weight: 600; }

/* ---------- 商务转化 ---------- */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #0a1122 100%); padding: 120px 0; }
.contact-box {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: 64px 48px; border-radius: 20px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(59, 130, 246, 0.18), transparent 70%),
    var(--bg-3);
  border: 1px solid var(--line);
}
.contact-box h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.contact-box p { color: var(--txt-2); margin-bottom: 36px; font-size: var(--fs-lg); }
.contact-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.contact-info { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; color: var(--txt-3); font-size: var(--fs-sm); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 42px 0; text-align: center; background: var(--bg); }
.footer p { color: var(--txt-2); font-size: var(--fs-sm); }
.footer-brand { color: var(--txt); font-weight: 600; margin: 6px 0; }
.footer-note { color: var(--txt-3); font-size: 0.85rem; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .flow-track { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow-track::before { display: none; }
  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 11, 22, 0.97); border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px; transform: translateY(-130%); transition: transform 0.35s;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { text-align: center; border: 0; margin-top: 12px; }
  .nav-toggle { display: block; }
  .section { padding: 80px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .flow-track { grid-template-columns: 1fr 1fr; }
  .role-map { gap: 6px; padding: 26px 16px; }
  .role-item { padding: 10px 12px; }
  .contact-box { padding: 44px 22px; }
  .hero-stats .stat { min-width: 150px; }
  .hero-sub { font-size: 1.125rem; }
}
