/* =====================================================================
   NTJN — Home page design system (Gate C)
   Loaded AFTER /css/style.css only on the home page (kind=="home").
   - Scoped under .hp-home to avoid collisions with style.css.
   - Reuses the Poppins / Avenir Next font stack defined globally.
   - No external fonts / CDN. Pure static, GPU-friendly transforms only.
   - Honors prefers-reduced-motion. Tokens are local (--hp-*) so global
     style.css variables are untouched.
   ===================================================================== */

/* ---------- Tokens ---------- */
body:has(.hp-home) {
  --hp-ink: #0A1A2F;
  --hp-ink-2: #0F1726;
  --hp-ink-3: #06101F;
  --hp-blue: #0078DC;
  --hp-blue-2: #0066BD;
  --hp-blue-3: #004A8F;
  --hp-cyan: #5EC8FF;
  --hp-cyan-2: #9BD2FF;
  --hp-line: #E4ECF5;
  --hp-line-2: #D6E1EE;
  --hp-bg: #FFFFFF;
  --hp-bg-soft: #F4F8FD;
  --hp-bg-mist: #EDF3FA;
  --hp-text: #15243A;
  --hp-muted: #5A6A7E;
  --hp-radius: 14px;
  --hp-radius-lg: 22px;
  --hp-shadow-sm: 0 2px 12px rgba(8,22,46,.06);
  --hp-shadow-md: 0 14px 34px rgba(8,22,46,.10);
  --hp-shadow-lg: 0 28px 60px rgba(8,22,46,.18);
  --hp-maxw: 1200px;
  --hp-scrim: rgba(6,16,31,.42);
  color: var(--hp-text);
}

/* ---------- Brand logo (mark only over dark hero, lockup when scrolled) ---------- */
body:has(.hp-home) .brand { display: inline-flex; align-items: center; }
/* Single canonical logo (transparent bg → works on both dark hero & white scrolled nav)
   Source PNG: 客户资料包/.../1-logo，需提供源文件/. Visual style preserved 100%, only format/size adapted. */
body:has(.hp-home) .brand__logo { display: block; width: auto; height: 34px; }
body:has(.hp-home) .site-header.scrolled .brand__logo { height: 30px; }

/* ---------- Transparent → solid header (home only) ---------- */
body:has(.hp-home) .site-header {
  /* transparent over hero; top-down scrim guarantees white nav text contrast
     over ANY background (light body band or bright hero top) */
  background: linear-gradient(180deg, var(--hp-scrim) 0%, rgba(6,16,31,.16) 55%, rgba(6,16,31,0) 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
/* Pull the dark hero up under the sticky transparent header so the nav truly
   overlays the hero image (cinematic transparent-nav behaviour). */
body:has(.hp-home) .hp-hero { margin-top: -66px; padding-top: 66px; }
body:has(.hp-home) .site-header .brand__name,
body:has(.hp-home) .site-header .nav__list a { color: #fff; }
body:has(.hp-home) .site-header .nav__list a:hover,
body:has(.hp-home) .site-header .nav__list a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
}
body:has(.hp-home) .site-header .nav-toggle span { background: #fff; }
body:has(.hp-home) .site-header .btn--primary {
  background: #fff;
  color: var(--hp-blue);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
body:has(.hp-home) .site-header .btn--primary:hover { background: var(--hp-cyan-2); color: var(--hp-blue-3); }
body:has(.hp-home) .site-header .btn--primary::after { color: var(--hp-blue); }

body:has(.hp-home) .site-header.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--hp-line);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 4px 18px rgba(8,22,46,.08);
}
body:has(.hp-home) .site-header.scrolled .brand__name,
body:has(.hp-home) .site-header.scrolled .nav__list a { color: var(--hp-text); }
body:has(.hp-home) .site-header.scrolled .nav__list a:hover,
body:has(.hp-home) .site-header.scrolled .nav__list a.active {
  background: var(--hp-bg-soft);
  color: var(--hp-blue);
}
body:has(.hp-home) .site-header.scrolled .nav-toggle span { background: var(--hp-ink); }
body:has(.hp-home) .site-header.scrolled .btn--primary {
  background: var(--hp-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,120,220,.28);
}
body:has(.hp-home) .site-header.scrolled .btn--primary::after { color: #fff; }

/* ---------- Container override (wider) ---------- */
.hp-home .container { max-width: var(--hp-maxw); }

.hp-title--section { font-size: clamp(30px, 3.6vw, 42px); }

/* Skip link (WCAG 2.4.1 — keyboard users bypass the 9-item nav) */
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: #0078DC; color: #fff; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* Clear the sticky header when jumping to in-page anchors */
.hp-home section[id] { scroll-margin-top: 84px; }

/* ---------- Buttons (home variants) ---------- */
.hp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  letter-spacing: .01em; border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
}
.hp-btn::after { content: "\2192"; font-weight: 700; transition: transform .18s ease; }
.hp-btn:hover { text-decoration: none; }
.hp-btn:hover::after { transform: translateX(4px); }
.hp-btn--primary { background: #fff; color: var(--hp-blue); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.hp-btn--primary:hover { background: var(--hp-cyan-2); color: var(--hp-blue-3); transform: translateY(-1px); }
.hp-btn--primary::after { color: var(--hp-blue); }
.hp-btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.hp-btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hp-btn--lg { padding: 18px 34px; font-size: 16px; }
.hp-btn--solid { background: var(--hp-blue); color: #fff; box-shadow: 0 12px 28px rgba(0,120,220,.30); }
.hp-btn--solid:hover { background: var(--hp-blue-2); color: #fff; transform: translateY(-1px); }
.hp-btn--solid::after { color: #fff; }

/* ---------- Section heads ---------- */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 2.2px;
  font-size: 12.5px; font-weight: 700; color: var(--hp-blue-3);
  margin: 0 0 14px;
}
.hp-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--hp-blue-3); display: inline-block; }
.hp-eyebrow--light { color: var(--hp-cyan-2); }
.hp-eyebrow--light::before { background: var(--hp-cyan-2); }

.hp-title {
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 700; letter-spacing: -0.01em; line-height: 1.04;
  color: var(--hp-ink); margin: 0 0 18px;
  text-wrap: balance;
}
.hp-title em { font-style: normal; color: var(--hp-blue); }
.hp-lead {
  font-size: clamp(15.5px, 1.25vw, 18px);
  color: var(--hp-muted); line-height: 1.7; max-width: 720px; margin: 0;
}
.hp-sec-head { max-width: 780px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.hp-sec-head .hp-lead { margin: 0 auto; }
.hp-sec-head--left { text-align: left; margin-left: 0; }

/* =================================================================
   HERO — cinematic dark with split content + spec strip
   ================================================================= */
.hp-hero {
  position: relative; isolation: isolate;
  min-height: clamp(640px, 92vh, 880px);
  display: flex; align-items: center;
  padding: clamp(130px, 16vw, 180px) 0 clamp(80px, 10vw, 120px);
  color: #fff; overflow: hidden;
  background: var(--hp-ink-3);
}
.hp-hero__media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hp-hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: hpKenburns 22s ease-out both;
  transform-origin: 55% 50%;
}
.hp-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(115deg, rgba(6,16,31,.92) 0%, rgba(6,16,31,.78) 38%, rgba(6,16,31,.52) 68%, rgba(0,120,220,.18) 100%),
    radial-gradient(900px 480px at 88% 18%, rgba(94,200,255,.22), transparent 65%),
    radial-gradient(700px 380px at 10% 90%, rgba(0,120,220,.18), transparent 60%);
}
.hp-hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
}
.hp-hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px); align-items: center;
}
.hp-hero__content .hp-eyebrow { color: var(--hp-cyan-2); }
.hp-hero__content .hp-eyebrow::before { background: var(--hp-cyan-2); }
.hp-hero__content .hp-title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hp-hero__content .hp-lead { color: rgba(255,255,255,.86); font-size: clamp(16px, 1.3vw, 19px); max-width: 640px; }
.hp-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hp-hero__note {
  margin-top: 22px;
  font-size: 12.5px; letter-spacing: .015em; line-height: 1.55;
  color: rgba(255,255,255,.68);
  max-width: 580px;
}

/* Spec strip (right column) */
.hp-spec {
  position: relative; padding: 26px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--hp-radius-lg);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hp-spec::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  background: linear-gradient(180deg, var(--hp-cyan), var(--hp-blue));
  border-radius: 0 3px 3px 0;
}
.hp-spec__label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--hp-cyan-2); font-weight: 700; margin: 0 0 8px;
}
.hp-spec__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.10);
  gap: 16px;
}
.hp-spec__row:first-of-type { border-top: 0; }
.hp-spec__row dt { color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 500; margin: 0; }
.hp-spec__row dd { color: #fff; font-size: 14.5px; font-weight: 600; margin: 0; text-align: right; }
.hp-spec__play {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  color: #fff; font-size: 13.5px; font-weight: 600;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.hp-spec__play .hp-play-mini {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--hp-blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s ease;
}
.hp-spec__play:hover .hp-play-mini { transform: scale(1.08); }

/* Vertical editorial side label */
.hp-hero__side {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center; z-index: 2;
  font-size: 11.5px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600; white-space: nowrap;
}

/* Scroll cue */
.hp-hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hp-hero__scroll::after {
  content: ""; width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,.8), transparent);
  animation: hpScroll 1.8s ease-in-out infinite;
}

/* Hero entrance */
.hp-hero__content .hp-eyebrow { animation: hpFadeUp .7s .05s both; }
.hp-hero__content .hp-title    { animation: hpFadeUp .7s .15s both; }
.hp-hero__content .hp-lead     { animation: hpFadeUp .7s .25s both; }
.hp-hero__content .hp-hero__cta { animation: hpFadeUp .7s .35s both; }
.hp-hero__spec  { animation: hpFadeUp .7s .45s both; }
@keyframes hpFadeUp { from { opacity:0; transform: translateY(22px);} to {opacity:1; transform:none;} }
@keyframes hpKenburns { from { transform: scale(1.06);} to { transform: scale(1.16);} }
@keyframes hpScroll { 0%,100% { transform: scaleY(.6); opacity:.4; } 50% { transform: scaleY(1); opacity:1; } }

/* =================================================================
   TRUST BAND — 4 qualitative pillars (replaces unverified stats)
   ================================================================= */
.hp-trust {
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-line);
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
}
.hp-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.hp-pillar {
  padding: 8px 28px; position: relative;
  display: flex; gap: 18px; align-items: flex-start;
}
.hp-pillar + .hp-pillar::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
  background: var(--hp-line-2);
}
.hp-pillar__icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--hp-bg-mist); color: var(--hp-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.hp-pillar__icon svg { width: 24px; height: 24px; }
.hp-pillar__body h3 {
  margin: 2px 0 6px; font-size: 16px; font-weight: 700; color: var(--hp-ink); letter-spacing: -.01em;
}
.hp-pillar__body p { margin: 0; font-size: 14px; color: var(--hp-muted); line-height: 1.6; }

/* =================================================================
   PRODUCT HUBS — Featured (1) + 2x2 grid (4)
   ================================================================= */
.hp-hubs { padding: clamp(80px, 10vw, 130px) 0; background: var(--hp-bg-soft); }
.hp-hubs__layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px; align-items: stretch;
}
.hp-hub {
  position: relative; display: block; overflow: hidden; border-radius: var(--hp-radius-lg);
  background: #fff; box-shadow: var(--hp-shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; color: inherit;
}
.hp-hub:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); text-decoration: none; }
.hp-hub__img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; transition: transform .5s ease; }
.hp-hub:hover .hp-hub__img { transform: scale(1.06); }

.hp-hub--feat {
  grid-row: span 2; min-height: 540px;
}
.hp-hub--feat .hp-hub__img { position: absolute; inset: 0; height: 100%; min-height: 0; }
.hp-hub--feat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,16,31,.0) 30%, rgba(6,16,31,.78) 100%);
}
.hp-hub--feat__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 34px 32px; z-index: 2; color: #fff;
}
.hp-hub--feat__no {
  display: inline-block; font-size: 11.5px; letter-spacing: 3px; font-weight: 700;
  color: var(--hp-cyan-2); margin-bottom: 14px;
}
.hp-hub--feat__body h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.hp-hub--feat__body p { margin: 0 0 22px; font-size: 14.5px; color: rgba(255,255,255,.86); line-height: 1.65; max-width: 460px; }
.hp-hub--feat__cta { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px; }
.hp-hub--feat__cta::after { content: "\2192"; transition: transform .18s ease; }
.hp-hub--feat:hover .hp-hub__cta::after { transform: translateX(6px); }

.hp-hubs__sub { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 26px; }
.hp-hub--sm { display: flex; flex-direction: column; }
.hp-hub--sm .hp-hub__img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
.hp-hub__body { padding: 22px 24px 24px; }
.hp-hub__no { display: inline-block; font-size: 11px; letter-spacing: 2.4px; font-weight: 700; color: var(--hp-blue); margin-bottom: 8px; }
.hp-hub__body h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--hp-ink); letter-spacing: -.01em; }
.hp-hub__body p { margin: 0 0 14px; font-size: 14px; color: var(--hp-muted); line-height: 1.6; }
.hp-hub__more { font-size: 13px; color: var(--hp-blue); font-weight: 600; }
.hp-hub__more::after { content: " \2192"; transition: transform .18s ease; display: inline-block; }
.hp-hub:hover .hp-hub__more::after { transform: translateX(4px); }

/* =================================================================
   APPLICATIONS — 9 numbered cards
   ================================================================= */
.hp-apps { padding: clamp(80px, 10vw, 130px) 0; background: var(--hp-bg); }
.hp-apps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.hp-app {
  position: relative; overflow: hidden; border-radius: var(--hp-radius);
  aspect-ratio: 4 / 3; box-shadow: var(--hp-shadow-sm);
  display: block; color: #fff; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-app:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-md); text-decoration: none; }
.hp-app__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.hp-app:hover .hp-app__img { transform: scale(1.06); }
.hp-app::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(6,16,31,.10) 0%, rgba(6,16,31,.55) 55%, rgba(6,16,31,.88) 100%);
  transition: opacity .25s ease;
}
.hp-app:hover::after { background: linear-gradient(160deg, rgba(6,16,31,.0) 0%, rgba(6,16,31,.45) 60%, rgba(6,16,31,.82) 100%); }
.hp-app__no {
  position: absolute; top: 16px; left: 20px; z-index: 2;
  font-size: clamp(34px, 3.2vw, 46px); font-weight: 800; color: rgba(255,255,255,.55);
  letter-spacing: -.02em; line-height: 1;
}
.hp-app__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hp-app__body h3 { margin: 0; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.hp-app__arrow {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.30);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}
.hp-app:hover .hp-app__arrow { opacity: 1; transform: translateX(0); background: var(--hp-blue); border-color: var(--hp-blue); }

/* =================================================================
   SERVICES — 4-step horizontal process
   ================================================================= */
.hp-services { padding: clamp(80px, 10vw, 130px) 0; background: var(--hp-bg-soft); }
.hp-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.hp-step {
  position: relative; padding: 30px 26px 30px 30px;
}
.hp-step + .hp-step::before {
  content: ""; position: absolute; left: 0; top: 40px; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hp-line-2) 50%, transparent);
}
.hp-step__no {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 3px;
  color: var(--hp-blue); margin-bottom: 18px;
}
.hp-step__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: #fff; color: var(--hp-blue);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(8,22,46,.08);
  margin-bottom: 20px;
}
.hp-step__icon svg { width: 26px; height: 26px; }
.hp-step h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--hp-ink); letter-spacing: -.01em; }
.hp-step p { margin: 0; font-size: 14px; color: var(--hp-muted); line-height: 1.65; }

/* =================================================================
   3D DIGITAL SHOWROOM — full-bleed poster + lazy click-to-load iframe
   The 3D widget (leadsmee) is injected only on click, so first paint
   stays 100% self-hosted (red-line friendly + Core Web Vitals safe).
   ================================================================= */
.hp-showroom {
  position: relative; isolation: isolate;
  padding: clamp(100px, 12vw, 150px) 0; color: #fff; text-align: center;
  overflow: hidden; background: var(--hp-ink-3);
}
.hp-showroom__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .42; filter: saturate(.9) contrast(1.05);
  transition: opacity .4s ease;
}
.hp-showroom__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,16,31,.72) 0%, rgba(6,16,31,.86) 100%),
    radial-gradient(800px 400px at 50% 30%, rgba(0,120,220,.22), transparent 70%);
  transition: background .4s ease;
}
.hp-showroom__inner { position: relative; z-index: 2; }
.hp-showroom__inner .hp-title { color: #fff; max-width: 820px; margin: 0 auto 18px; }
.hp-showroom__inner .hp-lead { color: rgba(255,255,255,.84); margin: 0 auto 38px; }
.hp-showroom__fallback { margin: 22px 0 0; font-size: 14px; color: rgba(255,255,255,.72); }
.hp-showroom__fallback a { color: var(--hp-cyan-2); text-decoration: underline; text-underline-offset: 3px; }
.hp-showroom__frame { display: none; margin: 36px auto 0; max-width: 1100px; }
.hp-showroom__frame iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 440px;
  border: 0; border-radius: var(--hp-radius-lg); background: #0A1A2F;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.hp-showroom__launch-wrap { margin: 0 auto 18px; }
.hp-showroom__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  transition: background .18s ease;
}
.hp-showroom__close:hover { background: rgba(255,255,255,.28); }
.hp-showroom.is-open .hp-showroom__launch-wrap,
.hp-showroom.is-open .hp-showroom__fallback { display: none; }
.hp-showroom.is-open .hp-showroom__frame { display: block; }
.hp-showroom.is-open .hp-showroom__close { display: inline-flex; }
.hp-showroom.is-open .hp-showroom__bg { opacity: .12; }
.hp-showroom.is-open .hp-showroom__overlay { background: rgba(6,16,31,.94); }

.hp-play {
  position: relative; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; color: var(--hp-blue); border: 0; cursor: pointer;
  display: inline-flex;  align-items: center; justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease;
  margin: 0 auto 18px;
}
.hp-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  animation: hpPulse 2.4s ease-out infinite;
}
.hp-play:hover { transform: scale(1.06); background: var(--hp-cyan-2); }
.hp-play svg { width: 32px; height: 32px; margin-left: 4px; }
.hp-play__label { display: block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.78); font-weight: 600; }
@keyframes hpPulse { 0% { transform: scale(1); opacity:.7; } 100% { transform: scale(1.45); opacity:0; } }

/* ---------- Representative imagery banner (Why / Markets) ---------- */
.hp-band-media {
  margin: 0 0 clamp(36px, 4vw, 52px);
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 21 / 7;
  box-shadow: var(--hp-shadow-md);
  background: var(--hp-bg-soft);
}
.hp-band-media picture { display: block; width: 100%; height: 100%; }
.hp-band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-band-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 26px 16px;
  background: linear-gradient(180deg, rgba(6,16,31,0) 0%, rgba(6,16,31,.72) 100%);
  color: rgba(255,255,255,.92);
  font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  margin: 0;
}
@media (max-width: 960px){
  .hp-band-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px){
  .hp-band-media { aspect-ratio: 4 / 3; }
}

/* =================================================================
   WHY CHOOSE — 2x2 with icons + evidence bar
   ================================================================= */
.hp-why { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--hp-bg); }
.hp-why::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('/assets/img/warehouse.webp');
  background-size: cover; background-position: center; opacity: .05;
}
.hp-why .container { position: relative; z-index: 1; }
.hp-why__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  margin-bottom: 36px;
}
.hp-why-card {
  display: flex; gap: 18px; padding: 26px 26px;
  background: #fff; border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hp-why-card:hover { transform: translateY(-3px); box-shadow: var(--hp-shadow-md); border-color: var(--hp-line-2); }
.hp-why-card__icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px;
  background: var(--hp-bg-mist); color: var(--hp-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.hp-why-card__icon svg { width: 22px; height: 22px; }
.hp-why-card h3 { margin: 2px 0 6px; font-size: 16px; font-weight: 700; color: var(--hp-ink); }
.hp-why-card p { margin: 0; font-size: 14.5px; color: var(--hp-muted); line-height: 1.65; }

.hp-evidence {
  display: flex; gap: 18px; padding: 20px 24px;
  background: linear-gradient(90deg, rgba(31,157,85,.06), rgba(31,157,85,.02));
  border: 1px solid rgba(31,157,85,.22);
  border-left: 4px solid #1f9d55;
  border-radius: 12px;
}
.hp-evidence__icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: #1f9d55; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.hp-evidence p { margin: 0; font-size: 14px; color: var(--hp-text); line-height: 1.65; }
.hp-evidence strong { color: #1f9d55; }

/* =================================================================
   MARKETS — 3 region cards
   ================================================================= */
.hp-markets { padding: clamp(80px, 10vw, 130px) 0; background: var(--hp-bg-soft); }
.hp-markets__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.hp-market {
  background: #fff; border-radius: var(--hp-radius-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
  border: 1px solid var(--hp-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hp-market:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-md); }
.hp-market::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--hp-blue), var(--hp-cyan));
}
.hp-market__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hp-market__pin {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--hp-bg-mist); color: var(--hp-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.hp-market__pin svg { width: 18px; height: 18px; }
.hp-market h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--hp-ink); letter-spacing: -.01em; }
.hp-market p { margin: 0; font-size: 14.5px; color: var(--hp-muted); line-height: 1.7; }

/* =================================================================
   CTA — large gradient band
   ================================================================= */
.hp-cta { position: relative; padding: clamp(70px, 8vw, 100px) 0; overflow: hidden; background: var(--hp-ink-2); color: #fff; }
.hp-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 88% 50%, rgba(94,200,255,.20), transparent 65%),
    linear-gradient(115deg, var(--hp-blue-3) 0%, var(--hp-blue) 55%, var(--hp-blue-2) 100%);
}
.hp-cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,.06);
  pointer-events: none;
}
.hp-cta__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.hp-cta__text { max-width: 640px; }
.hp-cta__text h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.hp-cta__text p { margin: 0; font-size: 16px; color: rgba(255,255,255,.88); line-height: 1.65; }

/* =================================================================
   CTA → footer transition (homepage only)
   The CTA band (dark navy with a brand-blue gradient) is the last
   block before the global .site-footer (also dark navy). The footer's
   default margin-top:40px would otherwise show a 40px white light-stripe
   between the two dark bands — an accidental hard seam. On the homepage
   we merge them into one continuous dark zone and replace the stripe
   with a soft brand-blue fade that lets the CTA's blue "drain" into
   the navy footer. The boundary now reads as intentional and
   coordinated, with consistent dark-zone whitespace instead of an
   abrupt white gap. (Non-home pages keep the global white-gap so the
   footer still breathes after light content blocks.)
   ================================================================= */
body:has(.hp-home) .site-footer {
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
body:has(.hp-home) .site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(0,102,189,.20) 0%, rgba(15,23,38,0) 100%);
  pointer-events: none;
}

/* =================================================================
   Scroll reveal (mirrors .reveal behaviour, hp- scoped)
   ================================================================= */
.hp-home .hp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.hp-home .hp-reveal.is-visible { opacity: 1; transform: none; }
.hp-home .hp-reveal[data-delay="1"].is-visible { transition-delay: .05s; }
.hp-home .hp-reveal[data-delay="2"].is-visible { transition-delay: .12s; }
.hp-home .hp-reveal[data-delay="3"].is-visible { transition-delay: .18s; }
.hp-home .hp-reveal[data-delay="4"].is-visible { transition-delay: .24s; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1080px) {
  .hp-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-pillar:nth-child(2)::before { display: none; }
  .hp-pillar:nth-child(odd) { border-right: 1px solid var(--hp-line-2); }
  .hp-pillar { padding: 22px 22px; }
  .hp-pillar:nth-child(1), .hp-pillar:nth-child(2) { border-bottom: 1px solid var(--hp-line-2); }
}
@media (max-width: 960px) {
  .hp-hero { min-height: auto; padding: 130px 0 80px; }
  .hp-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hp-hero__side { display: none; }
  .hp-hubs__layout { grid-template-columns: 1fr; }
  .hp-hub--feat { grid-row: auto; min-height: 420px; }
  .hp-hubs__sub { grid-template-columns: repeat(2, 1fr); }
  .hp-apps__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-steps { grid-template-columns: repeat(2, 1fr); }
  .hp-step + .hp-step::before { display: none; }
  .hp-why__grid { grid-template-columns: 1fr; }
  .hp-markets__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hp-trust__grid { grid-template-columns: 1fr; }
  .hp-pillar { border-right: 0 !important; border-bottom: 1px solid var(--hp-line-2); }
  .hp-pillar:last-child { border-bottom: 0; }
  .hp-hubs__sub { grid-template-columns: 1fr; }
  .hp-apps__grid { grid-template-columns: 1fr; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-cta__inner { flex-direction: column; align-items: flex-start; }
  .hp-spec { padding: 20px 22px; }
  .hp-hero__scroll { display: none; }
}

/* =================================================================
   Reduced motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .hp-hero__bg { animation: none !important; }
  .hp-hero__content .hp-eyebrow, .hp-hero__content .hp-title,
  .hp-hero__content .hp-lead, .hp-hero__content .hp-hero__cta,
  .hp-hero__spec { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hp-play::before, .hp-hero__scroll::after { animation: none !important; }
  .hp-home .hp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hp-btn::after, .hp-hub, .hp-hub__img, .hp-app, .hp-app__img, .hp-app__arrow,
  .hp-why-card, .hp-market, .hp-play { transition: none !important; }
}
