/* Premium motion/responsive layer for the DevOps landing site. */
:root {
  --do-violet: #ae6dfe;
  --do-blue: #6780d2;
  --do-cyan: #72f2ff;
  --do-ink: #010315;
}

html,
body {
  overflow-x: clip;
}

.hero-style-three {
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
}

.hero-style-three::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 53% 60%, rgba(174, 109, 254, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(1, 3, 21, 0.92), rgba(1, 3, 21, 0.48), rgba(1, 3, 21, 0.82)),
    linear-gradient(180deg, rgba(1, 3, 21, 0.48), rgba(1, 3, 21, 0.84));
}

.hero-style-three .container,
.hero-style-three .xb-shape {
  position: relative;
}

.hero-style-three .container {
  z-index: 2;
}

.hero-style-three .xb-shape {
  z-index: 1;
}

.hero-style-three .xb-hero {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 4;
}

.hero-style-three .xb-hero .wow,
.hero-style-three .xb-hero .xb-item--title,
.hero-style-three .xb-hero .xb-item--holder {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.hero-style-three .xb-hero .xb-item--title {
  color: #fff;
  text-shadow: 0 16px 54px rgba(0, 0, 0, 0.62);
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-style-three .xb-hero .xb-item--content {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.28;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
}

.hero-style-three .hero-btn {
  margin-top: 28px;
}

.devops-flow-title {
  display: block;
  width: min(820px, calc(100vw - 48px));
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0 0 22px;
  text-shadow: 0 16px 54px rgba(0, 0, 0, 0.68);
}

.devops-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, calc(100vw - 48px));
  margin: 30px 0 0;
}

.devops-proof-card {
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(2, 6, 28, 0.68);
  color: #fff;
  backdrop-filter: blur(14px);
}

.devops-proof-card b {
  display: block;
  color: var(--do-cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.devops-proof-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.35;
}

.interactive-scene[data-scene="devops-pipeline"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.68;
  pointer-events: none;
}

/* WebGL showpiece canvas — same stacking as the 2D scene; shown only when the
   WebGL layer activates, at which point the 2D .interactive-scene is hidden. */
.apex-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  display: none;
}
.apex-webgl-canvas.is-on { display: block; }
.apex-webgl-canvas.is-visible { opacity: 1; }
html.apex-webgl-on .interactive-scene { display: none !important; }

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

[data-motion="reveal"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-motion="reveal"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .xb-cursor,
  .xb-cursor-section {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-style-three {
    min-height: 820px;
  }

  .hero-style-three .hero_wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 126px !important;
  }

  .hero-style-three .xb-hero {
    max-width: 100%;
    padding: 0 22px;
  }

  .hero-style-three .xb-hero .xb-item--title {
    display: none !important;
  }

  .devops-flow-title {
    display: block;
    color: #fff;
    -webkit-text-fill-color: #fff;
    width: min(calc(100vw - 56px), 310px);
    max-width: 310px;
    font-size: clamp(2.75rem, 11.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0 0 16px;
    text-shadow: 0 12px 42px rgba(0, 0, 0, 0.8);
  }

  .hero-style-three .xb-hero .xb-item--content {
    width: min(calc(100vw - 56px), 310px);
    max-width: 310px;
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.45;
    margin-top: 16px;
    text-align: center;
  }

  .hero-style-three .blc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(calc(100vw - 72px), 292px);
    max-width: 292px;
    min-height: 70px;
    padding: 0 24px;
    overflow: hidden;
    background: linear-gradient(100deg, #5b2bd4, #ae6dfe);
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  }

  .hero-style-three .hero-btn {
    width: min(calc(100vw - 72px), 292px);
    max-width: 292px;
  }

  .hero-style-three .blc-btn span:first-child {
    white-space: normal;
    line-height: 1.25;
  }

  .hero-style-three .blc-btn .btn-shape,
  .hero-style-three .blc-btn .btn-shape2 {
    display: none !important;
  }

  .devops-proof-strip {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Neutralize ALL motion site-wide, including the theme's infinite animations
     (gear-rotate, glow-pulse, float, brand marquee) and wow.js reveals. */
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .wow {
    visibility: visible !important;
    animation-name: none !important;
  }

  .interactive-scene {
    display: none !important;
  }

  [data-motion="reveal"] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Home page header / primary navigation (added — page had none)
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
.devops-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.devops-header.is-stuck {
  background: rgba(1, 3, 21, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.devops-header .header-inner {
  align-items: center;
  gap: 20px;
}
.devops-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.devops-brand span {
  color: var(--do-cyan, #72f2ff);
}
.devops-nav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.devops-nav a {
  display: block;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.devops-nav a:hover,
.devops-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.devops-header .header-action {
  display: flex;
  align-items: center;
  gap: 14px;
}
.devops-header-cta {
  font-size: 0.9rem;
}
.devops-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.devops-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.devops-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.devops-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.devops-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 991px) {
  .devops-nav-toggle {
    display: flex;
  }
  /* keep brand + toggle on one row; the hero already has a prominent CTA */
  .devops-header-cta {
    display: none;
  }
  .devops-header .header-inner {
    flex-wrap: nowrap;
  }
  .devops-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: rgba(1, 3, 21, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .devops-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .devops-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  .devops-nav a {
    padding: 12px 16px;
  }
}
