/* ==========================================================================
   幻颜 · HuanyanAi — Direction A: Warm Silk-Porcelain Luxury Editorial CSS
   Zero external font CDNs · Instant China load · Pitch-grade scroll motion
   ========================================================================== */

:root {
  /* Exact sampled Hero video edge tones for 360° zero-seam blending */
  --hero-left: #eae0de;
  --hero-mid: #e5dcd9;
  --hero-right: #e1d7d5;

  /* Calm alternating warm-white surfaces */
  --bg-porcelain: #faf7f4;
  --bg-linen: #f3eee9;
  --bg-white: #ffffff;
  --bg-stone: #efeae4;

  /* Refined warm ink hierarchy */
  --ink: #221d1b;
  --ink-soft: #5f5652;
  --ink-muted: #8f857f;

  /* Signature muted coral (harmonized with official logo & HuanwoAI app) */
  --accent: #dc5a5b;
  --accent-hover: #ca4b4c;
  --accent-soft: rgba(220, 90, 91, 0.09);

  --hairline: rgba(34, 29, 27, 0.09);
  --hairline-strong: rgba(34, 29, 27, 0.16);

  --shadow-soft: 0 18px 48px rgba(48, 36, 28, 0.06);
  --shadow-card: 0 10px 32px rgba(48, 36, 28, 0.05);
  --shadow-modal: 0 28px 80px rgba(34, 29, 27, 0.18);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "STZhongsong", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-porcelain);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-porcelain);
  color: var(--ink);
  overflow-x: clip;
  max-width: 100%;
}

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

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

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(72px, 8.5vw, 118px) 0;
  position: relative;
}

.bg-porcelain { background: var(--bg-porcelain); }
.bg-linen { background: var(--bg-linen); }
.bg-white { background: var(--bg-white); }

/* ==========================================================================
   Pitch.com-Style Two-Tier Scroll Reveal & Scroll-Linked Word Blur
   ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease);
  will-change: opacity, transform;
}

.reveal-stage {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  will-change: opacity, transform;
}

.reveal-up.in-view,
.reveal-stage.in-view {
  opacity: 1;
  transform: translateY(0);
}

.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.13s; }
.d3 { transition-delay: 0.20s; }
.d4 { transition-delay: 0.27s; }

/* Relay character-by-character soft fade-in manifesto (starts right after Hero subtitle settles) */
.blur-scrub-statement {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: 0.03em;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 52px;
  min-height: 3.2em;
}

.type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  filter: blur(2.5px);
  transition: opacity 0.42s ease-out, transform 0.42s var(--ease), filter 0.42s ease-out;
  will-change: opacity, transform, filter;
}

.type-char.shown {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Editorial Section Headings */
.sec-head {
  max-width: 680px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-kicker {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.sec-desc {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.22s var(--ease), background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(220, 90, 91, 0.22);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(220, 90, 91, 0.28);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: #36302d;
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}

.btn-outline:hover {
  background: #fff;
  border-color: rgba(34, 29, 27, 0.32);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 13.5px;
}

.btn-block { width: 100%; }

/* ==========================================================================
   Floating Header Navigation (Official Logo + 4 Clean Links + Contact)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
  transition: background 0.32s ease, box-shadow 0.32s ease, height 0.32s ease;
}

.site-header.scrolled {
  height: 68px;
  background: rgba(250, 247, 244, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}

.header-inner {
  height: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 29, 27, 0.10);
}

.brand-cn {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.brand-en {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14.5px;
  color: var(--ink-soft);
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  font-weight: 500;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 29, 27, 0.16);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.22s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(34, 29, 27, 0.30);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.55);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 28px 24px;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer a {
  padding: 16px 4px;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}

/* ==========================================================================
   SECTION 1: HERO (360° Seamless Blend + Slow Poetic Reveal + Zero-Seam Mist)
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: min(100vh, 920px);
  background:
    radial-gradient(ellipse 64% 74% at 72% 46%, #e4dbd8 0%, rgba(228, 219, 216, 0) 70%),
    linear-gradient(96deg, var(--hero-left) 0%, var(--hero-mid) 52%, var(--hero-right) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1680px;
  min-height: min(100vh, 920px);
  margin: 0 auto;
  padding: 96px clamp(20px, 5.5vw, 92px) 128px;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 10;
  max-width: 540px;
  padding-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 34px;
}

.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
}

/* 修改意见 1：更从容松弛的电影级错拍节奏（幻颜 -> 停顿 0.8s -> 不换你 -> 副标题） */
.reveal-inner {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  animation: curtainReveal 1.18s var(--ease) forwards;
}

.reveal-l1 .reveal-inner { animation-delay: 0.15s; }
.reveal-l2 .reveal-inner { animation-delay: 0.95s; }
.reveal-s1 .reveal-inner {
  animation-duration: 1.05s;
  animation-delay: 1.65s;
}
.reveal-s2 .reveal-inner {
  animation-duration: 1.05s;
  animation-delay: 1.98s;
}

@keyframes curtainReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-sub {
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 2.08;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* Right Full-Bleed Portrait Stage (修改意见 10：四周 360° 彻底羽化无任何残影) */
.portrait-stage {
  position: absolute;
  right: clamp(0px, 2vw, 38px);
  bottom: 0;
  width: min(58vw, 940px);
  aspect-ratio: 1080 / 912;
  z-index: 2;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}

.portrait-blend {
  position: relative;
  width: 100%;
  height: 100%;
  /* Keep chin, neck & shoulders 100% crisp; feather ONLY the lowest 13% right before container edge */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 9%, black 22%, black 86%, rgba(0,0,0,0.4) 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 86%, rgba(0,0,0,0.52) 93%, rgba(0,0,0,0.12) 97.5%, transparent 99.8%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 9%, black 22%, black 86%, rgba(0,0,0,0.4) 95%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 86%, rgba(0,0,0,0.52) 93%, rgba(0,0,0,0.12) 97.5%, transparent 99.8%);
  mask-composite: intersect;
}

#heroCompareCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Tight, silky bottom mist ONLY along the lowest baseline below shoulders */
.hero-bottom-mist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: clamp(72px, 8.5vw, 118px);
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 244, 0) 0%,
    rgba(250, 247, 244, 0.28) 38%,
    rgba(250, 247, 244, 0.78) 76%,
    var(--bg-porcelain) 100%
  );
  pointer-events: none;
  z-index: 8;
}

/* Outward-Diffusing Rounded & Slightly Larger Chevrons (cleanly on crisp neck, below chin) */
.veil-cue {
  position: absolute;
  top: 82%;
  left: 47.4%;
  transform: translate(-50%, -50%);
  z-index: 9;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 48px;
  transition: opacity 0.35s ease;
}

.portrait-stage.active-glide .veil-cue {
  opacity: 0.42;
}

.veil-anchor {
  width: 3px;
  height: 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 14px rgba(255, 250, 245, 0.9),
    0 2px 8px rgba(34, 29, 27, 0.22);
  flex-shrink: 0;
}

.chevron-wing {
  position: relative;
  width: 68px;
  height: 36px;
}

.chevron-svg {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 28px;
  margin-top: -14px;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 2px 7px rgba(34, 29, 27, 0.26));
}

.wing-left .chevron-svg {
  right: 8px;
  animation: diffuseLeft 2.2s var(--ease) infinite;
}

.wing-left .chevron-svg.delay { animation-delay: 0.6s; }

.wing-right .chevron-svg {
  left: 8px;
  animation: diffuseRight 2.2s var(--ease) infinite;
}

.wing-right .chevron-svg.delay { animation-delay: 0.6s; }

@keyframes diffuseLeft {
  0% { opacity: 0; transform: translateX(4px) scale(0.86); }
  28% { opacity: 0.95; transform: translateX(-6px) scale(1); }
  100% { opacity: 0; transform: translateX(-34px) scale(0.92); }
}

@keyframes diffuseRight {
  0% { opacity: 0; transform: translateX(-4px) scale(0.86); }
  28% { opacity: 0.95; transform: translateX(6px) scale(1); }
  100% { opacity: 0; transform: translateX(34px) scale(0.92); }
}

/* ==========================================================================
   SECTION 2: WHY HUANYAN AI (Zero-Box Editorial Pillars)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 32px;
}

.pillar-item {
  padding-top: 22px;
  border-top: 1px solid var(--hairline-strong);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.pillar-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.pillar-item p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ==========================================================================
   SECTION 3: 11 FIXED MODELS — FULL-BLEED SEAMLESS MARQUEE (Desktop Edge-to-Edge)
   ========================================================================== */

.gallery-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.gallery-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.circle-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s ease;
}

.circle-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Edge-to-edge full-width marquee viewport on desktop */
.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 22px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.marquee-viewport.dragging { cursor: grabbing; }

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.model-card {
  position: relative;
  flex: 0 0 264px;
  aspect-ratio: 540 / 768;
  border-radius: 22px;
  overflow: hidden;
  background: #e9e2dc;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(48, 36, 28, 0.14);
}

.model-card img.model-poster,
.model-card video.model-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.model-card video.model-video {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.model-card.playing video.model-video {
  opacity: 1;
}

.model-card-foot {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 20, 18, 0.66) 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.model-card-num {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.04em;
}

.model-card-tag {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

.model-play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-subnote {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   SECTION 4: 3-STEP CUSTOM FLOW + PRICING + FRIENDLY HARDWARE BAR
   ========================================================================== */

.steps-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.step-card {
  padding: 28px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.step-badge {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.pricing-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--hairline);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.price-card.recommended {
  border-color: rgba(220, 90, 91, 0.36);
  box-shadow: 0 22px 54px rgba(220, 90, 91, 0.09);
}

.price-pill {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
}

.price-name {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 6px;
}

.price-tagline {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.price-val {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}

.price-val small {
  font-size: 17px;
  font-weight: 500;
  margin-right: 3px;
  color: var(--ink-soft);
}

.price-note {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
  min-height: 20px;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.price-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
  opacity: 0.72;
}

/* Friendly Hardware Bar */
.hw-panel {
  margin-top: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline);
  padding: 24px 28px;
}

.hw-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.hw-head strong { font-size: 15.5px; }

.hw-helper {
  font-size: 13.5px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hw-cell span {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.hw-cell strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   SECTION 5: HUANWO AI + DUAL ENGINE SWITCHER (1080P vs 720P 0.5/s)
   ========================================================================== */

.huanwo-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.workbench-frame {
  border-radius: 22px;
  padding: 10px;
  background: var(--bg-porcelain);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.workbench-frame img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(34, 29, 27, 0.06);
}

.modes-3-list {
  display: grid;
  gap: 18px;
  margin: 26px 0 28px;
}

.mode-row {
  padding-left: 16px;
  border-left: 2px solid rgba(220, 90, 91, 0.35);
}

.mode-row strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.mode-row span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Huanwo Dual-Engine Switcher */
.engine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.engine-switcher {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--bg-linen);
  border: 1px solid var(--hairline);
  gap: 4px;
}

.engine-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}

.engine-tab.active {
  background: var(--bg-white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(34, 29, 27, 0.08);
}

.engine-tab em {
  font-style: normal;
  font-size: 12px;
  color: var(--accent);
  margin-left: 4px;
}

.engine-note {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* 会员续充横向三列对比价目表（方案 A） */
.topup-card {
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-porcelain);
  border: 1px solid var(--hairline);
  padding: 24px 28px 18px;
}

.topup-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.topup-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.topup-card-meta {
  font-size: 13px;
  color: var(--ink-muted);
}

.topup-table {
  width: 100%;
}

.topup-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.topup-row-head {
  padding: 10px 0 12px;
  border-top: 1px solid var(--hairline-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.topup-cell {
  min-width: 0;
}

.topup-tier strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.topup-tier span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.topup-price strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.topup-price span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.topup-cell-max.topup-price strong {
  color: var(--accent-hover);
}

.topup-cell-max.topup-price span {
  color: var(--accent);
}

.topup-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}

/* ==========================================================================
   SECTION 6: FULL-BLEED DUAL COUNTER-SCROLLING REVIEWS + ODOMETER COUNTERS
   ========================================================================== */

.steady-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0;
  margin-top: 52px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.stat-cell {
  text-align: center;
}

.stat-cell strong {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.stat-cell span.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* Pitch.com Masked Odometer Roll-Up Digits */
.odo-digit-slot {
  position: relative;
  display: inline-block;
  height: 1.2em;
  width: 0.62em;
  overflow: hidden;
  vertical-align: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.odo-digit-col {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.odo-digit-col b {
  font-weight: 400;
  height: 1.2em;
  line-height: 1.2em;
  text-align: center;
}

.odo-suffix {
  margin-left: 2px;
}

/* Edge-to-edge Dual Counter-Scrolling Review Marquee (修改意见 8) */
.reviews-marquee-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding: 4px 0;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.review-marquee-viewport.dragging { cursor: grabbing; }

.review-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.review-card {
  flex: 0 0 380px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--hairline);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 6px 22px rgba(48, 36, 28, 0.035);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-card);
}

.review-text {
  font-size: 14.5px;
  line-height: 1.86;
  color: var(--ink-soft);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}

.review-author strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.review-author span { color: var(--ink-muted); }

.review-product-tag {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-linen);
  color: var(--ink-soft);
}

.privacy-bar {
  margin-top: 24px;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-linen);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.privacy-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

/* ==========================================================================
   SECTION 7: OEM PARTNERS + FAQ + FOOTER
   ========================================================================== */

.oem-box {
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--hairline);
  padding: clamp(32px, 4.5vw, 56px);
  box-shadow: var(--shadow-card);
}

.oem-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  margin: 28px 0 32px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.oem-hl strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.oem-hl span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.oem-2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.oem-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--bg-porcelain);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oem-card h4 { font-size: 18px; font-weight: 600; }
.oem-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; flex: 1; }

/* Minimal Hairline FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline-strong);
}

.faq-item {
  border-bottom: 1px solid var(--hairline-strong);
}

.faq-q {
  width: 100%;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.faq-plus {
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-muted);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 4px 22px;
  font-size: 14.5px;
  line-height: 1.88;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--bg-stone);
  padding: 56px 0 42px;
  border-top: 1px solid var(--hairline);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Contact Modal + Video Lightbox + Mobile Sticky Bar
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 29, 27, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open { display: flex; }

.modal-dialog {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  background: var(--bg-porcelain);
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 32px;
  box-shadow: var(--shadow-modal);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(34, 29, 27, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 15px;
}

.modal-close:hover { background: rgba(34, 29, 27, 0.12); color: var(--ink); }

.modal-intent {
  margin: 14px 0 20px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 13.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.qr-card {
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--hairline);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-frame {
  width: 176px;
  height: 176px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--hairline);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.qr-id {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Video Lightbox Modal */
.lightbox-dialog {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: var(--bg-porcelain);
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-modal);
}

.lightbox-video {
  width: 100%;
  aspect-ratio: 540 / 768;
  max-height: 70vh;
  border-radius: 16px;
  object-fit: cover;
  background: #1a1716;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

/* Mobile Sticky Contact Bar — hidden on Hero, gently fades in after scroll */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 244, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hairline);
  gap: 10px;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.mobile-sticky-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(14px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 300;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Legal Document Pages */
.legal-head {
  padding: 120px 0 36px;
  background: var(--bg-linen);
  border-bottom: 1px solid var(--hairline);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

.legal-paper {
  background: var(--bg-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}

.legal-paper h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin: 28px 0 12px;
  color: var(--ink);
}

.legal-paper h2:first-child { margin-top: 0; }

.legal-paper p,
.legal-paper li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.legal-paper ul { padding-left: 20px; margin-bottom: 12px; }

.legal-callout {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-porcelain);
  border-left: 3px solid var(--accent);
  margin: 18px 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1060px) {
  .pillars-grid,
  .steady-stats { grid-template-columns: repeat(2, 1fr); }
  .huanwo-split { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav,
  .nav-cta { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .mobile-sticky-bar { display: flex; }

  .hero { min-height: auto; }
  .hero-inner {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 96px 20px 0;
  }

  .hero-copy {
    max-width: 100%;
    padding-bottom: 10px;
  }

  .hero-title { margin-bottom: 18px; }

  .portrait-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 500px;
    margin-top: 6px;
  }

  .hero-bottom-mist { height: 76px; }
  .veil-cue { top: 82%; }

  .steps-3-grid,
  .pricing-3-grid,
  .oem-highlights,
  .oem-2-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .topup-card {
    padding: 20px 18px 14px;
  }

  .topup-row {
    grid-template-columns: 1fr 0.92fr 1.12fr;
    gap: 10px;
  }

  .topup-price strong {
    font-size: 17.5px;
  }

  .topup-tier strong {
    font-size: 14px;
  }

  .topup-tier span,
  .topup-price span {
    font-size: 11.5px;
  }

  .topup-badge {
    display: none;
  }

  .model-card { flex: 0 0 228px; }
  .review-card { flex: 0 0 300px; }
  .engine-switcher { width: 100%; }
  .engine-tab { flex: 1; padding: 10px 12px; font-size: 13px; text-align: center; }
  .site-footer { padding-bottom: 92px; }
}

@media (max-width: 520px) {
  .pillars-grid,
  .steady-stats,
  .hw-grid { grid-template-columns: 1fr; }
}
