/* 危效运输智能平台 · 官网样式
   纯静态、无依赖、响应式
   主色：深蓝 #0A2540 / 科技蓝 #2563EB / 青 #06B6D4
*/
:root {
  --ink: #0A2540;
  --primary: #2563EB;
  --primary-d: #1D4ED8;
  --cyan: #06B6D4;
  --text: #1F2937;
  --muted: #6B7280;
  --soft: #94A3B8;
  --border: #E5E7EB;
  --alt: #F5F7FA;
  --bg: #ffffff;
  --danger: #FF6B35;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 2px 8px rgba(10, 37, 64, 0.04);
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--ink); font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; height: 72px; gap: 24px; }
.brand img { height: 44px; width: auto; }
.nav-menu { display: flex; gap: 28px; margin-left: 16px; }
.nav-menu a {
  font-size: 15px; color: var(--text); font-weight: 500;
  position: relative; padding: 6px 0;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--primary); transition: width .25s var(--ease);
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  margin-left: auto; padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }
.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center; gap: 5px; align-items: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.btn-icon { font-size: 16px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 80px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(6, 182, 212, 0.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(37, 99, 235, 0.4), transparent 60%),
    linear-gradient(135deg, #0A2540 0%, #0F2F5C 50%, #103A6E 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px; color: #cdd9ec; margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero-title { font-size: 56px; font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 14px; }
.hero-slogan { font-size: 26px; font-weight: 600; color: #e6efff; margin-bottom: 20px; }
.grad { background: linear-gradient(135deg, #60A5FA, #22D3EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 16px; color: #c5d4ec; max-width: 560px; margin-bottom: 32px; line-height: 1.85; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-qr { display: flex; gap: 20px; justify-content: flex-end; }

/* ===== QR cards ===== */
.qr-card {
  background: #fff; border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-lg); text-align: center; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.qr-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(10,37,64,0.18); }
.qr-card img { width: 200px; height: 200px; border-radius: 12px; margin: 0 auto; background: #f8fafc; }
.qr-card-lg img { width: 220px; height: 220px; }
.qr-label { margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.qr-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ===== Stats ===== */
.stats { background: var(--ink); color: #fff; padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.stat-num .grad { background: linear-gradient(135deg, #60A5FA, #22D3EE); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14px; color: #9fb3d1; margin-top: 6px; }

/* ===== Section ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--alt); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.1); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.section-desc { font-size: 16px; color: var(--muted); margin-top: 16px; line-height: 1.85; }

/* ===== Flows (五流合一) ===== */
.flows { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flow-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.flow-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(37,99,235,0.3); }
.flow-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}
.flow-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== Feature cols ===== */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-col {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.feature-col-head { margin-bottom: 24px; }
.feature-tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 700; margin-bottom: 12px; color: #fff;
}
.feature-tag-shipper { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.feature-tag-owner { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.feature-col-head h3 { font-size: 22px; }
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-list li { padding-left: 22px; position: relative; font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.feature-list strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* ===== Advantages ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.adv-icon { font-size: 34px; margin-bottom: 14px; }
.adv-card h3 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ===== Tech ===== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 32px 26px; border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tech-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.tech-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tech-card:hover::before { transform: scaleX(1); }
.tech-num { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 2px; margin-bottom: 10px; }
.tech-card h3 { font-size: 19px; margin-bottom: 10px; }
.tech-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ===== Process timeline ===== */
.process-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px; display: flex; align-items: center; gap: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ps-idx {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.ps-text { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ===== Ops data ===== */
.ops-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ops-item {
  background: #fff; border-radius: var(--radius); padding: 28px 16px; text-align: center;
  border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ops-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ops-num { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.ops-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ===== Download ===== */
.download { background: linear-gradient(135deg, #0A2540 0%, #103A6E 100%); color: #fff; }
.download .section-tag { background: rgba(255,255,255,0.12); color: #cdd9ec; }
.download .section-title { color: #fff; }
.download .section-desc { color: #c5d4ec; }
.download-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.download-contact { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-label { font-size: 13px; color: #9fb3d1; flex-shrink: 0; width: 96px; }
.contact-phone { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.contact-val { font-size: 15px; color: #e6efff; }
.download-qr { display: flex; gap: 24px; justify-content: flex-end; }

/* ===== Footer ===== */
.site-footer { background: #071A33; color: #9fb3d1; padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(1.1); }
.footer-brand p { font-size: 14px; color: #9fb3d1; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: #9fb3d1; margin-bottom: 10px; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 13px; color: #6b85a8; }
.footer-bottom .footer-icp a { color: inherit; transition: color .2s var(--ease); }
.footer-bottom .footer-icp a:hover { color: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-qr { justify-content: center; }
  .hero-title { font-size: 44px; }
  .download-inner { grid-template-columns: 1fr; gap: 40px; }
  .download-qr { justify-content: center; }
  .flows { grid-template-columns: repeat(3, 1fr); }
  .adv-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-grid { grid-template-columns: repeat(3, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 8px 24px 16px; max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease), padding .3s var(--ease);
  }
  .nav-menu.open { max-height: 420px; padding: 8px 24px 20px; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-menu a:last-child { border-bottom: none; }
  .hero { padding: 56px 0 72px; }
  .hero-title { font-size: 34px; }
  .hero-slogan { font-size: 20px; }
  .hero-qr { flex-direction: column; align-items: center; gap: 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat-num { font-size: 30px; }
  .flows { grid-template-columns: 1fr; }
  .feature-cols { grid-template-columns: 1fr; }
  .adv-grid, .tech-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .download-qr { flex-direction: column; align-items: center; }
  .contact-phone { font-size: 24px; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .ops-grid { grid-template-columns: 1fr; }
}
