:root {
  --ink: #1c1a16;
  --muted: #8a8478;
  --orange: #e07020;
  --border: #e8e1d2;
  --bg: #faf7f0;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #fff;
  font-family: "Montserrat", -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
}

.zh-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 28px 64px;
  background: 
      linear-gradient(rgba(28, 26, 22, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 22, .04) 1px, transparent 1px),
    var(--bg); 
    z-index: 222;
  background-size: 44px 44px;
}

.zh-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.zh-eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zh-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.zh-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.01em;
}

.zh-hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.zh-hero-lead {
  margin: 22px 0 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* a scattered set of small glass "lenses" — same liquid-glass distortion as
   the navbar's .zbs-glass strip (header-static.css/.render.js), reused via
   the #zbs-glass-distort SVG filter that component already injects once
   into the page. Plain absolute overlays (no shape-outside/float — they're
   small enough and glassy enough to sit over text without hurting
   readability), each independently drifting via transform
   (assets/js/hero-text-hole.js). */
.zh-lens {
  position: absolute;
  border-radius: 100%;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4px 10px -6px rgba(20, 16, 8, .1);
  box-sizing: border-box;
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  transform: translate(var(--lens-drift-x, 0px), var(--lens-drift-y, 0px));
  z-index: 50;
  pointer-events: none;
}

@supports (backdrop-filter: url(#a)) or (-webkit-backdrop-filter: url(#a)) {
  .zh-lens {
    backdrop-filter: url(#zbs-glass-distort) blur(2px) saturate(180%);
  }
}

.zh-lens-1 { width: 90px; height: 90px; left: 8%;  top: 18%; }
.zh-lens-2 { width: 56px; height: 56px; left: 30%; top: 62%; }
.zh-lens-3 { width: 70px; height: 70px; left: 48%; top: 12%; }
.zh-lens-4 { width: 44px; height: 44px; left: 60%; top: 70%; }
.zh-lens-5 { width: 64px; height: 64px; left: 20%; top: 40%; }

@media (max-width: 900px) {
  .zh-lens-1 { width: 60px; height: 60px; }
  .zh-lens-2 { width: 38px; height: 38px; }
  .zh-lens-3 { width: 48px; height: 48px; }
  .zh-lens-4 { width: 30px; height: 30px; }
  .zh-lens-5 { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .zh-lens-3,
  .zh-lens-4 {
    display: none; /* keep it uncluttered on small phones — 3 is plenty */
  }
}

.zh-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.zh-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.zh-hero-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.zh-hero-stat span {
  font-size: 12px;
  color: var(--muted);
}

.zh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

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

.zh-btn.solid:hover {
  background: var(--orange);
}

.zh-btn.ghost {
  border: 1px solid var(--border);
  color: var(--ink);
}

.zh-btn.ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* orb lives only inside the hero — position:absolute (not fixed) so it scrolls away
   with the hero and never appears elsewhere; .zh-hero's overflow:hidden clips it */
#zhCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* back on top — the orb is no longer trying to sit "under" a lens, it's
     just a big visual in the empty space on the right (see
     zibadis-home.js getFraming()) */
  z-index: 100;
  pointer-events: none;
}

/* orb is force-hidden below 700px in zibadis-home.js (window.innerWidth
   check) — text is full-width/long there with no reserved space for it */

/* ---- hero loader: dots + percent while the orb loads, circle-reveal on success,
   key-visual fallback if it errors or takes longer than ~32s ---- */
.zh-loader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}

.zh-loader-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  transform: translateY(-6px);
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
}

.zh-dots {
  width: 56px;
  height: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zh-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(224, 112, 32, .45);
  animation: zhDotMove 1.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

.zh-dot:nth-child(2) { animation-delay: .14s; }
.zh-dot:nth-child(3) { animation-delay: .28s; }

@keyframes zhDotMove {
  0%, 100% { transform: translateY(0) scale(.72); opacity: .25; }
  45% { transform: translateY(-12px) scale(1.2); opacity: 1; }
  70% { transform: translateY(2px) scale(.92); opacity: .6; }
}

.zh-percent {
  min-width: 64px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .28em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.zh-reveal-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #f6f9fb 56%, #e7edf2 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.zh-loader.revealing .zh-loader-ui {
  opacity: 0;
  transform: translateY(-10px) scale(.97);
  filter: blur(8px);
}

.zh-loader.revealing .zh-reveal-circle {
  opacity: 1;
  animation: zhCircleExpand 1.35s cubic-bezier(.18, .84, .18, 1) forwards;
}

@keyframes zhCircleExpand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(150); opacity: 1; }
}

.zh-keyvisual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 90;
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .zh-dot { animation-duration: 1.6s; }
  .zh-loader.revealing .zh-reveal-circle { animation-duration: .9s; }
}

/* sections 2, 4, 6 render above the orb (text priority); the orb stays in front over the rest */
.zh-above-orb {
  position: relative;
  z-index: 100;
}
.zh-section--tint.alfa{
 z-index: 222 !important;
}
.zh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.zh-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.zh-section {
  padding: 76px 28px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.zh-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.zh-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 10px 0 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  max-width: 680px;
}

.zh-section p.zh-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 0 8px;
}

.zh-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.zh-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
}

.zh-expect {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.zh-expect li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.6;
}

.zh-expect li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 7px;
}

.zh-expect li.is-typing::after {
  content: "|";
  margin-left: 2px;
  color: var(--orange);
  animation: zhBlink .8s steps(1) infinite;
}

@keyframes zhBlink {
  50% {
    opacity: 0;
  }
}

.zh-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.zh-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  position: relative;
}

/* ---- cut-corner gradient accent (ported from the real site's card style) ---- */
.zh-card.cut-r::before,
.zh-card.cut-r::after,
.zh-card.cut-l::before,
.zh-card.cut-l::after,
.zh-card.cut-b::before,
.zh-card.cut-b::after { content: ""; position: absolute; z-index: 2; }

.zh-card.cut-r::before { right: -2px; top: 26%; width: 4px; height: 74px; background: #fff; }
.zh-card.cut-r::after {
  right: -3px; top: calc(26% + 8px); width: 6px; height: 58px;
  background: linear-gradient(#8d4be8 0 24%, #2267e8 24% 48%, #28c7d9 48% 70%, #d23a7d 70%);
  border-top: 2px solid var(--border); border-bottom: 2px solid var(--border);
}

.zh-card.cut-l::before { left: -2px; top: 18%; width: 4px; height: 92px; background: #fff; }
.zh-card.cut-l::after {
  left: -3px; top: calc(18% + 10px); width: 6px; height: 72px;
  background: linear-gradient(#24a86b, #28c7d9, #2267e8);
  border-top: 2px solid var(--border); border-bottom: 2px solid var(--border);
}

.zh-card.cut-b::before { left: 24%; bottom: -2px; height: 4px; width: 112px; background: #fff; }
.zh-card.cut-b::after {
  left: calc(24% + 12px); bottom: -3px; height: 6px; width: 86px;
  background: linear-gradient(90deg, #e0a935, #d23a7d, #8d4be8);
  border-left: 2px solid var(--border); border-right: 2px solid var(--border);
}

.zh-card .zh-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}

.zh-card h3 {
  font-size: 15.5px;
  margin: 0 0 10px;
}

.zh-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.zh-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.zh-app-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.zh-app-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.zh-app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.zh-cta {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  margin-top: 8px;
}

.zh-cta h2 {
  color: #fff;
  margin: 0 0 14px;
}

.zh-cta p {
  color: rgba(255, 255, 255, .68);
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 14.5px;
}

/* ---- split CTA: professional grayscale portrait on one side, copy on the other ---- */
.zh-cta--split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: stretch;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.zh-cta-photo { position: relative; min-height: 340px; }
.zh-cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.05);
}
.zh-cta-copy {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zh-cta--split h2 { margin: 0 0 14px; }
.zh-cta--split p { margin: 0 0 26px; max-width: none; }
@media (max-width: 700px) {
  .zh-cta--split { grid-template-columns: 1fr; }
  .zh-cta-photo { min-height: 220px; }
  .zh-cta-copy { padding: 40px 28px; }
}

/* ---- KPI strip (plain markup, styled with our own tokens) ---- */
.zh-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.zh-kpi {
  border: 2px solid var(--border);
  background: #fff;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.zh-kpi::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; width: 100%; height: 3px;
  background: var(--orange);
}
.zh-kpi strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.zh-kpi span { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .zh-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---- glass header + thinner lens edge, scoped to this page only ---- */
.zbs-hdr-top {
  position: relative;
  z-index: 9999999 !important;
  background: rgba(21, 19, 15, .55) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.zbs-hdr-main {
  background: rgba(255, 255, 255, .55) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.zbs-glass {
  top:-1px;
  height: 8px;
}

/* ---- reveal footer: fixed behind everything (even behind the orb canvas) from page
 load; only becomes visible once scroll clears the spacer below all real content ---- */
/* the mount div itself is just a height-reserving spacer (its real content is fixed and
   painted elsewhere) — without this it sits invisibly on top of the fixed footer and
   swallows every click meant for it */
#zb-footer-mount { pointer-events: none; }
#zb-footer-mount .zb-footer {
  pointer-events: auto;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
 z-index: 1 
}
#top-cont{
background-color: var(--bg);
 z-index: 200; 
width:100vw;
 position:initial
 
} 


/* ---- pinned scroll section: cards reveal one by one while pinned ---- */
.zh-pin-section {
  position: relative;
  height: 230vh;
  background: #fff;
  border-top: 1px solid var(--border);
}

.zh-section--tint {
  background: var(--bg);
 
}

.zh-pin-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 28px;
}

/* compact variant: original (non-fullscreen) section height, vertically centered in the
 viewport while pinned, background left transparent so the orb shows through behind it */
#zhTypeSection {
  background: transparent;
}

.zh-pin-sticky--compact {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  min-height: 0;
}

@media (max-width:900px) {
  .zh-hero-inner {
    grid-template-columns: 1fr;
  }

  .zh-grid3 {
    grid-template-columns: 1fr;
  }

  .zh-pin-section {
    height: auto;
  }

  .zh-pin-sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }
}
