/* ============================================================
 * 智联SaaS · 首页样式（home.css）
 * ============================================================ */

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { align-items: center; }
.brand-z { color: var(--indigo); }
.brand-s { color: var(--text); }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .brand-s { color: var(--text); }
.nav.scrolled .nav-links a { color: var(--text-2); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: rgba(255,255,255,.82); font-weight: 500; position: relative; transition: color var(--t-fast); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--indigo); transition: width var(--t); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.link-login { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }
.nav.scrolled .link-login { color: var(--text-2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.nav-burger span { height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.nav.scrolled .nav-burger span { background: var(--text); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 130px 0 80px; background: var(--ink); overflow: hidden; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-aurora { position: absolute; inset: -20% -10% auto -10%; height: 80%; background:
  radial-gradient(40% 50% at 25% 30%, rgba(94,106,210,.45), transparent 70%),
  radial-gradient(35% 45% at 75% 25%, rgba(124,134,232,.32), transparent 70%);
  filter: blur(20px); opacity: .9; animation: aurora 14s ease-in-out infinite alternate; }
@keyframes aurora { 0%{transform:translate3d(0,0,0) scale(1)} 100%{transform:translate3d(0,-30px,0) scale(1.08)} }
.hero-inner { position: relative; z-index: 2; text-align: center; display: grid; gap: 26px; justify-items: center; max-width: 1080px; }
.hero-badge { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 100px; background: rgba(94,106,210,.15); border: 1px solid rgba(94,106,210,.4); color: var(--on-dark-2); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.hero-title { font-size: clamp(28px, 5.2vw, 86px); font-weight: 800; line-height: 1.1; letter-spacing: -1px; color: #fff; white-space: nowrap; }
.hero-sub { font-size: clamp(16px, 1.6vw, 20px); color: var(--on-dark-3); max-width: 720px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* 控制台模拟 */
.hero-console { margin-top: 26px; width: min(940px, 94vw); border-radius: var(--r-lg); background: rgba(10,10,12,.72); border: 1px solid rgba(124,134,232,.35); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04) inset; overflow: hidden; backdrop-filter: blur(10px); }
.hc-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #141417; border-bottom: 1px solid rgba(255,255,255,.05); }
.hc-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a42; }
.hc-bar i:nth-child(1){ background:#FF5F57 } .hc-bar i:nth-child(2){ background:#FEBC2E } .hc-bar i:nth-child(3){ background:#28C840 }
.hc-bar span { margin-left: 10px; font-size: 13px; color: var(--on-dark-4); }
.hc-body { display: flex; min-height: 320px; }
.hc-side { width: 190px; padding: 18px 14px; background: #0E0E11; display: flex; flex-direction: column; gap: 12px; }
.hc-side span { height: 20px; border-radius: 6px; background: #1A1A20; }
.hc-side span:first-child { height: 26px; background: var(--indigo); }
.hc-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.hc-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.hc-stat { background: #141417; border-radius: var(--r-sm); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.hc-stat b { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: #fff; }
.hc-stat em { font-style: normal; font-size: 13px; color: var(--on-dark-4); }
.hc-chart { flex: 1; background: #141417; border-radius: var(--r-sm); padding: 18px; display: flex; align-items: flex-end; gap: 12px; }
.hc-chart span { flex: 1; background: linear-gradient(180deg, var(--indigo-3), var(--indigo)); border-radius: 6px 6px 0 0; animation: barRise 1s var(--ease) both; }
.hc-chart span:nth-child(2){animation-delay:.06s}.hc-chart span:nth-child(3){animation-delay:.12s}.hc-chart span:nth-child(4){animation-delay:.18s}.hc-chart span:nth-child(5){animation-delay:.24s}.hc-chart span:nth-child(6){animation-delay:.30s}.hc-chart span:nth-child(7){animation-delay:.36s}.hc-chart span:nth-child(8){animation-delay:.42s}
@keyframes barRise { from{ transform: scaleY(0); transform-origin: bottom } to{ transform: scaleY(1) } }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; z-index: 3; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* 宽屏 / 带鱼屏：利用宽度，避免两侧空旷 */
@media (min-width: 1600px) {
  .hero-inner { max-width: 1320px; gap: 30px; }
  .hero-console { width: min(1240px, 94vw); }
}
@media (min-width: 2200px) {
  .hero-inner { max-width: 1720px; }
  .hero-console { width: min(1560px, 94vw); }
  .section, .stats, .cta { padding: 120px 0; }
}
@media (min-width: 3000px) {
  .hero-inner { max-width: 2100px; }
  .hero-console { width: min(1900px, 94vw); }
}

/* ---------- 通用 section ---------- */
/* 下方板块去除"纯白扁平"观感：浅渐变底 + 角落柔光球，卡片保持白底形成层次 */
.section:not(.dark) { position: relative; overflow: hidden; padding: 100px 0; background: linear-gradient(180deg, #ffffff 0%, #f4f6fc 100%); }
.section.alt:not(.dark) { background: linear-gradient(180deg, #f2f4fc 0%, #e9edf9 100%); }
.section:not(.dark)::before, .section.alt:not(.dark)::before {
  content: ''; position: absolute; z-index: 0; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(70px); opacity: .55; pointer-events: none;
  background: radial-gradient(circle, rgba(94,106,210,.16), transparent 70%);
}
.section:not(.dark)::before { top: -200px; right: -160px; }
.section.alt:not(.dark)::before { bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(124,134,232,.14), transparent 70%); }
.section > .wrap { position: relative; z-index: 1; }
/* 卡片统一：靛蓝微光阴影，悬停时层次更明显 */
.fc, .frow, .fstep, .sol, .prod, .plan, .case, .contact-card, .news, .page-card, .msg-board, .qr-card, .channel-card { box-shadow: 0 2px 8px rgba(20,28,60,.05); }
.fc:hover, .frow:hover, .fstep:hover, .sol:hover, .prod:hover, .plan:hover, .case:hover, .contact-card:hover, .news:hover, .page-card:hover { box-shadow: 0 22px 48px rgba(94,106,210,.20); }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-num); font-size: clamp(38px,5vw,56px); font-weight: 800; color: var(--on-dark-2); line-height: 1; }
.stat .lbl { margin-top: 12px; color: var(--on-dark-3); font-size: 15px; }

/* ---------- Bento 功能 ---------- */
.bento { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: minmax(150px,auto); gap: 20px; }
.fc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; overflow: hidden; }
.fc::before { content:''; position:absolute; inset:0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(94,106,210,.10), transparent 60%); opacity:0; transition: opacity var(--t); }
.fc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(94,106,210,.4); }
.fc:hover::before { opacity: 1; }
.fc.big { grid-row: span 2; }
.fc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(94,106,210,.12); color: var(--indigo); display: grid; place-items: center; }
.fc-ico svg { width: 26px; height: 26px; }
.fc h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.fc p { color: var(--text-3); font-size: 15px; line-height: 1.6; }

/* ---------- 功能板块 · 编号行式（rows） ---------- */
.feat-rows { display: flex; flex-direction: column; gap: 14px; max-width: 1020px; margin: 0 auto; }
.frow { display: flex; align-items: flex-start; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 30px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; overflow: hidden; }
.frow::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--indigo), var(--indigo-3)); opacity: 0; transition: opacity var(--t); }
.frow:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(94,106,210,.4); }
.frow:hover::before { opacity: 1; }
.frow .idx { font-family: var(--font-num); font-size: 38px; font-weight: 800; line-height: 1; color: rgba(94,106,210,.28); min-width: 58px; padding-top: 4px; }
.frow .f-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(94,106,210,.12); color: var(--indigo); display: grid; place-items: center; flex-shrink: 0; }
.frow .f-body { flex: 1; }
.frow h3 { font-size: 18px; font-weight: 700; }
.frow p { color: var(--text-3); font-size: 14.5px; line-height: 1.65; margin-top: 6px; }

/* ---------- 功能板块 · 步骤卡片（steps） ---------- */
.feat-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.fstep { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 24px; position: relative; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.fstep:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(94,106,210,.4); }
.fstep .s-num { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--indigo-3)); color: #fff; display: grid; place-items: center; font-family: var(--font-num); font-weight: 800; font-size: 17px; margin-bottom: 16px; box-shadow: 0 6px 16px rgba(94,106,210,.3); }
.fstep h3 { font-size: 17px; font-weight: 700; }
.fstep p { color: var(--text-3); font-size: 14px; line-height: 1.6; margin-top: 8px; }

/* ---------- 解决方案 / 网格卡 ---------- */
.grid6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.sol { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; transition: transform var(--t), box-shadow var(--t); }
.section:not(.alt) .sol { background: var(--paper-2); }
.sol:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sol-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(94,106,210,.12); color: var(--indigo); display: grid; place-items: center; margin-bottom: 14px; }
.sol h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.sol p { color: var(--text-3); font-size: 14px; line-height: 1.6; }

/* ---------- 产品矩阵 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform var(--t), box-shadow var(--t); }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prod-logo { width: 44px; height: 44px; border-radius: 12px; background: rgba(94,106,210,.12); color: var(--indigo); display: grid; place-items: center; margin-bottom: 2px; }
.prod-logo.ico-img { background-size: cover; background-position: center; }
.prod-top { display: flex; align-items: center; justify-content: space-between; }
.prod h3 { font-size: 17px; font-weight: 700; }
.prod p { color: var(--text-3); font-size: 13.5px; line-height: 1.6; flex: 1; }

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; transition: transform var(--t), box-shadow var(--t); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.hot { border: 2px solid var(--indigo); box-shadow: var(--shadow-glow); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { font-family: var(--font-num); font-size: 42px; font-weight: 800; color: var(--text); }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--text-3); font-family: var(--font-cn); }
.plan .desc { color: var(--text-3); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--indigo); font-weight: 800; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.case { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; transition: transform var(--t), box-shadow var(--t); }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case .quote { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.case .who { display: flex; align-items: center; gap: 12px; }
.case .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--indigo-3)); color:#fff; display: grid; place-items: center; font-weight: 700; }
.case .who b { font-size: 14px; color: var(--text); }
.case .who span { display: block; font-size: 12.5px; color: var(--text-3); }

/* ---------- 资质荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }
.honor { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md); padding: 22px; text-align: center; color: #fff; font-weight: 600; transition: transform var(--t), border-color var(--t); }
.honor:hover { transform: translateY(-4px); border-color: rgba(124,134,232,.5); }

/* ---------- 资讯 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.news:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news .thumb { height: 160px; background: linear-gradient(135deg, #e9ecf5, #dfe3f3); display: grid; place-items: center; color: #9aa3b8; font-size: 13px; }
.news .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news .ntag { color: var(--indigo); font-size: 12px; font-weight: 700; }
.news h3 { font-size: 17px; font-weight: 700; line-height: 1.45; }
.news .date { margin-top: auto; color: #9ca3af; font-size: 13px; }

/* ---------- 博物馆 ---------- */
.museum { background: linear-gradient(135deg, #7a1220, #b3122b 60%, #d11a36); color: #fff; border-radius: var(--r-xl); padding: 64px 56px; position: relative; overflow: hidden; }
.museum::after { content:''; position:absolute; right:-60px; top:-60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
.museum .m-head { max-width: 620px; }
.museum h2 { font-size: clamp(26px,3.5vw,38px); font-weight: 800; }
.museum .m-sub { opacity: .85; margin-top: 12px; font-size: 16px; }
.m-stats { display: flex; gap: 48px; margin-top: 36px; flex-wrap: wrap; }
.m-stat .num { font-family: var(--font-num); font-size: 46px; font-weight: 800; }
.m-stat .lbl { opacity: .85; font-size: 14px; }

/* ---------- 板块跳转 CTA ---------- */
.sec-cta { text-align: center; margin-top: 44px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(94,106,210,.4); }
.contact-card .c-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(94,106,210,.12); color: var(--indigo); display: grid; place-items: center; }
.contact-card h3 { font-size: 19px; font-weight: 700; }
.contact-card p { color: var(--text-3); font-size: 14.5px; line-height: 1.6; flex: 1; }

/* 联系板块：二维码 + 渠道合作 */
.contact-extra { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.6fr); gap: 20px; margin-top: 28px; }
.qr-card, .channel-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.qr-box { width: 168px; height: 168px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.qr-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr-img.sm { width: 120px; height: 120px; border-radius: 10px; margin-top: 14px; }
.qr-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #9aa3b8; font-weight: 600; font-size: 15px; gap: 4px; }
.qr-ph small { color: #b6bdce; font-weight: 400; font-size: 12px; }
.qr-card h3, .channel-card h3 { font-size: 19px; font-weight: 700; }
.qr-card p { color: var(--text-3); font-size: 14px; line-height: 1.6; }
.channel-card p { color: var(--text-3); font-size: 14.5px; line-height: 1.65; }
.ch-row { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.ch-row svg { color: var(--indigo); flex-shrink: 0; }

/* 留言板 */
.msg-board { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.mb-title { font-size: 22px; font-weight: 800; }
.mb-sub { color: var(--text-3); font-size: 14.5px; margin-top: 8px; }
.msg-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.mb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg-form input, .msg-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--text); background: var(--paper-2); transition: border-color var(--t-fast); }
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--indigo); }
.msg-form textarea { min-height: 120px; resize: vertical; }
.mb-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mb-tip { font-size: 13.5px; font-weight: 600; }
.mb-tip.ok { color: #1aa672; }
.mb-tip.err { color: #e0483b; }

/* 可点击卡片的跳转提示 */
.card-go { font-size: 13px; font-weight: 700; color: var(--indigo); margin-top: 4px; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; text-align: center; position: relative; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-title { font-size: clamp(30px,4vw,46px); font-weight: 800; color: #fff; }
.cta-sub { color: var(--on-dark-3); font-size: 18px; margin-top: 14px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { padding: 72px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.f-brand .brand { font-size: 22px; }
.f-brand p { color: var(--on-dark-3); font-size: 14px; margin-top: 16px; }
.f-contact { color: var(--on-dark-4) !important; font-size: 13px !important; }
.f-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.f-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.f-col a { display: block; color: var(--on-dark-4); font-size: 13.5px; padding: 5px 0; transition: color var(--t-fast); }
.f-col a:hover { color: var(--indigo-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-4); font-size: 12.5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr; }
  .fc.big { grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 32px 16px; }
  .grid6, .case-grid, .news-grid, .price-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2,1fr); }
  .contact-extra { grid-template-columns: 1fr; }
  .mb-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: repeat(2,1fr); }
  .m-stats { gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .link-login, .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 32px; gap: 4px; box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { color: var(--text-2); padding: 10px 0; }
  .nav.open .nav-actions { display: flex; position: absolute; top: 72px; right: 32px; }
  .hc-side { display: none; }
  .hero-console { display: none; }
  .frow { flex-direction: column; gap: 12px; padding: 22px; }
  .frow .idx { font-size: 26px; min-width: 0; padding-top: 0; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .cta, .stats { padding: 64px 0; }
}

/* ---------- 独立详情页板块（张雪机车 / 航宇纵横） ---------- */
.page-feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; overflow: hidden; }
.page-feat-cover { height: 320px; border-radius: var(--r-lg); background: linear-gradient(135deg, #1c1c22, #2a2a3a); background-size: cover; background-position: center; }
.page-feat-cover.grad { background: linear-gradient(135deg, var(--indigo), var(--indigo-3)); position: relative; }
.page-feat-cover.grad::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 30% 20%, rgba(255,255,255,.18), transparent 70%); }
.page-feat-body { padding: 8px 24px; }
.page-feat-intro { color: var(--text-2); font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.page-feat-body .btn { align-self: flex-start; }
.page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.page-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(94,106,210,.4); }
.pc-img { height: 150px; background: linear-gradient(135deg, #e9ecf5, #dfe3f3); background-size: cover; background-position: center; }
.pc-img.grad { background: linear-gradient(135deg, var(--indigo), var(--indigo-3)); position: relative; }
.pc-img.grad::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 70% 20%, rgba(255,255,255,.16), transparent 70%); }
.page-card h3 { font-size: 18px; font-weight: 700; padding: 18px 22px 4px; }
.page-card p { color: var(--text-3); font-size: 14px; line-height: 1.65; padding: 0 22px 22px; }
@media (max-width: 860px) { .page-feat { grid-template-columns: 1fr; } .page-feat-cover { height: 220px; } }

/* ============================================================
 * 首页 · 沉浸式互动层
 * 目标：填充 .wrap 之外的两侧留白，并让滚动全程都有可感知的反馈
 * ============================================================ */

/* 光标光晕只在首屏深色区生效；浅色滚动区改由板块内的跟随光斑承担 */
#cursorGlow { transition: opacity .45s var(--ease); }
body.past-hero #cursorGlow { opacity: 0; }

/* 板块全幅纹理 + 跟随鼠标的柔光：白色卡片遮住中段，纹理与光斑正好落在两侧留白区 */
.section, .stats, .cta, .footer { position: relative; }
.section > .wrap, .stats > .wrap, .cta > .wrap, .footer > .wrap { position: relative; z-index: 1; }
.section:not(.dark)::after,
.section.dark::after, .stats::after, .cta::after, .footer::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px circle at var(--gx, -999px) var(--gy, -999px), rgba(94,106,210,.17), transparent 62%),
    linear-gradient(90deg, rgba(94,106,210,.055) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(94,106,210,.055) 1px, transparent 1px) 0 0 / 76px 76px;
}
.section.dark::after, .stats::after, .cta::after, .footer::after {
  background:
    radial-gradient(560px circle at var(--gx, -999px) var(--gy, -999px), rgba(124,134,232,.24), transparent 62%),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 76px 76px;
}
/* 角落柔光球随滚动轻微位移，产生视差层次 */
.section:not(.dark)::before { transform: translate3d(0, var(--py, 0px), 0); }

/* 进场动画升级：淡入 + 轻微放大 */
.reveal { transform: translateY(34px) scale(.985); }
.reveal.in { transform: none; }

/* 顶部导航：滚动到哪一章就高亮哪一项 */
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
.nav.scrolled .nav-links a.active { color: var(--indigo); }

/* 卡片跟随光标的局部高光（由脚本写入 --cx / --cy） */
.cardglow { position: relative; }
.cardglow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none;
  background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 50%), rgba(94,106,210,.14), transparent 62%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.cardglow:hover::after { opacity: 1; }

/* ---------- 右侧章节圆点导航 ---------- */
.sec-nav {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 85; display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.sec-nav a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 18px; white-space: nowrap; }
.sec-nav .sn-label {
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px;
  background: rgba(15,20,25,.84); color: #fff; backdrop-filter: blur(6px);
  opacity: 0; transform: translateX(8px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.sec-nav a:hover .sn-label, .sec-nav a.active .sn-label { opacity: 1; transform: none; }
.sec-nav .sn-dot {
  width: 8px; height: 8px; border-radius: 99px; flex: none;
  background: rgba(124,134,232,.45); border: 1px solid rgba(124,134,232,.55);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.sec-nav a:hover .sn-dot { background: var(--indigo); transform: scale(1.35); }
.sec-nav a.active .sn-dot { background: var(--indigo); transform: scaleY(2.4); box-shadow: 0 0 0 4px rgba(94,106,210,.16); }
@media (max-width: 1279px) { .sec-nav { display: none; } }

/* ---------- 客户互动助手 ---------- */
.assist { position: fixed; right: 26px; bottom: 26px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assist-menu {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 0; pointer-events: none; transform: translateY(10px) scale(.96); transform-origin: bottom right;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.assist.open .assist-menu { opacity: 1; pointer-events: auto; transform: none; }
.assist-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; color: var(--text-2); border: 1px solid var(--line); border-radius: 12px;
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-md); white-space: nowrap;
  transition: transform .2s var(--ease), color .2s, border-color .2s;
}
.assist-item:hover { transform: translateX(-4px); color: var(--indigo); border-color: rgba(94,106,210,.4); }
.ai-ico { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(94,106,210,.12); color: var(--indigo); font-size: 13px; flex: none; }
.assist-fab {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  background: var(--indigo); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(94,106,210,.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.assist-fab svg { width: 24px; height: 24px; transition: opacity .2s; }
.assist-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-glow); }
.assist.open .assist-fab svg { opacity: 0; }
.assist.open .assist-fab::after { content: '×'; position: absolute; font-size: 28px; line-height: 1; font-weight: 400; }
.assist-dot { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; border: 2px solid #fff; transition: opacity .2s; }
.assist.open .assist-dot { opacity: 0; }
/* 留言板被助手唤起时的高亮反馈 */
.msg-board.flash { animation: mbFlash 1.3s var(--ease); }
@keyframes mbFlash { 0%,100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(94,106,210,.26); } 65% { box-shadow: 0 0 0 9px rgba(94,106,210,.08); } }

/* ---------- 场景选择器 ---------- */
.scene { padding-top: 108px; }
.scene-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 960px; margin: -10px auto 40px; }
.scene-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 100px;
  background: #fff; border: 1.5px solid var(--line); color: var(--text-2);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.scene-chip:hover { transform: translateY(-2px); border-color: rgba(94,106,210,.5); }
.scene-chip.active { background: var(--indigo); border-color: var(--indigo); color: #fff; box-shadow: 0 6px 18px rgba(94,106,210,.32); }
.scene-chip .sc-i { font-size: 15px; opacity: .9; }
.scene-panel {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(20,28,60,.08); padding: 40px 44px;
}
.scene-panel::before {
  content: ''; position: absolute; top: -120px; right: -100px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,106,210,.14), transparent 70%); pointer-events: none;
}
.scene-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.scene-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--indigo); margin-bottom: 8px; }
.scene-panel h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.scene-panel-copy p { color: var(--text-3); font-size: 15px; margin-top: 8px; max-width: 620px; line-height: 1.7; }
.scene-orb { position: relative; width: 110px; height: 110px; flex: none; }
.scene-orb i { position: absolute; inset: 0; border: 1.5px solid rgba(94,106,210,.28); border-radius: 50%; animation: orbPulse 3.2s ease-in-out infinite; }
.scene-orb i:nth-child(2) { inset: 18px; animation-delay: .4s; }
.scene-orb i:nth-child(3) { inset: 38px; border: 0; background: var(--indigo); box-shadow: 0 0 24px rgba(94,106,210,.5); animation-delay: .8s; }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.scene-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; position: relative; }
.scene-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--text-2);
  font-size: 14px; font-weight: 600; animation: tagIn .45s var(--ease) both;
}
.scene-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.scene-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

@media (max-width: 980px) {
  .scene-panel { padding: 30px 24px; }
  .scene-orb { display: none; }
}
@media (max-width: 760px) {
  .assist { right: 16px; bottom: 16px; }
  .assist-fab { width: 48px; height: 48px; }
  .scene-chips { gap: 8px; margin-bottom: 28px; }
  .scene-chip { padding: 9px 14px; font-size: 13px; }
  .scene { padding-top: 72px; }
}
/* 锚点跳转时为固定导航预留高度 */
.section[id], .stats[id], .cta[id], #contact, #scene { scroll-margin-top: 76px; }

/* 产品矩阵固定列数，避免末行孤儿卡片造成大片空白 */
@media (min-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) and (max-width: 1099px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 759px) { .prod-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .scene-orb i, .scene-tag, .msg-board.flash { animation: none !important; }
  .section:not(.dark)::before { transform: none !important; }
}

/* ============================================================
 * 顶部导航二级下拉（由后台 CMS 配置生成）
 * ============================================================ */
.nav-links .nav-group { position: relative; display: flex; align-items: center; }
.nav-links .nav-top { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-caret {
  width: 7px; height: 7px; flex: none;
  border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .7;
  transition: transform var(--t);
}
.nav-group:hover .nav-caret, .nav-group:focus-within .nav-caret { transform: rotate(225deg) translateY(-1px); }
.nav-drop {
  position: absolute; top: calc(100% + 12px); left: -16px; min-width: 186px;
  padding: 8px; display: grid; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); z-index: 130;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
/* 透明桥接区：鼠标从一级项移到下拉时不会中断 hover */
.nav-drop::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop a {
  color: var(--text-2) !important; font-size: 14px; font-weight: 500;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.nav-drop a:hover { color: var(--indigo) !important; background: #F3F4FA; }
.nav-drop a::after { display: none !important; }
.nav-drop a.active { color: var(--indigo) !important; }

/* 移动端：下拉改为菜单内直接展开 */
@media (max-width: 760px) {
  .nav.open .nav-links { max-height: 76vh; overflow-y: auto; }
  .nav.open .nav-group { display: block; width: 100%; }
  .nav.open .nav-top { width: 100%; justify-content: space-between; color: var(--text-2) !important; }
  .nav.open .nav-caret { transform: rotate(45deg); }
  .nav.open .nav-drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; background: transparent;
    padding: 0 0 4px 14px; gap: 0; min-width: 0;
  }
  .nav.open .nav-drop::before { display: none; }
  .nav.open .nav-drop a { padding: 8px 0; color: var(--text-3) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-drop, .nav-caret { transition: none !important; }
}
