/* ============================================================
   新数云数字技术官网 · 设计系统
   Design System — Apple-inspired, tech, motion-first
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* color */
  --ink: #1d1d1f;
  --ink-2: #55565b;
  --ink-3: #86868b;
  --paper: #f5f5f7;
  --paper-2: #eef0f4;
  --white: #ffffff;
  --night: #05070d;
  --night-2: #0a0f1e;
  --night-3: #101728;
  --line: rgba(29, 29, 31, 0.08);
  --line-dark: rgba(255, 255, 255, 0.09);
  --blue: #2f6bff;
  --blue-2: #4d84ff;
  --cyan: #00d2ff;
  --violet: #8b5cf6;
  --grad-hero: linear-gradient(92deg, #6ea8ff 0%, #2f6bff 38%, #00d2ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(47, 107, 255, 0.10), rgba(0, 210, 255, 0.10));
  --grad-btn: linear-gradient(135deg, #2f6bff, #00a8e8);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 0.5s;
  --dur-2: 0.8s;
  --dur-3: 1.1s;

  /* layout */
  --nav-h: 60px;
  --r-l: 28px;
  --r-m: 18px;
  --r-s: 12px;
  --container: 1200px;
  --shadow-float: 0 24px 60px -18px rgba(10, 20, 60, 0.18);
  --shadow-card: 0 6px 24px -10px rgba(10, 20, 60, 0.12);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro SC",
    "PingFang SC", "Helvetica Neue", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(47, 107, 255, 0.22);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* thin scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(120, 130, 150, 0.35);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(120, 130, 150, 0.6);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* section scaffolding */
.section {
  position: relative;
  padding: clamp(76px, 11vw, 150px) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--grad-btn);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
}

.section-sub {
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-2);
  line-height: 1.75;
}

/* on dark */
.on-dark .section-title { color: #f5f7fa; }
.on-dark .section-sub { color: rgba(235, 240, 250, 0.62); }
.on-dark .kicker { color: #5da2ff; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease), color 0.35s var(--ease), opacity 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 28px -10px rgba(47, 107, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(47, 107, 255, 0.6);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(29, 29, 31, 0.05);
}
.btn-ghost:hover {
  background: rgba(29, 29, 31, 0.09);
  transform: translateY(-2px);
}

.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   Scroll progress
   ============================================================ */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-hero);
  z-index: 1000;
  will-change: transform;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.45s var(--ease), border-color 0.45s var(--ease);
  z-index: -1;
}
.nav.scrolled::before {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* light pages: nav always solid after leaving hero */
.nav.on-light.scrolled .nav-logo-text,
.nav.on-light.scrolled .nav-link { color: var(--ink); }
.nav.on-light.scrolled .burger span { background: var(--ink); }

.nav-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px;
  height: 34px;
  display: block;
}
.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.45s var(--ease);
}
.nav-logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
  transition: color 0.45s var(--ease);
}
.nav.on-light.scrolled .nav-logo-text small { color: var(--ink-3); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-btn);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { width: 18px; }
.nav-link.active { color: #fff; }

.nav-cta {
  padding: 9px 22px;
  font-size: 13.5px;
  flex-shrink: 0;
}

/* burger */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1002;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile drawer */
.m-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.m-drawer.open {
  opacity: 1;
  visibility: visible;
}
.m-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 26px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.3s;
}
.m-drawer.open a {
  transform: translateY(0);
  opacity: 1;
}
.m-drawer a:hover { color: var(--cyan); }
.m-drawer .m-cta {
  margin-top: 28px;
  align-self: flex-start;
}

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(47, 107, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 12% 110%, rgba(0, 160, 255, 0.14), transparent 55%),
    radial-gradient(700px 500px at 50% 50%, rgba(139, 92, 246, 0.07), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #070b18 55%, #0a1122 100%);
  color: #fff;
  padding: calc(var(--nav-h) + 40px) 24px 110px;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.16), transparent 60%);
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: glow-drift 9s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: translateX(-54%) scale(1); }
  to { transform: translateX(-46%) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 34px;
}
.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37e0a2;
  box-shadow: 0 0 12px #37e0a2;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.hero-title {
  font-size: clamp(42px, 7.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}
.hero-title .grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: grad-flow 7s ease-in-out infinite alternate;
}
@keyframes grad-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* word rotator */
.hero-rotator {
  margin-top: 26px;
  font-size: clamp(19px, 2.6vw, 28px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}
.rotator-word {
  position: relative;
  display: inline-block;
  width: 4em; /* 与最长轮换词（4 字）等宽，保证整行居中 */
  text-align: center;
  white-space: nowrap;
  color: #fff;
}
.rotator-word .word {
  display: inline-block;
  background: linear-gradient(120deg, #7db2ff, #38e1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rotator-word.is-leaving .word {
  animation: word-out 0.45s var(--ease) forwards;
}
.rotator-word.is-entering .word {
  animation: word-in 0.55s var(--ease) forwards;
}
@keyframes word-out {
  to { transform: translateY(-16px); opacity: 0; filter: blur(6px); }
}
@keyframes word-in {
  from { transform: translateY(18px); opacity: 0; filter: blur(6px); }
  to { transform: translateY(0); opacity: 1; filter: blur(0); }
}

.hero-copy {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.85;
  color: rgba(230, 238, 252, 0.6);
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.3em;
  z-index: 2;
}
.mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(-50%);
  animation: wheel 1.8s var(--ease-io) infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* hero entrance */
.hero .rise {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  animation: hero-rise 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 120px)) 0 clamp(56px, 8vw, 96px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 70% -20%, rgba(47, 107, 255, 0.25), transparent 60%),
    radial-gradient(700px 380px at 15% 120%, rgba(0, 170, 255, 0.13), transparent 55%),
    linear-gradient(180deg, #05070d, #0a1122);
  color: #fff;
}
.page-hero .kicker { color: #5da2ff; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 64px);
  letter-spacing: -0.025em;
}
.page-hero p {
  margin: 18px auto 0;
  max-width: 620px;
  color: rgba(230, 238, 252, 0.6);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
}
.page-hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 20%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 20%, #000 25%, transparent 75%);
  pointer-events: none;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee-section {
  background: var(--night-2);
  padding: 22px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}
.marquee {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee-section:hover .marquee { animation-play-state: paused; }
.marquee-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(180, 200, 235, 0.55);
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.5);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--night-2), transparent 12%, transparent 88%, var(--night-2));
}

/* ============================================================
   Stats band
   ============================================================ */
.stats {
  background: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  position: relative;
  padding: 38px 20px 34px;
  border-radius: var(--r-m);
  background: var(--paper);
  text-align: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-num {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #1d1d1f 30%, #2f6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-num .unit {
  font-size: 0.42em;
  font-weight: 700;
  margin-left: 4px;
  letter-spacing: 0;
}
.stat-label {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

/* ============================================================
   Products (home)
   ============================================================ */
.products { background: var(--white); }

.feature-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--r-l);
  background: var(--paper);
  overflow: hidden;
  position: relative;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.feature-card + .feature-card,
.products-grid + .feature-card { margin-top: 26px; }
.feature-card:hover {
  box-shadow: var(--shadow-float);
}

.feature-media {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 50% 35%, rgba(47, 107, 255, 0.10), transparent 70%),
    linear-gradient(160deg, #0c1224, #111a33);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-media .media-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(8, 12, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-body .p-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.feature-body h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}
.feature-body .p-slogan {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.feature-list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad-soft) border-box;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(0, 210, 255, 0.12));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}
.feature-body .link-arrow { margin-top: 26px; }

/* small product cards grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-l);
  background: var(--paper);
  padding: 26px 26px 30px;
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.p-card:hover {
  box-shadow: var(--shadow-float);
}
.p-card::after {
  /* cursor-follow sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.p-card:hover::after { opacity: 1; }

.p-card .p-media {
  border-radius: var(--r-m);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(300px 200px at 50% 40%, rgba(47, 107, 255, 0.10), transparent 70%),
    linear-gradient(160deg, #0c1224, #121b36);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-card .p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 透明底产品图（渲染图）：contain 展示，融入深色渐变背景 */
.p-media.contain img {
  object-fit: contain;
  padding: 6%;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
}
.p-card .p-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(29, 29, 31, 0.25);
}
.p-card h3 {
  margin-top: 20px;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.p-card .p-slogan {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  flex: 1;
}
.p-card .link-arrow {
  margin-top: 18px;
  font-size: 14px;
}

/* ============================================================
   Tech (dark)
   ============================================================ */
.tech {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(47, 107, 255, 0.12), transparent 55%),
    radial-gradient(800px 500px at 8% 100%, rgba(0, 210, 255, 0.07), transparent 50%),
    linear-gradient(180deg, #05070d, #0a1122 60%, #05070d);
  color: #fff;
  overflow: hidden;
}
.tech::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.tech-card {
  position: relative;
  padding: 34px 30px 38px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease),
    background-color 0.55s var(--ease);
}
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 107, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.tech-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 132, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}
.tech-card:hover::before { opacity: 1; }

.tech-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.18), rgba(0, 210, 255, 0.12));
  border: 1px solid rgba(120, 170, 255, 0.22);
  margin-bottom: 22px;
}
.tech-icon svg {
  width: 26px;
  height: 26px;
  stroke: #7db2ff;
}
.tech-card h3 {
  color: #f0f4fb;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.tech-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(210, 222, 245, 0.55);
}

/* ============================================================
   Scenes
   ============================================================ */
.scenes { background: var(--paper); }
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scene-card {
  position: relative;
  padding: 30px 26px 34px;
  border-radius: var(--r-m);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.scene-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-float);
}
.scene-card .scene-idx {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(47, 107, 255, 0.35);
  line-height: 1;
}
.scene-card h3 {
  margin-top: 16px;
  font-size: 18px;
}
.scene-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.scene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.scene-chips span {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(47, 107, 255, 0.08);
}

/* ============================================================
   About teaser
   ============================================================ */
.about-teaser { background: var(--white); }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
}
.about-copy > p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.about-pillars {
  margin-top: 34px;
  display: grid;
  gap: 18px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}
.pillar h4 { font-size: 15.5px; }
.pillar p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 4px;
}

.about-visual {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  min-height: 480px;
  background: linear-gradient(160deg, #0c1224, #131c38);
  box-shadow: var(--shadow-float);
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.about-visual .visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(5, 8, 16, 0) 40%, rgba(5, 8, 16, 0.82));
}
.about-visual .visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: #fff;
}
.visual-caption strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.visual-caption span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(220, 232, 255, 0.65);
  line-height: 1.6;
}

/* ============================================================
   Process
   ============================================================ */
.process { background: var(--paper); }
.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 4%;
  right: 4%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.4), rgba(0, 210, 255, 0.4));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.6s var(--ease) 0.25s;
}
.process-rail.is-inview::before { transform: scaleX(1); }

.step { text-align: center; position: relative; }
.step-dot {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(47, 107, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--paper);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s;
}
.step:hover .step-dot {
  transform: scale(1.12);
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
}
.step h4 { margin-top: 18px; font-size: 16px; }
.step p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  padding: 0 6px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% -30%, rgba(47, 107, 255, 0.28), transparent 65%),
    linear-gradient(180deg, #05070d, #0b1226);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 11vw, 140px) 0;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(30px, 4.8vw, 54px);
  letter-spacing: -0.025em;
}
.cta-band p {
  margin: 18px auto 0;
  max-width: 560px;
  color: rgba(220, 232, 252, 0.6);
  font-size: clamp(14.5px, 1.7vw, 17px);
  line-height: 1.8;
}
.cta-band .hero-actions { margin-top: 40px; }
.cta-band .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 72%);
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #04060c;
  color: rgba(220, 230, 248, 0.5);
  padding: 70px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand .nav-logo-text small { color: rgba(255, 255, 255, 0.35); }
.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 300px;
}
.footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-links li + li { margin-top: 11px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(220, 230, 248, 0.5);
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-contact li + li { margin-top: 12px; }
.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #5da2ff;
}
.footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(220, 230, 248, 0.35);
}

/* back to top */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -8px rgba(10, 20, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s,
    background-color 0.3s;
  z-index: 800;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--white); }
.to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink);
}

/* ============================================================
   Products page
   ============================================================ */
.product-section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.product-section:nth-of-type(even) { background: var(--paper); }
.product-section:nth-of-type(odd) { background: var(--white); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.product-layout.reverse .product-media { order: 2; }
.product-media {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  background:
    radial-gradient(460px 300px at 50% 30%, rgba(47, 107, 255, 0.12), transparent 70%),
    linear-gradient(160deg, #0c1224, #121b36);
  box-shadow: var(--shadow-float);
  aspect-ratio: 4 / 3;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media.tall { aspect-ratio: 3 / 3.4; }
.product-media.wide { aspect-ratio: 16 / 9.6; }

/* ---------- 视差图片窗口（滚动时图片在容器内缓移） ----------
   cover 图放大 1.14 作为视差余量；contain 透明图保持原比例悬浮 */
.parallax-window { overflow: hidden; }
.parallax-window img {
  --py: 0%;
  transform: translateY(var(--py)) scale(1.08);
  will-change: transform;
}
.parallax-window.contain img { transform: scale(1); }

.product-body .p-index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 16px;
}
.product-body .p-index::after {
  content: "";
  width: 44px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.product-body h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}
.product-body .p-sub {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.p-points {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.p-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.p-points li strong { color: var(--ink); font-weight: 600; }
.p-points .pt-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.14), rgba(0, 210, 255, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-points .pt-ico svg {
  width: 12px;
  height: 12px;
  stroke: var(--blue);
}
.p-specs {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.p-spec {
  padding: 14px 14px 12px;
  border-radius: var(--r-s);
  background: var(--white);
  border: 1px solid var(--line);
}
.product-section:nth-of-type(even) .p-spec { background: var(--paper-2); }
.p-spec b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.p-spec span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.5;
}
.p-cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* side anchor nav (products page) — 紧凑圆形锚点，悬停展开标签 */
.side-nav {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.4s;
}
.side-nav a {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px -4px rgba(10, 20, 60, 0.18);
  border: 1.5px solid transparent;
  transition: all 0.35s var(--ease);
}
.side-nav a .label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px -6px rgba(10, 20, 60, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.side-nav a:hover .label,
.side-nav a.active .label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.side-nav a:hover { transform: scale(1.1); color: var(--ink); }
.side-nav a.active {
  color: var(--blue);
  border-color: rgba(47, 107, 255, 0.4);
  background: rgba(47, 107, 255, 0.08);
  transform: scale(1.08);
}

/* ============================================================
   About page
   ============================================================ */
.about-intro {
  background: var(--white);
}
.about-intro .lead {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.about-intro .lead em {
  font-style: normal;
  background: linear-gradient(120deg, #2f6bff, #00a8e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.about-detail {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  text-align: left;
}
.about-detail .card {
  padding: 30px;
  border-radius: var(--r-m);
  background: var(--paper);
}
.about-detail h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-detail h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}
.about-detail p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  padding: 36px 30px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.55s var(--ease), border-color 0.55s, background-color 0.55s;
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 132, 255, 0.3);
  background: rgba(255, 255, 255, 0.055);
}
.value-card .v-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #4d84ff;
}
.value-card h3 {
  color: #f0f4fb;
  margin-top: 14px;
  font-size: 20px;
}
.value-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(210, 222, 245, 0.55);
}

.field-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.field-chips span {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.field-chips span:hover {
  color: var(--blue);
  border-color: rgba(47, 107, 255, 0.35);
  background: rgba(47, 107, 255, 0.05);
  transform: translateY(-3px);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 18px;
}
.c-card {
  padding: 26px 28px;
  border-radius: var(--r-m);
  background: var(--paper);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.c-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.c-card .c-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-card .c-ico svg { width: 22px; height: 22px; stroke: var(--blue); }
.c-card h3 { font-size: 16px; }
.c-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}
.c-card p b { color: var(--ink); font-size: 16px; font-weight: 700; }

.contact-form-wrap {
  padding: clamp(26px, 3.5vw, 42px);
  border-radius: var(--r-l);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
}
.contact-form-wrap h3 { font-size: 22px; }
.contact-form-wrap > p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.form-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-field label i {
  font-style: normal;
  color: #ff5a5a;
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-3); }
.form-submit { margin-top: 22px; width: 100%; }
.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-s);
  background: rgba(55, 224, 162, 0.1);
  border: 1px solid rgba(55, 224, 162, 0.35);
  color: #0e9f6e;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: hero-rise 0.6s var(--ease);
}
.form-success.show { display: block; }

.form-error {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r-s);
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.32);
  color: #d64545;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: hero-rise 0.6s var(--ease);
}
.form-error.show { display: block; }

/* 蜜罐字段：屏幕外隐藏 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ============================================================
   Reveal-on-scroll system
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="zoom"] { transform: scale(0.9); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(24px); }
[data-reveal="fade"] { transform: none; }

[data-reveal].is-inview {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* swipe hint (mobile carousels) */
.swipe-hint { display: none; }

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--ink-3);
  }
  .swipe-hint svg {
    width: 15px;
    height: 15px;
    stroke: var(--ink-3);
    animation: swipe-x 1.9s var(--ease-io) infinite;
  }
  .swipe-hint svg:last-child { animation-delay: 0.95s; }
}
@keyframes swipe-x {
  0%, 100% { transform: translateX(-5px); opacity: 0.5; }
  50% { transform: translateX(5px); opacity: 1; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  .side-nav { display: none; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .process-rail::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { min-height: 400px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-layout.reverse .product-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .feature-card { grid-template-columns: 1fr; }

  /* 产品卡片 → 横向滑动轮播 */
  .products-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -24px;
    padding-inline: 24px;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent);
  }
  .products-grid::-webkit-scrollbar { display: none; }
  .products-grid .p-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
  }
  .products-grid .p-card .p-slogan { flex: 1; }

  /* 场景卡片 → 横向滑动轮播 */
  .scenes-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -24px;
    padding-inline: 24px;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 92%, transparent);
  }
  .scenes-grid::-webkit-scrollbar { display: none; }
  .scenes-grid .scene-card {
    flex: 0 0 76%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
  }
  .scenes-grid .scene-card p { flex: 1; }

  /* 数字卡：常显渐变顶线 */
  .stat-card::before { transform: scaleX(0.45); }
  .stat-num { background: linear-gradient(135deg, #2f6bff, #00b3e6); -webkit-background-clip: text; background-clip: text; }

  .p-specs { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-bottom: 130px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 768px) {
  /* 技术卡：左侧渐变描边增强层次 */
  .tech-card { border-left: 2px solid rgba(77, 132, 255, 0.45); }
}

@media (max-width: 768px) {
  /* 小屏横向位移入场统一改为向上，避免横向溢出且更符合移动端习惯 */
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(44px);
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 26px 12px 24px; }
  .tech-grid { grid-template-columns: 1fr; }
  .process-rail { grid-template-columns: 1fr; }
  /* Hero 按钮拉通满宽，更贴近 App 体验 */
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .cta-band .hero-actions .btn { width: 100%; }
  .p-cta-row .btn { flex: 1; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero .rise { opacity: 1; transform: none; filter: none; }
  .marquee { animation: none; }
}
