/* =========================================================
   Light theme — html[data-theme="light"]
   Full-site readable surfaces (overrides dark-first home/pages CSS)
   ========================================================= */

html[data-theme="light"] {
  color-scheme: light;
  --cg-ink: #0a1848;
  --cg-text: #090909;
  --cg-heading: #0a1848;
  --cg-muted: #121212;
  --cg-light: #f2f6ff;
  --cg-border: #dde5f5;
  --cg-line: #dde5f5;
  --cg-surface: #ffffff;
  --cg-surface-2: #f2f6ff;
  --cg-shadow: 0 10px 40px rgba(0, 119, 255, 0.1);
}

html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] body.home,
html[data-theme="light"] body:not(.home) {
  background: #ffffff !important;
  color: var(--cg-text) !important;
}

html[data-theme="light"] body.home .dz,
html[data-theme="light"] .dz {
  background: #ffffff !important;
  color: var(--cg-text) !important;
}

/* Headings — navy on light (hero/page-hero overridden below) */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] .section-title,
html[data-theme="light"] .dz h1,
html[data-theme="light"] .dz h2,
html[data-theme="light"] .dz h3 {
  color: var(--cg-heading) !important;
}

/* ---------- Header ---------- */
html[data-theme="light"] .site-chrome,
html[data-theme="light"] .site-header,
html[data-theme="light"] .header-main,
html[data-theme="light"] .site-header .header-main {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(10, 24, 72, 0.06) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 30px rgba(10, 24, 72, 0.06) !important;
}

html[data-theme="light"] .nav-primary > li > a,
html[data-theme="light"] body.home .nav-primary > li > a,
html[data-theme="light"] body:not(.home) .nav-primary > li > a {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .nav-toggle span,
html[data-theme="light"] body.home .nav-toggle span {
  background: var(--cg-heading) !important;
}

html[data-theme="light"] .site-logo img,
html[data-theme="light"] .footer-brand img {
  filter: none !important;
}

html[data-theme="light"] .mobile-nav,
html[data-theme="light"] .mobile-nav.is-open {
  background: #ffffff !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .mobile-nav a {
  color: var(--cg-heading) !important;
}

/* ---------- Hero (home) — professional light ---------- */
html[data-theme="light"] .dz-hero {
  color: var(--cg-heading) !important;
  padding-bottom: 90px !important;
  background:
    radial-gradient(ellipse 50% 55% at 88% 12%, rgba(0, 180, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 42% 50% at 6% 78%, rgba(0, 119, 255, 0.09), transparent 60%),
    radial-gradient(ellipse 35% 40% at 48% 100%, rgba(0, 82, 245, 0.05), transparent 55%),
    linear-gradient(180deg, #f5f8ff 0%, #eef4ff 38%, #f8faff 72%, #ffffff 100%) !important;
  border-bottom: 1px solid rgba(10, 24, 72, 0.05);
}

html[data-theme="light"] .dz-hero::before {
  background-image:
    linear-gradient(rgba(10, 24, 72, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 24, 72, 0.035) 1px, transparent 1px);
  opacity: 0.7;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 15%, transparent 78%);
}

html[data-theme="light"] .dz-hero-glow {
  background: radial-gradient(circle, rgba(0, 119, 255, 0.12), transparent 68%) !important;
  opacity: 0.85;
}

html[data-theme="light"] .dz-hero h1 {
  color: var(--cg-heading) !important;
  -webkit-text-fill-color: var(--cg-heading) !important;
  background: none !important;
  text-shadow: none !important;
  letter-spacing: -0.04em !important;
}

html[data-theme="light"] .dz-hero h1 .dz-grad,
html[data-theme="light"] .dz-grad {
  background: linear-gradient(100deg, #0066ee 0%, #00a8ff 48%, #0052f5 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] .dz-ai-chip {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 119, 255, 0.2) !important;
  color: #0b3d8c !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 22px rgba(10, 24, 72, 0.06) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 650 !important;
}

html[data-theme="light"] .dz-lead,
html[data-theme="light"] .dz-hero .dz-lead {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  max-width: 69ch !important;
}

html[data-theme="light"] .dz-btn-ghost,
html[data-theme="light"] .dz-hero .dz-btn-ghost,
html[data-theme="light"] .dz-cta .dz-btn-ghost {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.14) !important;
  color: var(--cg-heading) !important;
  -webkit-text-fill-color: var(--cg-heading) !important;
  box-shadow: 0 4px 14px rgba(10, 24, 72, 0.05) !important;
}

html[data-theme="light"] .dz-btn-ghost:hover,
html[data-theme="light"] .dz-hero .dz-btn-ghost:hover {
  background: #f2f6ff !important;
  border-color: rgba(0, 119, 255, 0.4) !important;
  color: var(--cg-blue) !important;
  -webkit-text-fill-color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-hero-proof {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(247, 250, 255, 0.98) 100%) !important;
  border: 1px solid rgba(10, 24, 72, 0.1) !important;
  border-radius: 18px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(10, 24, 72, 0.08),
    0 0 0 1px rgba(0, 119, 255, 0.04) !important;
  backdrop-filter: none;
  overflow: hidden;
}

html[data-theme="light"] .dz-hero-proof::before {
  width: 3px !important;
  background: linear-gradient(180deg, transparent 8%, #0077ff 35%, #00b4ff 65%, transparent 92%) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .dz-hero-proof li {
  padding: 14px 12px !important;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease;
}

html[data-theme="light"] .dz-hero-proof.is-in li:hover {
  background: rgba(0, 119, 255, 0.035);
}

html[data-theme="light"] .dz-hero-proof strong {
  background: linear-gradient(120deg, #0a1848 10%, #0077ff 70%, #00a8e8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  font-weight: 750 !important;
  font-size: 1.65rem !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 6px !important;
}

html[data-theme="light"] .dz-hero-proof.is-in li:hover strong {
  filter: none;
}

html[data-theme="light"] .dz-hero-proof span,
html[data-theme="light"] .dz-trust small {
  color: #4a5568 !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  letter-spacing: 0.01em;
}

html[data-theme="light"] .dz-hero-proof li + li::before {
  top: 18% !important;
  bottom: 18% !important;
  width: 1px !important;
  background: linear-gradient(180deg, transparent, rgba(0, 119, 255, 0.22), transparent) !important;
}

/* AI Engine visual */
html[data-theme="light"] .dz-engine {
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 119, 255, 0.12), transparent 44%),
    radial-gradient(circle at 78% 16%, rgba(0, 180, 255, 0.1), transparent 38%),
    radial-gradient(circle at 18% 82%, rgba(0, 119, 255, 0.06), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, #f4f8ff 48%, #e8f1ff 100%) !important;
  border: 1px solid rgba(10, 24, 72, 0.1) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 28px 64px rgba(10, 24, 72, 0.1),
    0 0 0 1px rgba(0, 119, 255, 0.04) !important;
}

html[data-theme="light"] .dz-engine::before {
  background-image: radial-gradient(rgba(0, 119, 255, 0.14) 1px, transparent 1px) !important;
  opacity: 0.4 !important;
}

html[data-theme="light"] .dz-orbit {
  border-color: rgba(0, 119, 255, 0.16) !important;
}

html[data-theme="light"] .dz-orbit--c {
  border-color: rgba(0, 119, 255, 0.12) !important;
  opacity: 0.55 !important;
}

html[data-theme="light"] .dz-engine-core {
  background:
    radial-gradient(circle at 32% 26%, #9ae6ff 0%, #38bdf8 22%, #0077ff 52%, #0055cc 78%, #0a1848 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    0 0 0 8px rgba(0, 119, 255, 0.07),
    0 0 0 18px rgba(0, 119, 255, 0.04),
    0 18px 48px rgba(0, 119, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  animation: dzCoreGlowLight 4.5s ease-in-out infinite !important;
}

html[data-theme="light"] .dz-engine-core span {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(10, 24, 72, 0.25);
  letter-spacing: -0.02em;
}

html[data-theme="light"] .dz-engine-core small {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 550;
  letter-spacing: 0.01em;
}

@keyframes dzCoreGlowLight {
  0%, 100% {
    box-shadow:
      0 0 0 8px rgba(0, 119, 255, 0.07),
      0 0 0 18px rgba(0, 119, 255, 0.04),
      0 18px 48px rgba(0, 119, 255, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(0, 119, 255, 0.1),
      0 0 0 26px rgba(0, 180, 255, 0.05),
      0 22px 56px rgba(0, 119, 255, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

html[data-theme="light"] .dz-node,
html[data-theme="light"] .dz-node.is-hot,
html[data-theme="light"] .dz-node--ai {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(10, 24, 72, 0.1) !important;
  color: #0a1848 !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 26px rgba(10, 24, 72, 0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

html[data-theme="light"] .dz-node:hover,
html[data-theme="light"] .dz-node.is-hot,
html[data-theme="light"] .dz-node--ai {
  background: #ffffff !important;
  border-color: rgba(0, 119, 255, 0.38) !important;
  color: #0a1848 !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px rgba(0, 119, 255, 0.14),
    0 0 0 3px rgba(0, 119, 255, 0.08) !important;
}

html[data-theme="light"] .dz-node::before {
  background: linear-gradient(145deg, #22ccff, #0077ff) !important;
  box-shadow: 0 0 10px rgba(0, 119, 255, 0.4) !important;
}

html[data-theme="light"] .dz-node.is-hot::before,
html[data-theme="light"] .dz-node--ai::before {
  background: linear-gradient(145deg, #7dd3fc, #0077ff) !important;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.55) !important;
}

/* Capability cards under hero */
html[data-theme="light"] .dz-cap {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.09) !important;
  color: var(--cg-heading) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 32px rgba(10, 24, 72, 0.06) !important;
}

html[data-theme="light"] .dz-cap:hover {
  border-color: rgba(0, 119, 255, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 40px rgba(10, 24, 72, 0.1) !important;
  transform: translateY(-4px);
}

html[data-theme="light"] .dz-cap-top strong,
html[data-theme="light"] .dz-cap p {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-cap-index {
  color: rgba(10, 24, 72, 0.35) !important;
}

html[data-theme="light"] .dz-cap-go,
html[data-theme="light"] .dz-cap span,
html[data-theme="light"] .dz-cap em {
  color: #475569 !important;
}

html[data-theme="light"] .dz-cap:hover .dz-cap-go {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-cap-icon {
  color: var(--cg-blue) !important;
  background: linear-gradient(145deg, rgba(0, 180, 255, 0.14), rgba(0, 119, 255, 0.1)) !important;
  border-color: rgba(0, 119, 255, 0.2) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .dz-cap-badge {
  background: #eef4ff !important;
  color: var(--cg-blue) !important;
  border-color: transparent !important;
}

html[data-theme="light"] .dz-cap--ai {
  border-color: rgba(0, 119, 255, 0.22) !important;
}

html[data-theme="light"] .dz-cap--ai .dz-cap-badge {
  background: rgba(0, 119, 255, 0.1) !important;
  color: var(--cg-blue) !important;
}

/* ---------- Page hero (inner) — premium light ---------- */
html[data-theme="light"] .page-hero,
html[data-theme="light"] body:not(.home) .page-hero {
  position: relative;
  isolation: isolate;
  padding: 60px 0 30px !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 55% at 50% 108%, rgba(0, 119, 255, 0.14), transparent 58%),
    radial-gradient(ellipse 28% 40% at 12% 18%, rgba(0, 180, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 30% 42% at 90% 22%, rgba(0, 82, 245, 0.12), transparent 60%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 48%),
    linear-gradient(180deg, #e8f1ff 0%, #f2f7ff 38%, #f8fbff 72%, #ffffff 100%) !important;
  color: var(--cg-heading) !important;
  border-bottom: 1px solid rgba(10, 24, 72, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] body:not(.home) .page-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 180, 255, 0.18) 0%, rgba(0, 119, 255, 0.08) 35%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: pageHeroGlow 7s ease-in-out infinite;
}

html[data-theme="light"] body:not(.home) .page-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(320px, 46%);
  height: 3px;
  transform: translateX(-50%);
  transform-origin: center;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, transparent, #22d3ee, #0077ff 50%, #0052f5, transparent);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
  animation: pageHeroAccent 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
  box-shadow: 0 0 18px rgba(0, 119, 255, 0.35);
}

html[data-theme="light"] body:not(.home) .page-hero-rings {
  top: 46%;
  width: min(980px, 145vw) !important;
  opacity: 1;
  background:
    radial-gradient(circle, transparent 14%, rgba(0, 119, 255, 0.14) 14.6%, transparent 15.1%),
    radial-gradient(circle, transparent 24%, rgba(0, 119, 255, 0.12) 24.6%, transparent 25.1%),
    radial-gradient(circle, transparent 34%, rgba(0, 119, 255, 0.1) 34.6%, transparent 35.1%),
    radial-gradient(circle, transparent 44%, rgba(0, 82, 245, 0.09) 44.6%, transparent 45.1%),
    radial-gradient(circle, transparent 54%, rgba(0, 82, 245, 0.075) 54.6%, transparent 55.1%),
    radial-gradient(circle, transparent 64%, rgba(10, 24, 72, 0.055) 64.6%, transparent 65.1%),
    radial-gradient(circle, transparent 74%, rgba(10, 24, 72, 0.04) 74.6%, transparent 75.1%) !important;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  z-index: 0;
}

html[data-theme="light"] body:not(.home) .page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

html[data-theme="light"] .page-hero h1,
html[data-theme="light"] body:not(.home) .page-hero h1 {
  color: var(--cg-heading) !important;
  -webkit-text-fill-color: var(--cg-heading) !important;
  font-size: clamp(2.5rem, 5.2vw, 3.85rem) !important;
  letter-spacing: -0.05em !important;
  line-height: 1.04 !important;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0, 80, 180, 0.08);
}

html[data-theme="light"] .page-hero p,
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .breadcrumb a {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .page-hero-kicker,
html[data-theme="light"] body:not(.home) .page-hero-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 20px !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 119, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 28px rgba(10, 24, 72, 0.07),
    0 0 0 4px rgba(0, 119, 255, 0.04) !important;
  color: #005be0 !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.16em !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-theme="light"] .page-hero-kicker::before,
html[data-theme="light"] body:not(.home) .page-hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22d3ee, #0077ff);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.18), 0 0 12px rgba(0, 119, 255, 0.35);
  flex-shrink: 0;
  animation: pageHeroDot 2.4s ease-in-out infinite;
}

@keyframes pageHeroGlow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] body:not(.home) .page-hero::before,
  html[data-theme="light"] body:not(.home) .page-hero::after,
  html[data-theme="light"] .page-hero-kicker::before,
  html[data-theme="light"] body:not(.home) .page-hero-kicker::before {
    animation: none !important;
  }
}

/* ---------- Section heads / leads ---------- */
html[data-theme="light"] .dz-head > p,
html[data-theme="light"] .dz-trust-sub,
html[data-theme="light"] .dz-stack-head p,
html[data-theme="light"] .clients-lead,
html[data-theme="light"] .team-lead,
html[data-theme="light"] .contact-lead,
html[data-theme="light"] .services-intro-lead,
html[data-theme="light"] .offer-lead,
html[data-theme="light"] .industry-lead,
html[data-theme="light"] .portfolio-intro-lead,
html[data-theme="light"] .product-spotlight-lead,
html[data-theme="light"] .product-spotlight-overview,
html[data-theme="light"] .product-spotlight-block-lead,
html[data-theme="light"] .service-detail-lead,
html[data-theme="light"] .cases-intro,
html[data-theme="light"] .single-meta {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .dz-kicker,
html[data-theme="light"] .dz-mega-kicker,
html[data-theme="light"] .page-hero-kicker,
html[data-theme="light"] .service-detail-eyebrow {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] label,
html[data-theme="light"] small,
html[data-theme="light"] em {
  color: inherit;
}

/* ---------- Clients — premium light ---------- */
html[data-theme="light"] .dz-trust,
html[data-theme="light"] .dz-stack,
html[data-theme="light"] .clients-section {
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%, rgba(0, 119, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #f5f8fc 0%, #f8fafc 55%, #ffffff 100%) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .clients-head {
  text-align: center;
  margin-bottom: 36px;
}

html[data-theme="light"] .clients-head .eyebrow,
html[data-theme="light"] .clients-section .eyebrow {
  color: var(--cg-blue) !important;
  font-weight: 750 !important;
  letter-spacing: 0.14em !important;
}

html[data-theme="light"] .clients-head .section-title,
html[data-theme="light"] .clients-section .section-title {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .clients-head .section-title span,
html[data-theme="light"] .clients-section .section-title span {
  color: var(--cg-blue) !important;
  background: linear-gradient(100deg, #0077ff, #00b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .clients-lead {
  color: #475569 !important;
  max-width: 46em;
  margin-left: auto;
  margin-right: auto;
}

html[data-theme="light"] .clients-grid {
  gap: 18px !important;
}

html[data-theme="light"] .dz-client,
html[data-theme="light"] .client-card {
  position: relative;
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.08) !important;
  color: var(--cg-heading) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px rgba(10, 24, 72, 0.05) !important;
  overflow: hidden;
}

html[data-theme="light"] .client-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

html[data-theme="light"] .dz-client:hover,
html[data-theme="light"] .client-card:hover {
  background: #ffffff !important;
  border-color: rgba(0, 119, 255, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(10, 24, 72, 0.1) !important;
  transform: translateY(-5px);
}

html[data-theme="light"] .client-card:hover::before {
  opacity: 1;
}

html[data-theme="light"] .client-name,
html[data-theme="light"] .dz-client-name,
html[data-theme="light"] .client-card strong {
  color: #0a1848 !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: -0.02em;
  line-height: 1.35 !important;
}

html[data-theme="light"] .dz-client-domain,
html[data-theme="light"] .clients-note,
html[data-theme="light"] .clients-note span {
  color: #64748b !important;
}

html[data-theme="light"] .clients-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 24, 72, 0.07);
  box-shadow: 0 8px 22px rgba(10, 24, 72, 0.04);
  font-size: 13px;
  font-weight: 600;
}

html[data-theme="light"] .clients-note .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 119, 255, 0.45);
}

html[data-theme="light"] .dz-client-logo,
html[data-theme="light"] .client-logo,
html[data-theme="light"] .client-mark {
  background: linear-gradient(165deg, #ffffff 0%, #f3f7ff 100%) !important;
  border: 1px solid rgba(0, 119, 255, 0.14) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 22px rgba(10, 24, 72, 0.07) !important;
  color: var(--client-color, var(--cg-blue)) !important;
}

html[data-theme="light"] .client-card:hover .client-mark,
html[data-theme="light"] .client-card:hover .client-logo {
  border-color: rgba(0, 119, 255, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 28px rgba(0, 119, 255, 0.12) !important;
  transform: translateY(-2px) scale(1.03);
}

html[data-theme="light"] .client-initials,
html[data-theme="light"] .client-mark .client-initials,
html[data-theme="light"] .client-logo .client-initials {
  color: var(--client-color, #0077ff) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .dz-client-fallback {
  background: linear-gradient(145deg, #22ccff 0%, var(--cg-blue) 48%, #0055ff 100%) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .client-logo,
html[data-theme="light"] .client-mark {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* ---------- Offers / services rows / solve cards ---------- */
html[data-theme="light"] .dz-offer-card,
html[data-theme="light"] .dz-svc-row,
html[data-theme="light"] .dz-solve,
html[data-theme="light"] .dz-sol,
html[data-theme="light"] .dz-problem,
html[data-theme="light"] .dz-why-card,
html[data-theme="light"] .dz-product,
html[data-theme="light"] .dz-ind,
html[data-theme="light"] .dz-case,
html[data-theme="light"] .dz-flow-node,
html[data-theme="light"] .dz-step-panel,
html[data-theme="light"] .dz-quote-shell,
html[data-theme="light"] .dz-inquiry-panel,
html[data-theme="light"] .svc-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .team-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .hire-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .job-card {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.1) !important;
  color: var(--cg-text) !important;
  box-shadow: 0 10px 32px rgba(10, 24, 72, 0.06) !important;
}

html[data-theme="light"] .dz-offer-card:hover,
html[data-theme="light"] .dz-offer-card.is-open,
html[data-theme="light"] .dz-svc-row:hover,
html[data-theme="light"] .dz-solve:hover,
html[data-theme="light"] .dz-sol:hover,
html[data-theme="light"] .svc-card:hover,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .portfolio-card:hover,
html[data-theme="light"] .team-card:hover {
  background: #f7faff !important;
  border-color: rgba(0, 119, 255, 0.28) !important;
  box-shadow: 0 16px 36px rgba(10, 24, 72, 0.1) !important;
}

html[data-theme="light"] .dz-offer-card-title,
html[data-theme="light"] .dz-offer-card-block h3,
html[data-theme="light"] .dz-offer-card-foot strong,
html[data-theme="light"] .dz-svc-row-title,
html[data-theme="light"] .dz-why-card h3,
html[data-theme="light"] .dz-case h3,
html[data-theme="light"] .dz-product h3,
html[data-theme="light"] .dz-ind h3,
html[data-theme="light"] .dz-solve h3,
html[data-theme="light"] .dz-sol h3,
html[data-theme="light"] .dz-solve-answer,
html[data-theme="light"] .dz-quote cite,
html[data-theme="light"] .dz-quote-by strong,
html[data-theme="light"] .dz-about-copy h2,
html[data-theme="light"] .dz-step-meta strong,
html[data-theme="light"] .dz-step-label,
html[data-theme="light"] .dz-cta .dz-head h2,
html[data-theme="light"] .dz-inquiry-panel h2,
html[data-theme="light"] .dz-head h2 {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-offer-card-outcome,
html[data-theme="light"] .dz-offer-card-lead,
html[data-theme="light"] .dz-offer-card-includes,
html[data-theme="light"] .dz-offer-card-block p,
html[data-theme="light"] .dz-svc-row-detail,
html[data-theme="light"] .dz-why-card p,
html[data-theme="light"] .dz-case p,
html[data-theme="light"] .dz-case-meta,
html[data-theme="light"] .dz-case dd,
html[data-theme="light"] .dz-case-body,
html[data-theme="light"] .dz-case-body dd,
html[data-theme="light"] .dz-case-body p,
html[data-theme="light"] .dz-product p,
html[data-theme="light"] .dz-product-company,
html[data-theme="light"] .dz-ind p,
html[data-theme="light"] .dz-ind em,
html[data-theme="light"] .dz-ind-grid-3 .dz-ind em,
html[data-theme="light"] .dz-solve p,
html[data-theme="light"] .dz-solve-need,
html[data-theme="light"] .dz-sol-desc,
html[data-theme="light"] .dz-sol-num,
html[data-theme="light"] .dz-quote p,
html[data-theme="light"] .dz-quote-by span,
html[data-theme="light"] .dz-step-copy,
html[data-theme="light"] .dz-flow-node p,
html[data-theme="light"] .dz-about-copy > p,
html[data-theme="light"] .dz-about p,
html[data-theme="light"] .dz-inquiry-lead,
html[data-theme="light"] .dz-inquiry-note,
html[data-theme="light"] .dz-contact-copy > span:first-child,
html[data-theme="light"] .offer-block h3,
html[data-theme="light"] .offer-includes,
html[data-theme="light"] .industry-solutions,
html[data-theme="light"] .case-dl dd,
html[data-theme="light"] .service-detail-includes,
html[data-theme="light"] .service-detail-prose,
html[data-theme="light"] .portfolio-card-body p,
html[data-theme="light"] .portfolio-empty,
html[data-theme="light"] .product-body p,
html[data-theme="light"] .faq-item .answer,
html[data-theme="light"] .svc-card p {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .dz-ind strong,
html[data-theme="light"] .dz-ind-grid-3 .dz-ind strong {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-ind:hover {
  background: #f2f6ff !important;
  color: var(--cg-heading) !important;
  border-color: rgba(0, 119, 255, 0.28) !important;
}

html[data-theme="light"] .dz-ind:hover em,
html[data-theme="light"] .dz-ind-grid-3 .dz-ind:hover em {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .dz-ind:hover span,
html[data-theme="light"] .dz-ind-grid-3 .dz-ind:hover span {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-case a,
html[data-theme="light"] .dz-product a {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-product li,
html[data-theme="light"] .dz-product ul {
  color: var(--cg-text) !important;
}

/* ---------- AI automation flow (light) ---------- */
html[data-theme="light"] .dz-flow {
  background:
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(0, 119, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, #f5f7fb 100%) !important;
}

html[data-theme="light"] .dz-flow::before {
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.16), transparent);
}

html[data-theme="light"] .dz-flow-rail {
  background: rgba(10, 24, 72, 0.08) !important;
  height: 2px;
}

html[data-theme="light"] .dz-flow-rail-fill {
  background: linear-gradient(90deg, #0077ff, #00b4ff) !important;
}

html[data-theme="light"] .dz-flow-rail-pulse {
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.15), #00b4ff, transparent) !important;
}

html[data-theme="light"] .dz-flow-node {
  position: relative;
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.09) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 28px rgba(10, 24, 72, 0.055) !important;
  gap: 14px !important;
  padding: 18px 14px 20px !important;
}

html[data-theme="light"] .dz-flow-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

html[data-theme="light"] .dz-flow-node:hover,
html[data-theme="light"] .dz-flow-node:focus,
html[data-theme="light"] .dz-flow-node:focus-visible {
  background: #ffffff !important;
  border-color: rgba(0, 119, 255, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 40px rgba(10, 24, 72, 0.1) !important;
  outline: none;
}

html[data-theme="light"] .dz-flow-node:hover::before,
html[data-theme="light"] .dz-flow-node:focus-visible::before,
html[data-theme="light"] .dz-flow-node.is-active::before {
  opacity: 1;
}

html[data-theme="light"] .dz-flow-node.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%) !important;
  border-color: rgba(0, 119, 255, 0.38) !important;
  box-shadow:
    0 0 0 1px rgba(0, 119, 255, 0.1),
    0 20px 44px rgba(0, 119, 255, 0.14) !important;
}

html[data-theme="light"] .dz-flow-node.is-active.is-in:hover,
html[data-theme="light"] .dz-flow-node.is-active:focus-visible {
  box-shadow:
    0 0 0 1px rgba(0, 119, 255, 0.14),
    0 24px 52px rgba(0, 119, 255, 0.18) !important;
}

html[data-theme="light"] .dz-flow-num,
html[data-theme="light"] body.home .dz-flow-num {
  background: #eef4ff !important;
  border: 1px solid rgba(0, 119, 255, 0.2) !important;
  color: #0077ff !important;
  -webkit-text-fill-color: #0077ff !important;
  box-shadow: 0 0 0 3px #ffffff !important;
}

html[data-theme="light"] .dz-flow-node:hover .dz-flow-num,
html[data-theme="light"] .dz-flow-node:focus-visible .dz-flow-num,
html[data-theme="light"] .dz-flow-node.is-active .dz-flow-num,
html[data-theme="light"] body.home .dz-flow-node:hover .dz-flow-num,
html[data-theme="light"] body.home .dz-flow-node:focus-visible .dz-flow-num,
html[data-theme="light"] body.home .dz-flow-node.is-active .dz-flow-num {
  background: linear-gradient(145deg, #22ccff 0%, #0077ff 48%, #0055ff 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow:
    0 0 0 3px #ffffff,
    0 8px 18px rgba(0, 119, 255, 0.3) !important;
}

html[data-theme="light"] .dz-flow-node h3,
html[data-theme="light"] .dz-flow-head h3,
html[data-theme="light"] .dz-flow-node.is-active h3,
html[data-theme="light"] .dz-flow-node.is-active .dz-flow-head h3,
html[data-theme="light"] body.home .dz-flow-node.is-active h3,
html[data-theme="light"] body.home .dz-flow-node.is-active .dz-flow-head h3 {
  color: #0a1848 !important;
}

html[data-theme="light"] .dz-flow-node p {
  color: #5a6478 !important;
  font-size: 12.5px;
  line-height: 1.55;
}

html[data-theme="light"] .dz-flow-arrow {
  background: #ffffff !important;
  border: 1px solid rgba(0, 119, 255, 0.22) !important;
  color: #0077ff !important;
  box-shadow: 0 4px 14px rgba(10, 24, 72, 0.08) !important;
}

html[data-theme="light"] .dz-flow-node.is-active .dz-flow-arrow,
html[data-theme="light"] .dz-flow-node.is-done .dz-flow-arrow {
  background: #0077ff !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 119, 255, 0.32) !important;
}

html[data-theme="light"] .dz-offer-card-tags li,
html[data-theme="light"] .dz-svc-row-tags span,
html[data-theme="light"] .offer-tags li,
html[data-theme="light"] .dz-offer-card-flow,
html[data-theme="light"] .dz-offer-card-flow li,
html[data-theme="light"] .offer-flow li {
  background: #eef4ff !important;
  border-color: rgba(0, 119, 255, 0.16) !important;
  color: var(--cg-heading) !important;
}

/* Numbers on blue fill stay white */
html[data-theme="light"] .dz-offer-card-num,
html[data-theme="light"] .dz-svc-row-num,
html[data-theme="light"] .dz-solve-num {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-offer-card.is-open .dz-offer-card-num,
html[data-theme="light"] .dz-offer-card-num.is-on {
  color: #ffffff !important;
}

/* ---------- Section bands ---------- */
html[data-theme="light"] .dz-offers-home,
html[data-theme="light"] .dz-solutions,
html[data-theme="light"] .dz-work,
html[data-theme="light"] .dz-why,
html[data-theme="light"] .dz-flow,
html[data-theme="light"] .dz-process,
html[data-theme="light"] .dz-products,
html[data-theme="light"] .dz-products-home,
html[data-theme="light"] .dz-industries,
html[data-theme="light"] .dz-quotes,
html[data-theme="light"] .dz-about,
html[data-theme="light"] .dz-cta,
html[data-theme="light"] .dz-inquiry {
  background: #ffffff !important;
  color: var(--cg-text) !important;
}

html[data-theme="light"] .dz-why,
html[data-theme="light"] .dz-flow,
html[data-theme="light"] .dz-inquiry {
  background: #f5f7fb !important;
}

html[data-theme="light"] .dz-band-dark {
  background: #f2f6ff !important;
  color: var(--cg-heading) !important;
}

/* Case visual + page CTA stay dark accents; Published proof + footer go light */
html[data-theme="light"] .dz-case-visual,
html[data-theme="light"] .page-cta-inner,
html[data-theme="light"] .section-dark {
  color: #ffffff !important;
}

html[data-theme="light"] .dz-case-visual *,
html[data-theme="light"] .page-cta-inner *,
html[data-theme="light"] .section-dark * {
  color: inherit;
}

html[data-theme="light"] .page-cta-inner h2,
html[data-theme="light"] .section-dark h2 {
  color: #ffffff !important;
}

/* ---------- Published proof (home + about) — white in light mode ---------- */
html[data-theme="light"] .dz-about-stat,
html[data-theme="light"] body:not(.home) .about-panel {
  background:
    radial-gradient(420px 240px at 92% 0%, rgba(0, 119, 255, 0.08), transparent 55%),
    radial-gradient(280px 180px at 0% 100%, rgba(0, 180, 255, 0.05), transparent 50%),
    #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.1) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px rgba(10, 24, 72, 0.07) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-about-stat::before,
html[data-theme="light"] body:not(.home) .about-panel-ring {
  border-color: rgba(0, 119, 255, 0.16) !important;
  box-shadow:
    0 0 0 24px rgba(0, 119, 255, 0.035),
    inset 0 0 40px rgba(0, 180, 255, 0.04) !important;
}

html[data-theme="light"] .dz-about-stat::after,
html[data-theme="light"] body:not(.home) .about-panel-glow {
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.06), transparent) !important;
  opacity: 0.55;
}

html[data-theme="light"] .dz-about-stat-label,
html[data-theme="light"] body:not(.home) .about-panel-label {
  color: #0077ff !important;
}

html[data-theme="light"] .dz-about-stat-grid li,
html[data-theme="light"] body:not(.home) .about-panel-stats li {
  background: #f7f9fc !important;
  border: 1px solid rgba(10, 24, 72, 0.08) !important;
  box-shadow: 0 6px 16px rgba(10, 24, 72, 0.04) !important;
}

html[data-theme="light"] .dz-about-stat-grid li:hover,
html[data-theme="light"] body:not(.home) .about-panel-stats li:hover {
  border-color: rgba(0, 119, 255, 0.28) !important;
  background: #eef4ff !important;
  transform: translateY(-2px);
}

html[data-theme="light"] .dz-about-stat-grid strong,
html[data-theme="light"] body:not(.home) .about-panel-stats strong {
  background: linear-gradient(120deg, #0a1848 8%, #0077ff 52%, #00a8e8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-theme="light"] .dz-about-stat-grid span,
html[data-theme="light"] body:not(.home) .about-panel-stats span {
  color: #5a6478 !important;
}

html[data-theme="light"] .dz-about-stat-caption,
html[data-theme="light"] body:not(.home) .about-panel-source {
  color: #5a6478 !important;
}

/* ---------- Footer (light) ---------- */
html[data-theme="light"] .site-footer {
  background:
    radial-gradient(ellipse 40% 50% at 0% 0%, rgba(0, 119, 255, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #eef4ff 100%) !important;
  color: var(--cg-text) !important;
  border-top: 1px solid rgba(10, 24, 72, 0.08) !important;
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer li,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .footer-nav a,
html[data-theme="light"] .footer-col p,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .footer-bottom p,
html[data-theme="light"] .footer-col--about p,
html[data-theme="light"] .footer-links li a {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .site-footer h3,
html[data-theme="light"] .site-footer h4,
html[data-theme="light"] .footer-col strong,
html[data-theme="light"] .footer-brand-name {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .footer-nav a:hover,
html[data-theme="light"] .footer-links li a:hover {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-brand img {
  filter: none !important;
  opacity: 1 !important;
}

html[data-theme="light"] .footer-social-icon {
  background: #ffffff !important;
  border-color: rgba(10, 24, 72, 0.12) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .footer-socials a:hover .footer-social-icon {
  background: rgba(0, 119, 255, 0.1) !important;
  border-color: rgba(0, 119, 255, 0.3) !important;
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-cta {
  background: #ffffff !important;
  border-color: rgba(0, 119, 255, 0.3) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .footer-cta:hover {
  background: linear-gradient(145deg, var(--cg-blue), #0055ff) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

html[data-theme="light"] .footer-bottom {
  background: transparent !important;
  border-color: rgba(10, 24, 72, 0.1) !important;
}

html[data-theme="light"] .footer-copy-brand {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-contact-label,
html[data-theme="light"] .footer-contact span:first-child {
  color: var(--cg-muted) !important;
}

html[data-theme="light"] .footer-contact li {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .footer-contact-icon {
  background: #ffffff !important;
  border-color: rgba(10, 24, 72, 0.12) !important;
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-contact a,
html[data-theme="light"] .footer-contact strong,
html[data-theme="light"] .footer-contact-value {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .footer-contact a:hover {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-links li a:hover {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .footer-copy-brand:hover {
  color: var(--cg-heading) !important;
}

/* ---------- Forms ---------- */
html[data-theme="light"] .dz-form label,
html[data-theme="light"] .dz-form-secure,
html[data-theme="light"] .contact-form-head p,
html[data-theme="light"] .contact-form-hint,
html[data-theme="light"] .contact-note,
html[data-theme="light"] .contact-info-card,
html[data-theme="light"] .contact-channel-copy > span:first-child {
  color: var(--cg-text) !important;
}

html[data-theme="light"] .dz-form input,
html[data-theme="light"] .dz-form textarea,
html[data-theme="light"] .dz-form select,
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select {
  background: #ffffff !important;
  border-color: rgba(10, 24, 72, 0.14) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-form input::placeholder,
html[data-theme="light"] .dz-form textarea::placeholder,
html[data-theme="light"] .contact-form input::placeholder,
html[data-theme="light"] .contact-form textarea::placeholder {
  color: #94a3b8 !important;
}

/* ---------- Product spotlight / pages ---------- */
html[data-theme="light"] .product-spotlight-features article,
html[data-theme="light"] .product-spotlight-industries article,
html[data-theme="light"] .product-spotlight-support article,
html[data-theme="light"] .product-spotlight-plans article,
html[data-theme="light"] .product-spotlight-highlights li,
html[data-theme="light"] .product-spotlight-proof li {
  background: #ffffff !important;
  border-color: rgba(10, 24, 72, 0.1) !important;
  color: var(--cg-text) !important;
}

html[data-theme="light"] .product-spotlight-features h3,
html[data-theme="light"] .product-spotlight-industries h4,
html[data-theme="light"] .product-spotlight-support h4,
html[data-theme="light"] .product-spotlight-plans h4,
html[data-theme="light"] .product-spotlight-proof strong,
html[data-theme="light"] .product-spotlight-block-title,
html[data-theme="light"] .product-spotlight-copy h2,
html[data-theme="light"] .product-spotlight-highlights li {
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .product-spotlight-features p,
html[data-theme="light"] .product-spotlight-industries p,
html[data-theme="light"] .product-spotlight-support p,
html[data-theme="light"] .product-spotlight-plan-blurb,
html[data-theme="light"] .product-spotlight-plans li,
html[data-theme="light"] .product-spotlight-proof span,
html[data-theme="light"] .product-spotlight-integrations li,
html[data-theme="light"] .product-spotlight-caps li {
  color: var(--cg-text) !important;
}

/* ---------- Mega (light) — professional panel ---------- */
html[data-theme="light"] .dz-mega,
html[data-theme="light"] .nav-primary .sub-menu {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.08) !important;
  color: var(--cg-text) !important;
  box-shadow:
    0 4px 12px rgba(10, 24, 72, 0.04),
    0 24px 56px rgba(10, 24, 72, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
  scrollbar-color: rgba(0, 119, 255, 0.28) transparent;
}

html[data-theme="light"] .dz-mega::before {
  height: 3px !important;
  background: linear-gradient(90deg, #00b4ff, #0077ff 45%, #0052f5) !important;
}

html[data-theme="light"] .dz-mega::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 255, 0.22) !important;
}

html[data-theme="light"] .dz-mega-aside,
html[data-theme="light"] .dz-mega-feat {
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(0, 119, 255, 0.1), transparent 58%),
    linear-gradient(175deg, #f5f8ff 0%, #eef3ff 48%, #e8effc 100%) !important;
  border-right: 1px solid rgba(10, 24, 72, 0.07) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-mega-kicker,
html[data-theme="light"] .dz-mega-aside .dz-mega-kicker {
  color: var(--cg-blue) !important;
  letter-spacing: 0.14em !important;
}

html[data-theme="light"] .dz-mega-aside h3,
html[data-theme="light"] .dz-mega-feat h3,
html[data-theme="light"] .dz-mega-feature-title {
  color: var(--cg-heading) !important;
  letter-spacing: -0.03em !important;
}

html[data-theme="light"] .dz-mega-lead,
html[data-theme="light"] .dz-mega-feat .dz-mega-lead {
  color: #475569 !important;
  text-align: left !important;
  line-height: 1.6 !important;
}

html[data-theme="light"] .dz-mega-main,
html[data-theme="light"] .dz-mega-nav-panel {
  background: #fbfcfe !important;
  color: var(--cg-text) !important;
}

html[data-theme="light"] .dz-mega-resources,
html[data-theme="light"] .dz-mega-resources > .dz-mega-feat {
  background:
    radial-gradient(ellipse 80% 55% at 0% 0%, rgba(0, 119, 255, 0.08), transparent 55%),
    linear-gradient(175deg, #f5f8ff 0%, #eef3ff 100%) !important;
}

html[data-theme="light"] .dz-mega-col,
html[data-theme="light"] .dz-mega-offer,
html[data-theme="light"] .dz-mega-case-item,
html[data-theme="light"] .dz-mega-product-card,
html[data-theme="light"] .dz-mega-feature-card {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.08) !important;
  box-shadow: 0 8px 22px rgba(10, 24, 72, 0.04) !important;
  color: #0a1848 !important;
}

html[data-theme="light"] .dz-mega-col:hover,
html[data-theme="light"] .dz-mega-offer:hover,
html[data-theme="light"] .dz-mega-case-item:hover,
html[data-theme="light"] .dz-mega-feature-card:hover {
  border-color: rgba(0, 119, 255, 0.22) !important;
  box-shadow: 0 12px 28px rgba(10, 24, 72, 0.08) !important;
  background: #ffffff !important;
  transform: translateY(-1px);
}

html[data-theme="light"] .dz-mega-col-title,
html[data-theme="light"] .dz-mega-offer strong,
html[data-theme="light"] .dz-mega-product-card strong,
html[data-theme="light"] .dz-mega-cats a,
html[data-theme="light"] .dz-mega-nav-head strong,
html[data-theme="light"] .dz-mega-case-item strong {
  color: var(--cg-heading) !important;
  border-bottom-color: rgba(10, 24, 72, 0.08) !important;
}

html[data-theme="light"] .dz-mega-block + .dz-mega-block {
  border-top-color: rgba(10, 24, 72, 0.07) !important;
}

html[data-theme="light"] .dz-mega-col ul,
html[data-theme="light"] .dz-mega-col li {
  color: #0a1848 !important;
}

html[data-theme="light"] .dz-mega-col a,
html[data-theme="light"] .dz-mega-col ul li a,
html[data-theme="light"] .dz-mega-col > ul li a,
html[data-theme="light"] .dz-mega-col ul:not(.dz-mega-ind-targets):not(.dz-mega-ind-solutions) li a,
html[data-theme="light"] .dz-mega-nav-list a,
html[data-theme="light"] .dz-mega-product-card > p,
html[data-theme="light"] .dz-mega-nav-head em,
html[data-theme="light"] .dz-mega-ind-kicker,
html[data-theme="light"] .dz-mega-offer em,
html[data-theme="light"] .dz-mega-case-item em {
  color: #1e293b !important;
  background: transparent !important;
  border-color: transparent !important;
}

html[data-theme="light"] .dz-mega-portfolio .dz-mega-block ul a em,
html[data-theme="light"] .dz-mega-col a em {
  color: #0077ff !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .dz-mega-col a::before {
  width: 4px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(0, 119, 255, 0.4) !important;
}

html[data-theme="light"] .dz-mega-col a:hover,
html[data-theme="light"] .dz-mega-col ul li a:hover,
html[data-theme="light"] .dz-mega-col ul:not(.dz-mega-ind-targets):not(.dz-mega-ind-solutions) li a:hover,
html[data-theme="light"] .dz-mega-nav-list a:hover {
  background: rgba(0, 119, 255, 0.06) !important;
  border-color: rgba(0, 119, 255, 0.12) !important;
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-mega-col a:hover::before {
  background: var(--cg-blue) !important;
  height: 10px !important;
}

html[data-theme="light"] .dz-mega-portfolio .dz-mega-count,
html[data-theme="light"] .dz-mega-col-title span,
html[data-theme="light"] .dz-mega-cats a span,
html[data-theme="light"] .dz-mega-offer-num,
html[data-theme="light"] .dz-mega-nav-num,
html[data-theme="light"] .dz-mega-case-num,
html[data-theme="light"] .dz-mega-product-caps li {
  background: #eef4ff !important;
  border: 1px solid rgba(0, 119, 255, 0.12) !important;
  color: var(--cg-blue) !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .dz-mega-cats a {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.08) !important;
  color: var(--cg-heading) !important;
  box-shadow: 0 4px 12px rgba(10, 24, 72, 0.04) !important;
}

html[data-theme="light"] .dz-mega-cats a:hover {
  border-color: rgba(0, 119, 255, 0.28) !important;
  background: #f7faff !important;
}

html[data-theme="light"] .dz-mega-all,
html[data-theme="light"] .dz-mega-all:not(.dz-mega-all--primary) {
  background: #ffffff !important;
  border: 1px solid rgba(10, 24, 72, 0.12) !important;
  color: var(--cg-heading) !important;
}

html[data-theme="light"] .dz-mega-all:hover {
  border-color: rgba(0, 119, 255, 0.35) !important;
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-mega-all--primary,
html[data-theme="light"] .dz-mega-aside .dz-mega-all,
html[data-theme="light"] .dz-mega-main .dz-mega-all--primary {
  background: linear-gradient(135deg, #1a9fff 0%, #0077ff 55%, #0055ff 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(0, 119, 255, 0.28) !important;
}

html[data-theme="light"] .dz-mega-all--primary:hover,
html[data-theme="light"] .dz-mega-aside .dz-mega-all:hover {
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(0, 119, 255, 0.34) !important;
}

html[data-theme="light"] .dz-mega-nav-list a.is-cta {
  background: linear-gradient(135deg, #1a9fff 0%, #0077ff 55%, #0055ff 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html[data-theme="light"] .dz-mega-nav-head {
  border-bottom-color: rgba(10, 24, 72, 0.08) !important;
}

html[data-theme="light"] .dz-mega-ind-targets li,
html[data-theme="light"] .dz-mega-ind-solutions a {
  color: #334155 !important;
}

html[data-theme="light"] .dz-mega-ind-solutions a:hover {
  color: var(--cg-blue) !important;
}

html[data-theme="light"] .dz-mega-testi blockquote {
  background: #ffffff !important;
  border-color: rgba(10, 24, 72, 0.08) !important;
}

html[data-theme="light"] .dz-mega-testi blockquote p,
html[data-theme="light"] .dz-mega-testi footer {
  color: #475569 !important;
}

html[data-theme="light"] .nav-primary .sub-menu a {
  color: #1e293b !important;
}

html[data-theme="light"] .nav-primary .sub-menu a:hover {
  color: var(--cg-blue) !important;
  background: rgba(0, 119, 255, 0.06) !important;
}

/* ---------- Theme toggle ---------- */
.cg-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(10, 24, 72, 0.12);
  background: #f2f6ff;
  color: var(--cg-heading);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cg-theme-toggle:hover {
  background: #e8efff;
  border-color: rgba(0, 119, 255, 0.35);
  color: var(--cg-blue);
  transform: translateY(-1px);
}

.cg-theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cg-theme-toggle .cg-theme-icon-sun {
  display: none;
}

.cg-theme-toggle .cg-theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .cg-theme-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 211, 252, 0.22);
  color: #e8f0fa;
}

html[data-theme="dark"] .cg-theme-toggle:hover {
  background: rgba(0, 119, 255, 0.18);
  border-color: rgba(125, 211, 252, 0.4);
  color: #7dd3fc;
}

html[data-theme="dark"] .cg-theme-toggle .cg-theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .cg-theme-toggle .cg-theme-icon-moon {
  display: none;
}

@media (max-width: 900px) {
  .cg-theme-toggle {
    width: 38px;
    height: 38px;
  }
}
