/* ============================================================
   食审通 · 副食品审计 — style.css
   全站视差：固定视频舞台（滚动即播放头）+ 玻璃层多速率位移
   ============================================================ */

:root {
  /* Brand */
  --green: #0F7A6B;
  --green-deep: #0A544A;
  --green-dark: #07382F;
  --green-bright: #1DA37E;
  --green-soft: #E7F2EE;
  --green-mist: #F2F7F5;

  /* Neutrals */
  --ink: #0C1F1B;
  --ink-60: rgba(12, 31, 27, .62);
  --ink-40: rgba(12, 31, 27, .42);
  --paper: #F7F8F5;
  --white: #FFFFFF;
  --line: rgba(12, 31, 27, .1);
  --gold: #E8B547;

  --font-sans: "Archivo", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;

  --gutter: clamp(20px, 4vw, 70px);
  --maxw: 1440px;
  --nav-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--green); color: var(--white); }

/* ============================================================
   全站帧序列舞台
   ============================================================ */
.stage {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  background: var(--paper);
}
.stage-tilt {
  position: absolute; inset: 0;
}
/* 原比例完整呈现：不做裁切、不放大多余部分 */
.stage-frames {
  position: absolute; inset: 0;
  will-change: transform;
}
.stage-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  /* 序列切换必须瞬时完成：交叉淡化会让上一段场景透出形成“残影” */
  transition: none;
}
.stage-canvas.is-active { opacity: 1; }

/* Page sits above the stage */
.page, .footer { position: relative; z-index: 1; }

/* 纯视差滚动行程：四段序列均分整页滚动（帧数翻倍到 121，行程同步加长保持原有节奏） */
.reel { height: 720vh; pointer-events: none; }

/* ---------- Glass panel ---------- */
.glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  box-shadow: 0 36px 80px -40px rgba(7, 56, 47, .38);
}

/* ---------- Giant section numerals ---------- */
.section-index {
  position: absolute; top: clamp(20px, 4vw, 54px); right: var(--gutter);
  font-size: clamp(90px, 17vw, 260px);
  font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(15, 122, 107, .28);
  letter-spacing: -.02em;
  pointer-events: none; user-select: none;
  z-index: 0;
  will-change: transform;
}
.section-index--light { -webkit-text-stroke: 2px rgba(255, 255, 255, .5); }

/* ============================================================
   HUD
   ============================================================ */
.hud {
  position: fixed; left: var(--gutter); bottom: 26px; z-index: 700;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 11px; letter-spacing: .22em; color: var(--ink-40);
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.hud.is-visible { opacity: 1; }
.hud-label { font-weight: 700; font-size: 9.5px; color: var(--green); }
.hud-video { display: flex; align-items: center; gap: 12px; }
.hud-index { font-weight: 800; color: var(--ink); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.hud-index em { font-style: normal; color: var(--green); }
.hud-bar { position: relative; width: 110px; height: 2px; background: rgba(12,31,27,.15); border-radius: 2px; overflow: hidden; }
.hud-bar span { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }
.hud-time { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--ink-60); font-weight: 600; }
.hud-scroll { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-dark); color: var(--white);
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.preloader-mark { width: 58px; height: 58px; color: var(--green-bright); margin-bottom: 14px; }
.preloader-title { font-size: 44px; font-weight: 900; letter-spacing: .12em; }
.preloader-sub { font-size: 13px; letter-spacing: .5em; color: rgba(255,255,255,.55); margin-bottom: 30px; }
.preloader-bar { width: 220px; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0%; background: var(--green-bright); }
.preloader-percent { margin-top: 12px; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.preloader-note { margin-top: 6px; font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.3); }
.preloader-curtain { position: absolute; inset: 0; background: var(--green-dark); transform-origin: top; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ---------- Type helpers ---------- */
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 22px;
}
.section-kicker::before { content: ""; width: 34px; height: 2px; background: var(--green); }
.section-kicker--light { color: rgba(255,255,255,.78); }
.section-kicker--light::before { background: var(--green-bright); }

.section-title {
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 900; line-height: 1.16; color: var(--ink);
}
.section-desc { margin-top: 18px; max-width: 560px; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-60); }
.section-head { margin-bottom: clamp(36px, 5vw, 70px); position: relative; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s, color .3s;
}
.btn svg { width: 17px; height: 17px; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateY(3px); }
.btn--solid { background: var(--green); color: var(--white); box-shadow: 0 12px 32px -12px rgba(15,122,107,.55); }
.btn--solid:hover { background: var(--green-deep); transform: translateY(-3px); box-shadow: 0 20px 44px -14px rgba(15,122,107,.6); }
.btn--ghost { border: 1.5px solid var(--green); color: var(--green); background: rgba(255,255,255,.66); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }
.btn--light { background: var(--white); color: var(--green-dark); }
.btn--light:hover { background: var(--green-soft); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.45); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); transform: translateY(-3px); }

/* ============================================================
   Cursor
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--green); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(15,122,107,.45);
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--white); opacity: 0; transition: opacity .25s; }
.cursor-ring.is-active { width: 76px; height: 76px; background: var(--green); border-color: var(--green); }
.cursor-ring.is-active .cursor-label { opacity: 1; }
.cursor-ring.is-hover { width: 58px; height: 58px; border-color: var(--green); }
@media (pointer: coarse), (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .5s var(--ease-out), background .4s, box-shadow .4s, height .4s;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(247, 248, 245, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--green); }
.nav-logo-mark { width: 36px; height: 36px; flex: none; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--ink); font-size: 21px; font-weight: 900; letter-spacing: .06em; }
.nav-logo-text em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .34em; color: var(--green); }

.nav-links { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav-links a { position: relative; font-size: 15px; font-weight: 600; padding: 6px 0; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--green); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 26px -10px rgba(15,122,107,.5);
  transition: background .3s, transform .4s var(--ease-out);
}
.nav-cta svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.nav-cta:hover { background: var(--green-deep); transform: translateY(-2px); }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger { display: none; position: relative; width: 42px; height: 42px; z-index: 820; }
.nav-burger span { position: absolute; left: 9px; width: 24px; height: 2px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s, background .3s; }
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger.is-open span { background: var(--white); }
.nav-burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--green-dark); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(34px, 9vw, 52px); font-weight: 900; padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.mobile-link em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--green-bright); letter-spacing: .2em; }
.mobile-link:hover { color: var(--green-bright); }
.mobile-menu.is-open .mobile-link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: .26s; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: .34s; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: .42s; }
.mobile-menu.is-open .mobile-link:nth-child(5) { transition-delay: .5s; }
.mobile-menu.is-open .mobile-link:nth-child(6) { transition-delay: .58s; }
.mobile-menu-foot { margin-top: 48px; color: rgba(255,255,255,.55); font-size: 14px; }
.mobile-menu-foot span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .3em; }

/* ============================================================
   HERO
   ============================================================ */
/* Hero —— 纯画面：去掉全部文字，只留滚动指示线 */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
}
.hero-scroll-line { width: 1.5px; height: 54px; background: rgba(12,31,27,.18); overflow: hidden; }
.hero-scroll-line::after {
  content: ""; display: block; width: 100%; height: 45%; background: var(--green);
  animation: scrollHint 1.8s var(--ease-io) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(-110%); } 100% { transform: translateY(240%); } }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  position: relative; z-index: 1;
  background: var(--green-dark); color: var(--white);
  padding: 20px 0; overflow: hidden;
}
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-group span { font-size: clamp(18px, 2vw, 26px); font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.marquee-group i { font-style: normal; color: var(--green-bright); font-size: 15px; }

/* ============================================================
   About
   ============================================================ */
.about { position: relative; padding: clamp(90px, 12vw, 170px) var(--gutter); }
.about-grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
.about-card { padding: clamp(32px, 4vw, 56px); }
.statement { font-size: clamp(25px, 3.2vw, 44px); font-weight: 900; line-height: 1.44; margin-bottom: 26px; }
.statement .word, .statement .char { display: inline-block; overflow: hidden; vertical-align: bottom; }
.about-para { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.95; color: var(--ink-60); }
.about-sign { display: flex; align-items: center; gap: 14px; margin-top: 32px; color: var(--green); font-weight: 700; letter-spacing: .2em; font-size: 14px; }
.about-sign svg { width: 40px; height: 40px; flex: none; }

.about-media { position: relative; height: clamp(400px, 50vw, 600px); }
.about-media-main {
  position: absolute; inset: 0 0 12% 12%; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(7,56,47,.42);
}
.about-media-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media-float {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3;
  border-radius: 14px; overflow: hidden; border: 6px solid var(--white);
  box-shadow: 0 30px 70px -30px rgba(7,56,47,.45);
}
.about-media-float img { width: 100%; height: 100%; object-fit: cover; }
.about-media-tag {
  position: absolute; top: 6%; right: 2%;
  background: var(--white); color: var(--green);
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 16px 40px -16px rgba(7,56,47,.3);
  white-space: nowrap;
}

/* ============================================================
   Services
   ============================================================ */
.services { position: relative; padding: clamp(90px, 12vw, 170px) var(--gutter); }
.services-grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.6vw, 36px);
}
.service-card {
  position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 46px);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  will-change: transform;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 44px 90px -38px rgba(7,56,47,.45); }
.service-num { font-size: 14px; font-weight: 800; letter-spacing: .2em; color: var(--green); display: block; margin-bottom: 20px; }
.service-title { font-size: clamp(21px, 2vw, 27px); font-weight: 900; margin-bottom: 14px; }
.service-desc { font-size: 15px; line-height: 1.85; color: var(--ink-60); }
.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.service-list li { position: relative; padding-left: 24px; font-size: 14px; font-weight: 500; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg) translateY(-2px);
}
.service-img {
  position: absolute; right: -30px; bottom: -30px; width: 190px; height: 190px;
  border-radius: 16px; overflow: hidden; opacity: 0; transform: scale(.85) rotate(-4deg);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  pointer-events: none; box-shadow: 0 24px 50px -20px rgba(7,56,47,.4);
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card:hover .service-img { opacity: 1; transform: scale(1) rotate(0deg); }

/* ============================================================
   Stats (dark glass over video)
   ============================================================ */
.stats { position: relative; padding: clamp(90px, 12vw, 160px) var(--gutter); }
.stats-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  background: linear-gradient(135deg, rgba(7,56,47,.9), rgba(10,84,74,.82));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  padding: clamp(40px, 5vw, 72px);
  color: var(--white);
  box-shadow: 0 40px 90px -40px rgba(7,56,47,.6);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 18px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24); }
.stat-num { font-size: clamp(36px, 4.4vw, 62px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .06em; }

/* ============================================================
   Gallery (horizontal)
   ============================================================ */
.gallery { position: relative; padding-top: clamp(70px, 9vw, 120px); }
.gallery-head { padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto clamp(24px, 4vh, 44px); width: 100%; position: relative; z-index: 2; }
.gallery-viewport {
  position: relative; z-index: 2; overflow: hidden;
  height: 100vh; display: flex; flex-direction: column; justify-content: center;
}
.gallery-track {
  display: flex; gap: clamp(18px, 2.4vw, 34px);
  padding: 0 var(--gutter) 0;
  width: max-content; will-change: transform;
}
.gallery-panel {
  position: relative; flex: none; width: clamp(300px, 42vw, 600px);
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -34px rgba(7,56,47,.4);
}
.gallery-panel--wide { width: clamp(360px, 54vw, 840px); }
.gallery-panel-img { overflow: hidden; height: clamp(300px, 52vh, 560px); }
.gallery-panel-img img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; will-change: transform; }
.gallery-panel figcaption { display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-size: 14px; font-weight: 600; }
.gallery-panel figcaption em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .15em; color: var(--green); }
.gallery-panel--end .gallery-panel-img { background: var(--green-soft); }
.gallery-panel--end .gallery-panel-img img { object-fit: contain; height: 100%; margin-top: 0; padding: 20px; }
.gallery-progress { position: relative; height: 3px; margin: clamp(20px, 3.5vh, 34px) var(--gutter) 0; background: rgba(12,31,27,.12); border-radius: 2px; max-width: 420px; }
.gallery-progress span { position: absolute; inset: 0; background: var(--green); border-radius: 2px; transform-origin: left; transform: scaleX(0); }

/* ============================================================
   Process
   ============================================================ */
.process { position: relative; padding: clamp(70px, 10vw, 140px) var(--gutter); }
.process .section-title { max-width: 9.5em; }
.process-grid {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 90px); align-items: start;
}
.process-card { padding: clamp(30px, 4vw, 52px); }
.steps { margin-top: clamp(30px, 3.6vw, 46px); display: flex; flex-direction: column; }
.step { display: flex; gap: clamp(18px, 2.4vw, 34px); padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step-num { font-size: clamp(15px, 1.4vw, 18px); font-weight: 800; color: var(--green); letter-spacing: .08em; padding-top: 5px; min-width: 42px; }
.step h3 { font-size: clamp(19px, 1.8vw, 23px); font-weight: 900; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.8; color: var(--ink-60); }
.process-line { position: relative; height: 5px; border-radius: 3px; background: rgba(12,31,27,.1); margin-top: 30px; overflow: hidden; }
.process-line span {
  position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform-origin: left; transform: scaleX(0);
}

.process-media { position: relative; min-height: clamp(430px, 44vw, 620px); }
.process-img { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(7,56,47,.45); border: 6px solid rgba(255,255,255,.7); background: var(--white); }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process-img--main {
  position: absolute; left: 4%; top: 50%; transform: translateY(-50%);
  width: min(58%, 390px); aspect-ratio: 500/506;
}
.process-img--small {
  position: absolute; right: 0; bottom: 6%; width: min(54%, 370px); aspect-ratio: 16/10;
  border: 6px solid var(--white); box-shadow: 0 30px 70px -30px rgba(7,56,47,.5);
}
.process-chip {
  position: absolute; right: 10%; top: 10%;
  padding: 10px 20px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 14px 34px -10px rgba(15,122,107,.55);
}

/* ============================================================
   Features
   ============================================================ */
.features { position: relative; padding: clamp(70px, 10vw, 140px) var(--gutter); }
.features-grid {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 90px); align-items: center;
}
.features-card { padding: clamp(30px, 4vw, 52px); }
.feature-list { margin-top: clamp(28px, 3.6vw, 44px); display: flex; flex-direction: column; }
.feature { display: flex; gap: 20px; align-items: flex-start; padding: clamp(16px, 2.2vw, 24px) 0; border-bottom: 1px solid var(--line); transition: padding-left .45s var(--ease-out); }
.feature:hover { padding-left: 10px; }
.feature:first-child { border-top: 1px solid var(--line); }
.feature-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--white); color: var(--green); border: 1px solid rgba(15,122,107,.22);
  box-shadow: 0 10px 24px -12px rgba(15,122,107,.35);
  transition: background .35s, color .35s, transform .45s var(--ease-out);
}
.feature:hover .feature-icon { background: var(--green); color: var(--white); transform: rotate(-6deg) scale(1.06); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: clamp(17px, 1.6vw, 20px); font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14.5px; line-height: 1.75; color: var(--ink-60); }

.features-media { position: relative; display: grid; place-items: center; min-height: clamp(360px, 50vw, 560px); }
.features-inspector img { width: min(94%, 520px); height: auto; filter: drop-shadow(0 34px 44px rgba(7,56,47,.22)); }

/* ============================================================
   Mascot
   ============================================================ */
.mascot { position: relative; padding: clamp(80px, 11vw, 150px) var(--gutter); overflow: hidden; }
.mascot-grid {
  position: relative; z-index: 2; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: center;
}
.mascot-figure { position: relative; display: grid; place-items: center; min-height: clamp(340px, 42vw, 480px); }
.mascot-disc {
  position: absolute; width: min(88%, 420px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, var(--green-soft) 62%, #D6EAE3 100%);
  box-shadow: 0 40px 90px -40px rgba(7,56,47,.35), inset 0 0 0 1px rgba(15,122,107,.12);
}
.mascot-hero { position: relative; z-index: 1; width: min(62%, 300px); height: auto; filter: drop-shadow(0 22px 30px rgba(7,56,47,.18)); }
.mascot-ring { position: absolute; width: min(96%, 460px); aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(15,122,107,.45); animation: spin 26s linear infinite; }
.mascot-ring::before { content: ""; position: absolute; top: -7px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--green); transform: translateX(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }
.mascot-badge {
  position: absolute; z-index: 2; right: 2%; bottom: 4%;
  width: min(34%, 140px); border-radius: 18px; overflow: hidden;
  background: var(--white); border: 5px solid var(--white);
  box-shadow: 0 24px 50px -20px rgba(7,56,47,.4);
}
.mascot-badge img { width: 100%; display: block; }
.mascot-card { padding: clamp(30px, 4vw, 52px); }
.mascot-desc { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.95; color: var(--ink-60); margin-top: 4px; }
.mascot-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mascot-tags span { padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--green); background: rgba(231,242,238,.9); border: 1px solid rgba(15,122,107,.22); }

/* ============================================================
   Contact / CTA
   ============================================================ */
.contact { position: relative; padding: clamp(90px, 12vw, 160px) var(--gutter) clamp(120px, 14vw, 200px); }
.contact-inner { position: relative; z-index: 2; max-width: 980px; margin: 0 auto; text-align: center; color: var(--white); }
.contact-title { font-size: clamp(34px, 5.6vw, 72px); font-weight: 900; line-height: 1.2; margin-bottom: 22px; }
.contact-desc { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.9; color: rgba(255,255,255,.82); margin-bottom: 38px; text-shadow: 0 2px 20px rgba(7,56,47,.5); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: clamp(46px, 6vw, 70px); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); text-align: left; }
.contact-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .5s var(--ease-out), background .4s;
}
.contact-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.13); }
.contact-card-label { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--green-bright); }
.contact-card-value { font-size: clamp(16px, 1.6vw, 19px); font-weight: 800; }
.contact-card-note { font-size: 13px; color: rgba(255,255,255,.6); }

/* Contact section gets a dark scrim over the video stage */
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,56,47,.62), rgba(7,56,47,.9) 55%, #052B24);
}

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; z-index: 2; background: #052B24; color: rgba(255,255,255,.75); padding: clamp(56px, 7vw, 90px) var(--gutter) 34px; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .nav-logo { color: var(--green-bright); }
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p { margin-top: 22px; font-size: 14.5px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 800; letter-spacing: .24em; color: var(--white); margin-bottom: 8px; }
.footer-col a, .footer-col span { font-size: 14px; transition: color .3s; }
.footer-col a:hover { color: var(--green-bright); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,.4);
}

/* ============================================================
   Reveal / split
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.split-word, .split-char { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word > span, .split-char > span { display: inline-block; will-change: transform; }

/* ============================================================
   INTRO：帧序列开场容器
   ============================================================ */
.intro { position: relative; z-index: 0; }
.intro-hint {
  position: absolute; left: 50%; top: calc(100vh - 110px);
  transform: translateX(-50%); z-index: 2; pointer-events: none;
}
.intro-hint-line {
  display: block; width: 1.5px; height: 76px;
  background: rgba(12,31,27,.14); overflow: hidden; position: relative;
}
.intro-hint-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--green); animation: scrollHint 1.6s var(--ease-io) infinite;
}

/* ============================================================
   01 HERO-STATEMENT：开场宣言
   ============================================================ */
.hero-statement {
  position: relative; padding: clamp(110px, 15vw, 220px) var(--gutter) clamp(90px, 12vw, 170px);
}
.statement-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.statement--xl {
  font-size: clamp(46px, 8.4vw, 120px); font-weight: 900;
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
  max-width: 14em;
}
.statement-sub {
  max-width: 760px; margin-top: clamp(30px, 3.6vw, 52px);
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.95; color: var(--ink-60);
}
.statement-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.2vw, 46px); }
.statement-tags span {
  padding: 10px 22px; border: 1.5px solid rgba(15,122,107,.35);
  border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--green);
  transition: background .3s, color .3s, border-color .3s;
}
.statement-tags span:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ============================================================
   04 AI ECOSYSTEM：AI 生态系统（深色板块）
   ============================================================ */
.ai {
  position: relative; overflow: hidden;
  padding: clamp(100px, 13vw, 190px) var(--gutter);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(29,163,126,.5), transparent 55%),
    radial-gradient(90% 70% at -10% 110%, rgba(232,181,71,.14), transparent 60%),
    linear-gradient(160deg, var(--green-dark) 0%, #0B5A50 52%, #0D6858 100%);
  color: var(--white);
}
.ai-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.ai .section-title { color: var(--white); }
.ai .section-desc { color: rgba(255,255,255,.72); }
.ai-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(42px, 5vw, 70px);
}
.ai-card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 42px); border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .5s var(--ease-out), border-color .5s, background .5s;
}
.ai-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.1);
}
.ai-card--wide { grid-column: span 2; }
.ai-num {
  font-size: clamp(30px, 3.2vw, 46px); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.5);
  font-variant-numeric: tabular-nums;
}
.ai-title { font-size: clamp(20px, 2vw, 28px); font-weight: 800; margin-top: 16px; }
.ai-en {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; opacity: .55; margin-top: 6px;
}
.ai-desc { margin-top: 14px; line-height: 1.85; color: rgba(255,255,255,.82); font-size: 15px; }
.ai-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  opacity: 0; transition: opacity .5s;
}
.ai-card:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card--wide { grid-column: span 1; }
  .statement--xl { font-size: clamp(40px, 11vw, 76px); }
}

/* ============================================================
   02.5 DEMO MATRIX：能力演示卡矩阵（横向滚动 + 悬停播放）
   ============================================================ */
.demo-matrix { margin-top: clamp(80px, 10vw, 150px); }
.demo-matrix-head { max-width: var(--maxw); margin: 0 auto clamp(36px, 4.6vw, 64px); position: relative; z-index: 2; }
.demo-row {
  display: flex; gap: clamp(16px, 1.8vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 6px var(--gutter) 26px;
  scrollbar-width: none; position: relative; z-index: 2;
}
.demo-row::-webkit-scrollbar { display: none; }
.demo-card {
  flex: 0 0 clamp(240px, 26vw, 340px); scroll-snap-align: start;
  border-radius: 20px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(12,31,27,.06);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.demo-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(12,31,27,.13); }
.demo-media {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--green-mist);
}
.demo-media img, .demo-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.demo-card:hover .demo-media img, .demo-card:hover .demo-media video { transform: scale(1.045); }
.demo-media video { opacity: 0; transition: opacity .45s; }
.demo-card.is-playing .demo-media video { opacity: 1; }
.demo-play {
  position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.92); z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .3s, transform .3s;
}
.demo-play::before {
  content: ""; width: 0; height: 0; margin-left: 2px;
  border-left: 9px solid var(--green); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.demo-card.is-playing .demo-play { opacity: 0; transform: scale(.7); }
.demo-card figcaption { padding: 18px 20px 22px; }
.demo-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.demo-card figcaption p {
  font-size: 13.5px; line-height: 1.7; color: var(--ink-60);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.demo-matrix-cta { text-align: center; margin-top: 14px; position: relative; z-index: 2; }

/* ============================================================
   03 SERVICES：步骤手风琴 + 右侧预览切换
   ============================================================ */
.svc-flow {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.section-title--flow { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.12; }
.svc-flow .section-desc { max-width: 400px; }
.svc-steps { list-style: none; margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.svc-step { border-bottom: 1px solid var(--line); }
.svc-step-head {
  width: 100%; display: flex; align-items: center; gap: 18px;
  padding: 20px 4px; background: none; border: 0; cursor: pointer;
  font-family: inherit; text-align: left;
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 800; color: var(--ink-60);
  transition: color .35s, padding-left .35s var(--ease-out);
}
.svc-step-head em {
  font-style: normal; font-size: 13px; font-weight: 800;
  color: var(--ink-40); font-variant-numeric: tabular-nums;
  transition: color .35s;
}
.svc-step-head:hover { color: var(--ink); padding-left: 10px; }
.svc-step.is-open .svc-step-head { color: var(--green); }
.svc-step.is-open .svc-step-head em { color: var(--green); }
.svc-step-arrow {
  margin-left: auto; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .4s var(--ease-out); opacity: .5;
}
.svc-step.is-open .svc-step-arrow { transform: rotate(-135deg); opacity: 1; }
.svc-step-body {
  max-height: 0; overflow: hidden; transition: max-height .55s var(--ease-out);
}
.svc-step-body p {
  padding: 0 4px 22px 46px; font-size: 14.5px; line-height: 1.8; color: var(--ink-60);
  max-width: 420px;
}
.svc-step.is-open .svc-step-body { max-height: 200px; }
.svc-cta { margin-top: clamp(28px, 3.4vw, 44px); }

.svc-flow-right { position: sticky; top: calc(var(--nav-h) + 20px); }
.svc-preview {
  border-radius: 26px; overflow: hidden; position: relative;
  background: var(--green-mist); border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(12,31,27,.12);
  padding: clamp(14px, 1.6vw, 22px);
}
.svc-preview-media {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 16/10; background: #E9EEE9;
}
.svc-preview-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out);
}
.svc-preview-media img.is-switching { opacity: 0; transform: scale(1.04); }
.svc-pill {
  margin-top: clamp(12px, 1.4vw, 18px);
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 12px 12px 22px;
  box-shadow: 0 8px 26px rgba(12,31,27,.08);
}
.svc-pill-text { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-pill-check {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.svc-pill-check svg { width: 18px; height: 18px; }

/* ============================================================
   04 AI TOOLS：三张可交互演示卡
   ============================================================ */
.ai-tools {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px); margin-top: clamp(42px, 5vw, 70px);
}
.ai-tool {
  border-radius: 26px; overflow: hidden; position: relative;
  background: rgba(255,255,255,.97); color: var(--ink);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 24px 60px rgba(3,24,20,.28);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.ai-tool:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(3,24,20,.36); }
.ai-tool-head { padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px) 0; }
.ai-tool-head h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; }
.ai-tool-head p { font-size: 13.5px; color: var(--ink-60); margin-top: 6px; }

/* A1 审账对话 */
.aichat {
  flex: 1; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(18px, 2vw, 26px); min-height: 340px;
}
.aichat-msg {
  max-width: 88%; padding: 12px 16px; border-radius: 16px;
  font-size: 13.5px; line-height: 1.75;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease-out);
}
.aichat-msg.is-show { opacity: 1; transform: none; }
.aichat-msg--user {
  align-self: flex-end; background: var(--green); color: var(--white);
  border-bottom-right-radius: 4px;
}
.aichat-msg--bot {
  align-self: flex-start; background: var(--green-mist); color: var(--ink);
  border-bottom-left-radius: 4px;
}
.aichat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.aichat-chip {
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-60);
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease-out);
}
.aichat-chip.is-show { opacity: 1; transform: none; }
.aichat-chip--warn { color: #B0483A; border-color: rgba(176,72,58,.35); background: #FBF1EF; }
.aichat-typing { display: flex; gap: 5px; padding: 4px 6px; height: 22px; opacity: 0; transition: opacity .3s; }
.aichat-typing.is-show { opacity: 1; }
.aichat-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-40);
  animation: aichatDot 1.1s ease-in-out infinite;
}
.aichat-typing i:nth-child(2) { animation-delay: .15s; }
.aichat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aichatDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.aichat-input {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 10px 10px 18px;
  background: var(--white); font-size: 13px; color: var(--ink-40);
}
.aichat-input span:first-child { flex: 1; }
.aichat-send {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.aichat-send svg { width: 15px; height: 15px; }

/* A2 比价条 */
.pricebars { flex: 1; padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.pricebars-mode { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 6px; }
.pricebars-mode-label { font-size: 13px; font-weight: 700; color: var(--ink-60); }
.pricebars-toggle {
  width: 52px; height: 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--green); position: relative; transition: background .3s;
}
.pricebars-toggle.is-market { background: var(--gold); }
.pricebars-toggle-dot {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--white);
  transition: transform .35s var(--ease-out);
  box-shadow: 0 2px 6px rgba(12,31,27,.25);
}
.pricebars-toggle.is-market .pricebars-toggle-dot { transform: translateX(24px); }
.pricebar-row { display: grid; grid-template-columns: 52px 1fr 64px; align-items: center; gap: 10px; }
.pricebar-name { font-size: 13px; font-weight: 700; }
.pricebar-val { font-size: 12.5px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-60); }
.pricebar-track {
  position: relative; height: 14px; border-radius: 999px;
  background: var(--green-mist); overflow: visible;
}
.pricebar-fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  border-radius: 999px; background: var(--green);
  transition: width .8s var(--ease-out), background .4s;
}
.pricebars.is-market .pricebar-fill { background: var(--gold); }
.pricebar-flag {
  position: absolute; right: -4px; top: -22px;
  font-size: 11px; font-weight: 800; color: #B0483A;
  background: #FBF1EF; border: 1px solid rgba(176,72,58,.3);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .4s .25s, transform .4s .25s var(--ease-out);
}
.pricebars:not(.is-market) .pricebar-flag { opacity: 1; transform: none; }
.pricebars-note { margin-top: auto; font-size: 12px; color: var(--ink-40); text-align: center; }

/* A3 OCR 扫描 */
.ocr { flex: 1; padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.ocr-media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/11; background: var(--green-mist); }
.ocr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ocr-scan {
  position: absolute; left: 0; right: 0; top: -8%; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--green-bright), transparent);
  box-shadow: 0 0 18px 4px rgba(29,163,126,.55);
  animation: ocrScan 4.2s var(--ease-io) infinite;
}
@keyframes ocrScan { 0% { top: -4%; } 55% { top: 100%; } 100% { top: -4%; } }
.ocr-box {
  position: absolute; z-index: 3;
  font-size: 11px; font-weight: 800; color: var(--white);
  background: rgba(15,122,107,.92); border-radius: 8px; padding: 5px 9px 5px 12px;
  box-shadow: 0 6px 18px rgba(3,24,20,.3);
  opacity: 0; transform: scale(.85);
}
.ocr.is-live .ocr-box { animation: ocrBox 4.2s var(--ease-out) infinite; }
.ocr-box i {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-bright); margin-right: 6px; vertical-align: 1px;
}
.ocr-box--1 { left: 12%; top: 22%; animation-delay: .5s !important; }
.ocr-box--2 { left: 48%; top: 34%; animation-delay: 1.2s !important; }
.ocr-box--3 { left: 20%; top: 52%; animation-delay: 1.9s !important; }
.ocr-box--4 { left: 52%; top: 68%; animation-delay: 2.6s !important; }
@keyframes ocrBox {
  0% { opacity: 0; transform: scale(.85); }
  8%, 62% { opacity: 1; transform: scale(1); }
  78%, 100% { opacity: 0; transform: scale(.92); }
}
.ocr-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-60); }
.ocr-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright);
  animation: ocrPulse 1.6s ease-in-out infinite;
}
@keyframes ocrPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.ai-tools-cta { text-align: center; margin-top: clamp(36px, 4.6vw, 60px); position: relative; z-index: 2; }

@media (max-width: 1080px) {
  .svc-flow { grid-template-columns: 1fr; }
  .svc-flow-right { position: relative; top: 0; }
  .ai-tools { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .about-grid, .process-grid, .features-grid, .mascot-grid { grid-template-columns: 1fr; }
  .about-media { height: clamp(360px, 62vw, 500px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-top { grid-template-columns: 1fr; }
  .process-img--small { position: relative; right: 0; bottom: -20px; width: 70%; margin-left: auto; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .service-img { opacity: 1; transform: none; width: 130px; height: 130px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .hud { display: none; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-panel { width: 78vw; }
  .gallery-panel--wide { width: 86vw; }
  .about-media-tag { display: none; }
  .section-index { font-size: clamp(70px, 26vw, 150px); }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .stage-canvas.is-active { opacity: 1; }
}
