/* ===========================================================
   艾欧特物联 · 首页样式
   设计语言：深色极光科技风 · 玻璃拟态 · 霓虹渐变 · Bento 布局
   =========================================================== */

:root {
  --bg: #060912;
  --bg-2: #0a0f1f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2ff;
  --muted: #9aa6c4;
  --muted-2: #6b7699;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 45%, #8b5cf6 100%);
  --grad-2: linear-gradient(120deg, #22d3ee, #34d399);
  --grad-soft: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.18));

  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}

/* ---------- 白天模式变量覆盖 ---------- */
[data-theme="light"] {
  --bg: #eef1f7;
  --bg-2: #e4e9f2;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.78);
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0c1322;
  --muted: #4d576b;
  --muted-2: #7a8499;
  --shadow: 0 24px 60px -24px rgba(30, 41, 90, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 切换主题时的平滑过渡（仅切换瞬间启用，避免影响 hover 动画） */
body.theme-anim,
body.theme-anim * {
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
    color .45s var(--ease), fill .45s var(--ease), stroke .45s var(--ease) !important;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- 背景极光 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(139,92,246,.16), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; top: -120px; left: -80px;
  background: radial-gradient(circle, #22d3ee, transparent 70%); }
.blob-2 { width: 520px; height: 520px; top: 20%; right: -140px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%); animation-delay: -6s; }
.blob-3 { width: 420px; height: 420px; bottom: -120px; left: 35%;
  background: radial-gradient(circle, #3b82f6, transparent 70%); animation-delay: -11s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(.95); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
/* 白天模式下背景与网格适配 */
[data-theme="light"] .aurora {
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(59,130,246,.20), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(139,92,246,.16), transparent 55%),
    var(--bg);
}
[data-theme="light"] .blob { mix-blend-mode: normal; opacity: .42; }
[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
}
[data-theme="light"] .noise { opacity: .03; }
.noise {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 导航（整行胶囊式） ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 24px;
  transition: padding .4s var(--ease);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 14px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 16px 42px -20px rgba(0,0,0,.55);
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
}
.nav.scrolled .nav-inner {
  box-shadow: 0 24px 54px -18px rgba(0,0,0,.72);
  border-color: var(--border);
}
[data-theme="light"] .nav-inner { background: rgba(255,255,255,.72); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { display: grid; place-items: center; }
.brand-mark svg .bm-core { fill: var(--cyan); }
.brand-mark svg .bm-dot { fill: var(--violet); }
.brand-mark svg .bm-line { stroke: rgba(110,130,180,.5); stroke-width: 1; }
.brand-text { font-size: 19px; letter-spacing: .5px; }
.brand-text em { font-style: normal; color: var(--cyan); }

/* 胶囊式菜单（内嵌于整行胶囊中） */
.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: auto;
  padding: 4px;
}
.nav-links a {
  position: relative; color: var(--muted); font-size: 15px; font-weight: 500;
  padding: 9px 18px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); background: var(--surface-2); }
/* 激活态：与文字同宽的彩色下划线 */
.nav-links a.active:not(.nav-cta) { color: var(--text); }
.nav-links a.active:not(.nav-cta)::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--violet));
  box-shadow: 0 0 10px -1px rgba(34,211,238,.7);
}
.nav-cta {
  padding: 9px 20px; border-radius: 999px; margin-left: 2px;
  background: var(--grad); color: #fff !important; font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.6);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--grad); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.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); }

/* 白天/夜晚切换按钮 */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); margin-left: 8px;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.theme-toggle:hover { transform: translateY(-1px); background: var(--surface-2); border-color: var(--border-strong); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 24px 60px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; backdrop-filter: blur(8px);
  margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero-title { font-size: clamp(36px, 6vw, 68px); line-height: 1.08; font-weight: 850; letter-spacing: -1px; }
.hero-sub { margin: 22px 0 32px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 540px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad2 { background: linear-gradient(120deg, #34d399, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(59,130,246,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(59,130,246,.85); }
.btn-primary .arrow { transition: transform .25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

.hero-badges { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges b { font-size: clamp(22px, 3vw, 30px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badges span { font-size: 13px; color: var(--muted-2); }

/* HERO 卡片（SIM 卡） */
.hero-card { position: relative; display: grid; place-items: center; min-height: 420px; }
.sim {
  position: relative; width: 290px; aspect-ratio: 1.58; border-radius: 22px;
  background: linear-gradient(150deg, #101a33, #0b1326);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-6deg); transition: transform .5s var(--ease);
  overflow: hidden;
}
.sim::before { content:""; position:absolute; inset:0; background: radial-gradient(120px 120px at 80% 10%, rgba(34,211,238,.25), transparent 60%); }
.hero-card:hover .sim { transform: rotate(0deg) scale(1.03); }
.sim-glow { position: absolute; top: -40%; right: -30%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(139,92,246,.5), transparent 70%); filter: blur(30px); }
.sim-chip { width: 46px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #fcd34d, #f59e0b); border: 1px solid rgba(0,0,0,.2); }
.sim-brand { position: absolute; top: 22px; right: 22px; font-weight: 800; letter-spacing: 2px; color: var(--cyan); }
.sim-no { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.sim-net { font-size: 12px; color: var(--violet); font-weight: 600; }
.sim-bars { display: flex; align-items: flex-end; gap: 3px; }
.sim-bars i { width: 5px; background: var(--cyan); border-radius: 2px; animation: bars 1.4s ease-in-out infinite; }
.sim-bars i:nth-child(1){height:8px; animation-delay:0s}
.sim-bars i:nth-child(2){height:12px; animation-delay:.15s}
.sim-bars i:nth-child(3){height:16px; animation-delay:.3s}
.sim-bars i:nth-child(4){height:20px; animation-delay:.45s}
.sim-bars i:nth-child(5){height:24px; animation-delay:.6s}
@keyframes bars { 50% { opacity: .4; transform: scaleY(.7); } }

.float-stat {
  position: absolute; padding: 12px 16px; border-radius: 14px;
  background: rgba(10,15,31,.7); backdrop-filter: blur(12px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.float-stat .fs-label { display: block; font-size: 11px; color: var(--muted-2); }
.float-stat .fs-value { display: block; font-size: 18px; font-weight: 800; color: #fff; }
.float-stat-1 { top: 14%; left: -6%; animation: bob 4s ease-in-out infinite; }
.float-stat-2 { bottom: 12%; right: -4%; animation: bob 4s ease-in-out infinite .8s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 2px; background: var(--cyan); animation: scroll 1.6s infinite; }
@keyframes scroll { 0%{opacity:0; transform: translateY(0)} 40%{opacity:1} 100%{opacity:0; transform: translateY(12px)} }

/* ---------- 浅色模式 Banner 轮播 ---------- */
.hero-carousel { display: none; }
[data-theme="light"] .hero-carousel { display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; }
[data-theme="light"] .hero-canvas { display: none; }
.hc-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 6s ease-out;
}
.hc-slide.active { opacity: 1; transform: scale(1); }
.hc-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,10,20,.85) 0%, rgba(6,10,20,.6) 42%, rgba(6,10,20,.22) 100%),
    linear-gradient(0deg, rgba(6,10,20,.55) 0%, transparent 42%);
}
.hc-dots { display: none; }
[data-theme="light"] .hc-dots {
  display: flex; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  gap: 10px; z-index: 4;
}
.hc-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s, width .3s, border-radius .3s;
}
.hc-dot.active { background: #fff; width: 26px; border-radius: 5px; }

/* 浅色模式：Hero 文字转浅色，保证照片背景上可读 */
[data-theme="light"] .hero .eyebrow { background: rgba(8,12,24,.35); border-color: rgba(255,255,255,.25); color: #fff; }
[data-theme="light"] .hero .eyebrow .dot { background: #fff; box-shadow: 0 0 10px #fff; }
[data-theme="light"] .hero-title { color: #fff; }
[data-theme="light"] .hero-sub { color: rgba(255,255,255,.88); }
[data-theme="light"] .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; }
[data-theme="light"] .btn-ghost:hover { background: rgba(255,255,255,.22); }
[data-theme="light"] .scroll-hint { display: none; }

/* ---------- 已服务行业（与「为什么选择艾欧特」同款卡片） ---------- */
.trust-bento {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trust-bento .bento-item { padding: 22px; }
.trust-bento .bi-img { margin: -22px -22px 16px; height: 150px; max-width: none; }
.trust-bento .bento-item h3 { font-size: 18px; }
.trust-bento .bento-item p { font-size: 13.5px; }
@media (max-width: 980px) {
  .trust-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 615px) {
  .trust-bento { grid-template-columns: 1fr; }
}

/* ---------- 子页面页头（含 banner 实景图） ---------- */
.subhero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 168px 24px 88px; text-align: center; overflow: hidden; border-radius: 0 0 28px 28px; }
.subhero > .subhero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.subhero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,9,18,.42), rgba(6,9,18,.80)); }
.subhero > *:not(.subhero-img) { position: relative; z-index: 1; }
.subhero .kicker { display: inline-block; margin-bottom: 16px; color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.28); }
.subhero h1 {
  font-size: clamp(32px, 5.5vw, 56px); font-weight: 850; letter-spacing: -.5px;
  line-height: 1.1; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.subhero p { color: rgba(255,255,255,.84); font-size: clamp(15px, 2vw, 18px); max-width: 680px; margin: 0 auto; }
.subhero-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.section.tight { padding: 56px 24px; }

/* ---------- 行业资讯（列表 / 详情） ---------- */
.news-card .card-date { display: block; font-size: 13px; color: var(--cyan); font-weight: 600; margin: 12px 0 4px; }
.news-card .more { display: inline-block; margin-top: 12px; color: var(--cyan); font-weight: 600; font-size: 14px; }
.news-card:hover .more { color: var(--blue); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.article { max-width: 820px; margin: 0 auto; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 14px 0 26px; }
.article-meta .tag { color: var(--cyan); font-weight: 600; }
.article-hero { width: 100%; border-radius: 18px; margin: 8px 0 28px; display: block; }
.article-body p { color: var(--text); font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.article-body h3 { font-size: 22px; margin: 28px 0 12px; }
.article-body ul { margin: 0 0 18px 20px; color: var(--muted); }
.article-body li { margin-bottom: 8px; }
.related { margin-top: 40px; }

/* ---------- 联系页布局 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info .contact-line { font-size: 15px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cform { display: flex; flex-direction: column; gap: 4px; }
.cform .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cform label { font-size: 13px; color: var(--muted); }
.cform input, .cform textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text); font-size: 15px;
  font-family: inherit;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--cyan); }
.cform textarea { min-height: 120px; resize: vertical; }
.cform .btn-primary { justify-content: center; margin-top: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 通用：流程/步骤步骤卡 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
/* 三步落地方案：实景图置顶，编号浮于图上 */
.step-media { position: relative; margin: -28px -28px 18px; }
.step-media .bi-img { width: 100%; margin: 0; height: 172px; }
.step-no {
  position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0;
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 24px -10px rgba(59,130,246,.6);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { font-size: 13px; letter-spacing: 3px; color: var(--cyan); font-weight: 700; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 850; margin: 14px 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Bento 优势 ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(10px); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.bento-item::after { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition: opacity .35s; }
.bento-item:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.bento-item:hover::after { opacity: 1; }
.bento-item > * { position: relative; z-index: 1; }
.b-wide { grid-column: span 2; }
/* 核心优势：实景图置顶，文字在下 */
.bi-img {
  display: block; max-width: none; width: calc(100% + 56px);
  margin: -28px -28px 18px;
  height: 172px; object-fit: cover;
  transition: transform .5s var(--ease);
}
.bento-item:hover .bi-img { transform: scale(1.05); }
.bento-item h3 { font-size: 19px; margin-bottom: 8px; }
.bento-item p { color: var(--muted); font-size: 15px; }

/* 关于我们「为什么选择我们」：实景图置顶 + 分色底色 */
.about-bento .bento-item {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
}
.about-bento .bento-item h3 { color: var(--accent); }
.about-bento .bento-item:nth-child(1) { --accent: #22d3ee; }
.about-bento .bento-item:nth-child(2) { --accent: #3b82f6; }
.about-bento .bento-item:nth-child(3) { --accent: #8b5cf6; }
.about-bento .bento-item:nth-child(4) { --accent: #ec4899; }
.about-bento .bento-item:nth-child(5) { --accent: #34d399; }
.about-bento .bento-item:nth-child(6) { --accent: #f59e0b; }
[data-theme="light"] .about-bento .bento-item { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
[data-theme="light"] .about-bento .bento-item:nth-child(1) { --accent: #0e7490; }
[data-theme="light"] .about-bento .bento-item:nth-child(2) { --accent: #1d4ed8; }
[data-theme="light"] .about-bento .bento-item:nth-child(3) { --accent: #7c3aed; }
[data-theme="light"] .about-bento .bento-item:nth-child(4) { --accent: #db2777; }
[data-theme="light"] .about-bento .bento-item:nth-child(5) { --accent: #059669; }
[data-theme="light"] .about-bento .bento-item:nth-child(6) { --accent: #d97706; }

/* ---------- 产品卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.card::before { content:""; position:absolute; inset:0; background: linear-gradient(160deg, rgba(34,211,238,.10), transparent 45%); opacity:0; transition: opacity .35s; }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
/* 产品卡：顶部实景图 + 角标 */
.card-img {
  display: block; max-width: none; width: calc(100% + 52px);
  margin: -26px -26px 16px; height: 160px; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; margin-bottom: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 5px 11px;
  border-radius: 8px; color: #fff;
  background: rgba(8,12,24,.55); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* 每张卡一个主题色，用于特点标签底色 */
.card:nth-child(1) { --accent: #22d3ee; }
.card:nth-child(2) { --accent: #3b82f6; }
.card:nth-child(3) { --accent: #6366f1; }
.card:nth-child(4) { --accent: #a855f7; }
.card:nth-child(5) { --accent: #ec4899; }
.card:nth-child(6) { --accent: #14b8a6; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.card-list { display: flex; flex-wrap: wrap; gap: 8px; }
.card-list li {
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
[data-theme="light"] .card:nth-child(1) { --accent: #0e7490; }
[data-theme="light"] .card:nth-child(2) { --accent: #1d4ed8; }
[data-theme="light"] .card:nth-child(3) { --accent: #4338ca; }
[data-theme="light"] .card:nth-child(4) { --accent: #7e22ce; }
[data-theme="light"] .card:nth-child(5) { --accent: #be185d; }
[data-theme="light"] .card:nth-child(6) { --accent: #0f766e; }

/* ---------- 行业资讯：瀑布流 + 无限滚动 ---------- */
.news-grid { columns: 3; column-gap: 18px; }
.news-grid .card { break-inside: avoid; margin: 0 0 18px; width: 100%; display: inline-block; }
.news-grid .card-img { height: var(--ih, 180px); }
.news-loading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 30px 0 8px; color: var(--muted); font-size: 14px;
}
.news-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--muted) 38%, transparent);
  border-top-color: var(--cyan); animation: newsSpin .8s linear infinite;
}
@keyframes newsSpin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .news-grid { columns: 2; } }
@media (max-width: 615px) { .news-grid { columns: 1; } }

/* ---------- 应用场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scene {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.scene::before { content:""; position:absolute; inset:0; background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 22%, transparent), transparent 50%); opacity:.5; transition: opacity .35s; }
.scene:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 55%, transparent); }
.scene:hover::before { opacity: 1; }
.scene > * { position: relative; z-index: 1; }
.scene-img {
  display: block; max-width: none; width: calc(100% + 44px); margin: -26px -22px 16px;
  height: 140px; object-fit: cover; border-radius: 0;
  transition: transform .5s var(--ease);
}
.scene:hover .scene-img { transform: scale(1.05); }
.scene h3 { font-size: 18px; margin-bottom: 6px; }
.scene p { color: var(--muted); font-size: 14px; }

/* ---------- 全场景应用 ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 24px; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.app-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.app-card:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--c1) 55%, transparent);
  box-shadow: 0 20px 44px -22px color-mix(in srgb, var(--c1) 70%, transparent);
}
.app-card > * { position: relative; z-index: 1; }
.app-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.app-emoji { font-size: 24px; line-height: 1; }
.app-title { font-size: 18px; font-weight: 800; letter-spacing: -.3px; margin: 0; }
.app-sub { margin-top: 14px; }
.app-sub-name {
  display: block; font-size: 11.5px; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 8px; font-weight: 600;
}
.app-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.app-tag {
  font-size: 12.5px; line-height: 1; padding: 5px 10px; border-radius: 8px;
  background: color-mix(in srgb, var(--c1) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
  color: var(--text);
  transition: background .25s, border-color .25s, transform .25s;
}
.app-tag:hover {
  background: color-mix(in srgb, var(--c1) 24%, transparent);
  border-color: color-mix(in srgb, var(--c1) 50%, transparent);
  transform: translateY(-1px);
}
.app-media { margin: 0 -22px 16px; position: relative; overflow: hidden; }
.app-img { display: block; width: 100%; max-width: none; height: 150px; object-fit: cover; }
.app-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 26%, transparent), transparent 55%);
  pointer-events: none;
}

/* ---------- 平台 ---------- */
.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 50px; backdrop-filter: blur(10px); }
.platform-copy .kicker { color: var(--violet); }
.platform-copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 850; margin: 12px 0 14px; }
.platform-copy > p { color: var(--muted); margin-bottom: 22px; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.feat-list li span { font-size: 18px; }

.platform-ui { perspective: 1200px; }
.platform-img {
  display: block; width: 100%; border-radius: 18px;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.platform-ui:hover .platform-img { transform: rotateY(0) rotateX(0); }

/* ---------- 数据 ---------- */
.stats { padding: 30px 24px 70px; }
.stats-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 30px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: clamp(30px, 4.5vw, 48px); font-weight: 850; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-copy .kicker { color: var(--cyan); }
.about-copy h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 850; margin: 12px 0 16px; }
.about-copy p { color: var(--muted); margin-bottom: 14px; }
.about-points { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.about-points div {
  flex: 1 1 130px; position: relative;
  background: color-mix(in srgb, var(--accent) 15%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 14px; padding: 14px 18px;
}
.about-points div:nth-child(1) { --accent: var(--cyan); }
.about-points div:nth-child(2) { --accent: var(--blue); }
.about-points div:nth-child(3) { --accent: var(--violet); }
.about-points b { display: block; font-size: 17px; color: var(--accent); }
.about-points span { font-size: 13px; color: var(--muted); }
[data-theme="light"] .about-points div:nth-child(1) { --accent: #0e7490; }
[data-theme="light"] .about-points div:nth-child(2) { --accent: #1d4ed8; }
[data-theme="light"] .about-points div:nth-child(3) { --accent: #7e22ce; }
.about-visual { display: grid; place-items: center; }
.ring { width: 280px; height: 280px; border-radius: 50%; display: grid; place-items: center; position: relative; padding: 9px;
  background: conic-gradient(from 0deg, #22d3ee, #3b82f6, #8b5cf6, #22d3ee);
  animation: spin 16s linear infinite; box-shadow: 0 0 60px -10px rgba(59,130,246,.6); }
.about-visual:hover .ring { animation-play-state: paused; }
.ring-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid var(--bg-2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA ---------- */
.cta { max-width: var(--maxw); margin: 0 auto 90px; padding: 0 24px; }
.cta-box { text-align: center; padding: 60px 30px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(139,92,246,.14)); border: 1px solid var(--border-strong); }
.cta-box::before { content:""; position:absolute; top:-50%; left:50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(59,130,246,.35), transparent 60%); filter: blur(60px); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 850; }
.cta-box > p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; }
.cta-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 720px; margin: 0 auto; }
.cta-form input { flex: 1 1 180px; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(8,12,24,.6); color: var(--text); font-size: 15px; outline: none; transition: border-color .25s; }
.cta-form input:focus { border-color: var(--cyan); }
.cta-form input::placeholder { color: var(--muted-2); }
.cta-note { margin-top: 18px; color: #34d399; font-weight: 600; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); background: rgba(6,9,18,.6); }
[data-theme="light"] .footer { background: rgba(238,241,247,.6); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 50px 24px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand .brand-text { font-size: 20px; font-weight: 800; display: block; margin-bottom: 12px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-bm {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--violet));
  box-shadow: 0 10px 24px -12px rgba(34,211,238,.7);
}
.footer-bm svg { width: 26px; height: 26px; }
.footer-bm .bm-core { fill: #fff; }
.footer-bm .bm-dot { fill: #fff; }
.footer-bm .bm-line { stroke: rgba(255,255,255,.7); stroke-width: 1; }
.footer-logo .brand-text { display: inline; margin: 0; font-size: 20px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
/* 联系：图标 + 文字 */
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line .ci {
  flex: 0 0 auto; width: 18px; height: 18px; color: var(--cyan);
  display: grid; place-items: center;
}
.contact-line .ci svg { width: 18px; height: 18px; }
.contact-line:hover { color: var(--cyan); }
/* 页脚内的联系项需提权，以覆盖 .footer-col a / .footer-col span 的 display:block */
.footer-col .contact-line { display: flex; }
.footer-col .contact-line:hover { color: var(--cyan); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted-2); font-size: 13px; }

/* ---------- 滚动揭示动画（防空白：默认可见，JS 仅做动画；异常时由脚本兜底显示） ---------- */
[data-reveal] { opacity: 1; transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-hidden { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { min-height: 360px; order: -1; }
  .bento, .cards, .apps { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .platform, .about { grid-template-columns: 1fr; gap: 36px; }
  .platform-ui { perspective: none; }
  .platform-img { transform: none !important; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav { padding: 10px 14px; }
  .nav-inner { padding: 6px 6px 6px 12px; gap: 10px; }
  .brand-text { font-size: 17px; }
  .nav-links {
    position: fixed; inset: 80px 14px auto 14px; flex-direction: column; gap: 4px;
    background: rgba(8,12,24,.96); backdrop-filter: blur(18px); padding: 14px 18px 20px;
    border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.7);
    transform: translateY(-120%); transition: transform .4s var(--ease); align-items: stretch;
  }
  [data-theme="light"] .nav-links { background: rgba(238,241,247,.97); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-links a.active:not(.nav-cta) { background: none; }
  .nav-cta { text-align: center; margin-top: 8px; border-radius: 999px; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 20px; }
  .bento, .cards, .scenes, .apps, .feat-list, .stats-inner { grid-template-columns: 1fr; }
  .b-wide { grid-column: span 1; }
  .hero { padding: 110px 20px 50px; }
  .hero-badges { gap: 22px; }
  .float-stat-1 { left: 0; }
  .float-stat-2 { right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-box { padding: 44px 22px; }
  .cta-form input { flex: 1 1 100%; }

  /* 手机端：隐藏 PC 底部，显示固定操作栏 */
  .footer { display: none !important; }
  body { padding-bottom: 66px; }
  .mobar { display: flex; }
}

/* ---------- 手机端底部操作栏 ---------- */
.mobar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px -16px rgba(0,0,0,.6);
}
.mobar-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 7px 4px; border: none; background: transparent; cursor: pointer;
  color: var(--text); font-family: inherit; font-size: 12px; font-weight: 600;
  border-radius: 14px; text-decoration: none; transition: background .2s, transform .15s;
}
.mobar-btn:active { transform: scale(.95); background: var(--surface-2); }
.mobar-ic { width: 22px; height: 22px; display: grid; place-items: center; }
.mobar-ic svg { width: 22px; height: 22px; }
.mobar-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--blue) 85%, transparent);
}
.mobar-primary:active { transform: scale(.95); background: linear-gradient(135deg, var(--cyan), var(--blue)); filter: brightness(.95); }

/* ---------- 微信二维码弹窗 ---------- */
.qr-modal {
  display: none; position: fixed; inset: 0; z-index: 300;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(4,7,15,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s;
}
.qr-modal.open { display: flex; opacity: 1; }
.qr-card {
  position: relative; width: min(78vw, 300px); padding: 22px 22px 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  transform: translateY(12px) scale(.96); transition: transform .25s var(--ease);
}
.qr-modal.open .qr-card { transform: translateY(0) scale(1); }
.qr-close {
  position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: none;
  background: var(--surface-2); color: var(--text); border-radius: 50%; font-size: 20px;
  line-height: 1; cursor: pointer;
}
.qr-img { width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
.qr-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-tip { margin: 14px 0 2px; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
}

/* ---------- 资讯分页 ---------- */
.pager-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 44px;
}
.pager-info { margin: 0; font-size: 14px; color: var(--muted); }
.pager-info em { font-style: normal; color: var(--cyan); font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pager-btn, .pager-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  font-size: 14px; color: var(--text); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.pager-num { padding: 0 6px; }
.pager-btn:hover, .pager-num:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.pager-num.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--blue) 85%, transparent);
}
.pager-btn.is-disabled { opacity: .38; pointer-events: none; }

/* ---------- 文章正文排版 ---------- */
.article-body { margin-top: 8px; font-size: 16px; line-height: 1.9; color: var(--text); }
.article-body p { margin: 0 0 16px; color: var(--muted); }
.article-body p.lead { font-size: 17px; color: var(--text); }
.article-body h3 {
  margin: 30px 0 12px; font-size: 18px; color: var(--text);
  padding-left: 12px; border-left: 3px solid var(--cyan); line-height: 1.4;
}
.article-body ul { margin: 0 0 18px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; color: var(--muted); }
.article-body li::marker { color: var(--cyan); }
.article-body p.note {
  margin-top: 26px; padding-top: 14px; font-size: 13px;
  color: var(--muted-2); border-top: 1px dashed var(--border);
}
