/* ============================================================
   ZACKGO HOME — Premium animated landing (index.html only)
   Shiny orange accent · Smooth corners · 8px spacing system
   ============================================================ */

:root {
  --zg-surface: #FFFFFF;
  --zg-surface-2: #FAFBFC;
  --zg-surface-3: #F4F6F9;
  --zg-ink: #04140F;
  --zg-ink-2: #1E293B;
  --zg-muted: #64748B;
  --zg-line: #E8ECF2;

  /* Shiny orange system */
  --zg-orange: #F97316;
  --zg-orange-2: #FB923C;
  --zg-orange-3: #EA580C;
  --zg-orange-shine: linear-gradient(135deg, #FDBA74 0%, #FB923C 35%, #F97316 65%, #EA580C 100%);
  --zg-orange-soft: rgba(249, 115, 22, 0.08);
  --zg-orange-glow: rgba(249, 115, 22, 0.28);
  --zg-orange-ring: rgba(249, 115, 22, 0.14);

  --zg-navy: #063A2C;
  --zg-navy-soft: rgba(6, 58, 44, 0.06);

  --zg-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --zg-ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --zg-shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04), 0 2px 8px rgba(15, 27, 45, 0.03);
  --zg-shadow-md: 0 8px 32px -12px rgba(15, 27, 45, 0.1);
  --zg-shadow-lg: 0 24px 64px -20px rgba(15, 27, 45, 0.14);
  --zg-shadow-orange: 0 8px 32px -8px var(--zg-orange-glow);
  --zg-r-sm: 10px;
  --zg-r-md: 14px;
  --zg-r-lg: 18px;
  --zg-r-xl: 22px;
  --zg-r-2xl: 28px;
  --zg-space-2: 8px;
  --zg-space-3: 12px;
  --zg-space-4: 16px;
  --zg-space-5: 20px;
  --zg-space-6: 24px;
  --zg-space-8: 32px;
  --zg-space-10: 40px;
  --zg-space-12: 48px;
  --zg-space-16: 64px;
}

@keyframes zgOrbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(14px, -20px, 0) scale(1.04); }
}

@keyframes zgFloatTag {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--zg-rot, 0deg)); }
  50%      { transform: translate3d(0, -12px, 0) rotate(var(--zg-rot, 0deg)); }
}

@keyframes zgOrangePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.35); opacity: 1; }
  50%      { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); opacity: 0.85; }
}

@keyframes zgRouteFlow {
  to { stroke-dashoffset: -24; }
}

@keyframes zgRouteGlow {
  0%, 100% { stroke-opacity: 0.45; filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.2)); }
  50%      { stroke-opacity: 1; filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.55)); }
}

@keyframes zgCheckPop {
  0%   { transform: scale(0.6); opacity: 0; }
  65%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes zgLineReveal {
  from { opacity: 0; transform: translate3d(-8px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes zgShimmerOrange {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

@keyframes zgNodePulse {
  0%, 100% { r: 16; filter: drop-shadow(0 0 0 rgba(249, 115, 22, 0)); }
  50%      { r: 18; filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.45)); }
}

/* ── Ambient ── */
.zg-home-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 27, 45, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 45, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 85% 55% at 50% -18%, rgba(249, 115, 22, 0.07), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(6, 58, 44, 0.04), transparent 55%),
    #FAFBFC;
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%, 100% 100%;
}

.zg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
  animation: zgOrbDrift 32s var(--zg-ease-out) infinite;
}

.zg-orb--gold,
.zg-orb--orange {
  width: min(520px, 72vw);
  height: min(520px, 72vw);
  top: 6%;
  right: -8%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.22) 0%, rgba(249, 115, 22, 0.08) 42%, transparent 68%);
  animation-delay: -5s;
}

.zg-orb--navy {
  width: min(440px, 60vw);
  height: min(440px, 60vw);
  bottom: 6%;
  left: -10%;
  background: radial-gradient(circle, rgba(6, 58, 44, 0.1) 0%, transparent 70%);
  animation-delay: -16s;
}

body.zg-home {
  background: transparent;
  color: var(--zg-ink-2);

  /* Override premium gold tokens → shiny orange on landing page */
  --amber-500: #F97316;
  --amber-400: #FB923C;
  --amber-300: #FDBA74;
  --amber-50: #FFF7ED;
  --amber: #F97316;
  --amber-light: #FB923C;
  --amber-2: #EA580C;
  --amber-soft: rgba(249, 115, 22, 0.08);
  --accent: #F97316;
  --zle-gold: #F97316;
  --zle-gold-400: #FB923C;
  --zle-gold-300: #FDBA74;
  --zle-gold-soft: rgba(249, 115, 22, 0.08);
  --zle-gold-strong: rgba(249, 115, 22, 0.18);
  --zds-gold: #F97316;
  --zds-accent: #F97316;
  --zg-accent: #F97316;
}

body.zg-home > *:not(.zg-home-ambient):not(#site-nav):not(.nav-sheet) {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
body.zg-home #site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100 !important;
}

body.zg-home .nav-sheet {
  position: fixed !important;
  inset: 0;
  z-index: 99 !important;
}

body.zg-home nav {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: saturate(180%) blur(24px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px) !important;
  border-bottom: 1px solid var(--zg-line) !important;
  box-shadow: var(--zg-shadow-sm) !important;
}

body.zg-home nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: var(--zg-shadow-md) !important;
}

/* Nav logo — icon + bold black Zackgo wordmark */
body.zg-home .nav-logo.zg-logo {
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

body.zg-home .nav-logo .zg-logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px -2px rgba(15, 27, 45, 0.12);
  flex-shrink: 0;
}

body.zg-home .nav-logo .zg-logo__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 0;
}

body.zg-home .nav-logo .zg-logo__company {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #04140F !important;
  -webkit-text-fill-color: #04140F !important;
  background: none !important;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.zg-home .nav-links a:hover,
body.zg-home .nav-links a.is-active {
  color: var(--zg-orange-3) !important;
  background: var(--zg-orange-soft) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none;
}

body.zg-home .nav-links a.is-active::after {
  background: var(--zg-orange-shine) !important;
  height: 2px;
  border-radius: 2px;
}

body.zg-home .btn-ghost {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-sm) !important;
  box-shadow: none !important;
}

body.zg-home .btn-ghost:hover {
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: var(--zg-orange-3) !important;
  background: var(--zg-orange-soft) !important;
}

body.zg-home .btn-primary {
  background: var(--zg-ink) !important;
  border-color: var(--zg-ink) !important;
  border-radius: var(--zg-r-sm) !important;
}

body.zg-home .btn-primary.btn-primary-orange,
body.zg-home .nav-sheet-cta .btn-primary-orange,
body.zg-home .nav-cta .btn-primary-orange {
  background: linear-gradient(180deg, #FB923C 0%, #F97316 55%, #EA580C 100%) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 20px -6px rgba(249, 115, 22, 0.35) !important;
}

body.zg-home .btn-primary.btn-primary-orange:hover,
body.zg-home .nav-sheet-cta .btn-primary-orange:hover,
body.zg-home .nav-cta .btn-primary-orange:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 28px -8px rgba(249, 115, 22, 0.45) !important;
}

body.zg-home .btn-primary:not(.btn-primary-orange):hover {
  background: var(--zg-orange-3) !important;
  border-color: var(--zg-orange-3) !important;
  box-shadow: var(--zg-shadow-orange) !important;
}

/* ── Hero ── */
body.zg-home .hero.hero-light {
  background: #FAFBFC !important;
}

body.zg-home .hero.hero-light .hero-bg::before {
  background:
    radial-gradient(ellipse 55% 45% at 92% 6%, rgba(251, 146, 60, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 42% 48% at 6% 78%, rgba(6, 58, 44, 0.06) 0%, transparent 60%) !important;
}

body.zg-home .hero.hero-light .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 9px 18px 9px 14px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.88)) !important;
  border: 1px solid rgba(249, 115, 22, 0.24) !important;
  border-radius: 100px !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 4px 16px -6px rgba(249, 115, 22, 0.2),
    var(--zg-shadow-sm) !important;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--zg-muted) !important;
  letter-spacing: 0.015em;
  line-height: 1.45;
  max-width: 100%;
}

/* Premium hero brand label */
body.zg-home .zg-hero-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 22px;
  max-width: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.94) 52%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 100px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.92) inset,
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 20px -6px rgba(249, 115, 22, 0.28),
    0 12px 32px -12px rgba(15, 27, 45, 0.1);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  overflow: hidden;
}

body.zg-home .zg-hero-label::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(251, 146, 60, 0.12) 52%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: zgLabelShine 7s ease-in-out infinite;
  pointer-events: none;
}

body.zg-home .zg-hero-label > * {
  position: relative;
  z-index: 1;
}

body.zg-home .zg-hero-label__brand,
body.zg-home .zg-hero-label__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

body.zg-home .zg-hero-label__logo .zg-logo__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 4px 12px -4px rgba(15, 27, 45, 0.35);
}

body.zg-home .zg-hero-label__logo .zg-logo__text {
  flex-direction: row;
  align-items: baseline;
  gap: 5px;
}

body.zg-home .zg-hero-label__logo .zg-logo__company {
  font-family: var(--zg-font-display, 'Sora', system-ui, sans-serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #06231B !important;
  line-height: 1;
}

body.zg-home .zg-hero-label__logo .zg-logo__product {
  font-family: var(--zg-font-display, 'Sora', system-ui, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--zg-orange-shine) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: zgShimmerOrange 5s linear infinite !important;
}

body.zg-home .zg-hero-label__divider {
  width: 1px;
  height: 20px;
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.45), transparent);
}

body.zg-home .zg-hero-label__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--zg-font-display, 'Sora', system-ui, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C2410C;
  white-space: nowrap;
}

body.zg-home .zg-hero-label__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--zg-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.22);
  animation: zgOrangePulse 2.4s ease-in-out infinite;
}

@keyframes zgLabelShine {
  0%, 100% { background-position: 180% center; opacity: 0.6; }
  50% { background-position: -80% center; opacity: 1; }
}

body.zg-home .hero.hero-light .hero-eyebrow-highlight,
body.zg-home .hero.hero-light .hero-eyebrow em,
body.zg-home .hero h1 em,
body.zg-home .section-title em {
  background: var(--zg-orange-shine) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: zgShimmerOrange 6s linear infinite !important;
}

body.zg-home .hero.hero-light .hero-eyebrow-sep {
  color: rgba(249, 115, 22, 0.5) !important;
  font-weight: 700;
  user-select: none;
}

body.zg-home .hero h1 em::after {
  background: var(--zg-orange-shine) !important;
  opacity: 0.5 !important;
  border-radius: 2px !important;
}

body.zg-home .hero-eyebrow-dot {
  background: var(--zg-orange) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2) !important;
  animation: zgOrangePulse 2.4s ease-in-out infinite !important;
}

body.zg-home .trust-item svg {
  color: var(--zg-orange) !important;
}

body.zg-home .hero-btn-primary {
  background: var(--zg-orange-shine) !important;
  background-size: 200% auto !important;
  border: none !important;
  color: white !important;
  border-radius: var(--zg-r-md) !important;
  box-shadow: var(--zg-shadow-orange) !important;
  animation: zgShimmerOrange 5s ease infinite !important;
  font-weight: 600 !important;
}

body.zg-home .hero-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 40px -10px rgba(249, 115, 22, 0.45) !important;
  transform: translateY(-2px);
}

body.zg-home .hero-link {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-sm) !important;
  color: var(--zg-ink-2) !important;
}

body.zg-home .hero-link:hover {
  border-color: rgba(249, 115, 22, 0.35) !important;
  color: var(--zg-orange-3) !important;
  background: var(--zg-orange-soft) !important;
}

body.zg-home .hero-visual::before { display: none; }

/* Floating report signal tags */
.zg-float-tags {
  position: absolute;
  inset: -10% -8%;
  pointer-events: none;
  z-index: 0;
}

.zg-float-tag {
  position: absolute;
  padding: var(--zg-space-2) var(--zg-space-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--zg-ink-2);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--zg-line);
  border-radius: 100px;
  box-shadow: var(--zg-shadow-sm);
  animation: zgFloatTag 6s var(--zg-ease-out) infinite;
  animation-delay: var(--zg-delay, 0s);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
}

.zg-float-tag.is-hot {
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--zg-orange-3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 237, 213, 0.85));
}

.zg-float-tag:nth-child(1) { top: 5%; left: 2%; --zg-rot: -2deg; --zg-delay: 0s; }
.zg-float-tag:nth-child(2) { top: 16%; right: 0; --zg-rot: 2deg; --zg-delay: -1s; }
.zg-float-tag:nth-child(3) { bottom: 30%; left: -4%; --zg-rot: -3deg; --zg-delay: -2.2s; }
.zg-float-tag:nth-child(4) { bottom: 10%; right: 4%; --zg-rot: 3deg; --zg-delay: -0.6s; }
.zg-float-tag:nth-child(5) { top: 40%; right: -6%; --zg-rot: -1deg; --zg-delay: -1.6s; }
.zg-float-tag:nth-child(6) { bottom: 44%; left: 6%; --zg-rot: 4deg; --zg-delay: -2.8s; }

body.zg-home .hero-dashboard {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-2xl) !important;
  box-shadow: var(--zg-shadow-lg) !important;
  overflow: hidden;
  transition: transform 0.5s var(--zg-ease-out), box-shadow 0.5s var(--zg-ease-out);
}

body.zg-home .hero-dashboard::after { display: none !important; }

body.zg-home .hero-notif {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-lg) !important;
  box-shadow: var(--zg-shadow-md) !important;
}

body.zg-home .hero-dashboard-badge {
  background: var(--zg-orange-soft) !important;
  border: 1px solid rgba(249, 115, 22, 0.22) !important;
  color: var(--zg-orange-3) !important;
  border-radius: 100px !important;
}

body.zg-home .hero-insight {
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.45), rgba(255, 255, 255, 0.8)) !important;
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
  border-left: 3px solid var(--zg-orange) !important;
  border-radius: var(--zg-r-md) !important;
}

body.zg-home .hero-insight-label { color: var(--zg-orange-3) !important; }

body.zg-home .hero-metric {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface-2) !important;
  border-radius: var(--zg-r-md) !important;
  transition: transform 0.35s var(--zg-ease-out), box-shadow 0.35s var(--zg-ease-out);
}

body.zg-home .hero-metric:hover {
  transform: translateY(-3px);
  box-shadow: var(--zg-shadow-md) !important;
}

body.zg-home .hero-bar-fill {
  background: linear-gradient(90deg, var(--zg-navy), #0E6B50) !important;
}

body.zg-home .hero-bar-fill.amber {
  background: var(--zg-orange-shine) !important;
}

body.zg-home .hero-notif-icon {
  background: linear-gradient(135deg, #FFEDD5, #FED7AA) !important;
  color: var(--zg-orange-3) !important;
  border-radius: var(--zg-r-sm) !important;
}

body.zg-home .hero-metric-delta.down-good {
  color: var(--zg-orange-3) !important;
  background: var(--zg-orange-soft) !important;
}

/* ── Live demo block ── */
.zg-live-demo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--zg-space-6);
  margin-top: var(--zg-space-12);
  align-items: stretch;
}

.zg-live-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--zg-muted);
  margin-bottom: var(--zg-space-3);
  font-family: ui-monospace, 'SF Mono', monospace;
}

.zg-terminal {
  background: linear-gradient(180deg, #0F172A 0%, #0B1220 100%);
  border-radius: var(--zg-r-2xl);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  box-shadow: var(--zg-shadow-lg);
  min-height: 360px;
}

.zg-terminal-chrome {
  display: flex;
  align-items: center;
  gap: var(--zg-space-2);
  padding: var(--zg-space-4) var(--zg-space-5);
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.zg-terminal-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.zg-terminal-chrome span:nth-child(1) { background: #FF5F57; }
.zg-terminal-chrome span:nth-child(2) { background: #FEBC2E; }
.zg-terminal-chrome span:nth-child(3) { background: var(--zg-orange); }

.zg-terminal-title {
  margin-left: var(--zg-space-3);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  font-family: ui-monospace, monospace;
}

.zg-terminal-body {
  padding: var(--zg-space-5) var(--zg-space-6);
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.58);
  min-height: 300px;
  max-height: 300px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.zg-terminal-body::-webkit-scrollbar { width: 4px; }
.zg-terminal-body::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.35);
  border-radius: 4px;
}

.zg-terminal-line {
  opacity: 0;
  animation: zgLineReveal 0.45s var(--zg-ease-out) forwards;
}

.zg-terminal-line.is-visible { opacity: 1; }

.zg-terminal-line .t-brand { color: var(--zg-orange-2); font-weight: 700; }
.zg-terminal-line .t-sys { color: #94A3B8; }
.zg-terminal-line .t-info { color: #93C5FD; }
.zg-terminal-line .t-warn { color: #FDBA74; }
.zg-terminal-line .t-ok { color: var(--zg-orange-2); font-weight: 600; }
.zg-terminal-line .t-val { color: #F8FAFC; font-weight: 600; }
.zg-terminal-line .t-dim { color: rgba(255, 255, 255, 0.38); }

.zg-terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--zg-orange);
  margin-left: 2px;
  vertical-align: middle;
  animation: zgCaretBlink 1s step-end infinite;
}

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

/* Pipeline cards */
.zg-pipeline-stack {
  display: flex;
  flex-direction: column;
  gap: var(--zg-space-3);
}

.zg-pipeline-card {
  display: flex;
  align-items: center;
  gap: var(--zg-space-4);
  padding: var(--zg-space-4) var(--zg-space-5);
  background: var(--zg-surface);
  border: 1px solid var(--zg-line);
  border-radius: var(--zg-r-lg);
  box-shadow: var(--zg-shadow-sm);
  transition:
    border-color 0.4s var(--zg-ease-out),
    box-shadow 0.4s var(--zg-ease-out),
    transform 0.4s var(--zg-ease-out),
    background 0.4s var(--zg-ease-out);
}

.zg-pipeline-card.is-active {
  border-color: rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 247, 237, 0.6));
  box-shadow: 0 0 0 3px var(--zg-orange-ring), var(--zg-shadow-md);
  transform: translateX(6px);
}

.zg-pipeline-card.is-done {
  border-color: rgba(249, 115, 22, 0.2);
}

.zg-pipeline-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--zg-r-sm);
  background: var(--zg-surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zg-navy);
  flex-shrink: 0;
  transition: background 0.35s var(--zg-ease-out), color 0.35s;
}

.zg-pipeline-card.is-active .zg-pipeline-icon {
  background: var(--zg-orange-shine);
  color: white;
}

.zg-pipeline-card.is-done .zg-pipeline-icon {
  background: var(--zg-orange-soft);
  color: var(--zg-orange-3);
}

.zg-pipeline-meta { flex: 1; min-width: 0; }

.zg-pipeline-name {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--zg-ink);
  letter-spacing: -0.015em;
}

.zg-pipeline-sub {
  font-size: 12px;
  color: var(--zg-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.zg-pipeline-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--zg-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.4s var(--zg-ease-spring);
}

.zg-pipeline-card.is-done .zg-pipeline-check {
  background: var(--zg-orange-shine);
  border-color: transparent;
  color: white;
  animation: zgCheckPop 0.5s var(--zg-ease-spring) both;
  box-shadow: 0 4px 12px -4px var(--zg-orange-glow);
}

.zg-pipeline-progress {
  height: 3px;
  border-radius: 100px;
  background: var(--zg-surface-3);
  margin-top: var(--zg-space-3);
  overflow: hidden;
}

.zg-pipeline-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--zg-orange-shine);
  transition: width 0.6s var(--zg-ease-out);
}

/* ── Use-case cards ── */
.zg-use-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zg-space-5);
  margin-top: var(--zg-space-16);
}

.zg-use-card {
  position: relative;
  padding: var(--zg-space-8);
  border-radius: var(--zg-r-2xl);
  border: 1px solid rgba(15, 27, 45, 0.05);
  transition: transform 0.4s var(--zg-ease-out), box-shadow 0.4s var(--zg-ease-out);
  overflow: hidden;
}

.zg-use-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.6;
  z-index: 0;
}

.zg-use-card > * { position: relative; z-index: 1; }

.zg-use-card--peach::before  { background: linear-gradient(155deg, #FFF7ED, #FFEDD5); }
.zg-use-card--lavender::before { background: linear-gradient(155deg, #FAF5FF, #F3E8FF); }
.zg-use-card--sky::before    { background: linear-gradient(155deg, #F0F9FF, #E0F2FE); }

.zg-use-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--zg-shadow-lg);
}

.zg-use-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zg-ink);
  margin-bottom: var(--zg-space-5);
  box-shadow: var(--zg-shadow-sm);
  transition: transform 0.35s var(--zg-ease-spring);
}

.zg-use-card:hover .zg-use-card-icon {
  transform: scale(1.08);
  color: var(--zg-orange-3);
}

.zg-use-card-title {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--zg-ink);
  margin-bottom: var(--zg-space-3);
  letter-spacing: -0.02em;
}

.zg-use-card-desc {
  font-size: 14px;
  color: var(--zg-muted);
  line-height: 1.7;
  margin-bottom: var(--zg-space-5);
}

.zg-use-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zg-space-2);
}

.zg-use-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--zg-ink-2);
  border: 1px solid rgba(15, 27, 45, 0.05);
}

/* ── Spark metric cards ── */
.zg-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--zg-space-5);
  margin-top: var(--zg-space-12);
}

.zg-spark-card {
  background: var(--zg-surface);
  border: 1px solid var(--zg-line);
  border-radius: var(--zg-r-xl);
  padding: var(--zg-space-6);
  box-shadow: var(--zg-shadow-sm);
  transition: transform 0.35s var(--zg-ease-out), box-shadow 0.35s var(--zg-ease-out);
}

.zg-spark-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--zg-shadow-md);
  border-color: rgba(249, 115, 22, 0.15);
}

.zg-spark-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--zg-space-3);
  margin-bottom: var(--zg-space-4);
}

.zg-spark-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--zg-muted);
}

.zg-spark-value {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--zg-ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 4px;
  transition: color 0.3s;
}

.zg-spark-delta {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--zg-r-sm);
  white-space: nowrap;
}

.zg-spark-delta.up {
  color: var(--zg-orange-3);
  background: var(--zg-orange-soft);
}

.zg-spark-delta.down {
  color: #B91C1C;
  background: rgba(239, 68, 68, 0.1);
}

.zg-spark-canvas-wrap {
  position: relative;
  border-radius: var(--zg-r-md);
  overflow: hidden;
  background: linear-gradient(180deg, var(--zg-surface-2), transparent);
}

.zg-spark-canvas {
  width: 100%;
  height: 64px;
  display: block;
}

.zg-spark-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: var(--zg-muted);
  margin-top: var(--zg-space-2);
}

/* ── Interactive network viz ── */
.zg-network-wrap {
  margin-top: var(--zg-space-10);
  padding: var(--zg-space-8);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
  border: 1px solid var(--zg-line);
  border-radius: var(--zg-r-2xl);
  box-shadow: var(--zg-shadow-md);
  overflow: hidden;
}

.zg-network-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--zg-space-4);
  margin-bottom: var(--zg-space-6);
}

.zg-network-status {
  display: inline-flex;
  align-items: center;
  gap: var(--zg-space-3);
  padding: var(--zg-space-3) var(--zg-space-4);
  background: var(--zg-orange-soft);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zg-orange-3);
  max-width: 420px;
  line-height: 1.45;
  transition: background 0.35s var(--zg-ease-out), border-color 0.35s;
}

.zg-network-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zg-orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
  animation: zgOrangePulse 2s ease-in-out infinite;
}

.zg-network-stage {
  position: relative;
  border-radius: var(--zg-r-xl);
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(249, 115, 22, 0.04), transparent 70%),
    linear-gradient(180deg, #FAFBFC, #FFFFFF);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: var(--zg-space-4);
  min-height: 280px;
  overflow: hidden;
}

.zg-network-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.6;
}

.zg-network-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--zg-ease-out);
}

.zg-network-bg { fill: transparent; }

.zg-network-link {
  stroke: rgba(249, 115, 22, 0.12);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  transition: stroke 0.45s var(--zg-ease-out), stroke-width 0.45s, opacity 0.45s;
}

.zg-network-wrap.is-dimmed .zg-network-link { opacity: 0.35; }

.zg-network-link.is-active {
  stroke: url(#zgOrangeGrad);
  stroke-width: 3;
  stroke-dasharray: 10 6;
  animation: zgRouteFlow 0.9s linear infinite, zgRouteGlow 2s ease-in-out infinite;
  opacity: 1 !important;
  filter: url(#zgNetGlow);
}

.zg-network-link.is-highlight {
  stroke: rgba(249, 115, 22, 0.45);
  stroke-width: 2.5;
  opacity: 1 !important;
}

.zg-network-particles circle {
  fill: #FB923C;
  filter: url(#zgNetGlowStrong);
}

.zg-hub-ring {
  stroke: rgba(249, 115, 22, 0.4);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 0 0;
  animation: zgHubRingExpand 3s ease-out infinite;
}

.zg-hub-ring--2 { animation-delay: 1s; }
.zg-hub-ring--3 { animation-delay: 2s; }

@keyframes zgHubRingExpand {
  0%   { transform: scale(1); opacity: 0.75; stroke-width: 2; }
  100% { transform: scale(2.1); opacity: 0; stroke-width: 0.5; }
}

.zg-net-node {
  cursor: pointer;
  outline: none;
}

.zg-net-node-hit {
  fill: transparent;
  pointer-events: all;
}

.zg-network-node {
  fill: white;
  stroke: var(--zg-line);
  stroke-width: 2;
  transition: fill 0.4s var(--zg-ease-out), stroke 0.4s, filter 0.4s, transform 0.4s var(--zg-ease-spring);
  transform-origin: center;
  transform-box: fill-box;
}

.zg-network-node--hub {
  fill: url(#zgOrangeGradVert);
  stroke: url(#zgOrangeGrad);
  stroke-width: 3;
}

.zg-net-node.is-active .zg-network-node,
.zg-net-node.is-hot .zg-network-node {
  fill: #FFF7ED;
  stroke: var(--zg-orange);
  stroke-width: 2.5;
  filter: url(#zgNetGlowStrong);
}

.zg-net-node--hub.is-hot .zg-network-node--hub,
.zg-net-node--hub.is-active .zg-network-node--hub {
  fill: url(#zgOrangeGradVert);
  stroke: url(#zgOrangeGrad);
  stroke-width: 3.5;
  filter: url(#zgNetGlowStrong);
}

.zg-net-node:hover .zg-network-node {
  stroke: var(--zg-orange-2);
  filter: url(#zgNetGlow);
}

.zg-net-node:focus-visible .zg-network-node {
  stroke: var(--zg-orange);
  stroke-width: 3;
}

.zg-network-label {
  font-size: 11px;
  font-weight: 600;
  fill: var(--zg-ink-2);
  font-family: var(--font-body, 'Manrope', sans-serif);
  pointer-events: none;
  transition: fill 0.3s;
}

.zg-network-label--hub {
  font-size: 12px;
  font-weight: 700;
  fill: var(--zg-ink);
}

.zg-net-node.is-active .zg-network-label,
.zg-net-node.is-hot .zg-network-label {
  fill: var(--zg-orange-3);
}

.zg-network-sublabel {
  font-size: 9.5px;
  fill: var(--zg-muted);
  font-family: var(--font-body, 'Manrope', sans-serif);
  pointer-events: none;
}

.zg-network-metric {
  font-size: 10px;
  font-weight: 700;
  fill: var(--zg-orange-3);
  font-family: var(--font-display, 'Sora', sans-serif);
  pointer-events: none;
}

.zg-network-metric--warn {
  fill: #EA580C;
}

.zg-net-node.is-active .zg-network-metric {
  animation: zgMetricPop 0.5s var(--zg-ease-spring) both;
}

@keyframes zgMetricPop {
  0%   { opacity: 0.5; transform: translateY(2px); }
  100% { opacity: 1; transform: none; }
}

.zg-network-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zg-space-2);
  margin-top: var(--zg-space-6);
  justify-content: center;
}

.zg-network-chip {
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--zg-muted);
  background: var(--zg-surface);
  border: 1px solid var(--zg-line);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.35s var(--zg-ease-out);
}

.zg-network-chip:hover {
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--zg-orange-3);
  background: var(--zg-orange-soft);
}

.zg-network-chip.is-active {
  background: var(--zg-orange-shine);
  background-size: 200% auto;
  border-color: transparent;
  color: white;
  box-shadow: var(--zg-shadow-orange);
  animation: zgShimmerOrange 4s linear infinite;
}

.zg-network-chip:focus-visible {
  outline: 2px solid var(--zg-orange);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .zg-network-stage { padding: var(--zg-space-2); min-height: 220px; }
  .zg-network-svg { min-height: 200px; }
  .zg-network-head { flex-direction: column; }
  .zg-network-status { max-width: 100%; border-radius: var(--zg-r-md); }
  .zg-network-chips { gap: 6px; }
  .zg-network-chip { padding: 6px 11px; font-size: 10.5px; }
}

/* ── Bento + sections ── */
body.zg-home .bento-card {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-xl) !important;
  box-shadow: var(--zg-shadow-sm) !important;
  transition: transform 0.4s var(--zg-ease-out), box-shadow 0.4s var(--zg-ease-out), border-color 0.4s !important;
}

body.zg-home .bento-card::after { display: none !important; }

body.zg-home .bento-card::before {
  background: radial-gradient(
    520px circle at var(--mx, -100%) var(--my, -100%),
    rgba(249, 115, 22, 0.08),
    transparent 44%
  ) !important;
}

body.zg-home .bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.18) !important;
  box-shadow: var(--zg-shadow-lg) !important;
}

body.zg-home .bento-icon {
  background: var(--zg-orange-soft) !important;
  border: none !important;
  color: var(--zg-orange-3) !important;
  border-radius: var(--zg-r-sm) !important;
}

body.zg-home .bento-card:hover .bento-icon {
  background: var(--zg-orange-shine) !important;
  color: white !important;
}

body.zg-home .bento-hero-viz {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface-2) !important;
  border-radius: var(--zg-r-md) !important;
}

body.zg-home .bento-hero-viz-dot.ok {
  background: var(--zg-orange) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18) !important;
}

body.zg-home .bento-hero-viz-tag.ok {
  background: var(--zg-orange-soft) !important;
  color: var(--zg-orange-3) !important;
}

body.zg-home .section-eyebrow {
  background: var(--zg-orange-soft) !important;
  border: 1px solid rgba(249, 115, 22, 0.12) !important;
  color: var(--zg-orange-3) !important;
  border-radius: 100px !important;
}

body.zg-home .section-eyebrow::before {
  background: var(--zg-orange-shine) !important;
}

body.zg-home .how-preview,
body.zg-home .how-step {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-xl) !important;
}

body.zg-home .how-step.is-active {
  background: var(--zg-orange-soft) !important;
  border-color: rgba(249, 115, 22, 0.22) !important;
  box-shadow: 0 0 0 3px var(--zg-orange-ring) !important;
}

body.zg-home .how-step.is-active .how-step-num {
  background: var(--zg-orange-shine) !important;
  color: white !important;
  border-color: transparent !important;
}

body.zg-home .how-ai-pill {
  background: var(--zg-orange-soft) !important;
  border-color: rgba(249, 115, 22, 0.2) !important;
  color: var(--zg-orange-3) !important;
}

body.zg-home .how-ai-pill span { background: var(--zg-orange) !important; }

body.zg-home .how-ai-log .log-ok { color: var(--zg-orange-2) !important; }

body.zg-home .how-delivery-chip {
  background: var(--zg-orange-soft) !important;
  border-color: rgba(249, 115, 22, 0.22) !important;
  color: var(--zg-orange-3) !important;
}

body.zg-home .preview-container,
body.zg-home .preview-sec,
body.zg-home .form-shell,
body.zg-home .faq-list {
  border: 1px solid var(--zg-line) !important;
  background: var(--zg-surface) !important;
  border-radius: var(--zg-r-2xl) !important;
  box-shadow: var(--zg-shadow-md) !important;
}

body.zg-home .faq-list {
  padding: var(--zg-space-2) !important;
}

body.zg-home .faq-item {
  border-radius: var(--zg-r-md);
  margin: 1px 0;
}

body.zg-home .faq-item + .faq-item {
  border-top-color: rgba(15, 27, 45, 0.06) !important;
}

body.zg-home .faq-item:not(.open):hover {
  background: rgba(15, 27, 45, 0.025) !important;
}

body.zg-home .preview-sec-num { color: var(--zg-orange) !important; }

body.zg-home .preview-chip.up {
  color: var(--zg-orange-3) !important;
  background: var(--zg-orange-soft) !important;
  border-color: rgba(249, 115, 22, 0.18) !important;
}

body.zg-home .form-input:focus,
body.zg-home .form-select:focus {
  border-color: var(--zg-orange) !important;
  box-shadow: 0 0 0 3px var(--zg-orange-ring) !important;
}

body.zg-home .form-submit {
  background: var(--zg-orange-shine) !important;
  border: none !important;
  border-radius: var(--zg-r-md) !important;
}

body.zg-home .faq-item.open .faq-icon {
  background: var(--zg-orange-shine) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: var(--zg-shadow-orange) !important;
}

body.zg-home .faq-item.open {
  background: var(--zg-orange-soft) !important;
  border-radius: var(--zg-r-md);
}

body.zg-home .faq-icon {
  background: var(--zg-surface-3) !important;
  border-color: transparent !important;
}

body.zg-home .faq-question:hover .faq-icon {
  background: var(--zg-orange-soft) !important;
  color: var(--zg-orange-3) !important;
}

body.zg-home .faq-question:focus-visible {
  outline-color: var(--zg-orange) !important;
}

body.zg-home .faq-more-link:hover {
  border-color: var(--zg-orange) !important;
  background: var(--zg-orange-soft) !important;
  box-shadow: var(--zg-shadow-orange) !important;
}

/* Story cards */
.zg-stories-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--zg-space-4);
  margin-top: var(--zg-space-12);
}

.zg-story-card {
  padding: var(--zg-space-6) var(--zg-space-5);
  border-radius: var(--zg-r-xl);
  border: 1px solid rgba(15, 27, 45, 0.04);
  transition: transform 0.35s var(--zg-ease-out), box-shadow 0.35s var(--zg-ease-out);
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.zg-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--zg-shadow-md);
}

.zg-story-card h4 {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--zg-ink);
  margin-bottom: var(--zg-space-2);
}

.zg-story-card p {
  font-size: 12.5px;
  color: var(--zg-muted);
  line-height: 1.6;
  flex: 1;
}

.zg-story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--zg-space-4);
}

.zg-story-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--zg-ink-2);
}

.zg-story-card--c1 { background: linear-gradient(160deg, #FFF7ED, #FFEDD5); }
.zg-story-card--c2 { background: linear-gradient(160deg, #FAF5FF, #F3E8FF); }
.zg-story-card--c3 { background: linear-gradient(160deg, #F0F9FF, #E0F2FE); }
.zg-story-card--c4 { background: linear-gradient(160deg, #FFF7ED, #FED7AA); }
.zg-story-card--c5 { background: linear-gradient(160deg, #FFF1F2, #FFE4E6); }

/* Cursor glow */
.zg-cursor-glow-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--zg-ease-out);
  will-change: transform, opacity;
}

body.zg-home.zg-cursor-glow .zg-cursor-glow-ring.is-visible { opacity: 1; }

body.zg-home .faq-question:hover { color: var(--zg-orange-3) !important; }

body.zg-home .faq-answer-inner a {
  text-decoration-color: var(--zg-orange) !important;
}

body.zg-home .footer-logo-mark span,
body.zg-home .footer-logo-text em {
  background: var(--zg-orange-shine) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

body.zg-home .footer-social:hover {
  background: var(--zg-orange-shine) !important;
  border-color: transparent !important;
  color: white !important;
}

body.zg-home .footer-col-list a:hover {
  color: var(--zg-orange-2) !important;
}

body.zg-home .bento-hero-viz-dot.alert {
  background: var(--zg-orange) !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18) !important;
}

body.zg-home .bento-hero-viz-tag.alert {
  background: var(--zg-orange-soft) !important;
  color: var(--zg-orange-3) !important;
}

body.zg-home ::selection {
  background: #FDBA74 !important;
  color: var(--zg-ink) !important;
}

/* Public footer — orange accent rail on landing page */
body.zg-home .pub-footer::before {
  background: linear-gradient(90deg, transparent, #F97316, #FB923C, #F97316, transparent) !important;
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.35) !important;
}

body.zg-home .pub-footer-badge svg {
  color: #FB923C !important;
}

body.zg-home .pub-footer-col-title {
  color: rgba(251, 146, 60, 0.85) !important;
}

body.zg-home .pub-footer-col-list a.pub-footer-link-key:hover {
  color: #FB923C !important;
}

body.zg-home .pub-footer-social:hover {
  background: rgba(249, 115, 22, 0.14) !important;
  color: #FB923C !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}

/* Section spacing polish */
body.zg-home .section { padding: 120px 40px; }
body.zg-home .section-header { margin-bottom: var(--zg-space-16); }
body.zg-home .bento { gap: var(--zg-space-5); }

@media (prefers-reduced-motion: reduce) {
  .zg-orb, .zg-float-tag, .zg-network-link.is-active, .zg-hub-ring,
  body.zg-home .hero h1 em, body.zg-home .hero-btn-primary { animation: none !important; }
  body.zg-home .zg-hero-label::before { animation: none !important; opacity: 0.45; }
  body.zg-home .zg-hero-label__logo .zg-logo__product { animation: none !important; -webkit-text-fill-color: #F97316 !important; color: #F97316 !important; }
  .zg-terminal-line { opacity: 1 !important; animation: none !important; }
  .zg-pipeline-card, .zg-use-card, .zg-story-card, .zg-spark-card { transition: none !important; }
}

@media (max-width: 1024px) {
  .zg-live-demo { grid-template-columns: 1fr; gap: var(--zg-space-8); }
  .zg-stories-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  body.zg-home .hero.hero-light {
    min-height: 0 !important;
    height: auto !important;
    padding: 88px 16px 40px !important;
    overflow: visible !important;
  }
  body.zg-home .hero.hero-light .hero-bg {
    display: none !important;
  }
  body.zg-home .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  body.zg-home .hero-content { order: 0; width: 100%; }
  body.zg-home .hero-visual {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    perspective: none;
  }
  body.zg-home .hero-dashboard {
    transform: none !important;
    animation: none !important;
  }
  body.zg-home .hero h1 em,
  body.zg-home .hero.hero-light .hero-eyebrow-highlight,
  body.zg-home .hero.hero-light .hero-eyebrow em,
  body.zg-home .zg-hero-label__logo .zg-logo__product {
    -webkit-text-fill-color: #EA580C !important;
    color: #EA580C !important;
    background: none !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  body.zg-home .section { padding: 80px 24px; }
  body.zg-home .hero.hero-light {
    min-height: auto !important;
    padding-top: 80px !important;
    padding-bottom: 48px !important;
  }
  body.zg-home .hero-inner {
    gap: 28px !important;
  }
  body.zg-home .hero h1 {
    font-size: clamp(32px, 8vw, 44px) !important;
    margin-bottom: 20px !important;
  }
  body.zg-home .hero-sub {
    font-size: 16px !important;
    margin-bottom: 28px !important;
  }
  body.zg-home .hero-eyebrow {
    font-size: 11px !important;
    padding: 8px 14px 8px 12px !important;
    margin-bottom: 18px !important;
  }
  body.zg-home .zg-hero-label {
    padding: 6px 14px 6px 7px;
    gap: 8px 10px;
    margin-bottom: 18px;
  }
  body.zg-home .zg-hero-label__logo .zg-logo__company,
  body.zg-home .zg-hero-label__logo .zg-logo__product {
    font-size: 13.5px;
  }
  body.zg-home .zg-hero-label__logo .zg-logo__icon {
    width: 26px;
    height: 26px;
  }
  body.zg-home .hero-trust { margin-top: 28px !important; }
  body.zg-home .hero-dashboard-body { padding: 18px 16px !important; }
  .zg-use-row, .zg-metrics-row { grid-template-columns: 1fr; gap: var(--zg-space-4); }
  .zg-stories-row { grid-template-columns: 1fr 1fr; }
  .zg-float-tag { display: none; }
  .zg-orb { opacity: 0.28; }
}

@media (max-width: 480px) {
  body.zg-home .hero.hero-light {
    padding-top: 80px !important;
    padding-bottom: 36px !important;
  }
  body.zg-home .hero-eyebrow-sep:nth-of-type(2),
  body.zg-home .hero-eyebrow span:last-child {
    display: none;
  }
  body.zg-home .zg-hero-label__tag {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .zg-stories-row { grid-template-columns: 1fr; }
}
