html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; height: auto; }
main, section, header, footer, nav, div, article { min-width: 0; }

/* Requested premium gradient for the index industry/use-case section only. */
.dx-industry-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(77, 139, 255, 0.18), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(0, 50, 173, 0.16), transparent 38%),
    linear-gradient(135deg, #f7faff 0%, #eef4ff 48%, #f8fbff 100%);
}

.f500-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 800ms cubic-bezier(.22, 1, .36, 1),
    transform 900ms cubic-bezier(.22, 1, .36, 1),
    filter 700ms ease;
  transition-delay: var(--f500-delay, 0ms);
  will-change: opacity, transform, filter;
}
.f500-reveal.f500-from-left { transform: translate3d(-44px, 0, 0) scale(.99); }
.f500-reveal.f500-from-right { transform: translate3d(44px, 0, 0) scale(.99); }
.f500-reveal.f500-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 1200px) {
  .dx-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  section { scroll-margin-top: 82px; }
  .dx-industry-grid { grid-template-columns: 1fr; }
  .horizontal-use-cases__navigation { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
  .horizontal-use-cases__industry-button { flex: 0 0 auto; }
}

@media (max-width: 600px) {
  .f500-reveal,
  .f500-reveal.f500-from-left,
  .f500-reveal.f500-from-right { transform: translate3d(0, 25px, 0) scale(.992); filter: blur(4px); }
  .f500-reveal.f500-visible { transform: none; filter: none; }
  .dx-industry-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .dx-industry-type-button { width: 100%; justify-content: center; }
  .horizontal-use-cases__mode-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .horizontal-use-cases__mode-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .f500-reveal,
  .f500-reveal.f500-from-left,
  .f500-reveal.f500-from-right {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================================================
   REQUESTED HEADER HOVER / CURRENT STATE
   Visual-only: does not change header sizing, spacing or layout.
========================================================= */
.site-header .nav-menu > a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  transition: color .22s ease;
}

.site-header .nav-menu > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -11px -18px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  box-shadow: none;
  transform: scale(.96);
  opacity: 0;
  transition:
    opacity .22s ease,
    transform .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.site-header .nav-menu > a:hover,
.site-header .nav-menu > a:focus-visible,
.site-header .nav-menu > a.is-active,
.site-header .nav-menu > a[aria-current="page"] {
color: #fff !important;
}

.site-header .nav-menu > a:hover::before,
.site-header .nav-menu > a:focus-visible::before,
.site-header .nav-menu > a.is-active::before,
.site-header .nav-menu > a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
  background: #005CE6;
  color:#ffffff;
  border-color: rgba(7, 91, 232, .13);
  box-shadow: 0 8px 22px rgba(7, 91, 232, .10);
}

.site-header .nav-menu > a:focus-visible {
  outline: 2px solid rgba(7, 91, 232, .35);
  outline-offset: 13px;
}

/* =========================================================
   REQUESTED DCODINGX CORPORATE BLOCK
   Matches the supplied second reference while preserving all
   surrounding sections and the original responsive structure.
========================================================= */
.dx-corp-section {
  padding: 48px 10px;
  background: #fff;
}

.dx-corp-container {
  width: min(calc(100% - 20px), 1600px);
  padding: clamp(34px, 3.1vw, 52px) clamp(32px, 3.6vw, 58px);
  border: 1px solid #e2eaf5;
  border-radius: 0;
  background: linear-gradient(108deg, #f8fafc 0%, #f5f8fc 66%, #eaf2fc 100%);
  box-shadow: none;
}

.dx-corp-container::before {
  top: -265px;
  right: -205px;
  width: 535px;
  height: 535px;
  background: rgba(214, 230, 248, .48);
}

.dx-corp-layout {
  grid-template-columns: minmax(150px, .48fr) minmax(390px, 1.25fr) minmax(430px, 1.15fr);
  gap: clamp(28px, 3vw, 54px);
}

.dx-corp-logo-wrap {
  width: min(100%, 168px);
  min-height: 150px;
  padding: 0px;
  border-radius: 22px;
  border-color: rgba(7, 91, 232, .09);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.dx-corp-logo-wrap::before { display: none; }
.dx-corp-logo-wrap:hover { transform: none; }
.dx-corp-logo { max-width: 115px; }

.dx-corp-title {
  font-size: clamp(27px, 2vw, 38px);
  line-height: 1.48;
}

.dx-corp-description {
  margin: 16px 0 22px;
  font-size: clamp(13px, .9vw, 16px);
  line-height: 1.85;
}

.dx-corp-link,
.dx-corp-link:link,
.dx-corp-link:visited {
  min-width: 286px;
  min-height: 54px;
  justify-content: space-between;
  border-radius: 8px;
  font-size: 15px;
}

.dx-corp-stat { padding: 15px 20px; }
.dx-corp-stat-value strong { font-size: clamp(42px, 3.6vw, 62px); }
.dx-corp-stat-value span { font-size: clamp(11px, .82vw, 14px); }
.dx-corp-stat p { margin-top: 13px; font-size: clamp(12px, .82vw, 15px); }

@media (max-width: 1100px) {
  .dx-corp-layout { grid-template-columns: 170px minmax(0, 1fr); }
  .dx-corp-stats { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header .nav-menu > a::before { inset: -7px -12px; }
  .dx-corp-section { padding: 34px 12px; }
  .dx-corp-container { width: 100%; padding: 34px 22px; }
  .dx-corp-layout { grid-template-columns: 1fr; text-align: center; }
  .dx-corp-logo-wrap { margin: 0 auto; }
  .dx-corp-link { margin-inline: auto; width: 100%; min-width: 0; }
}

/* =========================================================
   DCODINGX CORPORATE BLOCK - exact reference layout
   Only this existing section is overridden.
========================================================= */
.dx-corp-section {
  padding: 42px 30px;
  background: #ffffff;
}

.dx-corp-container {
  width: min(100%, 1404px);
  min-height: 284px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(108deg, #f8fafc 0%, #f6f9fd 64%, #e9f2fd 100%);
  box-shadow: 0 14px 38px rgba(21, 47, 82, .08);
  overflow: hidden;
}

.dx-corp-container::before {
  top: -285px;
  right: -205px;
  width: 610px;
  height: 610px;
  background: rgba(207, 225, 247, .52);
}

.dx-corp-layout {
  min-height: 284px;
  grid-template-columns: 230px minmax(430px, 1.2fr) minmax(470px, 1.08fr);
  gap: 28px;
  padding: 36px 30px 36px 32px;
}

.dx-corp-brand {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr 44px;
  gap: 0;
  padding: 0px 0px 0px;
  background: rgba(255, 255, 255, .0);
  box-shadow: 0 12px 28px rgba(19, 44, 77, .035);
}

.dx-corp-logo-wrap {
  width: 100%;
  min-height: 0;
  padding: 0px 25px 0px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.dx-corp-logo-wrap::before { display: none; }
.dx-corp-logo-wrap:hover { transform: none; box-shadow: none; }
.dx-corp-logo { width: 100%; max-width: 145px; }

.dx-corp-content { align-self: center; }
.dx-corp-title {
  font-size: clamp(27px, 2.25vw, 38px);
  line-height: 1.43;
  letter-spacing: .01em;
}
.dx-corp-description {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: clamp(13px, .95vw, 16px);
  line-height: 1.85;
}

.dx-corp-link,
.dx-corp-link:link,
.dx-corp-link:visited {
  width: calc(100% + 8px);
  min-width: 0;
  min-height: 44px;
  margin-left: -4px;
  padding: 0 20px;
  justify-content: space-between;
  border: 2px solid #1267e8;
  border-radius: 8px;
  background: #ffffff;
  font-size: 12px;
  box-shadow: none;
}

.dx-corp-stats { align-self: center; }
.dx-corp-stat { padding: 14px 22px; }
.dx-corp-stat:not(:last-child)::after {
  top: 10%;
  height: 80%;
  background: rgba(7, 91, 232, .12);
}
.dx-corp-stat-value strong { font-size: clamp(46px, 4vw, 62px); }
.dx-corp-stat-value span { font-size: clamp(11px, .85vw, 14px); }
.dx-corp-stat p { margin-top: 15px; font-size: clamp(12px, .9vw, 15px); }

@media (max-width: 1180px) {
  .dx-corp-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 34px;
  }
  .dx-corp-stats { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .dx-corp-section { padding: 30px 14px; }
  .dx-corp-container { min-height: 0; border-radius: 20px; }
  .dx-corp-layout { min-height: 0; grid-template-columns: 1fr; padding: 26px 20px 30px; gap: 28px; }
  .dx-corp-brand { width: min(100%, 260px); margin: 0 auto; }
  .dx-corp-content { text-align: center; }
  .dx-corp-stats { grid-column: auto; }
}
