.desoft-anime-shape {
  animation: none !important;
  will-change: transform, opacity;
}

/* Tailwind pulse on hero/backdrop geometric shapes */
.min-h-screen.overflow-hidden > .absolute.animate-pulse,
.min-h-screen.relative.overflow-hidden > .absolute.animate-pulse {
  animation-duration: 8s !important;
}

/* Native page backdrop shapes (events, partners, legal, etc.) */
.min-h-screen.relative.overflow-hidden > .absolute.inset-0.pointer-events-none > .absolute,
.min-h-screen.overflow-hidden > .absolute.inset-0.pointer-events-none > .absolute {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

#desoft-home-geo {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: auto !important;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.desoft-home-page {
  position: relative;
  background-color: hsl(var(--background));
}

body.desoft-home-page > header,
body.desoft-home-page > main,
body.desoft-home-page > footer,
body.desoft-home-page > div:not(#desoft-home-geo):not(#desoft-bg-animation):not(#desoft-cookie-consent) {
  position: relative;
  z-index: 1;
}

body.desoft-unified-geo-page {
  position: relative;
  background-color: hsl(var(--background));
}

body.desoft-unified-geo-page > header,
body.desoft-unified-geo-page > main,
body.desoft-unified-geo-page > footer,
body.desoft-unified-geo-page > div:not(#desoft-home-geo):not(#desoft-bg-animation):not(#desoft-cookie-consent) {
  position: relative;
  z-index: 1;
}

.desoft-home-geo-grid {
  position: absolute;
  top: 0;
  left: -40%;
  width: 180%;
  height: 100%;
  opacity: 0.28;
  background-image: linear-gradient(rgba(30, 58, 95, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.14) 1px, transparent 1px);
  background-size: 60px 60px;
  transform-origin: center center;
  will-change: transform;
}

.desoft-home-section-geo {
  position: relative;
  overflow: hidden;
}

#solutions.desoft-home-section-geo,
#partners.desoft-home-section-geo,
#about.desoft-home-section-geo {
  isolation: isolate;
}

.desoft-section-geo-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.desoft-section-geo-grid {
  position: absolute;
  inset: -35%;
  opacity: 0.3;
  background-image: linear-gradient(rgba(30, 58, 95, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.16) 1px, transparent 1px);
  background-size: 60px 60px;
  transform-origin: center center;
  will-change: transform;
}

.desoft-home-section-shape {
  z-index: 1;
  pointer-events: none;
}

.desoft-home-section-geo > .max-w-7xl,
.desoft-home-section-geo > .relative.z-10,
.desoft-home-section-geo > div:not(.desoft-section-geo-layer):not(.desoft-home-geo-shape):not(.desoft-home-section-shape) {
  position: relative;
  z-index: 2;
}

#solutions .desoft-home-geo-shape--border,
#partners .desoft-home-geo-shape--border,
#about .desoft-home-geo-shape--border {
  border-color: rgba(30, 58, 95, 0.4);
}

#solutions .desoft-home-geo-shape--dashed,
#partners .desoft-home-geo-shape--dashed,
#about .desoft-home-geo-shape--dashed {
  border-color: rgba(30, 58, 95, 0.44);
}

#solutions .desoft-home-geo-shape--fill,
#partners .desoft-home-geo-shape--fill,
#about .desoft-home-geo-shape--fill {
  background: rgba(30, 58, 95, 0.14);
  border-color: rgba(30, 58, 95, 0.18);
}

.desoft-home-geo-shape {
  position: absolute;
  transform-origin: center center;
  will-change: transform, opacity;
}

.desoft-home-geo-shape--circle {
  border-radius: 9999px;
}

.desoft-home-geo-shape--square {
  border-radius: 0.75rem;
}

.desoft-home-geo-shape--border {
  border: 2px solid rgba(30, 58, 95, 0.28);
  background: transparent;
}

.desoft-home-geo-shape--dashed {
  border: 2px dashed rgba(30, 58, 95, 0.32);
  background: transparent;
}

.desoft-home-geo-shape--fill {
  border: 2px solid rgba(30, 58, 95, 0.12);
  background: rgba(30, 58, 95, 0.1);
}

/* Unified full-page background — Kong-style, no per-section seams */
.desoft-section-geo-layer,
.desoft-kong-section-geo-layer {
  display: none !important;
}

body.desoft-home-page main.bg-background {
  background: transparent !important;
  background-color: transparent !important;
}

body.desoft-home-page main > section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.desoft-home-page main > section > .absolute.inset-0.bg-background {
  background-color: transparent !important;
}

body.desoft-home-page main > section > .absolute.inset-0[class*="opacity-"] {
  display: none !important;
}

body.desoft-home-page main > footer {
  background: transparent !important;
  background-color: transparent !important;
}

body.desoft-solution-page {
  position: relative;
}

body.desoft-solution-page .min-h-screen {
  background: transparent !important;
  background-color: transparent !important;
}

body.desoft-solution-page .min-h-screen section,
body.desoft-solution-page .min-h-screen .desoft-zf-dashboard,
body.desoft-solution-page .min-h-screen .desoft-zf-dashboard--inline,
body.desoft-solution-page .min-h-screen .desoft-zf-dashboard--tint {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.desoft-solution-page .min-h-screen section.bg-white,
body.desoft-solution-page .min-h-screen section[class*="bg-[#"],
body.desoft-solution-page .min-h-screen section[class*="bg-muted"] {
  background-color: transparent !important;
  background-image: none !important;
}

body.desoft-solution-kong {
  background-color: rgb(240, 253, 250);
}

body.desoft-solution-wallarm {
  background-color: rgb(255, 247, 237);
}

body.desoft-solution-redseal {
  background-color: rgb(255, 245, 245);
}

/* RedSeal — hide global blue bg-animation; keep warm pink + red geo only */
body.desoft-solution-redseal #desoft-bg-animation {
  display: none !important;
}

body.desoft-solution-beyondguard {
  background-color: rgb(239, 246, 255);
}

/* Subpages — remove alternating section bands */
body:not(.desoft-home-page):not(.desoft-solution-page) main,
body:not(.desoft-home-page):not(.desoft-solution-page) main > section,
body:not(.desoft-home-page):not(.desoft-solution-page) section[class*="bg-muted"],
body:not(.desoft-home-page):not(.desoft-solution-page) section[class*="bg-background"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

#desoft-kong-geo {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: auto !important;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.desoft-kong-page {
  position: relative;
}

body.desoft-kong-page .min-h-screen {
  position: relative;
  z-index: 20;
  isolation: isolate;
}

body.desoft-kong-page .min-h-screen header,
body.desoft-kong-page .min-h-screen section {
  opacity: 1 !important;
  visibility: visible !important;
}

body.desoft-kong-page .min-h-screen h1,
body.desoft-kong-page .min-h-screen h2,
body.desoft-kong-page .min-h-screen h3,
body.desoft-kong-page .min-h-screen p,
body.desoft-kong-page .min-h-screen button,
body.desoft-kong-page .min-h-screen a,
body.desoft-kong-page .min-h-screen li,
body.desoft-kong-page .min-h-screen span,
body.desoft-kong-page .min-h-screen ul {
  opacity: 1 !important;
  visibility: visible !important;
}

body.desoft-kong-page > header,
body.desoft-kong-page > main,
body.desoft-kong-page > footer,
body.desoft-kong-page > div:not(#desoft-kong-geo):not(#desoft-bg-animation):not(#desoft-cookie-consent) {
  position: relative;
  z-index: 1;
}

body.desoft-kong-page section.relative.z-10,
body.desoft-kong-page section.relative.z-10 .max-w-7xl {
  position: relative;
  z-index: 10;
}

body.desoft-kong-page .rounded-3xl.text-white button {
  color: #ffffff !important;
}

body.desoft-kong-page .rounded-3xl.text-white button[class*="text-[#003459]"] {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid #ffffff !important;
}

.desoft-kong-geo-grid {
  position: absolute;
  top: 0;
  left: -40%;
  width: 180%;
  height: 100%;
  opacity: 0.34;
  background-image: linear-gradient(rgba(0, 52, 89, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 208, 156, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  transform-origin: center center;
  will-change: transform;
}

#desoft-kong-geo .desoft-home-geo-shape--border {
  border-color: rgba(0, 52, 89, 0.38);
}

#desoft-kong-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(0, 208, 156, 0.42);
}

#desoft-kong-geo .desoft-home-geo-shape--fill {
  background: rgba(0, 208, 156, 0.12);
  border-color: rgba(0, 52, 89, 0.16);
}

.desoft-kong-section-geo {
  position: relative;
  overflow: hidden;
}

.desoft-kong-section-geo-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.desoft-kong-section-shape {
  z-index: 1;
  pointer-events: none;
}

.desoft-kong-section-geo > .max-w-7xl,
.desoft-kong-section-geo > div:not(.desoft-kong-section-geo-layer):not(.desoft-home-geo-shape):not(.desoft-kong-section-shape) {
  position: relative;
  z-index: 2;
}

.desoft-kong-section-geo .desoft-home-geo-shape--border {
  border-color: rgba(0, 52, 89, 0.36);
}

.desoft-kong-section-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(0, 208, 156, 0.4);
}

.desoft-kong-section-geo .desoft-home-geo-shape--fill {
  background: rgba(0, 208, 156, 0.11);
  border-color: rgba(0, 52, 89, 0.14);
}

/* Wallarm — orange geometric shapes */
body.desoft-solution-wallarm .desoft-kong-geo-grid,
body.desoft-solution-wallarm .desoft-kong-section-geo-layer .desoft-kong-geo-grid {
  background-image: linear-gradient(rgba(255, 107, 53, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 162, 97, 0.14) 1px, transparent 1px);
}

body.desoft-solution-wallarm #desoft-kong-geo .desoft-home-geo-shape--border,
body.desoft-solution-wallarm .desoft-kong-section-geo .desoft-home-geo-shape--border {
  border-color: rgba(255, 107, 53, 0.4);
}

body.desoft-solution-wallarm #desoft-kong-geo .desoft-home-geo-shape--dashed,
body.desoft-solution-wallarm .desoft-kong-section-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(244, 162, 97, 0.44);
}

body.desoft-solution-wallarm #desoft-kong-geo .desoft-home-geo-shape--fill,
body.desoft-solution-wallarm .desoft-kong-section-geo .desoft-home-geo-shape--fill {
  background: rgba(255, 107, 53, 0.14);
  border-color: rgba(234, 88, 12, 0.2);
}

/* Zerofox — burgundy geometric shapes, single full-page layer */
body.desoft-solution-zerofox {
  position: relative;
  background-color: rgb(248, 232, 238);
}

/* ZeroFox — hide global blue bg-animation; keep warm pink + burgundy geo only */
body.desoft-solution-zerofox #desoft-bg-animation {
  display: none !important;
}

body.desoft-solution-zerofox .min-h-screen {
  background: transparent !important;
  background-color: transparent !important;
}

body.desoft-solution-zerofox .min-h-screen section,
body.desoft-solution-zerofox .desoft-zf-dashboard,
body.desoft-solution-zerofox .desoft-zf-dashboard--inline,
body.desoft-solution-zerofox .desoft-zf-dashboard--tint {
  background: transparent !important;
}

body.desoft-solution-zerofox .desoft-kong-section-geo-layer {
  display: none !important;
}

body.desoft-solution-zerofox #desoft-kong-geo {
  z-index: 0;
}

body.desoft-solution-zerofox .desoft-kong-geo-grid {
  opacity: 0.38;
  background-image: linear-gradient(rgba(114, 47, 55, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 35, 53, 0.14) 1px, transparent 1px);
}

body.desoft-solution-zerofox #desoft-kong-geo .desoft-home-geo-shape--border {
  border-color: rgba(114, 47, 55, 0.42);
}

body.desoft-solution-zerofox #desoft-kong-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(155, 35, 53, 0.44);
}

body.desoft-solution-zerofox #desoft-kong-geo .desoft-home-geo-shape--fill {
  background: rgba(155, 35, 53, 0.14);
  border-color: rgba(114, 47, 55, 0.2);
}

body.desoft-solution-zerofox .min-h-screen section.bg-white,
body.desoft-solution-zerofox .min-h-screen section[class*="bg-[#F8"],
body.desoft-solution-zerofox .min-h-screen section[class*="bg-[#f8"] {
  background-color: transparent !important;
  background-image: none !important;
}

body.desoft-solution-zerofox .desoft-zf-dashboard.desoft-kong-section-geo > .desoft-zf-dashboard__inner,
body.desoft-solution-zerofox .desoft-zf-dashboard.desoft-kong-section-geo > .desoft-zf-dashboard__inner--inline {
  position: relative;
  z-index: 2;
}

/* Redseal — red geometric shapes */
body.desoft-solution-redseal .desoft-kong-geo-grid,
body.desoft-solution-redseal .desoft-kong-section-geo-layer .desoft-kong-geo-grid {
  background-image: linear-gradient(rgba(196, 30, 58, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.14) 1px, transparent 1px);
}

body.desoft-solution-redseal #desoft-kong-geo .desoft-home-geo-shape--border,
body.desoft-solution-redseal .desoft-kong-section-geo .desoft-home-geo-shape--border {
  border-color: rgba(196, 30, 58, 0.4);
}

body.desoft-solution-redseal #desoft-kong-geo .desoft-home-geo-shape--dashed,
body.desoft-solution-redseal .desoft-kong-section-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(230, 57, 70, 0.44);
}

body.desoft-solution-redseal #desoft-kong-geo .desoft-home-geo-shape--fill,
body.desoft-solution-redseal .desoft-kong-section-geo .desoft-home-geo-shape--fill {
  background: rgba(196, 30, 58, 0.14);
  border-color: rgba(220, 38, 38, 0.2);
}

/* BeyondGuard — blue geometric shapes */
body.desoft-solution-beyondguard .desoft-kong-geo-grid {
  background-image: linear-gradient(rgba(30, 64, 175, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.14) 1px, transparent 1px);
}

body.desoft-solution-beyondguard #desoft-kong-geo .desoft-home-geo-shape--border,
body.desoft-solution-beyondguard .desoft-kong-section-geo .desoft-home-geo-shape--border {
  border-color: rgba(30, 64, 175, 0.4);
}

body.desoft-solution-beyondguard #desoft-kong-geo .desoft-home-geo-shape--dashed,
body.desoft-solution-beyondguard .desoft-kong-section-geo .desoft-home-geo-shape--dashed {
  border-color: rgba(59, 130, 246, 0.44);
}

body.desoft-solution-beyondguard #desoft-kong-geo .desoft-home-geo-shape--fill,
body.desoft-solution-beyondguard .desoft-kong-section-geo .desoft-home-geo-shape--fill {
  background: rgba(30, 64, 175, 0.14);
  border-color: rgba(37, 99, 235, 0.2);
}

.desoft-partner-logo-card {
  will-change: transform, opacity;
  transform-origin: center center;
}

.desoft-partner-logo-icon {
  will-change: transform;
  transform-origin: center center;
}

.desoft-partner-logo-label {
  will-change: transform, opacity;
}

.desoft-anime-hand {
  will-change: transform;
  transform-origin: center center;
}

img.desoft-anime-hand--gorilla {
  transform-origin: 85% 50%;
}

img.desoft-anime-hand--robot {
  transform-origin: 15% 50%;
}

.desoft-anime-text {
  will-change: transform, opacity;
}

.desoft-hero-stats {
  will-change: transform, opacity;
}

.desoft-hero-stat {
  opacity: 0;
  will-change: transform, opacity;
}

.desoft-hero-stat--ready {
  opacity: 1;
}

.desoft-hero-stat-value {
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform;
}

.desoft-hero-stat-value--live {
  text-shadow: 0 0 36px rgba(37, 99, 235, 0.42), 0 0 12px rgba(37, 99, 235, 0.32);
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.18));
}

.desoft-hero-stat-label {
  opacity: 0;
  will-change: transform, opacity;
}

.desoft-hero-stat-label--ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .desoft-anime-shape,
  .desoft-anime-hand,
  .desoft-anime-text,
  .desoft-partner-logo-card,
  .desoft-partner-logo-icon,
  .desoft-partner-logo-label {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .desoft-hero-stat,
  .desoft-hero-stat-label {
    opacity: 1 !important;
    transform: none !important;
  }

  .desoft-hero-stat-value {
    text-shadow: none !important;
    filter: none !important;
  }

  #desoft-home-geo,
  #desoft-kong-geo,
  .desoft-section-geo-layer,
  .desoft-kong-section-geo-layer {
    display: none !important;
  }
}
