  img[data-lazy-src],
  video[data-lazy-video],
  [data-lazy-bg] {
    opacity: 0;
  }

  img.is-lazy-loaded,
  video.is-lazy-loaded,
  .compare-base.is-lazy-loaded,
  .compare-overlay-inner.is-lazy-loaded,
  .acc-bg.is-lazy-loaded {
    opacity: 1;
    transition: opacity 0.25s ease;
  }

  video[data-lazy-video],
  [data-lazy-bg] {
    background-color: #000;
  }

  #wp--skip-link--target {
    padding: 0px !important;
  }

  :root {
    --navy: #0b2545;
    --blue: #1d5fe0;
    --blue-dark: #164ec2;
    --ink: #101828;
    --muted: #5b6474;
    --line: #e6e9ef;
    --bg-soft: #f6f8fb;
    --bg-blue-soft: #eef3fc;
    --danger: #e0392b;
    --success: #1f9d55;
    --dark: #475569;
    --base: 14px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --red: #EC3024;
    --red-soft: rgba(236, 48, 36, 0.12);

  }

  * {
    box-sizing: border-box;
  }

  body {
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fff;
  }

  h1,
  h2,
  h3,
  h4,
  .display-font {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: var(--navy);
  }

  p {
    color: var(--muted);
  }

  .container-xl {
    max-width: 1200px;
  }

  a {
    font-weight: 500 !important;
    text-decoration: none !important;
  }

  .btn-primary-custom {
    background: var(--blue);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
  }

  .play-icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
  }

  .btn-primary-custom:hover {
    background: var(--blue-dark);
    color: #fff;
  }

  .btn-outline-custom {
    border: 1.5px solid #fff;
    color: var(--blue-dark);
    background-color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .btn-outline-custom:hover {
    background: #f2f2f2;
    color: var(--navy);
  }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    min-height: 338px;
    display: flex;
    align-items: center;
    color: #fff;
    /*padding: 60px 0;*/
    padding: 0px 0px 45px 0px;
    overflow: hidden;
    background: #08142d;
    margin-top: 52px;
  }

  .hero-bg-image,
  .hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .hero-bg-image[hidden],
  .hero-bg-video.is-hidden {
    display: none;
  }

  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(8, 20, 45, 0.92) 0%,
        rgba(8, 20, 45, 0.72) 25%,
        rgba(8, 20, 45, 0.4) 45%);
    z-index: 1;
  }

  .hero>.container-xl {
    position: relative;
    z-index: 2;
  }

  .badge-flagship {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    /*    border:1px solid rgba(255,255,255,0.25);*/
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
  }

  @property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }

  .badge-flagship::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    /* Controls border thickness */

    /* Conic gradient for the rotating border */
    background: conic-gradient(from var(--angle),
        transparent 20%,
        #a855f7 40%,
        #ec4899 60%,
        transparent 80%);

    /* Mask out the center to reveal the transparent background behind it */
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: rotateBorder 2s linear infinite;
    pointer-events: none;
  }

  @keyframes rotateBorder {
    to {
      --angle: 360deg;
    }
  }

  .hero .Xeye-logo {
    margin-top: 2.5rem;
  }

  .hero h1 {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 600;
  }

  .hero p.lead-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.775rem;
    max-width: 560px;
    margin-bottom: 22px;
  }

  .hero-feature-list {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    font-size: 0.88rem;
    font-weight: 500;
  }

  .hero-feature-list span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .hero-feature-list .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ea8ff;
    display: inline-block;
  }

  /* ===== Stats bar ===== */
  .stats-bar {
    background: var(--bg-blue-soft);
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    margin: 0px;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
  }

  .stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .stat-num {
    font-weight: 500;
    line-height: 15px;
    font-size: 1.6rem;
    color: #475569;
    font-family: "Poppins", sans-serif;
  }

  .stat-label {
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 3px;
  }

  /* video modal css  */
  /* 1. Reduce overall modal width (a smaller width automatically shrinks 16:9 height) */
  .custom-video-modal .modal-dialog {
    max-width: 680px;
    /* Reduced from 820px */
    margin: 1.25rem auto;
  }

  /* 2. Tighten padding in header, body, and footer */
  .custom-video-modal .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #ffffff;
  }

  .custom-video-modal .modal-header {
    border-bottom: none;
    padding: 12px 18px 4px;
  }

  .custom-video-modal .modal-body {
    padding: 4px 18px;
    /* Minimal top/bottom spacing */
    overflow: hidden;
  }

  /* 3. Optional: Set a fixed maximum height cap on the video itself */
  .custom-video-modal .video-wrapper {
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    max-height: 380px;
    /* Adjust this value to your preferred height */
  }

  .custom-video-modal .modal-footer {
    border-top: none;
    padding: 8px 18px 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }

  /* ===== Section headers ===== */
  .section {
    padding: 60px 15px;
  }

  .step-flow-section{
    padding: 60px 15px 60px 15px;
  }

  .section-soft {
    background: var(--bg-soft);
    padding: 40px 15px;
  }

  .eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--bg-blue-soft);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
  }

  .section-title {
    font-size: 1.7rem;
    font-weight: 600;
  }

  .section-sub {
    max-width: 680px;
    margin: 0 auto;
    font-size: 0.875rem;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .text-center-block {
    text-align: center;
  }

  /* ===== Detect / Decide / Respond cards ===== */

  .step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition:
      transform 0.5s ease,
      box-shadow 0.5s ease,
      border-color 0.5s ease;
  }


  /* Normal hover */
  .step-item:hover {
    transform: translateY(-3px);
  }

  .step-item:hover .step-card {
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
  }

  /* ===== Active card in sequence ===== */

  .step-item.active {
    transform: translateY(-10px) scale(1.03);
  }

  .step-item.active .step-card {
    border: 1px solid rgba(236, 48, 36, 0.45);
    animation: stepCardGlow 1.2s ease-in-out infinite alternate;
  }

  @keyframes stepCardGlow {
    from {
      box-shadow:
        0 14px 34px rgba(11, 37, 69, 0.12),
        /*      0 0 0 4px rgba(236, 48, 36, 0.35),*/
        0 0 25px rgba(236, 48, 36, 0.25);
    }

    to {
      box-shadow:
        0 0px 45px rgba(11, 37, 69, 0.16),
        /*      0 0 0 3px rgba(236, 48, 36, 0.55),*/
        0 0 25px rgba(236, 48, 36, 0.35),
        0 0 40px rgba(236, 48, 36, 0.55);
    }
  }

  /* ===== Card image ===== */

  .step-card .step-img {
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background: #000;
  }

  .step-card .step-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ===== Number ===== */

  .step-card .step-num {
    /*  position: absolute;*/
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 10px;
    border-radius: 6px;
  }

  /* ===== Body ===== */

  .step-card .step-body {
    padding: 20px;
  }

  .step-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
  }

  .step-item.active .step-label {
    color: #F00;
  }


  .step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .step-card p {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  /* ===== Flow ===== */

  .step-flow {
    position: relative;
  }

  .step-flow .flex-fill {
    min-width: 0;
    transition: transform 0.5s ease;
  }

  /* ===== Arrows ===== */

  .step-arrow {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    transition:
      transform 0.4s ease,
      background 0.4s ease,
      color 0.4s ease,
      box-shadow 0.4s ease;
  }

  .step-arrow i {
    font-size: 1.35rem;
    font-style: normal;
    line-height: 1;
  }

  .step-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Active arrow */
  .step-arrow.active {
    transform: scale(1.12);
    background: var(--red);
    color: #fff;

    box-shadow:
      0 8px 20px rgba(236, 48, 36, 0.20),
      0 0 0 5px rgba(236, 48, 36, 0.14),
      0 0 24px rgba(236, 48, 36, 0.34);
  }

  /* Moving arrow icon */
  .step-arrow.active svg {
    animation: arrowMove 0.7s ease-in-out infinite alternate;
  }

  @keyframes arrowMove {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(3px);
    }
  }

  /* ===== Mobile arrow ===== */

  .step-arrow-mobile {
    color: var(--blue);
    padding: 2px 0;
  }

  @media (max-width: 991.98px) {
    .step-arrow {
      margin: -2px auto;
    }

    .step-arrow svg {
      transform: rotate(90deg);
    }

    .step-arrow.active svg {
      animation: arrowMoveMobile 0.7s ease-in-out infinite alternate;
    }
  }

  @keyframes arrowMoveMobile {
    from {
      transform: rotate(90deg) translateX(0);
    }

    to {
      transform: rotate(90deg) translateX(6px);
    }
  }

  /* ===== Tags ===== */

  .tag-pill {
    display: inline-block;
    font-size: 0.72rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 20px;
    margin: 0 6px 6px 0;
  }

  /* ===== Comparison ===== */
  .compare-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
  }

  .compare-imgs {
    position: relative;
    height: 540px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
  }

  .compare-base {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }

  .compare-overlay {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    overflow: hidden;
    border-right: 3px solid #fff;
    z-index: 2;
  }

  .compare-overlay-inner {
    position: absolute;
    inset: 0;
    width: var(--compare-full-width, 100vw);
    background-size: cover;
    background-position: center;
  }

  .compare-badge {
    position: absolute;
    top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
    z-index: 5;
  }

  .compare-badge.trad {
    background: var(--danger);
    left: 14px;
  }

  .compare-badge.vai {
    background: var(--success);
    right: 14px;
  }

  /*.compare-slider-handle {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}
.compare-slider-handle::after {
  content: "â‡”";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}*/

  /* updated css start */
  .compare-slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 4;
  }

  /* DRAG ME label */
  .compare-slider-handle::before {
    content: "DRAG ME";
    position: absolute;
    top: 65%;
    left: 50%;

    width: 120px;
    height: 40px;
    background: #fff url("../images/hand.svg") 10px / 25px 25px no-repeat;

    transform: translate(-50%, -32px);


    color: var(--navy);

    padding: 12px 10px 10px 40px;
    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);

    animation: dragMeHandle 2s ease-in-out infinite;
  }

  /* Circular drag handle */
  .compare-slider-handle::after {
    content: "â‡”";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 38px;
    height: 38px;

    background: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%);

    /*  animation: dragMeHandle 4s ease-in-out infinite;*/
  }

  @keyframes dragMeHandle {

    /* Start */
    0% {
      transform: translate(-50%, -50%);
    }

    /* Move left */
    10% {
      transform: translate(calc(-50% - 20px), -50%);
    }

    /* Move right */
    15% {
      transform: translate(calc(-50% + 20px), -50%);
    }

    /* Move left */
    20% {
      transform: translate(calc(-50% - 10px), -50%);
    }

    /* Back to center */
    25% {
      transform: translate(-50%, -50%);
    }

    /* Pause for remaining 80% */
    100% {
      transform: translate(-50%, -50%);
    }
  }



  .compare-slider-handle::before {
    animation: dragMeHandle 4s ease-in-out infinite;
  }

  /*.compare-slider-handle::after {
    animation: dragMeHandle 5s ease-in-out infinite;
}*/
  /* updated css end */


  /* DRAG ME animation */


  .compare-caption {
    text-align: center;
    padding: 14px;
    font-weight: 700;
    background: #fff;
    color: var(--navy);
    font-size: 0.9rem;
  }

  .capability-table {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .capability-table table {
    margin-bottom: 0;
  }

  .capability-table th {
    background: var(--bg-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }

  .capability-table td {
    font-size: 0.92rem;
    vertical-align: middle;
    border-color: var(--line);
  }

  .capability-table svg {
    width: 18px;
    height: 18px;
    margin-right: 10px
  }

  /* ===== Three pillars ===== */
  .pillar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;
    position: relative;
  }

  .pillar-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 44px rgb(209, 221, 239);

    z-index: 3;
  }

  .pillar-card .pillar-img {
    height: 190px;
    overflow: hidden;
    background: #000;
  }

  .pillar-card .pillar-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pillar-card .pillar-body {
    padding: 22px;
  }

  .pillar-card .pillar-body ul {
    padding-left: 1em;
  }

  .pillar-card .pillar-body ul li {
    font-size: var(--base);
  }

  .pillar-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .pillar-card p {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .pillar-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.88rem;
  }

  /* ===== Platform suite ===== */
  .platform-card p,
  .platform-card a {
    font-size: var(--base)
  }

  .module-card {
    background: #0e1b30;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    height: 100%;
  }

  .module-card .module-img {
    height: 150px;
    background-size: cover;
    background-position: center;
  }

  .module-card .module-body {
    padding: 20px;
  }

  .module-card h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .module-card h4 span {
    color: #4ea8ff;
  }

  .module-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .module-card a {
    color: #4ea8ff;
    font-weight: 600;
    font-size: 0.85rem;
  }

  /* ===== Industries ===== */
  .swiper-wrapper {
    height: auto !important;
  }

  .industries-slider-wrap {
    overflow: hidden;
    padding: 20px 0 40px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
  }

  .industries-slider-wrap.swiper {
    padding: 20px 0 0px;
  }

  .industries-slider-wrap:active {
    cursor: grabbing;
  }

  .industries-track {
    display: flex;
    gap: 0;
    will-change: transform;
  }

  .industry-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 420px;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    background: #000;
    /*    transform:scale(.88);*/
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;
  }

  .industries-slider-wrap .industry-card {
    display: flex;
    height: 420px;
  }

  .industry-card p {
    margin-bottom: 0.2rem;
  }

  .industry-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.85) 100%);
    transition: background 0.35s ease;
    z-index: 1;
  }

  .industry-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 20px #d1ddef;
  }

  .industry-card:hover::before {
    background: linear-gradient(180deg,
        rgba(11, 37, 69, 0.15) 0%,
        rgba(11, 37, 69, 0.92) 100%);
  }

  .industry-card .industry-body {
    position: relative;
    padding: 22px;
    color: #fff;
    width: 100%;
    z-index: 2;
  }

  .industry-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.15rem;
    transition: margin 0.35s ease;
  }

  .industry-card .tag-pill {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .industry-card .pillar-link {
    color: #fff;
    display: inline-block;
    margin-top: 6px;
  }

  .industry-card .industry-tags {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.3s ease,
      margin-top 0.35s ease;
    margin-top: 0;
  }

  .industry-card:hover h5 {
    margin-bottom: 10px;
  }

  .industry-card:hover .industry-tags {
    max-height: 200px;
    opacity: 1;
    margin-top: 4px;
  }

  .industries-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
  }

  .industries-dots .dot-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: 0.25s;
  }

  .industries-dots .dot-btn.active {
    background: var(--blue);
    width: 32px;
    border-radius: 6px;
  }

  @media (max-width: 991px) {
    .industry-card .industry-tags {
      max-height: 160px;
      opacity: 1;
      margin-top: 4px;
    }
  }

  /* ===== Other Solutions cards ===== */
  #solutionsTrack {
    justify-content: center;
  }

  #otherSolutionsSection .industry-tags p {
    color: white;
    font-size: 14px;
  }

  .solution-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 calc(25% - 18px);
    display: flex;
    flex-direction: column;
  }

  .solution-card .solution-img {
    height: 170px;
    background-size: cover;
    background-position: center;
  }

  .solution-card .solution-body {
    padding: 20px;
  }

  .solution-card h5 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 700;
  }

  .solution-card p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  @media (max-width: 991px) {
    .solution-card {
      flex: 0 0 calc(50% - 12px);
    }
  }

  @media (max-width: 575px) {
    .solution-card {
      flex: 0 0 85%;
    }
  }

  /* ===== XSecure ===== */

  .xsecure {}

  /* .xsecure-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.xsecure-logo span {
  color: #0e9f8f;
}

.xsecure-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 340px;
  background: #000;
  display: flex;
  align-items: flex-end;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.xsecure-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.28);
}
.xsecure-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.xsecure-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.85) 100%
  );
  transition: background 0.35s ease;
  z-index: 1;
}
.xsecure-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0.15) 0%,
    rgba(11, 37, 69, 0.94) 100%
  );
}
.xsecure-body {
  position: relative;
  z-index: 2;
  padding: 22px;
  color: #fff;
  width: 100%;
}
.xsecure-body h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: margin 0.35s ease;
}
.xsecure-card:hover .xsecure-body h4 {
  margin-bottom: 10px;
}
.xsecure-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
}
.xsecure-card:hover .xsecure-list {
  max-height: 160px;
  opacity: 1;
}
.xsecure-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.xsecure-list li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: #4ea8ff;
  font-weight: 700;
}
 */

  /* ===== Deploy your way ===== */
  .deploy-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 56px;
    max-width: 920px;
    margin: 0 auto;
  }

  .deploy-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .deploy-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 10px 10px 25px #d1ddef;
  }

  .deploy-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-blue-soft);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }

  .deploy-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .deploy-card h6 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--navy);
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .deploy-card p {
    font-size: 0.82rem;
    margin-bottom: 0;
  }

  .deploy-center-col {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .deploy-center {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /*background:linear-gradient(160deg, var(--navy), var(--blue-dark));*/
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ffff;
    border: 1px dashed #b5bbc6;
    box-shadow: 0 0 15px #d1ddef;
    flex-shrink: 0;
  }

  .deploy-center:after {
    border: 1px dashed #b5bbc6;
    width: 180px;
    height: 180px;
    content: " ";
    position: absolute;
    border-radius: 999px;
    animation: spin 1s linear infinite;
  }

  .deploy-center:before {
    border: 1px dashed #b5bbc6;
    width: 210px;
    height: 210px;
    content: " ";
    position: absolute;
    border-radius: 999px;
    animation: spin 2s linear infinite;
  }

  .deploy-center-brand {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .deploy-center-num {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #9dc4ff;
    letter-spacing: 0.5px;
  }

  @media (max-width: 767px) {
    .deploy-layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .deploy-center-col {
      order: -1;
      margin-bottom: 6px;
    }

    .deploy-center {
      width: 120px;
      height: 120px;
    }

    .deploy-center {
      width: 180px;
      height: 180px;
    }
  }

  @keyframes spin {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  /* ===== CTA banner ===== */
  .cta-banner {
    background: linear-gradient(90deg, #2D5FAB 0%, #D43A3E 100%);
    /* background:
      linear-gradient(120deg, rgba(11, 37, 69, 0.92), rgba(22, 78, 194, 0.88)),
      url("https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat; */
    color: #fff;
    padding: 70px 0;
    text-align: center;
  }

  .cta-banner h2 {
    color: #fff;
    margin-bottom: 10px;
  }

  .cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 26px;
    font-size: 0.875rem;
  }

    .cta-banner a {
    color: var(--blue);
    font-size: 0.88rem;
  }

  /* ===== FAQ ===== */
  .faq-section{
    background: var(--bg-soft);
    padding: 60px 15px;
  }
  .faq-section .accordion-item,
  .faq-section .accordion-button {
    background: var(--bg-soft);
  }
  .accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #dbe3f0;
  }

  .accordion {
    padding-left: 60px;
    padding-right: 60px;
  }

  .accordion-button:not(.collapsed) {
    background: none !important;
  }

  .accordion .accordion-body {
    padding-bottom: 30px;
  }

  /* Removes outline entirely on focus */
  .accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
    /* In case the outline is styled via box-shadow */
  }

  /* Remove outline only when clicked via mouse/touch */
  .faq-item summary:focus:not(:focus-visible),
  .faq-trigger:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
  }

  /* Optional: Custom clean outline for keyboard users only */
  .faq-item summary:focus-visible,
  .faq-trigger:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }

  .accordion-button {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.98rem;
    padding: 20px 24px;
  }

  .accordion-button::after {
    width: auto;
    height: auto;
    margin-left: auto;
    background-image: none !important;
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 500;
    transform: none !important;
  }

  .accordion-button:not(.collapsed)::after {
    content: "-";
  }

  .accordion-button:not(.collapsed) {
    background: var(--bg-blue-soft);
    color: var(--blue-dark);
    box-shadow: none;
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion .accordion-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .accordion-item {
    border-color: var(--line);
  }

  @media (max-width: 767px) {
    .accordion{
      padding :0px;
    }
  }

  /* ===== Life at EvolveCorteX ===== */
  .life-gallery img {
    border-radius: 12px;
    height: 220px;
    object-fit: cover;
    width: 100%;
  }

  @media (max-width: 767px) {
    .hero h1 {
      font-size: 1.9rem;
    }

    .section {
      padding: 50px 15px;
    }
  }

  @property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }

  .eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    /* Controls border thickness */
    border-radius: 9999px;
    /* Pill shape */
    background: conic-gradient(from var(--angle),
        transparent 0%,
        #a855f7 30%,
        #ec4899 50%,
        transparent 70%);
    animation: rotateBorder 2s linear infinite;
  }

  .eyebrow span {
    display: inline-block;
    padding: 6px 16px;
    background: #181126;
    /* Match your background */
    color: var(--dark);
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    z-index: 1;
    background: #fff;
  }

  @keyframes rotateBorder {
    to {
      --angle: 360deg;
    }
  }


  /* other soutions CSS */
  .stage {
    max-width: 1500px;
    margin: 0 auto;
  }

  .bars {
    display: flex;
    align-items: stretch;
    gap: 10px;
    height: 400px;
  }

  /* ---- each accordion item: JS sets inline width/height directly,     ---- */
  /* ---- CSS only handles the transition of that single property.      ---- */
  .acc-item {
    position: relative;
    flex: 0 0 auto;
    border-radius: 14px;
    /* was 10px */
    overflow: hidden;
    cursor: pointer;
    will-change: width, box-shadow;
    /* was: width only */
    transition: width .8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .4s ease;
    /* added box-shadow transition */
    box-shadow: 0 0 20px rgba(209, 221, 239, 1);
    /* new: soft two-layer shadow */
  }

  .acc-item:hover {
    /* new rule */
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 16px 34px rgba(15, 23, 42, 0.10);
  }

  .acc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
  }

  .acc-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    /*    background: var(--blue);*/
    transition: background .5s ease;
    border: 1px solid var(--line);
    border-radius: 13px;
    /*    box-shadow: 10px 10px 25px #f00;*/
  }

  .acc-item.active .acc-overlay {
    background: linear-gradient(90deg,
        rgba(30, 48, 130, 0.94) 0%,
        rgba(30, 48, 130, 0.88) 30%,
        rgba(30, 48, 130, 0.35) 62%,
        rgba(30, 48, 130, 0) 100%);
  }

  .acc-item.active {
    min-height: 360px;
  }

  .acc-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f1b3d;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: opacity .3s ease;
    z-index: 2;
  }

  .acc-item.active .acc-label {
    opacity: 0;
    pointer-events: none;
  }

  .acc-content {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 460px;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity .35s ease .18s, transform .35s ease .18s;
    z-index: 2;
  }

  .acc-content svg {
    width: 18px;
  }

  .acc-item.active .acc-content {
    opacity: 1;
    transform: translateX(0);
  }

  .acc-content h3 {
    margin: 0 0 14px;
    font-size: 1.55rem;
  }

  .acc-content p {
    margin: 0 0 20px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
  }

  .acc-content a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    /*    border-bottom: 1px solid rgba(255,255,255,0.5);*/
    padding-bottom: 3px;
  }

  .acc-item.active .acc-content {
    pointer-events: auto;
  }

  .acc-content {
    pointer-events: none;
  }

  .acc-content a {
    pointer-events: auto;
  }

  .acc-content a:hover {
    border-bottom-color: #fff;
  }

  @media (max-width: 900px) {
    .bars {
      flex-direction: column;
      height: auto;
    }

    .acc-item {
      transition: height .6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .acc-label {
      writing-mode: horizontal-tb;
      transform: none;
      font-size: 0.95rem;
    }

    .acc-content {
      left: 24px;
      width: 88%;
      max-width: 88%;
      min-height: 200px
    }
  }

  /* =========================================================
   DEPLOYMENT SECTION
========================================================= */

  .deployment-section {
    padding: 50px 15px 100px 15px;
    background: #ffffff;
    overflow: hidden;
  }

  .deployment-content {
    max-width: 430px;
  }

  /* Label */

  .deployment-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 12px;

    border: 1px solid #3f78ff;
    border-radius: 50px;

    color: #2166df;
    background: #ffffff;

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;

    margin-bottom: 16px;
  }

  /* Heading */

  .deployment-content h2 {
    margin: 0 0 14px;

    color: #171b24;

    font-size: 1.75rem;
    line-height: 1.08;
    font-weight: 600;

    letter-spacing: -0.7px;
  }

  /* Description */

  .deployment-content p {
    max-width: 400px;

    margin: 0 0 20px;

    color: #687083;

    font-size: 0.875rem;
    line-height: 1.55;
  }

  /* Button */

  .deployment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 26px;
    padding: 7px 14px;

    border-radius: 5px;

    background: linear-gradient(90deg,
        #477ce8 0%,
        #ef3030 100%);

    color: #ffffff;

    font-size: 0.875rem;
    font-weight: 600;

    text-decoration: none;

    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .deployment-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(52, 91, 190, 0.2);
  }


  /* =========================================================
   CARD GRID
========================================================= */

  .deployment-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 25px;
    row-gap: 25px;

    max-width: 720px;
    margin-left: auto;
  }


  /* =========================================================
   CARD
========================================================= */

  .deployment-card {
    position: relative;

    min-height: 198px;

    padding: 16px;

    border: 1px solid #e1e6ee;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
      0 7px 20px rgba(31, 52, 79, 0.06);

    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .deployment-card:hover {
    transform: translateY(-4px);

    box-shadow:
      0 14px 30px rgba(31, 52, 79, 0.11);
  }


  /* =========================================================
   STAGGERED POSITION
========================================================= */

  .card-premise {
    transform: translateY(47px);
  }

  .card-premise:hover {
    transform: translateY(43px);
  }

  .card-hybrid {
    transform: translateY(47px);
  }

  .card-hybrid:hover {
    transform: translateY(43px);
  }


  /* =========================================================
   ICON
========================================================= */

  .deployment-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    margin-bottom: 11px;
  }

  .deployment-icon svg {
    width: 15px;
    height: 15px;

    stroke-width: 1.8;
  }


  /* Icon backgrounds */

  .icon-blue {
    color: #286eff;
    background: #eaf1ff;
  }

  .icon-orange {
    color: #f06b35;
    background: #fff0e8;
  }

  .icon-purple {
    color: #7057e8;
    background: #f0ecff;
  }

  .icon-green {
    color: #13ad92;
    background: #ddf7f2;
  }


  /* =========================================================
   CARD TYPOGRAPHY
========================================================= */

  .deployment-card h3 {
    margin: 0 0 5px;

    color: #172033;

    font-size: 1.2rem;
    line-height: 1.2;

    font-weight: 600;
  }

  .deployment-card h4 {
    margin: 0 0 9px;

    color: #3d4c65;

    font-size: 0.875rem;
    line-height: 1.3;

    font-weight: 600;
  }

  .deployment-card p {
    margin: 0;

    color: #667085;

    font-size: 0.785rem;
    line-height: 1.55;
  }


  /* =========================================================
   CARD GLOW LOOP
   One card at a time glows in its icon colour, moving
   clockwise: Cloud > On-Premise > Hybrid > Edge > ...
   --deploy-glow-cycle = time for one full round (4 cards).
   Scoped to .vai-page so other pages using vai.css stay static.
========================================================= */

  .vai-page .deployment-grid {
    --deploy-glow-cycle: 8s;
  }

  .vai-page .deployment-card {
    --glow: 40, 110, 255;
    animation: deploy-card-glow var(--deploy-glow-cycle) ease-in-out infinite;
  }

  .vai-page .card-premise {
    --glow: 240, 107, 53;
    animation-delay: calc(var(--deploy-glow-cycle) * 0.25);
  }

  .vai-page .card-hybrid {
    --glow: 19, 173, 146;
    animation-delay: calc(var(--deploy-glow-cycle) * 0.5);
  }

  .vai-page .card-edge {
    --glow: 112, 87, 232;
    animation-delay: calc(var(--deploy-glow-cycle) * 0.75);
  }

  .vai-page .deployment-card .deployment-icon {
    animation: deploy-icon-glow var(--deploy-glow-cycle) ease-in-out infinite;
    animation-delay: inherit;
  }

  /* Each card glows during its quarter of the cycle */
  @keyframes deploy-card-glow {
    0%, 25%, 100% {
      border-color: #e1e6ee;
      box-shadow: 0 7px 20px rgba(31, 52, 79, 0.06);
    }

    7%, 18% {
      border-color: rgba(var(--glow), 0.55);
      box-shadow:
        0 0 0 3px rgba(var(--glow), 0.12),
        0 14px 34px rgba(var(--glow), 0.22);
    }
  }

  @keyframes deploy-icon-glow {
    0%, 25%, 100% {
      box-shadow: 0 0 0 0 rgba(var(--glow), 0);
    }

    7%, 18% {
      box-shadow: 0 0 0 5px rgba(var(--glow), 0.14);
    }
  }


  /* =========================================================
   TABLET
========================================================= */

  @media (max-width: 991.98px) {

    .deployment-section {
      padding: 60px 15px;
    }

    .deployment-content {
      max-width: 600px;
      margin-bottom: 20px;
    }

    .deployment-content h2 {
      font-size: 32px;
    }

    .deployment-content p {
      font-size: 12px;
      max-width: 600px;
    }

    .deployment-grid {
      max-width: 100%;
    }

  }


  /* =========================================================
   MOBILE
========================================================= */

  @media (max-width: 767.98px) {

    .deployment-section {
      padding: 45px 0;
    }

    .deployment-content {
      margin-bottom: 10px;
    }

    .deployment-label {
      font-size: 8px;
      padding: 5px 10px;
    }

    .deployment-content h2 {
      font-size: 28px;
      line-height: 1.12;
    }

    .deployment-content p {
      font-size: 11px;
      line-height: 1.6;
    }

    .deployment-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .deployment-card {
      min-height: auto;
      padding: 18px;
    }

    /* Remove desktop stagger on mobile */

    .card-premise,
    .card-hybrid {
      transform: none;
    }

    .card-premise:hover,
    .card-hybrid:hover {
      transform: translateY(-4px);
    }

    .deployment-card h3 {
      font-size: 16px;
    }

    .deployment-card h4 {
      font-size: 11px;
    }

    .deployment-card p {
      font-size: 10px;
    }

  }


  /* =========================================================
   SMALL MOBILE
========================================================= */

  @media (max-width: 400px) {

    .deployment-section {
      padding: 35px 0;
    }

    .deployment-content h2 {
      font-size: 25px;
    }

    .deployment-card {
      padding: 15px;
    }

  }


/* =========================================================
   HOW VAI PROCESS — diagram (ported from diagram/vai-diagram.css)
   All classes prefixed vd-, scoped under .vai-dg
========================================================= */
.vai-dg {
  --bg: #eef3fb;
  --panel: #f5f9ff;
  --card: #fff;
  --ink: #0d2144;
  --muted: #5b6b86;
  --navy: #0a1a36;
  --navy-2: #10284f;
  --blue: #1f6feb;
  --cyan: #38bdf8;
  --red: #e5383b;
  --amber: #f59e0b;
  --green: #16a34a;
  --line: #cfe0f8;
  --cycle: 12s;
  --radius: 12px;
  --shadow-panel: 0 16px 40px rgba(16, 42, 88, 0.07), inset 0 1px 0 #fff;
  --shadow-out: 0 8px 22px rgba(16, 42, 88, 0.06);
  --shadow-core: 0 0 0 6px rgba(45, 127, 255, 0.14), 0 22px 50px rgba(15, 48, 110, 0.32);
}

.vai-process-section{
  padding: 50px 15px 100px 15px;
}

.vai-dg,
.vai-dg * {
  box-sizing: border-box;
  margin: 0;
}


.vai-dg {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(56, 189, 248, 0.2), transparent 62%),
    radial-gradient(700px 380px at 100% 100%, rgba(31, 111, 235, 0.08), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, var(--bg) 100%);
  color: var(--ink);
  padding: 18px 18px 16px;
}

.vai-dg .vd-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.vai-dg h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.vai-dg .vd-sub {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

/* Layout: cameras | gap | VAI | gap | outcomes */
.vai-dg .vd-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 48px minmax(0, 1.05fr) 48px minmax(0, 1.25fr);
  align-items: stretch;
}

.vai-dg .vd-panel {
  background: linear-gradient(180deg, #fbfdff 0%, var(--panel) 100%);
  border: 1px solid rgba(186, 210, 240, 0.95);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-panel);
}

.vai-dg .vd-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vai-dg .vd-panel h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.14);
  flex: none;
}

.vai-dg .vd-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  height: calc(100% - 44px);
}

.vai-dg .vd-col > * {
  flex: 1;
}

/* Thumbnails. Swap in a photo with style="--img:url(photo.jpg)" */
.vai-dg .vd-thumb {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 64px;
  background:
    var(--img, none),
    linear-gradient(160deg, #5d6e8a, #8ea0b6 55%, #4e6074);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 16px rgba(15, 30, 55, 0.12);
}

.vai-dg .vd-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 12, 24, 0.18), transparent 28%, transparent 62%, rgba(6, 12, 24, 0.45)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.vai-dg .vd-thumb > * {
  z-index: 2;
}

.vai-dg .vd-thumb--entrance {
  background-image:
    var(--img, none),
    linear-gradient(#e8eef5, #e8eef5),
    linear-gradient(180deg, #7ea6ce 0 46%, #d3dbe4 46% 54%, #5d6c7d 54%);
  background-size: cover, 22% 42%, cover;
  background-position: center, center 22%, center;
  background-repeat: no-repeat;
}

.vai-dg .vd-thumb--warehouse {
  background-color: #6b5a3a;
  background-image:
    var(--img, none),
    linear-gradient(180deg, #2e261f 0 24%, transparent 24%),
    repeating-linear-gradient(90deg, #5a4632 0 12px, #d2b48a 12px 16px, #5a4632 16px 34px),
    linear-gradient(#8a6844, #8a6844);
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vai-dg .vd-thumb--parking {
  background-image:
    var(--img, none),
    linear-gradient(#1c2838, #1c2838),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, 0.85) 14px 20px, transparent 20px 42px),
    linear-gradient(180deg, #243246, #314155);
  background-size: cover, 100% 40%, 100% 60%, cover;
  background-position: center, top, bottom, center;
  background-repeat: no-repeat;
}

.vai-dg .vd-thumb--production {
  background-image:
    var(--img, none),
    radial-gradient(circle at 28% 62%, #67e8f9 0 7px, transparent 8px),
    radial-gradient(circle at 72% 58%, #fbbf24 0 7px, transparent 8px),
    linear-gradient(180deg, transparent 46%, rgba(15, 23, 42, 0.55) 46% 54%, transparent 54%),
    linear-gradient(180deg, #243044 0 34%, #3d5168 34% 72%, #121a24 72%);
}

.vai-dg .vd-thumb--detect {
  background-image:
    var(--img, none),
    radial-gradient(ellipse at 26% 72%, rgba(15, 23, 42, 0.62) 0 18%, transparent 19%),
    radial-gradient(ellipse at 69% 70%, rgba(15, 23, 42, 0.55) 0 16%, transparent 17%),
    linear-gradient(180deg, #8ea3bb 0 38%, #e7edf3 38% 54%, #5d6d80 54%);
}

.vai-dg .vd-thumb--decide {
  background-image:
    var(--img, none),
    radial-gradient(ellipse at 20% 74%, rgba(15, 23, 42, 0.6) 0 14%, transparent 15%),
    radial-gradient(ellipse at 50% 72%, rgba(15, 23, 42, 0.55) 0 14%, transparent 15%),
    radial-gradient(ellipse at 80% 74%, rgba(15, 23, 42, 0.6) 0 14%, transparent 15%),
    linear-gradient(180deg, #6f849c 0 36%, #dfe6ee 36% 52%, #556476 52%);
}

.vai-dg .vd-thumb--alert {
  background-color: #5b2c35;
  background-image:
    var(--img, none),
    radial-gradient(circle at 50% 58%, rgba(229, 56, 59, 0.55), transparent 46%),
    linear-gradient(180deg, #5a3038 0%, #241418 100%);
}

.vai-dg .vd-thumb--intrusion {
  background-image:
    var(--img, none),
    radial-gradient(circle at 38% 62%, rgba(229, 56, 59, 0.4), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0 18%, transparent 18% 82%, rgba(0, 0, 0, 0.35) 82%),
    linear-gradient(180deg, #1c2838 0 40%, #3a4656 40% 70%, #141c28 70%);
}

.vai-dg .vd-thumb--ppe {
  background-image:
    var(--img, none),
    linear-gradient(90deg, transparent 58%, rgba(245, 158, 11, 0.85) 58% 72%, transparent 72%),
    linear-gradient(180deg, #4b5568 0 42%, #d6d3c8 42% 48%, #6b6254 48%);
}

.vai-dg .vd-thumb--floor {
  background-image:
    var(--img, none),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(160deg, #1e293b, #334155);
  background-size: cover, 18px 18px, 18px 18px, cover;
}

.vai-dg .vd-cam .vd-thumb::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.28);
}

.vai-dg .vd-thumb .vd-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 16, 32, 0.62);
  backdrop-filter: blur(6px);
}

.vai-dg .vd-box {
  position: absolute;
  border: 0;
  border-radius: 2px;
  color: #ff4d55;
  background-color: color-mix(in srgb, currentColor 14%, transparent);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 9px 2px, 2px 9px, 9px 2px, 2px 9px, 9px 2px, 2px 9px, 9px 2px, 2px 9px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
  filter: drop-shadow(0 0 4px color-mix(in srgb, currentColor 55%, transparent));
}

.vai-dg .vd-box--green { color: #22c55e; }
.vai-dg .vd-box--blue { color: #3b9eff; }

.vai-dg .vd-box--detect-left { left: 14%; top: 22%; width: 24%; height: 62%; }
.vai-dg .vd-box--detect-right { left: 58%; top: 18%; width: 22%; height: 66%; }
.vai-dg .vd-box--decide-a { left: 12%; top: 20%; width: 18%; height: 64%; }
.vai-dg .vd-box--decide-b { left: 44%; top: 24%; width: 18%; height: 60%; }
.vai-dg .vd-box--decide-c { left: 72%; top: 20%; width: 18%; height: 64%; }
.vai-dg .vd-box--respond { left: 30%; top: 16%; width: 40%; height: 72%; }
.vai-dg .vd-box--intrusion { left: 22%; top: 26%; width: 34%; height: 66%; }
.vai-dg .vd-box--ppe { left: 62%; top: 30%; width: 30%; height: 62%; }

.vai-dg .vd-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.vai-dg .vd-badge--blue {
  background: var(--blue);
}

.vai-dg .vd-badge svg {
  width: 12px;
  height: 12px;
}

/* Left: existing cameras */
.vai-dg .vd-cam {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  align-items: center;
}

.vai-dg .vd-cam .vd-ic {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.vai-dg .vd-cam .vd-ic svg {
  width: 34px;
  height: 28px;
  color: #3d5274;
  display: block;
  margin: 0 auto 4px;
  padding: 4px 2px 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(16, 42, 88, 0.08);
}

.vai-dg .vd-cam .vd-thumb {
  height: 100%;
  min-height: 62px;
}

/* Center: VAI intelligence layer */
.vai-dg .vd-core {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(380px 180px at 18% 0%, rgba(56, 189, 248, 0.28), transparent 62%),
    linear-gradient(165deg, #17386f 0%, #0c2048 48%, #081428 100%);
  border-radius: var(--radius);
  padding: 16px;
  color: #fff;
  border: 1px solid rgba(125, 211, 252, 0.7);
  box-shadow: var(--shadow-core);
}

.vai-dg .vd-brand svg {
  filter: drop-shadow(0 6px 10px rgba(31, 111, 235, 0.45));
}

.vai-dg .vd-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.vai-dg .vd-brand svg {
  width: 36px;
  height: 36px;
}

.vai-dg .vd-brand b {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.vai-dg .vd-brand b sup {
  font-size: 0.9rem;
}

.vai-dg .vd-brand span {
  display: block;
  color: #a9c0e6;
  font-size: 0.8rem;
  margin-top: 3px;
}

.vai-dg .vd-steps {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 6px;
}

.vai-dg .vd-step {
  display: grid;
  grid-template-columns: 78px 26px 1fr;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 9px;
}

.vai-dg .vd-step .vd-thumb {
  min-height: 54px;
  height: 54px;
}

.vai-dg .vd-step .vd-ico {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.vai-dg .vd-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
}

.vai-dg .vd-step p {
  font-size: 0.74rem;
  color: #b7c8e6;
  line-height: 1.35;
  margin-top: 2px;
}

.vai-dg .vd-down {
  text-align: center;
  color: var(--cyan);
  line-height: 1;
  height: 12px;
}

.vai-dg .vd-down svg {
  width: 14px;
  height: 14px;
}

/* Right: outcomes */
.vai-dg .vd-out {
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 10px;
  background: var(--card);
  border: 1px solid #e3eefb;
  border-radius: 8px;
  padding: 8px;
  align-items: center;
  box-shadow: var(--shadow-out);
}

.vai-dg .vd-out .vd-txt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.vai-dg .vd-chip {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
}

.vai-dg .vd-chip--security { background: linear-gradient(160deg, #ff5a5e, var(--red)); box-shadow: 0 8px 16px rgba(229, 56, 59, 0.28); }
.vai-dg .vd-chip--compliance { background: linear-gradient(160deg, #fbbf24, #d97706); box-shadow: 0 8px 16px rgba(217, 119, 6, 0.28); }
.vai-dg .vd-chip--business { background: linear-gradient(160deg, #4ade80, var(--green)); box-shadow: 0 8px 16px rgba(22, 163, 74, 0.28); }

.vai-dg .vd-chip svg {
  width: 19px;
  height: 19px;
}

.vai-dg .vd-out h3 {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.vai-dg .vd-out p {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

.vai-dg .vd-out .vd-thumb {
  height: 100%;
  min-height: 70px;
}

.vai-dg .vd-heat {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 68%, rgba(250, 204, 21, 0.95), transparent 32%),
    radial-gradient(circle at 58% 48%, rgba(34, 197, 94, 0.9), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(59, 130, 246, 0.85), transparent 32%),
    radial-gradient(circle at 46% 30%, rgba(248, 113, 113, 0.55), transparent 26%);
  mix-blend-mode: screen;
}

/* Connector columns. On desktop they are the gaps the wires cross. */
.vai-dg .vd-links {
  position: relative;
}

/* Animated wires, drawn by the VAI diagram script in vai.js */
.vai-dg .vd-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.vai-dg .vd-wires path,
.vai-dg .vd-wires circle {
  opacity: 0.72;
}

.vai-dg .vd-wires path {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.1 7;
  filter: drop-shadow(0 1px 1px rgba(15, 40, 80, 0.18));
  animation:
    vd-flow 0.9s linear infinite,
    vd-hl-line var(--cycle) ease-in-out infinite;
}

.vai-dg .vd-wires circle {
  animation: vd-hl-line var(--cycle) ease-in-out infinite;
}

.vai-dg .vd-wires path.vd-wire-left { animation-delay: 0s, calc(var(--cycle) * 0.025); }
.vai-dg .vd-wires path.vd-wire-right { animation-delay: 0s, calc(var(--cycle) * 0.4333); }
.vai-dg .vd-wires circle.vd-wire-left { animation-delay: calc(var(--cycle) * 0.025); }
.vai-dg .vd-wires circle.vd-wire-right { animation-delay: calc(var(--cycle) * 0.4333); }

@keyframes vd-flow {
  to { stroke-dashoffset: -7.1; }
}

/* Bottom pipeline */
.vai-dg .vd-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(190, 212, 240, 0.95);
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 14px 34px rgba(16, 42, 88, 0.07);
}

.vai-dg .vd-fs {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.vai-dg .vd-fs:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1.6rem;
  color: #8aa0c0;
  font-weight: 300;
}

.vai-dg .vd-fs .vd-ci {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid #d7e6fb;
  display: grid;
  place-items: center;
  color: var(--blue);
  box-shadow: 0 6px 14px rgba(31, 111, 235, 0.1);
}

.vai-dg .vd-fs .vd-ci svg {
  width: 18px;
  height: 18px;
}

.vai-dg .vd-fs b {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
}

.vai-dg .vd-fs span {
  font-size: 0.72rem;
  color: var(--muted);
}

/*
  One 12s cycle:
  cameras -> VAI core -> Detect / Decide / Respond -> outcomes -> each output.
  The bottom strip keeps its own 0s / 2s / 4s / 6s cadence.
*/
.vai-dg .vd-panel,
.vai-dg .vd-core,
.vai-dg .vd-step,
.vai-dg .vd-down,
.vai-dg .vd-out,
.vai-dg .vd-fs .vd-ci,
.vai-dg .vd-fs b {
  animation-duration: var(--cycle);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.vai-dg .vd-panel,
.vai-dg .vd-core,
.vai-dg .vd-step,
.vai-dg .vd-out {
  position: relative;
  z-index: 1;
}

.vai-dg .vd-panel--cameras { animation-name: vd-hl-panel; }

.vai-dg .vd-core {
  animation-name: vd-hl-core;
  animation-delay: calc(var(--cycle) * 0.1083);
}

.vai-dg .vd-step { animation-name: vd-hl-step; }
.vai-dg .vd-step--detect { animation-delay: calc(var(--cycle) * 0.2167); }
.vai-dg .vd-step--decide { animation-delay: calc(var(--cycle) * 0.325); }
.vai-dg .vd-step--respond { animation-delay: calc(var(--cycle) * 0.4333); }

.vai-dg .vd-down {
  opacity: 0.4;
  animation-name: vd-hl-arrow;
  animation-delay: calc(var(--cycle) * 0.275);
}

.vai-dg .vd-down--later { animation-delay: calc(var(--cycle) * 0.3833); }

.vai-dg .vd-panel--results {
  animation-name: vd-hl-panel-long;
  animation-delay: calc(var(--cycle) * 0.5417);
}

.vai-dg .vd-out { animation-name: vd-hl-out; }
.vai-dg .vd-out--security { animation-delay: calc(var(--cycle) * 0.65); }
.vai-dg .vd-out--compliance { animation-delay: calc(var(--cycle) * 0.7583); }
.vai-dg .vd-out--business { animation-delay: calc(var(--cycle) * 0.8667); }

.vai-dg .vd-fs .vd-ci { animation-name: vd-hl-ci; }
.vai-dg .vd-fs b { animation-name: vd-hl-txt; }
.vai-dg .vd-fs--process .vd-ci,
.vai-dg .vd-fs--process b { animation-delay: calc(var(--cycle) * 0.1667); }
.vai-dg .vd-fs--rules .vd-ci,
.vai-dg .vd-fs--rules b { animation-delay: calc(var(--cycle) * 0.3333); }
.vai-dg .vd-fs--action .vd-ci,
.vai-dg .vd-fs--action b {
  animation-delay: calc(var(--cycle) * 0.5);
  animation-name: vd-hl-ci-wide;
}
.vai-dg .vd-fs--action b { animation-name: vd-hl-txt-wide; }

@keyframes vd-hl-panel {
  0%, 11%, 100% { transform: scale(1); box-shadow: var(--shadow-panel); }
  2.5%, 8.5% { transform: scale(1.012); box-shadow: var(--shadow-panel), 0 0 0 2px #facc15, 0 0 30px rgba(250, 204, 21, 0.45); }
}

@keyframes vd-hl-core {
  0%, 45%, 100% {
    transform: scale(1);
    border-color: #2d7fff;
    box-shadow: var(--shadow-core);
  }
  2.5%, 41% {
    transform: scale(1.015);
    border-color: #fde047;
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.35), 0 0 46px rgba(250, 204, 21, 0.7);
  }
}

@keyframes vd-hl-panel-long {
  0%, 45%, 100% { transform: scale(1); box-shadow: var(--shadow-panel); }
  2.5%, 41% { transform: scale(1.012); box-shadow: var(--shadow-panel), 0 0 0 2px #facc15, 0 0 30px rgba(250, 204, 21, 0.45); }
}

@keyframes vd-hl-step {
  0%, 11%, 100% {
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }
  2.5%, 8.5% {
    transform: scale(1.045);
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.12);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18), 0 0 22px rgba(250, 204, 21, 0.55);
  }
}

@keyframes vd-hl-arrow {
  0%, 9%, 100% { opacity: 0.4; transform: translateY(0); }
  4% { opacity: 1; transform: translateY(3px); }
}

@keyframes vd-hl-out {
  0%, 11%, 100% { transform: scale(1); box-shadow: var(--shadow-out); }
  2.5%, 8.5% { transform: scale(1.035); box-shadow: var(--shadow-out), 0 0 0 2px #f59e0b, 0 10px 24px rgba(245, 158, 11, 0.28); }
}

@keyframes vd-hl-ci {
  0%, 18%, 100% { background: var(--card); color: var(--blue); transform: scale(1); box-shadow: 0 6px 14px rgba(31, 111, 235, 0.1); }
  4%, 14% {
    background: #f59e0b;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), 0 0 16px rgba(245, 158, 11, 0.55);
  }
}

@keyframes vd-hl-ci-wide {
  0%, 35%, 100% { background: var(--card); color: var(--blue); transform: scale(1); box-shadow: 0 6px 14px rgba(31, 111, 235, 0.1); }
  4%, 31% {
    background: #f59e0b;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), 0 0 16px rgba(245, 158, 11, 0.55);
  }
}

@keyframes vd-hl-txt {
  0%, 18%, 100% { color: var(--ink); }
  4%, 14% { color: #d97706; }
}

@keyframes vd-hl-txt-wide {
  0%, 35%, 100% { color: var(--ink); }
  4%, 31% { color: #d97706; }
}

@keyframes vd-hl-line {
  0%, 22%, 100% { opacity: 0.72; }
  6%, 16% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .vai-dg .vd-panel,
.vai-dg .vd-core,
.vai-dg .vd-step,
.vai-dg .vd-down,
.vai-dg .vd-out,
.vai-dg .vd-fs .vd-ci,
.vai-dg .vd-fs b,
.vai-dg .vd-wires path,
.vai-dg .vd-wires circle {
    animation: none;
  }

  .vai-dg .vd-down,
.vai-dg .vd-wires path,
.vai-dg .vd-wires circle {
    opacity: 1;
  }
}

/* Stacked diagram (tablet & mobile). Below 1200px the three columns get
   too narrow: camera labels run under the photos. Keep in sync with
   MOBILE_QUERY in vai.js. */
@media (max-width: 1199.98px) {
  .vai-dg .vd-diagram {
    grid-template-columns: 1fr;
  }

  /* Cameras as a 2 x 2 grid of proper 16:9 thumbnails, instead of
     full-width 62px strips with a tiny photo in the middle */
  .vai-dg .vd-panel--cameras .vd-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .vai-dg .vd-cam {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .vai-dg .vd-cam .vd-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .vai-dg .vd-links {
    height: 44px;
  }

  .vai-dg .vd-links::after {
    content: "↓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--blue);
  }

  .vai-dg .vd-wires {
    display: none;
  }

  .vai-dg .vd-col {
    height: auto;
  }

  .vai-dg .vd-flow {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
  }

  .vai-dg .vd-fs::after {
    display: none;
  }
}

/* Wide tablets / small laptops (stacked diagram): all four cameras in one row */
@media (min-width: 900px) and (max-width: 1199.98px) {
  .vai-dg .vd-panel--cameras .vd-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .vai-process-section{
  padding: 50px 15px 50px 15px;
}
  .vai-dg {
    padding: 14px;
  }

  .vai-dg .vd-out {
    grid-template-columns: 1fr;
  }

  .vai-dg .vd-panel--cameras .vd-col {
    grid-template-columns: 1fr;
  }

  .vai-dg .vd-out .vd-thumb {
    min-height: 120px;
  }

  .vai-dg .vd-step {
    grid-template-columns: 80px 1fr;
  }

  .vai-dg .vd-step .vd-ico {
    display: none;
  }

  .vai-dg .vd-flow {
    grid-template-columns: 1fr;
  }
}

.vai-dg .vd-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.vai-dg :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Page integration: reset inherited page / Bootstrap styles inside the diagram */
.vai-dg {
  font-family: inherit;
  border-radius: 14px;
  margin-top: 28px;
}

.vai-dg h2,
.vai-dg h3 {
  font-family: inherit;
  color: inherit;
  margin: 0;
}


/* =========================================================
   VAI™ PROCESS - real photos inside the diagram thumbnails
   (moved from the inline <style> in vai-details.html)
========================================================= */

#vai-process .vd-thumb {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

#vai-process .vd-thumb > .vd-process-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 6px;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Consistent photo frames in every column */
#vai-process .vd-cam .vd-thumb {
    min-height: 96px;
}

/* Wide enough for the longest camera label ("Production", "Warehouse") */
#vai-process .vd-cam {
    grid-template-columns: 72px minmax(0, 1fr);
}

#vai-process .vd-cam .vd-ic {
    min-width: 0;
    white-space: nowrap;
}

/* The result photos carry their alert badge in the top-right corner;
   anchor the crop there so the badge isn't cut off */
#vai-process .vd-out .vd-thumb > .vd-process-image {
    object-position: right top;
}

#vai-process .vd-step {
    grid-template-columns: 110px 26px 1fr;
}

#vai-process .vd-step .vd-thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
}

#vai-process .vd-out {
    grid-template-columns: 1fr 150px;
}

#vai-process .vd-out .vd-thumb {
    min-height: 110px;
}

@media (max-width: 1199.98px) {
    #vai-process .vd-out .vd-thumb {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 560px) {
    #vai-process .vd-step {
        grid-template-columns: 110px 1fr;
    }

    #vai-process .vd-out {
        grid-template-columns: 1fr;
    }

    #vai-process .vd-out .vd-thumb {
        aspect-ratio: 16 / 9;
    }
}

#vai-process .vd-thumb > .vd-process-image[hidden] {
    display: none;
}

/* These photos already include detection boxes and analytics overlays. */
#vai-process .vd-thumb:has(> .vd-process-image:not([hidden])) {
    background: transparent;
    box-shadow: none;
}

#vai-process .vd-thumb:has(> .vd-process-image:not([hidden]))::before,
#vai-process .vd-thumb:has(> .vd-process-image:not([hidden]))::after,
#vai-process .vd-thumb:has(> .vd-process-image:not([hidden])) > .vd-box,
#vai-process .vd-thumb:has(> .vd-process-image:not([hidden])) > .vd-heat {
    display: none;
}

#vai-process .vd-thumb::before,
#vai-process .vd-thumb::after {
    z-index: 1;
}

#vai-process .vd-thumb > .vd-tag,
#vai-process .vd-thumb > .vd-badge,
#vai-process .vd-thumb > .vd-box,
#vai-process .vd-thumb > .vd-heat {
    z-index: 2;
}


/* =========================================================
   VAI™ IN ACTION - auto-changing category tabs
   Tablet & desktop: the active category (tabs) and its 2x2
   image grid change on a timer (AUTO_CHANGE_MS in vai.js),
   on hover and on click. Mobile: every category is stacked.
========================================================= */

.vai-ia {
  --vai-ia-ink: #101828;
  --vai-ia-muted: #5b6474;
  --vai-ia-blue: #1d5fe0;
  --vai-ia-line: #e3e9f2;
  --vai-ia-soft: #eef4fd;
  --vai-ia-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  padding: 0;
  overflow: clip;
  background: #f6f9fd;
  color: var(--vai-ia-ink);
  font-family: "Poppins", Arial, sans-serif;
}

.vai-ia::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 95, 224, 0.08), rgba(29, 95, 224, 0) 70%);
  pointer-events: none;
}

.vai-ia *,
.vai-ia *::before,
.vai-ia *::after {
  box-sizing: border-box;
}

.vai-ia__inner {
  position: relative;
  padding: 60px 15px;
}

.vai-ia__container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.vai-ia__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.vai-ia__title {
  max-width: 820px;
  margin: 0;
  color: var(--vai-ia-ink);
  font-size: clamp(28px, 2.3vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vai-ia__lead {
  margin: 0;
  color: var(--vai-ia-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}

/* ---------- Body ---------- */

.vai-ia__body {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* ---------- Tabs ---------- */

.vai-ia__tabs {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--vai-ia-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
}

.vai-ia__tab {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 24px 26px;
  border: 0;
  border-top: 1px solid var(--vai-ia-line);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.vai-ia__tab:first-child {
  border-top: 0;
}

.vai-ia__tab::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--vai-ia-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--vai-ia-ease);
}

.vai-ia__tab:hover {
  background: #f8fafe;
}

.vai-ia__tab.is-active {
  background: var(--vai-ia-soft);
}

.vai-ia__tab.is-active::before {
  transform: scaleY(1);
}

.vai-ia__tab:focus-visible {
  outline: 2px solid var(--vai-ia-blue);
  outline-offset: -2px;
}

.vai-ia__tab-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f0fc;
  color: var(--vai-ia-blue);
  transition: background-color 0.35s ease, transform 0.45s var(--vai-ia-ease);
}

.vai-ia__tab-icon svg {
  width: 30px;
  height: 30px;
}

.vai-ia__tab.is-active .vai-ia__tab-icon {
  background: #dbe7fb;
  transform: scale(1.04);
}

.vai-ia__tab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vai-ia__tab-eyebrow {
  color: var(--vai-ia-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vai-ia__tab-title {
  color: var(--vai-ia-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.vai-ia__tab-desc {
  margin-top: 4px;
  color: var(--vai-ia-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Image grids (stacked, one visible) ---------- */

.vai-ia__stage {
  display: grid;
  min-width: 0;
}

.vai-ia__grid {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--vai-ia-ease),
    visibility 0s linear 0.6s;
}

.vai-ia__grid.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--vai-ia-ease),
    visibility 0s;
}

.vai-ia__card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #0b2545;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.6s var(--vai-ia-ease);
}

.vai-ia__grid.is-active .vai-ia__card {
  opacity: 1;
  transform: none;
}

.vai-ia__grid.is-active .vai-ia__card:nth-child(2) { transition-delay: 0.06s; }
.vai-ia__grid.is-active .vai-ia__card:nth-child(3) { transition-delay: 0.12s; }
.vai-ia__grid.is-active .vai-ia__card:nth-child(4) { transition-delay: 0.18s; }

.vai-ia__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.55) 38%, rgba(11, 37, 69, 0) 68%);
  pointer-events: none;
}

.vai-ia__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--vai-ia-ease);
}

.vai-ia__card:hover .vai-ia__img {
  transform: scale(1.05);
}

.vai-ia__label {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #ffffff;
}

.vai-ia__label-title {
  font-size: clamp(15px, 1.0vw, 20px);
  font-weight: 600;
  line-height: 1.25;
}

.vai-ia__label-desc {
  margin-top: 6px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.9;
}

/* ---------- Auto-change progress (timer in vai.js) ---------- */

/* The bar on the active tab fills over --vai-ia-interval, then the next
   category shows. While paused (off screen or hovered) the bar stays full. */
.vai-ia.is-playing .vai-ia__tab.is-active::before {
  animation: vai-ia-progress-y var(--vai-ia-interval, 5s) linear both;
}

@keyframes vai-ia-progress-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes vai-ia-progress-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Tablet & mobile: horizontal tabs ---------- */

@media (max-width: 991.98px) {

  .vai-ia__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .vai-ia__tabs {
    flex-direction: row;
  }

  .vai-ia__tab {
    gap: 14px;
    padding: 16px 18px;
    border-top: 0;
    border-left: 1px solid var(--vai-ia-line);
  }

  .vai-ia__tab:first-child {
    border-left: 0;
  }

  .vai-ia__tab::before {
    top: auto;
    right: 0;
    width: auto;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .vai-ia__tab.is-active::before {
    transform: scaleX(1);
  }

  .vai-ia.is-playing .vai-ia__tab.is-active::before {
    animation-name: vai-ia-progress-x;
  }

  .vai-ia__tab-icon {
    width: 46px;
    height: 46px;
  }

  .vai-ia__tab-icon svg {
    width: 22px;
    height: 22px;
  }

  .vai-ia__tab-title {
    font-size: 15px;
  }

  .vai-ia__tab-desc {
    display: none;
  }

  .vai-ia__card {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767.98px) {

  /* Mobile: no tabs - every category is shown one after another,
     its heading directly above its own cards */
  .vai-ia__body {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .vai-ia__tabs,
  .vai-ia__stage {
    display: contents;
  }

  .vai-ia__tab:nth-child(1) { order: 1; }
  .vai-ia__grid:nth-child(1) { order: 2; }
  .vai-ia__tab:nth-child(2) { order: 3; }
  .vai-ia__grid:nth-child(2) { order: 4; }
  .vai-ia__tab:nth-child(3) { order: 5; }
  .vai-ia__grid:nth-child(3) { order: 6; }

  .vai-ia__tab,
  .vai-ia__tab:first-child,
  .vai-ia__tab.is-active,
  .vai-ia__tab:hover {
    gap: 14px;
    margin: 40px 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
    pointer-events: none;
  }

  .vai-ia__tab:first-child {
    margin-top: 0;
  }

  .vai-ia__tab::before {
    display: none;
  }

  .vai-ia__tab-icon,
  .vai-ia__tab.is-active .vai-ia__tab-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fc;
    transform: none;
  }

  .vai-ia__tab-title {
    font-size: 18px;
  }

  .vai-ia__tab-desc {
    display: block;
    margin-top: 2px;
    font-size: 13px;
  }

  .vai-ia__tab-eyebrow {
    font-size: 12px;
  }

  /* All grids visible and in normal flow */
  .vai-ia__grid,
  .vai-ia__grid.is-active {
    grid-area: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .vai-ia__grid .vai-ia__card,
  .vai-ia__grid.is-active .vai-ia__card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vai-ia__grid {
    gap: 10px;
  }

  .vai-ia__label {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .vai-ia__label-desc {
    margin-top: 4px;
    font-size: 12px;
  }

  /* No hover zoom on touch screens */
  .vai-ia__card:hover .vai-ia__img {
    transform: none;
  }
}

@media (max-width: 575.98px) {

  .vai-ia__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .vai-ia__grid,
  .vai-ia__card,
  .vai-ia__tab::before,
  .vai-ia__tab-icon {
    transition: none !important;
    animation: none !important;
  }
}


/* =========================================================
   CERTIFICATES
========================================================= */
.Certificates{
background: var(--bg-soft);
}
.Certificates .cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

.Certificates .cert-card {
    display: block;
    width: 240px;
    max-width: 100%;
    line-height: 0;
    box-shadow: 0 14px 32px rgba(16, 42, 88, 0.12);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.Certificates .cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(16, 42, 88, 0.18);
}

.Certificates .cert-card img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .Certificates .cert-grid {
        gap: 14px;
        margin-top: 20px;
    }

    .Certificates .cert-card {
        width: calc(50% - 7px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .Certificates .cert-card {
        transition: none;
    }

    .Certificates .cert-card:hover {
        transform: none;
    }
}


/* =========================================================
   XEYE360 APPLICATION VIDEO OVERVIEW
========================================================= */

.video-overview {
    background: #0b2c5e;
}

.video-overview .section-title {
    color: #fff;
}

.video-overview .section-sub {
    color: rgba(255, 255, 255, 0.82);
}

.video-overview .eyebrow span {
    background: #0b2c5e;
    color: #fff;
    font-weight: 600;
}

.video-overview__frame {
    max-width: 900px;
    margin: 28px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #dfe6f0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.video-overview__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #dfe6f0;
}

@media (max-width: 767.98px) {
    .video-overview__frame {
        margin-top: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .video-overview__frame {
        border-radius: 10px;
    }
}
