/* ========================================================================
   深圳市始安信息技术有限公司 官网样式
   Domain: shianinfo.com
   Pure CSS + SVG, no external dependencies, Linux-friendly static site
   ======================================================================== */

:root {
  --c-primary: #0d1226;
  --c-primary-2: #151a33;
  --c-blue: #6366f1;
  --c-blue-600: #818cf8;
  --c-cyan: #22d3ee;
  --c-cyan-400: #67e8f9;
  --c-accent: #a78bfa;
  --c-text: #1f2937;
  --c-text-light: #64748b;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f3ff;
  --c-bg-dark: #0a0f1f;
  --c-border: #ece9f8;
  --c-white: #ffffff;
  --grad: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(34,211,238,0.08));
  --shadow-sm: 0 2px 8px rgba(13,18,38,0.06);
  --shadow: 0 10px 30px rgba(13,18,38,0.10);
  --shadow-lg: 0 20px 50px rgba(13,18,38,0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --header-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica,
    Arial, "Segoe UI", Roboto, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: auto; min-height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: 20px; font-weight: 900; letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(99,102,241,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-cn { font-size: 17px; color: var(--c-primary); letter-spacing: .5px; }
.brand-en { font-size: 10px; color: var(--c-text-light); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative; padding: 8px 16px; font-size: 15px; font-weight: 500;
  color: #334155; border-radius: 8px; transition: color .25s; min-height: 44px;
}
.nav-menu a:hover { color: var(--c-blue-600); }
.nav-menu a.active { color: var(--c-blue-600); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}
.nav-cta {
  margin-left: 12px; padding: 9px 20px !important;
  background: var(--grad); color: #fff !important; font-weight: 600;
  border-radius: 999px; box-shadow: 0 6px 16px rgba(99,102,241,0.3);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(99,102,241,0.4); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--c-primary);
  margin: 6px auto; border-radius: 2px; transition: .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  padding-top: calc(var(--header-h) + var(--safe-top));
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(99,102,241,0.20), transparent 60%),
    linear-gradient(160deg, #0a0f1f 0%, #0d1226 55%, #1e1b4b 100%);
  color: #fff;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  animation: float 9s ease-in-out infinite;
}
.hero-orb.o1 { width: 380px; height: 380px; background: #6366f1; top: -80px; right: -60px; }
.hero-orb.o2 { width: 300px; height: 300px; background: #22d3ee; bottom: -100px; left: 10%; animation-delay: -4s; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-26px) } }

.hero-inner { position: relative; z-index: 2; padding: 40px 24px; max-width: 820px; margin: auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; font-size: 13px; color: #cfe6ff; margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
.hero h1 {
  font-size: clamp(32px, 5vw, 56px); line-height: 1.15; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 22px;
  text-shadow: 0 2px 16px rgba(7,11,23,0.78), 0 1px 2px rgba(7,11,23,0.72);
}
.hero h1 .grad-text {
  background: linear-gradient(120deg, #a78bfa, #22d3ee 60%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 10px rgba(7,11,23,0.5);
}
.hero p.lead { font-size: clamp(15px,1.6vw,18px); color: #c3d4ec; max-width: 560px; margin: 0 auto 34px; text-shadow: 0 1px 10px rgba(7,11,23,0.88); }
.hero p.lead .lead-accent {
  display: block;
  font-size: clamp(18px,2vw,24px);
  font-weight: 700;
  background: linear-gradient(120deg, #a78bfa, #22d3ee 60%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(7,11,23,0.5);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(34,211,238,0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(34,211,238,0.5); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn-dark { background: var(--c-primary); color: #fff; }
.btn-dark:hover { background: var(--c-primary-2); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--c-blue-600); border: 1.5px solid var(--c-blue-600); }
.btn-outline:hover { background: var(--c-blue-600); color: #fff; transform: translateY(-3px); }

/* Hero copy sits above the decorative visual backdrop */
.hero-copy { position: relative; z-index: 3; }

/* Hero visual: animated AI node SVG — prominent centered backdrop behind text */
.hero-visual {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1080px, 94vw); height: min(640px, 72vh);
  display: grid; place-items: center;
  opacity: .18; pointer-events: none; z-index: 1;
}
.hero-visual svg {
  width: 100%; height: 100%; max-width: none;
  filter:
    drop-shadow(0 0 12px rgba(34,211,238,0.25))
    drop-shadow(0 0 30px rgba(99,102,241,0.18));
}
.node { transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.node.n2 { animation-delay: -.6s; } .node.n3 { animation-delay: -1.2s; } .node.n4 { animation-delay: -1.8s; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.85 } 50%{ transform: scale(1.18); opacity:1 } }
.link { stroke-dasharray: 6 8; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }

/* Hero stats strip */
.hero-stats {
  position: relative; z-index: 2; margin-top: -2px;
  padding-top: 40px;
  padding-bottom: 48px;
  background: transparent;
}
/* 光照效果：从 Hero 文字处向下照射到统计卡片 */
.hero-stats::after {
  content: "";
  position: absolute;
  top: 20px; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(34,211,238,0.14) 0%, rgba(99,102,241,0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: lightPulse 4s ease-in-out infinite;
}
@keyframes lightPulse {
  0%,100% { opacity: .7; }
  50% { opacity: 1; }
}
.hero-stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(51,58,96,0.55), rgba(26,30,60,0.50));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 30px 20px 26px; text-align: center;
  box-shadow: 0 14px 36px rgba(7,11,23,0.45), inset 0 1px 0 rgba(255,255,255,0.10);
  transform: translateY(-30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,0.40), rgba(165,180,252,0.32), transparent);
  opacity: .55;
}
.stat-card:hover {
  transform: translateY(-36px);
  border-color: rgba(125,211,252,0.40);
  box-shadow: 0 18px 44px rgba(7,11,23,0.50), 0 0 22px rgba(34,211,238,0.16), inset 0 1px 0 rgba(255,255,255,0.14);
}
.stat-card:hover {
  transform: translateY(-36px);
  border-color: rgba(125,211,252,0.40);
  box-shadow: 0 18px 44px rgba(7,11,23,0.50), 0 0 22px rgba(34,211,238,0.16), inset 0 1px 0 rgba(255,255,255,0.14);
}
.stat-num {
  font-size: 42px; font-weight: 800; line-height: 1.1;
  background: linear-gradient(120deg, #ffffff 0%, #d4faff 55%, #a5f3fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.26));
}
.stat-label { font-size: 13.5px; color: #dbeafe; margin-top: 8px; letter-spacing: .5px; text-shadow: 0 1px 4px rgba(7,11,23,0.6); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--c-blue-600); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px,3.4vw,38px); font-weight: 800; color: var(--c-primary); line-height: 1.25; }
.section-sub { margin-top: 14px; color: var(--c-text-light); font-size: 16px; }

/* ---------- Service cards ---------- */
.services { background: var(--c-bg-soft); }
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--c-blue-600); margin-bottom: 18px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 19px; color: var(--c-primary); margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--c-text-light); font-size: 14.5px; }
.card ul { margin-top: 12px; }
.card ul li { font-size: 13.5px; color: #475569; padding: 3px 0 3px 18px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-cyan);
}

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #0d1226, #312e81); aspect-ratio: 4/3;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.split-visual svg { width: 70%; height: 70%; }
.split h2 { font-size: clamp(24px,3vw,34px); color: var(--c-primary); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.split p { color: var(--c-text-light); margin-bottom: 14px; }
.feature-list { margin-top: 18px; }
.feature-list li { display: flex; gap: 12px; padding: 10px 0; color: #334155; }
.feature-list .tick {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-soft);
  color: var(--c-blue-600); display: grid; place-items: center; font-size: 13px; margin-top: 2px;
}

/* ---------- Solutions ---------- */
.solution-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--c-border); transition: transform .35s var(--ease), box-shadow .35s;
  display: flex; flex-direction: column;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution-banner { height: 180px; position: relative; display: grid; place-items: center; color: #fff; }
.solution-banner.b1 { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.solution-banner.b2 { background: linear-gradient(135deg, #0d1226, #818cf8); }
.solution-banner.b3 { background: linear-gradient(135deg, #4338ca, #6366f1); }
.solution-banner svg { width: 80px; height: 80px; opacity: .9; }
.solution-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.solution-body h3 { font-size: 19px; color: var(--c-primary); margin-bottom: 10px; }
.solution-body p { color: var(--c-text-light); font-size: 14.5px; flex: 1; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--grad-soft); color: var(--c-blue-600); font-weight: 500; }

/* ---------- Why / process ---------- */
.why { background: var(--c-bg-soft); }
.process-item { text-align: center; position: relative; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: #fff; background: var(--grad);
  box-shadow: 0 10px 22px rgba(99,102,241,0.3);
}
.process-item h4 { font-size: 17px; color: var(--c-primary); margin-bottom: 6px; }
.process-item p { font-size: 13.5px; color: var(--c-text-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #0d1226, #312e81 60%, #7c3aed);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 26px 26px;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(24px,3.4vw,36px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #cfe0f5; margin-bottom: 26px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--safe-top) + 70px) 0 70px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0a0f1f 0%, #0d1226 55%, #1e1b4b 100%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .4;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px,4.4vw,46px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #b8cbe6; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: #93b4dd; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- About ---------- */
.about-highlights { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }

/* ---------- Shared form note ---------- */
.form-note { font-size: 12px; color: var(--c-text-light); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-dark); color: #b8cbe6; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-cn { color: #fff; }
.footer-desc { margin-top: 14px; font-size: 13.5px; color: #8aa4c6; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 13.5px; color: #8aa4c6; padding: 5px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--c-cyan-400); transform: translateX(3px); }
.footer-contact div { font-size: 13.5px; color: #9fb3d1; padding: 4px 0; }
.footer-contact a { color: #eaf2ff; font-weight: 600; font-size: 15px; display: inline; white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #6b86ab;
}
@media (hover: hover) {
  .footer-bottom a:hover { color: var(--c-cyan-400); }
}
.icp-note { color: #4a6288; font-size: 12px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: calc(28px + var(--safe-bottom)); z-index: 999; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- Mobile nav overlay ---------- */
.nav-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(7,11,23,0.5);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .hero-inner { padding-top: 56px; padding-bottom: 70px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { opacity: .28; }
  .hero-stats .container { grid-template-columns: repeat(2,1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .card h3 { font-size: 17px; }
}
@media (max-width: 720px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  .container { padding: 0 16px; }
  section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 26px; }
  .btn { min-height: 44px; }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 36px; }
  .hero h1 { letter-spacing: -.5px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; margin-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 150px; justify-content: center; }
  /* 移动端降级：关闭持续动画，省电减卡顿 */
  .hero-orb, .node, .link, .hero-stats::after { animation: none !important; }
  .hero-orb { opacity: .30; filter: blur(50px); }
  .hero-visual { opacity: .20; }
  .hero-visual svg { filter: drop-shadow(0 0 12px rgba(34,211,238,0.30)); }

  /* 低端 Android 降级：去掉 backdrop-filter 避免卡顿 */
  .site-header, .qr-modal-overlay, .nav-overlay, .hero-badge, .btn-ghost {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(255,255,255,0.96);
  }
  .site-header { background: rgba(255,255,255,0.96); }

  /* Hero 移动端限制背景 SVG 高度 */
  .hero-visual { height: min(300px, 45vh); }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: calc(var(--header-h) + var(--safe-top)); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px calc(16px + var(--safe-bottom)); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 15px 8px; min-height: 44px; font-size: 16px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .nav-menu a.active::after { display: none; }
  .nav-menu a.active { background: var(--grad-soft); }
  .nav-cta { margin: 14px 0 0; text-align: center; }

  /* Grids / cards */
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats .container { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 10px; transform: translateY(-18px); }
  .stat-card:hover { transform: translateY(-24px); }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 12.5px; }
  .card { padding: 20px 16px; }
  .solution-banner { height: 150px; }
  .split { gap: 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-col a { padding: 9px 0; min-height: 38px; font-size: 14px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .brand-en { display: none; }
  .back-top { right: 10px; bottom: calc(10px + var(--safe-bottom)); width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  section { padding: 52px 0; }
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: calc(var(--header-h) + var(--safe-top) + 30px) 0 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section-title { font-size: 24px; }
  .stat-num { font-size: 30px; }
  .card h3 { font-size: 17px; }
  .cta-band h2 { font-size: 24px; }
  .qr-modal-content { width: 280px; }
}

/* ---------- 二维码弹窗 ---------- */
.qr-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.qr-modal.show { display: flex; }
.qr-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  animation: fadeIn .2s;
}
.qr-modal-content {
  position: relative;
  background: #fff; border-radius: 20px;
  padding: 32px 28px 24px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: scaleIn .25s var(--ease);
  max-width: 320px; width: 100%;
  margin-top: var(--safe-top);
  padding-bottom: max(24px, var(--safe-bottom));
}
.qr-close {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #f0f0f0; border: none;
  font-size: 24px; color: #666;
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.qr-close:hover { background: #e0e0e0; }
.qr-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 20px; }
.qr-code {
  width: 200px; height: 200px; margin: 0 auto 16px;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.qr-code img { width: 100%; height: 100%; object-fit: contain; }
.qr-hint { font-size: 13px; color: #888; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9) } to { opacity: 1; transform: scale(1) } }
@media (min-width: 721px) { .nav-overlay { display: none !important; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Touch devices: disable hover effects that may cause visual flicker */
@media (hover: none) {
  .footer-col a:hover { transform: none; }
  .stat-card:hover { transform: none; }
  .card:hover, .solution-card:hover { transform: none; }
}
