/* ============================================================
   鲲翔MOM 官网 - 样式
   ============================================================ */
:root {
  --primary: #0B63E5;
  --primary-2: #06B6D4;
  --grad: linear-gradient(135deg, #0B63E5 0%, #06B6D4 100%);
  --dark: #0F172A;
  --text: #1E293B;
  --muted: #64748B;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 99, 229, 0.10);
  --shadow-lg: 0 20px 45px rgba(11, 99, 229, 0.16);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 12px 28px; border-radius: 50px;
  font-size: 15px; font-weight: 600; border: 2px solid transparent;
  transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(11, 99, 229, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11, 99, 229, 0.45); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent;
  transition: all 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.brand-accent { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; font-size: 15px; font-weight: 500; color: var(--text);
  padding: 6px 2px; transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 顶部主视觉 ---------- */
.hero {
  position: relative; min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(120deg, #ffffff 0%, #F2F8FF 55%, #EAF4FF 100%);
  overflow: hidden;
}
/* 内容块：宽容器居中，左文右图、文字紧贴插画，插画占大半个页面（参照源网页） */
.hero-inner { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; max-width: 1580px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 48px); }
.hero-text { flex: 0 0 440px; min-width: 0; position: relative; z-index: 2; }
.hero-kicker { font-size: 34px; font-weight: 700; letter-spacing: 2px; color: #070C39; line-height: 1.5; margin-bottom: 6px; }
.hero-title { font-size: 52px; font-weight: 800; letter-spacing: 2px; color: #070C39; line-height: 1.4; margin-bottom: 14px; }
.hero-desc { font-size: 19px; color: #070C39; line-height: 1.7; margin-bottom: 36px; }
.hero-art { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-width: 0; margin-left: -40px; }
.hero-art img { width: 100%; max-width: 1120px; height: auto; max-height: calc(100vh - var(--nav-h) - 40px); object-fit: contain; }
.hero-consult {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 160px; height: 54px; padding: 0 24px; border-radius: 8px; font-size: 18px;
}
.btn-arrow { font-style: normal; font-size: 20px; line-height: 1; font-weight: 700; }

/* ---------- Hero 首屏入场动画 ---------- */
.hero-kicker, .hero-title, .hero-desc {
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease) forwards;
}
.hero-kicker { animation-delay: 0.15s; }
.hero-title { animation-delay: 0.3s; }
.hero-desc { animation-delay: 0.5s; }
.hero-consult {
  opacity: 0;
  animation: heroFadeIn 0.6s var(--ease) 0.5s forwards;
}
.hero-art {
  opacity: 0;
  animation: heroArtIn 1s var(--ease) 0.35s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroArtIn {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- 视差标语条 ---------- */
.parallax-band {
  position: relative; overflow: hidden; padding: 96px 0; color: #fff; text-align: center;
}
.parallax-bg {
  position: absolute; inset: -40% 0; background-size: cover; background-position: center;
  will-change: transform;
}
.parallax-band::after { content: ""; position: absolute; inset: 0; background: rgba(7, 25, 60, 0.62); }
.parallax-content { position: relative; z-index: 2; }
.section-title-light { font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
.parallax-content > p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 52px; }
.stat-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat strong { font-size: 44px; font-weight: 800; background: linear-gradient(180deg, #fff, #A5D8FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { display: block; color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-title { font-size: 38px; font-weight: 800; letter-spacing: 1px; position: relative; display: inline-block; padding-bottom: 14px; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 52px; height: 4px; border-radius: 4px; background: var(--grad);
}
.section-desc { color: var(--muted); font-size: 16px; margin-top: 16px; }

/* ---------- 产品介绍 ---------- */
.products { background: var(--bg); }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.product-card {
  background: var(--card); border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(11, 99, 229, 0.35); margin-bottom: 6px;
  transition: transform 0.4s var(--ease);
}
.product-icon svg { width: 28px; height: 28px; }
.product-card:hover .product-icon { transform: rotate(-8deg) scale(1.08); }
.product-card h3 { font-size: 21px; font-weight: 700; }
.product-tag { color: var(--primary); font-size: 14px; font-weight: 600; min-height: 42px; }
.product-points { color: var(--muted); font-size: 14.5px; display: grid; gap: 7px; margin-top: 4px; flex: 1; }
.product-points li { padding-left: 18px; position: relative; }
.product-points li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--grad);
}
.product-more {
  color: var(--primary); font-weight: 600; font-size: 14.5px; margin-top: 14px;
  transition: letter-spacing 0.3s; cursor: pointer;
  background: none; border: 0; padding: 0; font-family: inherit; align-self: flex-start;
}
.product-more:hover { letter-spacing: 1.5px; }
.product-card-feature { align-items: flex-start; }
.product-feature-img { width: 100%; border-radius: 10px; margin-bottom: 8px; object-fit: cover; max-height: 160px; }
.product-feature-desc { color: var(--muted); font-size: 14.5px; flex: 1; }

/* ---------- 解决方案 ---------- */
.solutions { background: var(--card); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.solution-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution-card img { width: 100%; height: auto; transition: filter 0.4s var(--ease); }
.solution-card:hover img { filter: brightness(1.08); }
.solution-card figcaption { padding: 22px 24px 26px; }
.solution-card h3 { font-size: 19px; margin-bottom: 8px; }
.solution-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 产品定价 ---------- */
.pricing { background: linear-gradient(180deg, #F0F6FF 0%, var(--bg) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 32px 26px; border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card-hot { border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(11, 99, 229, 0.22); }
.price-flag {
  position: absolute; top: -14px; right: 20px;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 14px; border-radius: 50px; box-shadow: 0 6px 14px rgba(11, 99, 229, 0.4);
}
.price-badge {
  font-size: 13px; color: var(--primary); background: rgba(11, 99, 229, 0.08);
  padding: 4px 12px; border-radius: 50px; align-self: flex-start; font-weight: 600;
}
.price-card h3 { font-size: 24px; font-weight: 800; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-num { font-size: 38px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: 14px; }
.price-buyout { color: var(--muted); font-size: 13.5px; }
.price-features { display: grid; gap: 9px; font-size: 14.5px; color: var(--text); flex: 1; padding: 6px 0; }
.price-features li { padding-left: 22px; position: relative; }
.price-features li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: #10B981; font-weight: 800;
}

/* ---------- 联系我们 ---------- */
.contact { background: var(--card); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1.3fr; gap: 48px; align-items: center; }
.contact-info h3 { font-size: 21px; margin-bottom: 22px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.contact-label {
  min-width: 76px; color: var(--muted); font-size: 14px;
  background: var(--bg); border-radius: 8px; padding: 4px 12px; text-align: center;
}
.contact-list a:hover { color: var(--primary); }
.contact-qr {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  background: var(--bg); border-radius: var(--radius); padding: 40px 48px;
  box-shadow: var(--shadow);
}
.contact-qr .qr-img { width: 150px; height: 150px; border-radius: 12px; object-fit: cover; }
.contact-qr h3 { font-size: 20px; margin-bottom: 10px; }
.contact-qr p { color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #CBD5E1; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 340px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.footer-links a, .footer-links span { font-size: 14.5px; color: #CBD5E1; transition: color 0.25s; }
.footer-links a:hover { color: #A5D8FF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13.5px; color: #94A3B8; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; border: 0; font-size: 18px;
  box-shadow: 0 10px 24px rgba(11, 99, 229, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.35s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- 企业微信二维码弹窗 ---------- */
.qr-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.qr-modal.open { visibility: visible; opacity: 1; }
.qr-modal-mask { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px); }
.qr-modal-card {
  position: relative; z-index: 1; background: #fff; border-radius: 18px;
  padding: 36px 44px; text-align: center; max-width: 340px; width: calc(100% - 48px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s var(--ease);
}
.qr-modal.open .qr-modal-card { transform: translateY(0) scale(1); }
.qr-modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--bg); color: var(--muted);
  font-size: 14px; transition: all 0.25s; display: flex; align-items: center; justify-content: center;
}
.qr-modal-close:hover { background: #EF4444; color: #fff; }
.qr-modal-card h3 { font-size: 20px; margin-bottom: 18px; }
.qr-modal-img {
  width: 200px; height: 200px; margin: 0 auto 18px;
  border-radius: 12px; border: 1px solid var(--border);
}
.qr-modal-card p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 20px; }

/* ---------- 滚动入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .main-nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 6px;
    padding: 16px 24px 24px; align-items: flex-start;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { font-size: 16px; padding: 10px 2px; }
  .nav-toggle { display: flex; }
  .hero-inner { flex-direction: column; gap: 32px; padding: 44px 24px 56px; text-align: center; }
  .hero-text { flex: none; min-width: 0; width: 100%; }
  .hero-kicker { font-size: 34px; }
  .hero-title { font-size: 44px; }
  .hero-desc { font-size: 19px; }
  .hero-art { flex: none; width: 100%; justify-content: center; margin-left: 0; }
  .hero-art img { max-height: none; }
  .stat-row { gap: 32px; }
  .stat strong { font-size: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-qr { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .product-grid, .pricing-grid, .solution-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .hero-kicker { font-size: 26px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
}
