/* 创铭寰 CMH · 国内官网 — tokens from Figma nodes */
:root {
  --bg: #00020D;
  --card: #151E32;
  --brand: #1D7DFF;
  --muted: #9296A9;
  --btn-dark: #01174F;
  --white: #FFFFFF;
  --line: rgba(255,255,255,0.08);
  --max: 1240px;
  --nav-h: 65px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: var(--nav-h); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

/* Buttons */
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 32px; border-radius: 8px;
  background: var(--btn-dark); color: var(--white);
  font-size: 16px; font-weight: 400;
  border: 1px solid var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-dark:hover, .btn-dark:focus-visible { transform: translateY(-2px); border-color: #79bdff; box-shadow: 0 0 0 1px rgba(80,170,255,.65), 0 0 24px rgba(29,125,255,.38); }
.btn-grad {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #0B4DDB);
  color: var(--white); font-size: 16px; font-weight: 400;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 6px 20px rgba(29,125,255,0.35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-grad:hover, .btn-grad:focus-visible { transform: translateY(-2px); border-color: #b6e9ff; box-shadow: 0 0 0 1px rgba(116,217,255,.65), 0 0 28px rgba(29,125,255,.65), 0 12px 30px rgba(4,61,177,.42); }
.btn-lg { height: 48px; font-size: 16px; }
.btn-nav {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px; border-radius: 6px;
  background: transparent; color: var(--white);
  border: 1px solid var(--white);
  font-size: 14px; font-weight: 500;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-nav:hover, .btn-nav:focus-visible { background: rgba(29,125,255,.28); border-color: #81c5ff; box-shadow: 0 0 18px rgba(29,125,255,.42); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  border-bottom: 1px solid rgba(140, 180, 240, 0.45);
  background: rgba(85, 105, 155, 0.20);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.nav.scrolled {
  background: rgba(85, 105, 155, 0.20);
  border-bottom-color: rgba(140, 180, 240, 0.45);
}
.nav-inner {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  display: flex; align-items: center; gap: 0;
}
.brand { display: flex; align-items: center; width: 164px; flex: none; }
.brand-lockup { height: 40px; width: auto; }
.nav-links { display: flex; gap: 0; margin-left: 40px; }
.nav-links a {
  display: flex; align-items: center; justify-content: center; width: 96px; height: 64px;
  font-size: 16px; color: var(--white); opacity: .92;
  transition: opacity .2s;
}
.nav-links a:nth-child(4) { width: 102px; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--white); }

/* Hero — Figma 原图层，无滤镜无虚化 */
.hero {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: var(--bg);
  --hero-drift-x: 0px;
  --hero-drift-y: 0px;
}
/* 右上角光 1440x810 @ (0,0) — Figma 134:214 原图 */
.hero-bg {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 810px;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--hero-drift-x) * .35), calc(var(--hero-drift-y) * .35), 0);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: ""; position: absolute; inset: -2%;
  background: url("assets/hero-glow-top.png") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 48% 62% at 88% 12%, #000 12%, transparent 100%);
  mask-image: radial-gradient(ellipse 48% 62% at 88% 12%, #000 12%, transparent 100%);
  mix-blend-mode: screen;
  animation: hero-ray-flow 12s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes hero-ray-flow {
  0%, 100% { opacity: .08; transform: translate3d(2%, -1%, 0) rotate(-.3deg); }
  50% { opacity: .42; transform: translate3d(-1%, 1%, 0) rotate(.3deg); }
}
/* 球体光 1240x423 @ (100,244) — Figma 134:217 原图 */
.hero-arcs {
  position: absolute;
  left: 50%; top: 244px;
  width: 1240px; height: 423px;
  transform: translateX(-50%) translate3d(var(--hero-drift-x), var(--hero-drift-y), 0);
  z-index: 1;
  pointer-events: none;
}
.hero-arcs img {
  width: 100%; height: 100%;
  object-fit: fill;
  transform-origin: 50% 72%;
  animation: horizon-turn 14s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes horizon-turn {
  0%, 100% { opacity: .9; transform: perspective(1400px) rotateY(-1.2deg) rotateZ(-.35deg) translateX(-4px) scale(1.008); }
  50% { opacity: 1; transform: perspective(1400px) rotateY(1.2deg) rotateZ(.35deg) translateX(4px) scale(1.02); }
}
.hero-content {
  position: absolute;
  left: 50%; top: 185px;
  transform: translateX(-50%);
  width: 720px;
  text-align: center;
  z-index: 3;
}
.hero-title {
  display: flex; flex-direction: column; gap: 20px;
  font-size: 64px; font-weight: 600; line-height: 72px;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.hero-title .accent {
  display: block;
  background: linear-gradient(90deg, #6759ff 19%, #338cfb 50%, #18cef2 81%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .main {
  display: block; color: var(--white);
}
.hero-sub {
  font-size: 16px; color: var(--muted); line-height: 22px;
  margin-bottom: 144px;
  max-width: 500px; margin-inline: auto;
}
.hero-actions {
  display: flex; gap: 24px; justify-content: center;
}
/* 右侧悬浮按设计稿保留独立胶囊与圆形入口。 */
.hero-float {
  position: fixed; right: clamp(16px, 2vw, 32px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  padding: 6px; border-radius: 99px;
  background: linear-gradient(126deg, #11121d 12%, #222736 48%, #11121d 79%);
  border: 1px solid var(--white);
  z-index: 90;
}
.float-item {
  width: 56px; height: 52px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; transition: background .2s;
  background: transparent;
}
.float-item:hover { background: rgba(29, 125, 255, 0.28); }
.float-item img { width: 24px; height: 24px; object-fit: contain; }
.float-item:first-child { height: 76px; }
.float-item:first-child img { width: 52px; height: 52px; padding: 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.08); }
.float-item span { font-size: 14px; line-height: 16px; color: var(--white); white-space: nowrap; }

/* Section head: Figma's 1440px frames use a 56px top inset. */
.section { position: relative; padding: 56px 0 0; }
.sec-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--brand); margin-bottom: 15px; line-height: 20px; text-transform: uppercase;
}
.sec-title {
  font-size: 36px; font-weight: 600; line-height: 40px;
  letter-spacing: 0.06em; color: var(--white);
}
.sec-title.grad {
  background: linear-gradient(180deg, #fff 20%, #B8D0FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-desc { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Problem */
.problem { height: 720px; overflow: hidden; background: var(--bg); }
.problem::before { content: ""; position: absolute; left: 0; right: 0; top: 133px; height: 810px; background: url("assets/figma/images/problem-glow.png") center top / 100% 810px no-repeat; pointer-events: none; }
.problem .container { position: relative; }
.problem .sec-head { margin-bottom: 72px; }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 44px 110px; max-width: 1240px; margin-inline: auto;
}
.pain-item { text-align: center; }
.pain-item.reveal:nth-child(3n + 2) { transition-delay: .07s; }
.pain-item.reveal:nth-child(3n + 3) { transition-delay: .14s; }
.pain-icon { width: 64px; height: 64px; margin: 0 auto 24px; }
.pain-icon img { width: 64px; height: 64px; }
.pain-item h3 {
  font-size: 20px; font-weight: 600; color: var(--white);
  margin-bottom: 12px; line-height: 28px; letter-spacing: 0.04em;
}
.pain-item p {
  font-size: 12px; color: var(--muted); line-height: 1.8;
  max-width: 340px; margin-inline: auto;
}

/* Services — 上滑卡片, all gradient blue, increasing size */
.services { height: 720px; background: var(--bg); }
.services .sec-head { margin-bottom: 84px; }
.svc-stack {
  position: relative;
  width: min(100%, 1100px);
  height: 440px;
  margin-inline: auto;
  isolation: isolate;
  perspective: 1400px;
  touch-action: pan-y;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
.svc-stack:focus-visible { outline: 2px solid var(--brand); outline-offset: 8px; border-radius: 24px; }
.svc-stack.is-dragging .svc-card[data-depth="0"] { cursor: grabbing; }
.svc-card {
  position: absolute;
  top: 0; left: 50%;
  width: 100% !important;
  height: 358px !important;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 515px);
  padding: 24px;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #1d7dff, #0059ff);
  opacity: 0; transform: translateX(-50%);
  transform-origin: center top;
  backface-visibility: hidden;
  transition: box-shadow .3s;
  box-shadow: 0 16px 48px rgba(29,125,255,0.25);
  pointer-events: none;
}
.svc-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 51%; background: url("assets/figma/images/service-mark.png") center center / cover no-repeat; opacity: .12; pointer-events: none; }
.svc-card[data-depth="0"] { z-index: 4; opacity: 1; width: 100% !important; top: 0; height: 358px !important; pointer-events: auto; cursor: grab; }
.svc-card[data-depth="1"] { z-index: 3; opacity: .92; width: 94.7% !important; top: 39px; height: 339px !important; }
.svc-card[data-depth="2"] { z-index: 2; opacity: .78; width: 90% !important; top: 77px; height: 322px !important; }
.svc-card[data-depth="3"] { z-index: 1; opacity: .65; width: 85.5% !important; top: 113px; height: 306px !important; }
.svc-card[data-depth]:not([data-depth="0"]) > * { visibility: hidden; }
.svc-card:hover { box-shadow: 0 24px 56px rgba(29,125,255,0.4); }
.svc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; color: #9bb7ea; font-size: 13px; letter-spacing: .16em; }
.svc-controls button { width: 36px; height: 36px; border: 1px solid rgba(110,170,255,.45); border-radius: 50%; background: #091830; color: #d8e8ff; cursor: pointer; }
.svc-controls button:hover, .svc-controls button:focus-visible { background: var(--brand); color: white; }
.svc-body {
  position: relative; z-index: 1;
  padding: 20px 24px; display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
}
.svc-num {
  font-size: 52px; font-weight: 800; line-height: 1;
  letter-spacing: 0.06em; margin-bottom: 10px;
  color: var(--white);
}
.svc-body h3 {
  font-size: 36px; font-weight: 500; margin-bottom: 12px;
  letter-spacing: 0.06em; line-height: 1.3;
}
.svc-body p {
  font-size: 18px; font-weight: 400; line-height: 1.8;
  max-width: 420px; margin-bottom: 20px;
  color: rgba(255,255,255,0.72);
}
.svc-link {
  font-size: 16px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-link::after {
  content: "→"; transition: transform .2s;
}
.svc-card:hover .svc-link::after { transform: translateX(4px); }
.svc-visual {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.svc-visual img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px;
  max-height: none;
}

/* Process */
.process {
  height: 980px; background: var(--bg);
}
.process > .container > .sec-head:first-child { margin-bottom: 84px; }
.process-track {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0; flex-wrap: nowrap;
}
.process-track + .sec-head { margin-top: 138px !important; margin-bottom: 84px; }
.p-step { width: 90px; text-align: center; }
.p-step img { width: 90px; height: 90px; margin: 0 auto 8px; transition: transform .35s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.p-step:hover img { transform: translateY(-5px); filter: drop-shadow(0 8px 13px rgba(29,125,255,.36)); }
.p-step h4 {
  font-size: 20px; font-weight: 600; color: var(--white);
  margin-bottom: 4px; letter-spacing: 0.04em;
}
.p-step span { font-size: 16px; color: var(--muted); }
.p-arrow {
  width: 78px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 69px; position: relative;
  flex: 0 0 78px;
}
.p-arrow::before {
  content: "";
  position: absolute; z-index: 1; left: 0; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #c2efff; box-shadow: 0 0 7px #2ba8ff, 0 0 16px #1d7dff;
  opacity: 0; animation: process-signal 2.4s ease-in-out infinite;
}
.p-arrow img {
  position: relative; width: 78px; height: 18px; opacity: .85;
  animation: process-arrow-glow 2.4s ease-in-out infinite;
  animation-play-state: paused;
}
.process-track.visible .p-arrow img, .process-track.visible .p-arrow::before { animation-play-state: running; }
.p-arrow::before { animation-play-state: paused; }
.p-arrow:nth-child(4) img, .p-arrow:nth-child(4)::before { animation-delay: .28s; }
.p-arrow:nth-child(6) img, .p-arrow:nth-child(6)::before { animation-delay: .56s; }
.p-arrow:nth-child(8) img, .p-arrow:nth-child(8)::before { animation-delay: .84s; }
.p-arrow:nth-child(10) img, .p-arrow:nth-child(10)::before { animation-delay: 1.12s; }
@keyframes process-arrow-glow {
  0%, 100% { opacity: .72; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 1; filter: drop-shadow(0 0 5px rgba(29,125,255,.95)); }
}
@keyframes process-signal {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: .9; }
  78% { opacity: .9; }
  100% { transform: translateX(72px); opacity: 0; }
}

/* Accordion Gallery — ref: React Bits AccordionGallery
   hover trigger · expandRatio .52 · duration .6 · power3.out · parallax .5 · tilt 8 · stagger .06 */
.acc-gallery {
  display: flex; gap: 16px;
  height: 240px;
  max-width: 1240px; margin-inline: auto;
  perspective: 1200px;
}
.acc-item {
  position: relative;
  flex: 0 0 199px;
  min-width: 0;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  transition: flex .6s cubic-bezier(.215,.61,.355,1);
  transform-style: preserve-3d;
}
.acc-item.active {
  flex: 0 0 380px;
  background: linear-gradient(155deg, var(--brand), #0B4DDB);
}
.acc-bg {
  position: absolute; inset: 0;
  background: var(--card);
  transition: opacity .6s cubic-bezier(.215,.61,.355,1);
}
.acc-item.active .acc-bg {
  background: linear-gradient(155deg, var(--brand), #0B4DDB);
}
.acc-illus {
  position: absolute;
  right: 16px; bottom: 12px;
  width: 140px; height: 139px;
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px) scale(.92);
  transition: opacity .5s cubic-bezier(.215,.61,.355,1) .12s,
              transform .5s cubic-bezier(.215,.61,.355,1) .12s;
  pointer-events: none;
  z-index: 1;
}
.acc-item.active .acc-illus {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.acc-content {
  position: absolute; inset: 0;
  padding: 24px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .4s cubic-bezier(.215,.61,.355,1),
              transform .4s cubic-bezier(.215,.61,.355,1);
  z-index: 2;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.acc-item.active .acc-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .08s;
}
.acc-content h3 {
  font-size: 20px; font-weight: 600; line-height: 1.55;
  margin-bottom: 12px;
  max-width: 320px;
}
.acc-content p {
  font-size: 14px; line-height: 1.85;
  opacity: .92; max-width: 320px;
}
.acc-label {
  position: absolute; inset: 0;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: opacity .35s;
  z-index: 2;
}
.acc-item.active .acc-label {
  opacity: 0;
  pointer-events: none;
}
.acc-t {
  font-size: 20px; font-weight: 600; line-height: 1.45;
}
.acc-n {
  font-size: 40px; font-weight: 800;
  letter-spacing: 0.04em;
  align-self: flex-end;
}

/* Coop */
.coop { height: 720px; background: var(--bg); }
.coop .sec-head { margin-bottom: 70px; }
.coop-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 1240px; margin-inline: auto;
}
.coop-card {
  height: 428px; padding: 40px; border-radius: 24px; position: relative;
  background: #151e32;
  border: 1px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  isolation: isolate;
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}
.coop-card.reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease; }
.coop-card.reveal.visible:hover { transform: translateY(-4px); border-color: #64b7ff; animation: coop-border-glow 2.4s ease-in-out infinite; }
@keyframes coop-border-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(29,125,255,.18), 0 12px 38px rgba(15,75,170,.18); }
  50% { box-shadow: 0 0 0 1px rgba(118,206,255,.72), 0 0 26px rgba(29,125,255,.42), 0 18px 42px rgba(15,75,170,.28); }
}
.coop-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #00020d, #0c3060);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.coop-card:hover::before { opacity: 1; }
.coop-card > * { position: relative; z-index: 1; }
.coop-tag {
  display: inline-block; padding: 6px 14px; border-radius: 99px;
  font-size: 12.5px; font-weight: 500; color: #BBD0FF;
  background: linear-gradient(135deg, rgba(29,125,255,0.3), rgba(29,125,255,0.15));
  margin-bottom: 18px;
}
.coop-tag.gold {
  color: #FFC98A;
  background: linear-gradient(135deg, rgba(255,180,80,0.25), rgba(255,180,80,0.1));
}
.coop-card h3 {
  font-size: 30px; font-weight: 600; margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.coop-list li {
  font-size: 14px; color: var(--white); padding: 3px 0;
  display: flex; gap: 10px; align-items: center;
}
.coop-list li::before {
  content: "✓"; width: 16px; height: 20px; border-radius: 0;
  background: none; color: var(--white); font-weight: 600;
  flex-shrink: 0;
}
.coop-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  position: absolute; left: 40px; right: 40px; bottom: 40px; margin-top: 0;
}
.coop-meta > div {
  background: rgba(255,255,255,0.05); border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  height: 84px; padding: 12px 8px; text-align: center;
}
.coop-meta strong {
  display: block; font-size: 22px; line-height: 30px; font-weight: 800; color: var(--white);
}
.coop-meta strong small { font-size: 16px; font-weight: 600; margin-left: 2px; }
.coop-meta span { font-size: 12px; color: var(--white); opacity: .8; }

/* Cases */
.cases {
  height: 760px; overflow: hidden; background: var(--bg);
  --case-grid-frame-min: 1037px;
  --case-grid-canvas-min: 3112px;
}
.cases-grid-frame {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  /* Keep the crop and grid at the same 1:3 scale, with a floor based on the case card. */
  width: min(calc(100% - 32px), max(360px, 61vw, var(--case-grid-frame-min))); height: 309px;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.cases-perspective-grid {
  position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%);
  width: max(183vw, var(--case-grid-canvas-min)); height: 279px; opacity: .75; pointer-events: none;
}
.cases .container { position: relative; z-index: 1; }
.cases .sec-head { margin-bottom: 62px; }
.cases-layout {
  display: grid; grid-template-columns: 460px 494px; justify-content: space-between; gap: 0;
  align-items: start; max-width: 1100px; margin-inline: auto;
}
.cases-list { display: flex; flex-direction: column; height: 434px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; position: relative; overscroll-behavior-y: contain; -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent); }
.cases-list::-webkit-scrollbar { display: none; }
.cases-list button {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 48px; flex: none; position: relative;
  padding: 0 12px; border: 0; background: transparent; text-align: left; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer;
}
.cases-list button::before { content: ""; width: 16px; height: 16px; flex: none; z-index: 1; background: radial-gradient(circle, #315093 2px, transparent 3px); }
.cases-list button::after { content: ""; position: absolute; left: 19.5px; top: 0; bottom: 0; width: 1px; background: #315093; opacity: .8; pointer-events: none; }
.cases-list button:not(.on):hover, .cases-list button:not(.on):focus-visible { color: var(--white); }
.cases-list button:focus-visible { outline: 2px solid #8abaff; outline-offset: -2px; border-radius: 8px; }
.cases-list .on { width: 100%; border-radius: 8px; background: var(--brand); color: white; }
.cases-list .on::before { background: radial-gradient(circle, white 3px, #99beff 4px, #99beff 7px, transparent 8px); }
.cases-list .on::after { opacity: 0; }
.case-card {
  background: var(--white); border-radius: 24px; overflow: hidden;
  color: var(--bg); width: 494px; height: 434px;
}
.case-card > img { width: 100%; height: 168px; object-fit: cover; }
.case-body { height: 266px; padding: 24px 32px 32px; }
.case-tag {
  font-size: 14px; font-weight: 600; color: var(--brand);
  margin-bottom: 8px;
}
.case-body h3 {
  font-size: 20px; font-weight: 600; color: var(--bg);
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.case-body > p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.case-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin-top: 20px;
}
.case-metrics strong {
  display: block; font-family: "Inter", "Arial Black", Arial, sans-serif;
  font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums;
  letter-spacing: -.035em; color: var(--bg);
}
.case-metrics span { font-size: 14px; color: var(--muted); }
.case-metrics span.is-compact { white-space: nowrap; }

/* Trust */
.trust { min-height: 536px; height: auto; padding-bottom: 70px; overflow: hidden; background: var(--bg); }
.trust .sec-head { margin-bottom: 60px; }
.trust-carousel { position: relative; left: 50%; transform: translateX(-50%); width: min(100vw, 1920px); overflow: hidden; height: 238px; padding-block: 10px; touch-action: pan-y; cursor: grab; }
.trust-carousel.is-dragging { cursor: grabbing; }
.trust-carousel::before, .trust-carousel::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: clamp(32px, 7vw, 120px); pointer-events: none; }
.trust-carousel::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.trust-carousel::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.trust-grid {
  display: flex; gap: 24px; width: max-content;
  user-select: none; -webkit-user-select: none;
}
.trust-grid img { -webkit-user-drag: none; }
.trust-item {
  flex: none; width: 278px; height: 218px; overflow: hidden;
  border: 1px solid transparent; border-radius: 24px;
  background:
    linear-gradient(#151E32, #151E32) padding-box,
    linear-gradient(135deg, #e8f3ff 0%, #89b4e8 12%, #375d9d 34%, #2a559a 74%, #80caff 100%) border-box;
  padding: 29px 24px 16px; text-align: center; position: relative;
}
.trust-item::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    url("assets/figma/glows/trust-ellipse-9.svg"),
    url("assets/figma/glows/trust-ellipse-11.svg"),
    url("assets/figma/glows/trust-ellipse-10.svg");
  background-repeat: no-repeat;
  background-position: -238.5px 24px, -150.5px 162.5px, 57px 183px;
  background-size: 810.5px 401.085px, 633.5px 199.452px, 376.5px 111.845px;
}
.trust-item > * { position: relative; z-index: 1; }
.trust-item img {
  width: 66px; height: 66px; margin: 0 auto 16px;
}
.trust-item h4 {
  font-size: 20px; font-weight: 600; margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.trust-item p { font-size: 12px; color: var(--muted); line-height: 20px; }
.trust-arrow { position: absolute; z-index: 2; top: calc(50% - 18px); width: 36px; height: 36px; border: 0; border-radius: 50%; background: #363947; color: #d6e1ff; cursor: pointer; }
.trust-prev { left: 24px; } .trust-next { right: 24px; }
.trust-progress { width: 160px; height: 5px; margin: 40px auto 0; background: #19243b; }
.trust-progress span { display: block; width: 50%; height: 100%; background: var(--brand); transition: transform .25s ease; }

/* Platform */
.platform { height: 755px; background: var(--bg); }
.platform-box {
  display: grid; grid-template-columns: minmax(0, 870px) 288px; gap: 48px;
  height: 482px; padding: 9px 24px 9px 9px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, #1c2740, #00020d);
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.platform-box:hover { border-color: rgba(102,183,255,.65); box-shadow: 0 0 36px rgba(29,125,255,.13); }
.platform-visual { height: 464px; min-height: 0; }
.platform-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
}
.platform-side { padding: 24px 0 24px; display: flex; flex-direction: column; justify-content: flex-start; }
.platform-side h3 {
  font-size: 32px; line-height: 40px; font-weight: 600; margin-bottom: 8px;
}
.platform-url {
  font-size: 20px; font-weight: 600; color: var(--brand);
  margin-bottom: 16px;
}
.platform-side > p {
  font-size: 14px; color: var(--muted); line-height: 1.85;
  margin-bottom: 24px;
}
.platform-stats { display: flex; gap: 40px; margin-bottom: auto; }
.platform-stats strong {
  display: block; font-size: 40px; font-weight: 800; line-height: 1.1;
}
.platform-stats span { font-size: 14px; color: var(--muted); }

/* CTA */
.cta { height: 812px; background: radial-gradient(ellipse 55% 30% at 50% 45%, rgba(29,125,255,.3), transparent 65%), var(--bg); }
.cta-box {
  max-width: 1240px; height: 483px; margin: 0 auto;
  border-radius: 24px; overflow: hidden;
  padding: 56px; position: relative;
  background: linear-gradient(90deg, rgba(0,2,13,.58), rgba(0,2,13,.04)), url("assets/figma/images/cta-globe.png") center center / 100% 100% no-repeat;
  border: 1px solid rgba(255,255,255,0.2);
}
.cta-intro { position: relative; z-index: 1; }
.cta-intro h3 { font-size: 40px; line-height: 57px; font-weight: 600; }
.cta-intro p { color: var(--muted); font-size: 14px; line-height: 24px; margin-top: 18px; }
.form-grid {
  display: grid; grid-template-columns: repeat(2, 280px);
  gap: 24px 12px; margin-top: 24px; position: relative; z-index: 1;
}
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 13px; color: var(--muted); }
.form-field input, .form-field select {
  height: 48px; padding: 0 12px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: var(--white);
  font-size: 14px; outline: none;
}
.form-field input:focus, .form-field select:focus { border-color: var(--brand); }
.form-field input::placeholder { color: var(--muted); }
.form-field select { color: var(--muted); }
.form-field select option { color: #081326; }
.form-submit { grid-column: 1 / -1; display: flex; justify-content: flex-start; margin-top: 0; }
.form-submit .btn-grad { min-width: 128px; }
.form-note { margin-top: 16px; text-align: center; color: #adb9d2; font-size: 12px; }
.form-note a { color: #79b4ff; text-decoration: underline; text-underline-offset: 3px; }
.form-error { min-height: 1.6em; margin-top: 8px; text-align: left; color: #bed8ff; font-size: 13px; position: relative; z-index: 1; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: rgba(29,125,255,0.2);
  display: grid; place-items: center; font-size: 24px; color: var(--brand);
}

/* Stats */
.stats-bar {
  position: relative; overflow: hidden;
  height: 343px;
  background-image: linear-gradient(rgba(29,125,255,.3), rgba(29,125,255,.3)), url("assets/figma/images/stats-bg.png");
  /* The source artwork includes white margins above and below its blue strip. */
  background-size: 100% 100%, max(100%, 2050px) auto; background-position: center, center; background-repeat: no-repeat;
  padding: 76px 0 0; text-align: center;
}
.stats-bar::before, .stats-bar::after {
  content: ""; position: absolute; z-index: 0; bottom: -84px;
  left: calc(50% - 600px); width: min(38vw, 620px); height: 200px;
  background: radial-gradient(ellipse at 50% 50%, rgba(226,249,255,.72) 0%, rgba(139,221,255,.35) 24%, rgba(83,180,255,.13) 51%, transparent 73%);
  mix-blend-mode: screen; filter: blur(7px); pointer-events: none;
  transform-origin: 50% 90%;
  animation: stats-arrow-diffuse 5.8s ease-out infinite;
  will-change: transform, opacity;
}
.stats-bar::after { left: calc(50% + 600px); animation-delay: 1.1s; }
.stats-bar > * { position: relative; z-index: 1; }
@keyframes stats-arrow-diffuse {
  0% { opacity: 0; transform: translateX(-50%) scale(.38, .45); }
  18% { opacity: .72; }
  65% { opacity: .36; }
  100% { opacity: 0; transform: translateX(-50%) scale(1.55, 1.18); }
}
.stats-title {
  font-size: 36px; font-weight: 600; color: var(--white); line-height: 40px;
  letter-spacing: 0.08em; margin-bottom: 56px;
  padding-inline: 24px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.stat strong {
  display: block; font-size: 48px; font-weight: 800;
  color: var(--white); line-height: 1.15;
}
.stat strong small { font-size: 24px; font-weight: 600; }
.stat-plus { color: var(--brand); }
.stat span { font-size: 14px; color: rgba(255,255,255,0.85); }

/* Footer */
.footer {
  height: 378px; position: relative; background: var(--bg); padding: 122px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 633px 368px 175px; gap: 32px;
  margin-bottom: 0;
}
.footer-brand p {
  margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.85;
}
.footer h4 {
  font-size: 14px; font-weight: 600; margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.f-line { font-size: 14px; color: var(--muted); margin-bottom: 10px; line-height: 1.7; }
.footer-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; min-height: 50px;
  padding-top: 13px; border-top: 1px solid var(--line);
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1200px) {
  .section { height: auto; min-height: 0; padding: 72px 0; }
  .platform-box { height: auto; grid-template-columns: minmax(0, 1fr) 288px; gap: 24px; }
  .stats-bar, .footer { height: auto; min-height: 0; }
  .stats-bar { background-size: 100% 100%, auto 210%; }
  .footer { padding: 72px 0 80px; }
  .footer-grid { grid-template-columns: 1.4fr 1.4fr 1fr; gap: 24px; }
  .footer-bottom { padding-inline: 24px; }
  .process-track { flex-wrap: wrap; }
  .coop-card { height: auto; min-height: 428px; padding-bottom: 145px; }
  .coop-meta { bottom: 30px; left: 24px; right: 24px; }
  .acc-item { flex: 1 1 0; }
  .acc-item.active { flex: 3 1 0; }
  .section.cases { overflow: hidden; padding-bottom: 112px; }
  .cases-layout { grid-template-columns: minmax(0, 460px) minmax(0, 494px); gap: 24px; }
  .case-card { width: 100%; }
  .trust { padding-bottom: 72px; }
}
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cases { height: auto; min-height: 760px; }
  .cases-layout { grid-template-columns: 1fr; }
  .case-card { max-width: 494px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    margin-left: 0; background: #071326; padding: 20px 24px;
    border-bottom: 1px solid rgba(140,180,240,.45);
  }
  .nav.open .nav-links a { width: 100%; height: auto; justify-content: flex-start; }
  .hero { height: auto; min-height: 720px; }
  .hero-content { position: relative; left: auto; top: auto; transform: none; width: 100%; padding: calc(var(--nav-h) + 40px) 20px 80px; }
  .hero-bg { width: 100%; height: 100%; }
  .hero-arcs { top: 250px; width: 780px; height: auto; aspect-ratio: 1240 / 423; }
  .hero-title { font-size: 42px; letter-spacing: 0.04em; }
  .hero-float { display: none; }
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-stack { height: 535px; }
  .svc-card[data-depth="0"] { height: 455px !important; }
  .svc-card[data-depth="1"] { top: 12px; height: 455px !important; }
  .svc-card[data-depth="2"] { top: 24px; height: 455px !important; }
  .svc-card[data-depth="3"] { top: 36px; height: 455px !important; }
  .svc-card { padding: 16px; }
  .svc-visual { min-height: 200px; padding: 16px !important; order: -1; }
  .svc-visual img { max-height: 210px; }
  .svc-body { padding: 28px 24px; }
  .svc-num { font-size: 36px; }
  .svc-body h3 { font-size: 22px; }
  .svc-body p { font-size: 14px; }
  .process-track { flex-wrap: wrap; gap: 16px; }
  .p-arrow { display: none; }
  .acc-gallery { flex-direction: column; height: auto; }
  .acc-item { flex: none; height: 80px; width: 100%; }
  .acc-item.active { flex: none; height: 238px; }
  .acc-content { padding: 22px; }
  .acc-content h3, .acc-content p { max-width: 65%; }
  .acc-illus { width: 115px; right: 10px; }
  .acc-label { padding: 20px; flex-direction: row; align-items: center; }
  .acc-n { font-size: 30px; }
  .coop-grid { grid-template-columns: 1fr; }
  .coop-card { padding: 30px 24px; }
  .cases-list { height: 240px; }
  .cases-layout { gap: 24px; }
  .case-card { max-width: 494px; margin-inline: auto; }
  .case-card, .case-body { height: auto; }
.trust-grid { display: flex; gap: 16px; transform: translateX(16px); }
  .trust-item { width: min(278px, calc(100vw - 32px)); }
  .trust-prev { left: 8px; } .trust-next { right: 8px; }
  .platform-box { padding: 9px; gap: 0; }
  .platform-visual { height: auto; }
  .platform-side { padding: 28px 24px 32px; }
  .cta-box { height: auto; min-height: 0; padding: 32px 22px; background-size: cover; background-position: 65% center; }
  .cta-box::before { content: ""; position: absolute; inset: 0; background: rgba(0,2,13,.57); pointer-events: none; }
  .cta-intro h3 { font-size: 28px; line-height: 1.35; }
  .cta-intro p { margin-top: 12px; }
  .form-grid { grid-template-columns: 1fr; max-width: 380px; gap: 12px; }
  .form-submit { margin-top: 4px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-title { font-size: 22px; }
  .stat strong { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-carousel { height: 238px; }
  .platform-visual { min-height: 0; aspect-ratio: 2.1; }
  .platform-side { padding: 28px 24px 32px; }
  .platform-stats strong { font-size: 32px; }
  .section { padding: 72px 0; }
  .cta-box { padding: 36px 22px; }
}
@media (max-width: 440px) {
  .container, .nav-inner { width: min(100% - 32px, var(--max)); }
  .hero-title { font-size: 39px; }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions a { font-size: 14px; padding-inline: 17px; }
  .pain-grid { gap: 30px 16px; }
  .pain-item h3 { font-size: 16px; }
  .acc-content h3 { font-size: 16px; }
  .acc-content p { font-size: 12px; }
  .acc-illus { width: 90px; }
  .coop-meta { grid-template-columns: 1fr 1fr 1fr; }
  .coop-meta strong { font-size: 18px; }
  .case-metrics strong { font-size: clamp(12px, 4vw, 17px); }
  .trust-grid { gap: 10px; }
  .trust-item { padding: 20px 15px; }
}
@media (max-width: 360px) {
  .case-metrics span.is-compact { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card { transform: translateX(-50%); transition: none; }
  .p-arrow img, .p-arrow::before, .hero-arcs img, .hero-bg::after, .stats-bar::before, .stats-bar::after, .coop-card:hover { animation: none; }
  .hero-bg::after, .stats-bar::before, .stats-bar::after { display: none; }
  .hero-bg { transform: none; }
  .hero-arcs { transform: translateX(-50%); }
  .coop-card::before { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
