/* ============================================================
   星点律动 XD·LD — main.css
   深空霓虹 / Cyber Studio Aesthetic
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-void: #07090F;
  --bg-deep: #0E1320;
  --bg-elevated: #161C2E;
  --surface-glass: rgba(91, 224, 224, 0.04);
  --surface-card: rgba(22, 28, 46, 0.6);

  --accent-cyan: #5BE0E0;
  --accent-amber: #FF6B35;
  --accent-violet: #8B5CF6;

  --text-primary: #F2F4FA;
  --text-secondary: #9BA3B8;
  --text-muted: #5A6378;

  --border-faint: rgba(255, 255, 255, 0.06);
  --border-soft: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(91, 224, 224, 0.4);

  --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-cn-display: 'Noto Sans SC', sans-serif;

  --max-w: 1440px;
  --pad-x: clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.1; }

/* ---------- Background Layers ---------- */
.bg-layer {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at top, #0E1424 0%, var(--bg-void) 60%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(91, 224, 224, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(91, 224, 224, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.bg-noise {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay;
  animation: noiseShift 6s steps(8) infinite;
}
@keyframes noiseShift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, 5%); }
  80% { transform: translate(4%, -2%); }
}
.bg-blob {
  position: absolute; width: 800px; height: 800px;
  border-radius: 50%; filter: blur(120px); opacity: 0.25;
  animation: blobFloat 24s ease-in-out infinite;
}
.bg-blob-cyan { background: var(--accent-cyan); top: -200px; left: -200px; }
.bg-blob-amber { background: var(--accent-amber); bottom: -300px; right: -200px; animation-delay: -12s; opacity: 0.18; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 80px) scale(1.1); }
  66% { transform: translate(-80px, 60px) scale(0.95); }
}

/* ---------- Custom Cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--accent-cyan);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--accent-cyan);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor-ring.is-hover { width: 72px; height: 72px; border-color: var(--accent-amber); }
.cursor-dot.is-hover { width: 0; height: 0; }
@media (hover: none), (max-width: 768px) {
  body { cursor: auto; }
  button, a { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed; right: clamp(16px, 3vw, 32px); top: 50%;
  transform: translateY(-50%); z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.scroll-progress-line {
  position: absolute; left: 50%; top: -16px; bottom: -16px;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border-soft), transparent);
  transform: translateX(-50%);
}
.scroll-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--text-muted);
  position: relative; transition: all 0.3s var(--ease-out);
  background: var(--bg-void);
}
.scroll-dot span {
  position: absolute; inset: 2px; border-radius: 50%;
  background: transparent; transition: background 0.3s;
}
.scroll-dot.active { border-color: var(--accent-cyan); transform: scale(1.3); }
.scroll-dot.active span { background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); }
.scroll-dot::after {
  content: attr(data-label);
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font: 500 10px/1 var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.15em; opacity: 0; transition: opacity 0.3s;
  white-space: nowrap;
}
.scroll-dot:hover::after, .scroll-dot.active::after { opacity: 1; }
.scroll-dot.active::after { color: var(--accent-cyan); }
@media (max-width: 900px) { .scroll-progress { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 9, 15, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  border-bottom-color: var(--border-faint);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.logo-mark {
  font: 900 22px/1 var(--font-display);
  letter-spacing: 0.05em;
  display: inline-flex; align-items: baseline; gap: 1px;
  color: var(--text-primary);
}
.logo-mark .logo-d, .logo-mark .logo-d2 { color: var(--accent-cyan); }
.logo-mark .logo-sep { color: var(--accent-amber); margin: 0 4px; }
.logo-sub {
  font: 500 9px/1 var(--font-mono);
  color: var(--text-muted); letter-spacing: 0.3em;
}
.nav-menu { display: flex; gap: 8px; }
.nav-link {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 8px 16px;
  font: 500 14px/1.2 var(--font-body);
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav-link small {
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.2em; color: var(--text-muted);
  margin-top: 4px; transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px; background: var(--accent-cyan);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--accent-cyan); }
.nav-link:hover small, .nav-link.active small { color: var(--accent-cyan); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font: 500 10px/1 var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.2em;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (max-width: 768px) {
  .nav-menu, .nav-status { display: none; }
}

/* ---------- Section Common ---------- */
section {
  position: relative;
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(80px, 12vh, 160px) var(--pad-x);
}

/* scroll-snap 包裹层（CSS 兜底，主翻页由 JS 完成） */
main > .snap-wrap {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  width: 100%;
  position: relative;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--font-mono);
  color: var(--accent-cyan); letter-spacing: 0.2em;
  padding: 6px 12px; border: 1px solid var(--border-glow);
  background: rgba(91, 224, 224, 0.05);
  border-radius: 4px;
}
.tag-prefix { color: var(--accent-amber); }
.tag-cursor {
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.section-head { text-align: center; margin-bottom: clamp(60px, 8vh, 100px); }
.section-head .section-tag { margin-bottom: 24px; }
.section-title {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.section-title-zh {
  font-family: var(--font-cn-display); font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.02em;
}
.section-title-en {
  font: 500 14px/1 var(--font-display); letter-spacing: 0.4em;
  color: var(--text-muted);
}
.section-lead {
  color: var(--text-secondary); font-size: 16px;
  max-width: 540px; margin: 0 auto;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; padding-top: 140px; padding-bottom: 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero > .section-tag { align-self: flex-start; margin-bottom: 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center; flex: 1;
}
.hero-text { display: flex; flex-direction: column; gap: 32px; }
.hero-title {
  font-family: var(--font-cn-display); font-weight: 900;
  font-size: clamp(64px, 11vw, 160px);
  line-height: 0.92; letter-spacing: -0.02em;
}
.hero-line { display: block; overflow: hidden; }
.hero-char {
  display: inline-block;
  background: linear-gradient(180deg, #FFFFFF 0%, #B8C0D6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-line-accent .hero-char {
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font: 700 14px/1 var(--font-display); letter-spacing: 0.4em;
  color: var(--accent-cyan);
}
.hero-lead {
  font-size: 17px; color: var(--text-secondary);
  max-width: 460px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font: 500 14px/1 var(--font-body); letter-spacing: 0.05em;
  border: 1px solid; border-radius: 2px;
  overflow: hidden; transition: color 0.3s, border-color 0.3s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  color: var(--bg-void); background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(91, 224, 224, 0.3);
}
.btn-primary::before { background: var(--accent-amber); }
.btn-primary:hover { color: var(--bg-void); border-color: var(--accent-amber); box-shadow: 0 0 40px rgba(255, 107, 53, 0.5); }
.btn-ghost { color: var(--text-primary); border-color: var(--border-soft); }
.btn-ghost::before { background: var(--surface-glass); }
.btn-ghost:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.btn-arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 24px; margin-top: 8px;
  border-top: 1px solid var(--border-faint);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-item dt {
  font: 500 10px/1 var(--font-mono); color: var(--text-muted); letter-spacing: 0.2em;
}
.hero-meta-item dd { font: 500 14px/1 var(--font-display); color: var(--text-primary); letter-spacing: 0.05em; }

.hero-visual {
  position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end;
  width: 100%;
}
#hero-canvas { width: 100%; height: 100%; display: block; }
.hero-visual-hud { position: absolute; inset: 0; pointer-events: none; }
.hud-corner {
  position: absolute; width: 24px; height: 24px;
  border: 1px solid var(--accent-cyan); opacity: 0.6;
}
.hud-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-readout {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 2px;
  font: 500 10px/1.4 var(--font-mono); color: var(--accent-cyan);
  letter-spacing: 0.15em; opacity: 0.7;
}
.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-hint-text {
  font: 500 10px/1 var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.4em;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .hero-scroll-hint { display: none; }
}

/* ---------- PRODUCTS ---------- */
.products {
  padding: 0 var(--pad-x) !important;
}

/* 产品列表标题页，自身是一屏 snap 点 */
.products-head {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  margin-bottom: 0;
  text-align: center;
}
.products-head .section-tag { margin-bottom: 24px; }

.product {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  min-height: 100vh;
  padding: 80px 0;
  border-top: 1px solid var(--border-faint);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.product:first-of-type { border-top: 0; }
.product-right { grid-template-columns: 1.1fr 1fr; }
.product-right .product-meta { order: 2; }
.product-right .product-showcase { order: 1; }

.product-meta { display: flex; flex-direction: column; gap: 24px; }
.product-index {
  font: 700 64px/1 var(--font-display);
  color: transparent;
  -webkit-text-stroke: 1px var(--text-muted);
  letter-spacing: -0.02em;
}
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags .tag {
  font: 500 10px/1 var(--font-mono);
  padding: 6px 10px;
  border: 1px solid var(--border-faint);
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.product-tags .tag-amber { color: var(--accent-amber); border-color: rgba(255,107,53,0.4); }
.product-tags .tag-cyan { color: var(--accent-cyan); border-color: rgba(91,224,224,0.4); }
.product-tags .tag-violet { color: var(--accent-violet); border-color: rgba(139,92,246,0.4); }

.product-name {
  font-family: var(--font-cn-display);
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}
.product-name-accent {
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.product-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  max-width: 480px;
}
.product-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: 0.1em;
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  margin-top: 8px;
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
  position: relative; overflow: hidden;
}
.product-cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-cyan);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.product-cta:hover { color: var(--bg-void); border-color: var(--accent-cyan); }
.product-cta:hover::before { transform: translateX(0); }
.product-cta .cta-arrow { transition: transform 0.3s var(--ease-out); }
.product-cta:hover .cta-arrow { transform: translateX(4px); }

/* ---- Phone showcase ---- */
.product-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 480px;
}
.product-showcase-trio { min-height: 520px; }

.phone {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s;
  flex-shrink: 0;
}
.phone-tall { width: 220px; aspect-ratio: 9/16; }
.phone-feature { z-index: 2; }
.phone-secondary { z-index: 1; }

.product-showcase .phone-feature {
  --tilt: 0deg;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}
.product-showcase .phone-secondary {
  --tilt: 0deg;
  transform: translateY(20px) scale(0.9) rotate(var(--tilt, 0deg));
  margin-left: -40px;
}
.product-showcase:hover .phone-feature {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 60px 120px -20px rgba(0,0,0,0.8), 0 0 80px -20px var(--accent-cyan);
}
.product-showcase:hover .phone-secondary {
  transform: translateY(10px) scale(0.92) rotate(0deg);
}
.phone img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.phone-corner {
  position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--accent-cyan);
  pointer-events: none; opacity: 0.7;
}
.phone-corner-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.phone-corner-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.phone-corner-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.phone-corner-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.phone-label {
  position: absolute;
  top: 22px; right: 22px;
  font: 500 9px/1 var(--font-mono);
  color: var(--accent-cyan);
  letter-spacing: 0.3em;
  background: rgba(7,9,15,0.6);
  padding: 4px 6px;
  backdrop-filter: blur(4px);
}

/* Video phone */
.phone-video .video-poster { position: relative; width: 100%; height: 100%; }
.phone-video .video-poster img { width: 100%; height: 100%; object-fit: cover; }
.phone-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,9,15,0.4);
  transition: background 0.3s;
}
.video-play:hover { background: rgba(7,9,15,0.6); }
.play-triangle {
  width: 0; height: 0;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent var(--accent-cyan);
  filter: drop-shadow(0 0 12px var(--accent-cyan));
  margin-left: 4px;
}

/* Trio layout */
.product-showcase-trio { gap: 16px; }
.product-showcase-trio .phone-trio { --tilt: 0deg; }
.product-showcase-trio .phone-trio-1 { transform: translateY(0) rotate(-5deg); z-index: 3; }
.product-showcase-trio .phone-trio-2 { transform: translateY(30px) rotate(2deg); z-index: 1; }
.product-showcase-trio .phone-trio-3 { transform: translateY(10px) rotate(-3deg); z-index: 2; }
.product-showcase-trio:hover .phone-trio-1 { transform: translateY(-10px) rotate(-2deg); }
.product-showcase-trio:hover .phone-trio-2 { transform: translateY(20px) rotate(0deg); }
.product-showcase-trio:hover .phone-trio-3 { transform: translateY(-4px) rotate(-1deg); }

@media (max-width: 900px) {
  .product,
  .product-right { grid-template-columns: 1fr; gap: 40px; }
  .product-right .product-meta { order: 0; }
  .product-right .product-showcase { order: 1; }
  .product-showcase { min-height: auto; flex-wrap: wrap; }
  .phone-tall { width: 180px; }
  .product-showcase .phone-secondary { margin-left: -20px; }
  .product-showcase-trio { gap: 8px; }
  .product-showcase-trio .phone-trio { width: 32%; }
}

/* ---------- STUDIO ---------- */
.studio-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: center;
}
.studio-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-faint);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
  min-height: 180px;
  justify-content: center;
}
.stat-card:nth-child(odd):hover { border-color: var(--accent-cyan); transform: translateY(-4px); }
.stat-card:nth-child(even):hover { border-color: var(--accent-amber); transform: translateY(-4px); }
.stat-corner {
  position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--accent-cyan); opacity: 0.4;
}
.stat-corner-tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.stat-corner-br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.stat-value {
  font: 900 64px/1 var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: inline-block;
}
.stat-value-text { font-family: var(--font-cn-display); }
.stat-card:nth-child(odd) .stat-value {
  background: linear-gradient(180deg, var(--accent-cyan), #FFFFFF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card:nth-child(even) .stat-value {
  background: linear-gradient(180deg, var(--accent-amber), #FFFFFF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-suffix {
  font: 700 32px/1 var(--font-display);
  color: var(--accent-cyan);
  margin-left: 4px;
}
.stat-label {
  font: 500 11px/1.5 var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.studio-copy { padding: 0 0 0 20px; }
.studio-headline {
  font-family: var(--font-cn-display); font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2; margin-bottom: 32px;
}
.studio-headline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: relative;
}
.studio-body p {
  color: var(--text-secondary); font-size: 16px; line-height: 1.8;
  margin-bottom: 16px; max-width: 520px;
}
.hl-cyan { color: var(--accent-cyan); font-weight: 600; }
.hl-amber { color: var(--accent-amber); font-weight: 600; }
.studio-signature {
  display: flex; align-items: center; gap: 16px;
  margin-top: 40px;
}
.signature-line {
  width: 48px; height: 1px; background: var(--accent-cyan);
}
.signature-text {
  font: 500 11px/1 var(--font-mono);
  color: var(--text-muted); letter-spacing: 0.3em;
}

@media (max-width: 900px) {
  .studio-grid { grid-template-columns: 1fr; gap: 40px; }
  .studio-copy { padding: 0; }
}
@media (max-width: 500px) {
  .studio-stats { grid-template-columns: 1fr; }
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  padding-top: clamp(80px, 12vh, 160px);
  padding-bottom: clamp(80px, 12vh, 160px);
}
.contact > .section-tag { margin-bottom: 32px; }
.contact-headline {
  font: 900 clamp(56px, 11vw, 160px)/0.95 var(--font-display);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.contact-headline::before {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--accent-amber), transparent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translate(-3px, 2px);
  transition: opacity 0.3s;
  pointer-events: none;
}
.contact-headline:hover::before { opacity: 0.6; }
.contact-sub {
  color: var(--text-secondary); font-size: 17px;
  margin-bottom: 64px;
}
.contact-channels {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 760px; margin: 0 auto;
}
.channel {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: var(--surface-card);
  border: 1px solid var(--border-faint);
  text-align: left;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), background 0.3s;
}
.channel:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  background: rgba(91, 224, 224, 0.06);
}
.channel-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font: 700 24px/1 var(--font-display);
  background: linear-gradient(135deg, var(--accent-cyan), transparent);
  color: var(--bg-void);
  border-radius: 4px;
}
.channel-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.channel-label {
  font: 500 10px/1 var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.3em;
}
.channel-value {
  font: 600 16px/1 var(--font-body); color: var(--text-primary);
}
.channel-arrow {
  font: 500 20px/1 var(--font-mono); color: var(--accent-cyan);
  transition: transform 0.3s var(--ease-out);
}
.channel:hover .channel-arrow { transform: translateX(6px); }
@media (max-width: 700px) {
  .contact-channels { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 0 var(--pad-x);
  border-top: 1px solid transparent;
}
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 50%, transparent 100%);
  margin-bottom: 48px;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding-bottom: 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 60px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.logo-mark-sm { font-size: 18px; }
.footer-tagline {
  font: 500 10px/1 var(--font-mono); color: var(--text-muted);
  letter-spacing: 0.3em;
}
.footer-info { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-company {
  font: 500 13px/1.6 var(--font-cn-display);
  color: var(--text-secondary);
}
.footer-healthy {
  font: 400 10px/1.6 var(--font-cn-display);
  color: var(--text-muted); letter-spacing: 0.05em;
}
.footer-legal {
  font: 400 10px/1.6 var(--font-mono);
  color: var(--text-muted); letter-spacing: 0.05em;
}
.footer-legal a { color: var(--text-secondary); transition: color 0.3s; }
.footer-legal a:hover { color: var(--accent-cyan); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-info { text-align: left; }
}

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
