/* DAULSEN3D home page. Self-contained: does not depend on style.css. */
:root {
  --h-bg: #050506;
  --h-stage: #0b0b0d;
  --h-panel: rgba(28, 28, 32, 0.72);
  --h-panel-solid: #17171a;
  --h-line: rgba(255, 255, 255, 0.09);
  --h-line-strong: rgba(255, 255, 255, 0.16);
  --h-text: #f4f4f5;
  --h-text-2: #a1a1aa;
  --h-text-3: #71717a;
  --h-accent: #facc15;
  --h-accent-2: #fff2b2;
  --h-accent-ink: #1a1500;
  --h-radius: 20px;
  --h-radius-sm: 12px;
  --h-max: 1240px;
  --h-header: 64px;
  --h-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --h-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home {
  margin: 0;
  background: var(--h-bg);
  color: var(--h-text);
  font-family: var(--h-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(.home) a { color: inherit; text-decoration: none; }
:where(.home) img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fixed stage (background) ---------- */
.home-stage {
  position: fixed;
  inset: 8px;
  z-index: 0;
  border-radius: 24px;
  background: var(--h-stage);
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}
.home-stage-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 85%);
}
.home-stage-light {
  position: absolute;
  left: 50%;
  top: -22vh;
  width: 120vw;
  height: 70vh;
  transform: translateX(-50%);
  filter: blur(40px);
  animation: stage-breathe 9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.home-stage-light--a {
  background: radial-gradient(50% 50% at 50% 50%, rgba(250, 204, 21, 0.16), transparent 70%);
}
.home-stage-light--b {
  background: radial-gradient(40% 50% at 35% 55%, rgba(139, 92, 246, 0.14), transparent 70%),
              radial-gradient(40% 50% at 70% 45%, rgba(59, 130, 246, 0.12), transparent 70%);
  animation-name: stage-breathe-mirror;
}
@keyframes stage-breathe { 0%, 33.333%, 100% { opacity: 1; } 50%, 83.333% { opacity: 0; } }
@keyframes stage-breathe-mirror { 0%, 33.333%, 100% { opacity: 0; } 50%, 83.333% { opacity: 1; } }

/* ---------- Header ---------- */
.home-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--h-max));
  height: var(--h-header);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 12px 0 20px;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 0.3s var(--h-ease), border-color 0.3s var(--h-ease);
}
.home-header.is-scrolled { background: rgba(14, 14, 16, 0.86); border-color: var(--h-line-strong); }
.home-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.home-brand-mark {
  width: 0; height: 0;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-bottom: 16px solid var(--h-accent);
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.4));
}
.home-brand.has-logo .home-brand-mark { display: none; }
.home-brand-logo { height: 28px; width: auto; }
.home-nav { display: flex; gap: 4px; margin-left: 8px; }
.home-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--h-text-2);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.home-nav a:hover { color: var(--h-text); background: rgba(255, 255, 255, 0.06); }
.home-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.home-lang select {
  appearance: none;
  background: transparent;
  color: var(--h-text-2);
  border: 1px solid var(--h-line);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.home-lang select option { background: var(--h-panel-solid); color: var(--h-text); }
.home-menu-btn { display: none; }

/* ---------- Buttons ---------- */
.home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s var(--h-ease), box-shadow 0.2s var(--h-ease);
}
.home-btn:hover { transform: translateY(-1px); }
.home-btn--light { background: #f4f4f5; color: #111; }
.home-btn--accent {
  color: var(--h-accent-ink);
  background: linear-gradient(86deg, var(--h-accent) 5%, var(--h-accent-2) 106%);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.35), 0 8px 28px rgba(250, 204, 21, 0.18);
}
.home-btn--accent:hover { box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.6), 0 10px 36px rgba(250, 204, 21, 0.3); }
.home-btn--lg { padding: 14px 30px; font-size: 16px; }
/* Light blob sweeping across accent buttons. */
.btn-sweep {
  position: absolute;
  top: 50%;
  left: -50%;
  z-index: -1;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.45;
  filter: blur(28px);
  transform: translate(-50%, -50%);
  animation: btn-sweep 3s linear infinite;
  pointer-events: none;
}
@keyframes btn-sweep { 0% { left: -50%; } 100% { left: 150%; } }

/* ---------- Layout ---------- */
.home-main { position: relative; z-index: 1; overflow-x: clip; }
.home-section {
  width: min(calc(100% - 32px), var(--h-max));
  margin: 0 auto;
  padding: 96px 0;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; max-width: none; text-align: left; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--h-text-2); font-size: 17px; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Section reveal: reversible, like the reference (opacity .2 / 24px, 0.8s). */
[data-reveal] { transition: opacity 0.8s, transform 0.8s; }
[data-reveal].is-hidden { opacity: 0.2; transform: translateY(24px); }

/* ---------- Hero ---------- */
.home-hero { padding-top: calc(var(--h-header) + 48px); text-align: center; }
.hero-carousel {
  --card-w: 360px;
  --card-h: 236px;
  --orbit-r: 1040px;
  --orbit-step: 21deg;
  position: relative;
  height: calc(var(--card-h) + 64px);
  margin: 0 auto 8px;
  overflow: visible;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-orbit { position: absolute; left: 50%; top: 8px; width: 0; height: var(--card-h); }
.hero-slot {
  position: absolute;
  left: calc(var(--card-w) / -2);
  top: 0;
  width: var(--card-w);
  height: var(--card-h);
  transform-origin: 50% var(--orbit-r);
  transform: rotate(calc(var(--d, 0) * var(--orbit-step)));
  transition: transform 0.8s var(--h-ease), opacity 0.8s ease-in-out;
  opacity: var(--o, 0);
}
.hero-slot.no-anim { transition: none; }
.hero-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: radial-gradient(120% 100% at 50% 0%, #26262b 0%, #151518 70%);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transform: scale(var(--s, 0.82));
  filter: brightness(var(--b, 0.55)) blur(var(--blur, 1px));
  transition: transform 0.8s ease-in-out, filter 0.8s ease-in-out, border-color 0.8s;
}
.hero-slot.is-active .hero-card { border-color: rgba(250, 204, 21, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.hero-card img { position: absolute; inset: 10px 10px 34px; width: calc(100% - 20px); height: calc(100% - 44px); object-fit: contain; }
.hero-card img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56px;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.85));
  pointer-events: none;
}
.hero-card-label { z-index: 1; }
.hero-card-label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--h-text-2);
  white-space: nowrap;
}
.hero-slot.is-active .hero-card-label { color: var(--h-text); font-weight: 600; }
.hero-dots { display: none; }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 12px; }
.hero-showing { margin: 0; font-size: 13px; color: var(--h-text-3); min-height: 1.6em; }
.hero-pause {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--h-line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--h-text-2);
  cursor: pointer;
}
.hero-pause:hover, .hero-pause:focus-visible { color: var(--h-text); border-color: rgba(250, 204, 21, 0.5); }
.hero-pause .icon-play, .hero-pause.is-paused .icon-pause { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-showing strong { color: var(--h-accent); font-weight: 600; }
.hero-title { margin: 0 0 16px; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; letter-spacing: -0.02em; }
.hero-subtitle { max-width: 680px; margin: 0 auto 36px; color: var(--h-text-2); font-size: 18px; }

/* Upload box with rotating gradient border. */
@property --h-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.glow-border { position: relative; isolation: isolate; }
.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--h-angle), rgba(250, 204, 21, 0.9), rgba(255, 242, 178, 0.2) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 242, 178, 0.2) 75%, rgba(250, 204, 21, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: border-rotate 3s cubic-bezier(0.87, 0, 0.2, 1) infinite;
}
@keyframes border-rotate { to { --h-angle: 360deg; } }
.hero-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(40, 40, 46, 0.7), rgba(22, 22, 26, 0.75));
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.25s var(--h-ease), background 0.25s;
}
.hero-drop:hover, .hero-drop.is-drag { transform: translateY(-2px); background: linear-gradient(180deg, rgba(50, 48, 40, 0.8), rgba(26, 25, 22, 0.8)); }
.hero-drop-icon { color: var(--h-accent); }
.hero-drop-title { font-size: 17px; font-weight: 600; }
.hero-drop-hint { color: var(--h-text-3); font-size: 13px; margin-bottom: 12px; }
.hero-drop-file { color: var(--h-accent); font-size: 14px; }
.hero-drop-error { color: #fca5a5; font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee var(--marquee-duration, 72s) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track--reverse { animation-direction: reverse; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--h-line);
  border-radius: 999px;
  color: var(--h-text-2);
  font-size: 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Floating glass cards ---------- */
.float-card {
  position: absolute;
  width: 300px;
  padding: 22px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--h-accent);
  font-size: 13px;
  font-weight: 600;
}
.float-card h3 { margin: 0 0 8px; font-size: 20px; }
.float-card p { margin: 0 0 18px; color: var(--h-text-2); font-size: 14px; }

/* ---------- Lightweight mold section ---------- */
.lite-stage { position: relative; min-height: 560px; }
.lite-figure { position: relative; margin: 0 auto; width: min(100%, 900px); }
.lite-figure img { width: 100%; height: auto; }
.float-card--left { left: 0; top: 40px; }
.float-card--right { right: 0; bottom: 30px; }
.lite-callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-6px, -50%);
  font-size: 13px;
  color: var(--h-text);
  white-space: nowrap;
}
.callout::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--h-accent);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18), 0 0 16px rgba(250, 204, 21, 0.6);
  animation: callout-pulse 2.4s ease-in-out infinite;
}
.callout span { padding: 4px 10px; border: 1px solid var(--h-line-strong); border-radius: 999px; background: rgba(10, 10, 12, 0.7); }
.callout--left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
@keyframes callout-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.18), 0 0 16px rgba(250, 204, 21, 0.6); } 50% { box-shadow: 0 0 0 9px rgba(250, 204, 21, 0.04), 0 0 22px rgba(250, 204, 21, 0.8); } }

/* ---------- Standard mode ---------- */
.std-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.std-media { position: relative; padding: 0 0 70px 0; }
.std-media figure { margin: 0; border: 1px solid var(--h-line); border-radius: var(--h-radius); overflow: hidden; background: #000; }
.std-media img { width: 100%; height: 100%; object-fit: cover; }
.std-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  font-size: 12px;
  color: var(--h-text-2);
}
.std-main { position: relative; aspect-ratio: 1; width: 78%; }
.std-thumb { position: absolute; width: 32%; aspect-ratio: 1; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.std-thumb--a { right: 0; top: 8%; }
.std-thumb--b { right: 8%; bottom: 0; background: radial-gradient(circle at 50% 35%, #2a2a30, #141417) !important; }
.std-thumb--b img { object-fit: contain; padding: 10px; }
.std-copy h2 { margin: 14px 0 12px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; }
.std-lead { margin: 0 0 24px; color: var(--h-text-2); font-size: 17px; }
.std-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.std-points li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--h-line); border-radius: var(--h-radius-sm); background: rgba(22, 22, 26, 0.7); }
.std-points strong { font-size: 15px; }
.std-points span { color: var(--h-text-2); font-size: 14px; }

/* ---------- Steps ---------- */
.steps-row { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: stretch; }
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 24px;
  list-style: none;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: rgba(20, 20, 23, 0.6);
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-frame { width: 100%; aspect-ratio: 1; border-radius: var(--h-radius-sm); overflow: hidden; background: radial-gradient(circle at 50% 35%, #2a2a30, #141417); }
.step-frame img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.step-frame img.is-photo { object-fit: cover; padding: 0; }
.step-caption { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 14px; color: var(--h-text-2); }
.step-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.14);
  color: var(--h-accent);
  font-size: 12px;
  font-weight: 700;
}
.steps-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-panel-solid);
}
.steps-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--h-radius-sm); background: radial-gradient(circle at 50% 30%, #2a2a30, #141417); margin-bottom: 18px; }
.steps-card h3 { margin: 0 0 8px; font-size: 20px; }
.steps-card p { margin: 0 0 20px; color: var(--h-text-2); font-size: 14px; flex: 1; }
.steps-card .home-btn { align-self: stretch; justify-content: center; }

/* ---------- AI section ---------- */
.ai-stage { display: grid; grid-template-columns: 1fr minmax(320px, 520px) 1fr; gap: 24px; align-items: center; }
.ai-col { display: flex; flex-direction: column; gap: 20px; }
.ai-card {
  padding: 20px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-panel);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--h-ease), border-color 0.3s;
}
.ai-card { display: block; }
.ai-card:hover { transform: translateY(-4px); border-color: rgba(250, 204, 21, 0.35); }
.ai-card h3 { margin: 0 0 6px; font-size: 17px; }
.ai-card p { margin: 0; color: var(--h-text-2); font-size: 14px; }
.ai-figure { margin: 0; position: relative; }
.ai-figure::before {
  content: "";
  position: absolute;
  inset: 12% 10% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.22), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.ai-figure { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.ai-photo, .ai-model {
  position: relative;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: radial-gradient(circle at 50% 35%, #2a2a30, #141417);
}
.ai-photo img { width: 100%; height: 100%; object-fit: cover; }
.ai-model { animation: float-y 6s ease-in-out infinite; border-color: rgba(250, 204, 21, 0.3); }
.ai-model img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.ai-chip {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  border: 1px solid var(--h-line-strong);
  font-size: 12px;
  color: var(--h-text);
}
.ai-chip--accent { color: var(--h-accent); border-color: rgba(250, 204, 21, 0.4); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Rails (industries / explore) ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 16px;
}
.rail::-webkit-scrollbar { display: none; }
.rail--explore { grid-auto-columns: minmax(300px, 380px); }
.rail-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-panel-solid);
  overflow: hidden;
}
.rail-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 30%, #2a2a30, #141417); }
.rail-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform 0.5s var(--h-ease), filter 0.5s var(--h-ease); }
.rail-card-media img.is-photo { object-fit: cover; padding: 0; }
.rail-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.rail-card h3 { margin: 0 0 6px; font-size: 18px; }
.rail-card p { margin: 0 0 16px; color: var(--h-text-2); font-size: 14px; flex: 1; }
.rail-card-more { display: inline-flex; gap: 6px; color: var(--h-text-2); font-size: 14px; }
.rail-card-more i { font-style: normal; transition: transform 0.3s var(--h-ease); }
@media (hover: hover) {
  .rail-card:hover .rail-card-media img { transform: scale(1.025); filter: saturate(1.06); }
  .rail-card:hover .rail-card-more { color: var(--h-text); }
  .rail-card:hover .rail-card-more i { transform: translateX(3px); }
}
.rail-next {
  width: 44px;
  height: 44px;
  border: 1px solid var(--h-line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--h-text);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.rail-next:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Social proof ---------- */
.proof-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin-bottom: 36px; }
.proof-stat { display: grid; justify-items: center; }
.proof-stat strong { font-size: clamp(30px, 4vw, 48px); color: var(--h-accent); line-height: 1.1; }
.proof-stat span { color: var(--h-text-2); font-size: 14px; }
.proof-marquee .marquee-track { gap: 16px; padding: 8px 0; }
.proof-quote {
  width: 320px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-panel-solid);
}
.proof-quote blockquote { margin: 0 0 12px; color: var(--h-text); font-size: 14px; white-space: normal; }
.proof-quote figcaption { display: flex; gap: 8px; font-size: 13px; color: var(--h-text-3); }
.proof-quote figcaption strong { color: var(--h-text-2); }

/* ---------- Industries marquee ---------- */
.industry-marquee .marquee-track { gap: 20px; padding: 4px 0 16px; }
.industry-marquee .rail-card { flex: none; width: 300px; }
@media (max-width: 600px) { .industry-marquee .rail-card { width: 250px; } }

/* ---------- Gallery ---------- */
.gallery-rows { display: flex; flex-direction: column; gap: 20px; }
.gallery-rows .marquee-track { gap: 18px; padding: 16px 0; }
.gallery-item {
  position: relative;
  width: 200px;
  transition: transform 0.4s var(--h-ease), filter 0.4s var(--h-ease);
}
.gallery-item-media {
  aspect-ratio: 1;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius-sm);
  background: radial-gradient(circle at 50% 35%, #26262b, #121215);
  overflow: hidden;
}
.gallery-item-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item-media img.is-render { object-fit: contain; padding: 8px; background: #0b0b0c; }
.gallery-item-title { margin-top: 8px; font-size: 13px; color: var(--h-text-3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.gallery-item:hover { transform: translateY(-12px); filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18)); }
.gallery-item:hover .gallery-item-title { color: var(--h-text); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--h-line); border-radius: var(--h-radius-sm); background: rgba(22, 22, 26, 0.7); }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: none;
  color: var(--h-text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }
.faq-q::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--h-text-2); transition: transform 0.3s var(--h-ease); }
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--h-ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 22px 20px; color: var(--h-text-2); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px;
  border-radius: 32px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(250, 204, 21, 0.12), rgba(18, 18, 21, 0.9) 60%);
}
.final-box h2 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 46px); }
.final-box p { margin: 0 0 30px; color: var(--h-text-2); font-size: 17px; }

/* ---------- Footer ---------- */
.home-footer { position: relative; z-index: 1; padding: 64px 0 40px; border-top: 1px solid var(--h-line); margin-top: 40px; }
.home-footer-inner { width: min(calc(100% - 32px), var(--h-max)); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin: 8px 0 0; color: var(--h-text-3); font-size: 14px; }
.footer-cols { display: flex; gap: 64px; }
.footer-col h4 { margin: 0 0 14px; font-size: 14px; color: var(--h-text); }
.footer-col a { display: block; margin-bottom: 10px; color: var(--h-text-3); font-size: 14px; }
.footer-col a:hover { color: var(--h-text); }
.footer-bottom { width: min(calc(100% - 32px), var(--h-max)); margin: 40px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--h-text-3); font-size: 13px; }
.footer-icp:hover { color: var(--h-text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .std-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-card { position: relative; inset: auto; width: auto; }
  .lite-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-height: 0; }
  .lite-figure { grid-column: 1 / -1; }
  .steps-row { grid-template-columns: 1fr; }
  .ai-stage { grid-template-columns: 1fr 1fr; }
  .ai-figure { grid-column: 1 / -1; grid-row: 1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .home-header { top: 8px; border-radius: 18px; gap: 12px; }
  .home-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--h-line);
    border-radius: 18px;
    background: rgba(14, 14, 16, 0.96);
    display: none;
  }
  .home-nav.is-open { display: flex; }
  .home-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid var(--h-line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .home-menu-btn span { height: 1.5px; background: var(--h-text); border-radius: 1px; }
  #headerStart { display: none; }
  .hero-carousel { --card-w: 230px; --card-h: 160px; --orbit-r: 700px; --orbit-step: 24deg; }
  .home-section { padding: 64px 0; }
  .hero-subtitle { font-size: 16px; }
}
@media (max-width: 600px) {
  .steps-list { gap: 8px; padding: 14px 10px; }
  .step-caption { flex-direction: column; gap: 4px; font-size: 12px; }
  .lite-stage, .ai-stage { grid-template-columns: 1fr; }
  .lite-callouts { display: none; }
  .ai-figure { grid-template-columns: 1fr 1fr; }
  .footer-cols { gap: 36px; }
  .gallery-item { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
  /* No auto-scroll: let marquees scroll by hand instead of hiding cards. */
  .marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
