/* ===========================================================
   AI-SDLC use-case page — matches OneX site design system
   bg #070a16 · panels #131622 · Figtree/Onest · accent #3a85e8→#c9278c
   =========================================================== */

.sdlc-page {
  background-color: #070a16;
}

/* glass button: fill the pill background instead of tiling it
   (fixes the leftover sliver when the button is wider than the image) */
.sdlc-page .glass-btn {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* shared helpers */
.sdlc-eyebrow {
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #3a85e8, #c9278c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sdlc-section-sub {
  max-width: 720px;
  margin-top: 18px;
  color: #c6c6c6;
}
.sdlc-finops .sdlc-section-sub {
  max-width: none;
}
.sdlc-page section h2 {
  position: relative;
  z-index: 2;
}
.sdlc-page h1,
.sdlc-page h2,
.sdlc-page h3,
.sdlc-page h4 {
  text-transform: capitalize;
}
.sdlc-page h1 .sdlc-title-literal,
.sdlc-page h2 .sdlc-title-literal,
.sdlc-page h3 .sdlc-title-literal,
.sdlc-page h4 .sdlc-title-literal {
  text-transform: none;
}
.sdlc-page section {
  position: relative;
}

/* section vertical rhythm */
.sdlc-gaps,
.sdlc-pillars,
.sdlc-finops,
.sdlc-stack,
.sdlc-table-section,
.sdlc-safety,
.sdlc-deterministic {
  padding: 60px 0;
}
.sdlc-cta {
  display: none;
  padding: 90px 0 110px;
}

/* ---------- HERO ---------- */
.sdlc-hero {
  position: relative;
  padding: 190px 0 50px;
  overflow: hidden;
  background-image: url(../images/hero-bg.png);
  background-size: cover;
  background-position: center top;
}
/* shape fill extends 133px above the white section — match homepage #hero spacing */
@media (min-width: 1025px) {
  .sdlc-hero {
    padding-bottom: 205px;
  }
}
.sdlc-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}
.sdlc-hero .container {
  position: relative;
  z-index: 2;
}
.sdlc-hero__inner {
  max-width: 760px;
}
@media (min-width: 768px) {
  .sdlc-hero__inner {
    max-width: min(760px, calc(100% - 300px));
  }
}
.sdlc-hero h1 {
  font-size: 64px;
  line-height: 1.12;
}
.sdlc-hero__lead {
  max-width: 660px;
  margin-top: 26px;
  font-size: 18px;
  color: #d7d7e0;
}
.sdlc-hero__lead strong {
  color: #fff;
  font-weight: 600;
}
.sdlc-hero__sub {
  max-width: 660px;
  margin: 22px 0 34px;
  color: #9a9bb0;
}
.sdlc-hero .glass-btn {
  width: 160px;
}

/* ---------- shared card base ---------- */
.sdlc-gap-card,
.sdlc-pillar,
.sdlc-finops-card,
.sdlc-stack-card,
.sdlc-safety-card {
  background: #131622;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 34px 32px;
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sdlc-gap-card:hover,
.sdlc-pillar:hover,
.sdlc-finops-card:hover,
.sdlc-stack-card:hover,
.sdlc-safety-card:hover {
  border-color: rgba(58, 133, 232, 0.4);
  transform: translateY(-4px);
}
.sdlc-page h4 {
  color: #f8f8f8;
  margin-bottom: 16px;
}
.sdlc-page section p {
  color: #c6c6c6;
}

/* ---------- three gaps ---------- */
.sdlc-gaps {
  position: relative;
  padding-top: 20px;
}
.sdlc-gaps::before {
  content: "";
  position: absolute;
  background: url(../images/deterministic-img.svg);
  width: 895px;
  height: 91px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.sdlc-gaps .container {
  max-width: 1440px !important;
}
.sdlc-gaps h2 {
  text-align: center;
  position: relative;
  z-index: 9;
}
.sdlc-gaps__row {
  margin-top: 50px;
  row-gap: 28px;
}
.sdlc-gap-card__num {
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #3a85e8;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.sdlc-gaps__close {
  margin-top: 24px;
  max-width: 880px;
  font-size: 18px;
  color: #d7d7e0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sdlc-gaps__close strong {
  color: #fff;
}

/* ---------- six pillars ---------- */
.sdlc-pillars__row {
  margin-top: 50px;
  row-gap: 28px;
}
.sdlc-pillar {
  display: flex;
  flex-direction: column;
}
.sdlc-pillar--finops {
  border-color: rgba(201, 39, 140, 0.28);
}
.sdlc-pillar p {
  font-size: 15px;
}

/* dashboard-screen frame (placeholder → real screenshot drops in) */
.sdlc-screen {
  margin: 24px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #0d1120, #161a2b);
  min-height: 320px;
}
.sdlc-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.sdlc-screen__placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-family: "Onest", sans-serif;
  font-size: 13px;
  color: #6f7088;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  margin: 8px;
}
.sdlc-screen__placeholder strong {
  color: #9da0bd;
}

/* read more link */
.sdlc-readmore {
  display: inline-block;
  margin-top: auto;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  font-family: "Figtree", sans-serif;
  position: relative;
}
.sdlc-readmore::after {
  content: " →";
  color: #3a85e8;
  transition: padding 0.2s ease;
}
.sdlc-readmore:hover::after {
  padding-left: 5px;
}
.sdlc-readmore--center {
  display: block;
  width: max-content;
  margin: 46px auto 0;
}

/* ---------- dedicated FinOps block ---------- */
.sdlc-finops {
  background: radial-gradient(
      1200px 500px at 80% -10%,
      rgba(201, 39, 140, 0.12),
      transparent
    ),
    radial-gradient(
      1000px 500px at 0% 0%,
      rgba(58, 133, 232, 0.1),
      transparent
    );
}
.sdlc-finops__row {
  margin-top: 50px;
  row-gap: 28px;
}
.sdlc-list {
  margin: 14px 0 16px;
  padding-left: 20px;
}
.sdlc-list li {
  color: #c6c6c6;
  font-family: "Onest", sans-serif;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.sdlc-list li strong {
  color: #fff;
}

/* ---------- stack fit ---------- */
.sdlc-stack__row {
  margin-top: 50px;
  row-gap: 28px;
}
.sdlc-stack-card {
  display: flex;
  flex-direction: column;
}

/* ---------- capability table ---------- */
.sdlc-table-wrap {
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
}
.sdlc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Onest", sans-serif;
}
.sdlc-table thead th {
  background: #0d1120;
  color: #f8f8f8;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  padding: 20px 24px;
}
.sdlc-table tbody td {
  padding: 20px 24px;
  font-size: 14px;
  color: #c6c6c6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}
.sdlc-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}
.sdlc-table td strong {
  color: #fff;
}

/* ---------- safety ---------- */
.sdlc-safety__row {
  margin-top: 50px;
  row-gap: 28px;
}

/* ---------- deterministic ---------- */
.sdlc-deterministic__inner {
  background: #131622;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 56px 50px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.sdlc-deterministic__inner h2 {
  margin-bottom: 22px;
}
.sdlc-deterministic__inner p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
}

/* ---------- closing CTA ---------- */
.sdlc-cta__inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.sdlc-cta__inner p {
  max-width: 660px;
  margin: 24px auto 34px;
}
.sdlc-cta .glass-btn {
  margin: 0 auto;
  width: 160px;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sdlc-hero__canvas {
    display: none;
  }
}

/* ===========================================================
   Interactive layer — constellation, pipeline, parallax frames
   =========================================================== */

/* keep page content above the fixed constellation canvas */
.sdlc-page .fl-page {
  position: relative;
  z-index: 1;
  /* clip (not hidden): clips overflow WITHOUT becoming a scroll container,
     so position: sticky descendants stick to the viewport as intended */
  overflow: clip;
}

/* ---------- interactive pipeline ---------- */
.sdlc-pipeline {
  padding: 90px 0;
}
.sdlc-pipeline__stage {
  position: relative;
  margin-top: 46px;
  height: 380px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(
      900px 380px at 50% 0%,
      rgba(58, 133, 232, 0.08),
      transparent
    ),
    #0b0e1c;
  overflow: hidden;
}
.sdlc-pipeline__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sdlc-pipeline__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  color: #6f7088;
  font-family: "Onest", sans-serif;
  font-size: 14px;
}
.sdlc-pipeline__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-top: 26px;
}
.sdlc-pipeline__legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  color: #9a9bb0;
}
.sdlc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.sdlc-dot--flow {
  background: #3a85e8;
  box-shadow: 0 0 8px rgba(58, 133, 232, 0.85);
}
.sdlc-dot--block {
  background: #e24b4a;
  box-shadow: 0 0 8px rgba(226, 75, 74, 0.85);
}
.sdlc-dot--finops {
  background: #c9278c;
  box-shadow: 0 0 8px rgba(201, 39, 140, 0.85);
}

/* white spotlight band — light section like the homepage #about, dark stage on top */
.sdlc-pipeline--light {
  background: #f8f8f8;
  position: relative;
  padding-bottom: 150px;
}
.sdlc-pipeline--light::before {
  content: "";
  position: absolute;
  background: url(../images/shape-img.svg);
  width: 894px;
  height: 133px;
  bottom: 100%;
  background-repeat: no-repeat;
  margin-bottom: -2px;
  left: calc((100vw - 1250px) / 2);
  margin-left: -200px;
  pointer-events: none;
}
.sdlc-pipeline--light::after {
  content: "";
  position: absolute;
  height: 133px;
  width: 100vw;
  background: #f8f8f8;
  bottom: 100%;
  left: -60%;
  margin-bottom: -2px;
  pointer-events: none;
}
@media (max-width: 1440px) {
  .sdlc-pipeline--light::before {
    left: 0;
  }
  .sdlc-pipeline--light::after {
    display: none;
  }
}
@media (max-width: 767px) {
  .sdlc-pipeline--light::before {
    background-image: url("../images/services-shapre-mobile.svg");
    width: 245px;
    height: 50px;
    background-size: 100% 100%;
    left: 0;
    background-position: left bottom;
    margin-left: 0;
  }
}
.sdlc-pipeline--light h2 {
  color: #070a16;
}
.sdlc-pipeline--light .sdlc-section-sub {
  color: #62637a;
}
.sdlc-pipeline--light .sdlc-pipeline__stage {
  box-shadow: 0 30px 70px rgba(7, 10, 22, 0.28);
}
.sdlc-pipeline--light .sdlc-pipeline__legend span {
  color: #5a5c6b;
}

/* mobile: hide the hero animation and the pipeline animation section */
@media (max-width: 767px) {
  .sdlc-hero__canvas {
    display: none;
  }
  .sdlc-pipeline--light {
    display: none;
  }
}

/* ---------- browser-chrome + parallax dashboard frames ---------- */
.sdlc-screen {
  position: relative;
  padding-top: 38px;
  background: #0d1120;
  transform: perspective(1000px);
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease, transform 0.12s ease;
  will-change: transform;
}
.sdlc-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  background: #0b0e1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}
.sdlc-screen::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 16px;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 17px 0 0 #febc2e, 34px 0 0 #28c840;
}
.sdlc-screen:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(58, 133, 232, 0.35);
}
.sdlc-screen img {
  position: relative;
  z-index: 1;
}
.sdlc-screen .sdlc-screen__placeholder {
  margin-top: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .sdlc-pipeline {
    padding: 70px 0;
  }
  .sdlc-pipeline--light {
    padding-bottom: 120px;
  }
  .sdlc-pipeline__stage {
    height: 330px;
  }
  .sdlc-hero {
    padding: 150px 0;
  }
  .sdlc-hero h1 {
    font-size: 42px;
  }
  .sdlc-gaps,
  .sdlc-pillars,
  .sdlc-finops,
  .sdlc-stack,
  .sdlc-table-section,
  .sdlc-safety,
  .sdlc-deterministic {
    padding: 48px 0;
  }
  .sdlc-gaps {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .sdlc-pipeline {
    padding: 55px 0;
  }
  .sdlc-pipeline__stage {
    height: 360px;
  }
  .sdlc-screen {
    transform: none !important;
  }
  .sdlc-hero {
    padding: calc(var(--sdlc-header-h, 118px) + 30px) 0 60px;
  }
  .sdlc-hero h1 {
    font-size: 32px;
  }
  .sdlc-hero__lead {
    font-size: 16px;
  }
  .sdlc-gap-card,
  .sdlc-pillar,
  .sdlc-finops-card,
  .sdlc-stack-card,
  .sdlc-safety-card {
    padding: 26px 22px;
    border-radius: 20px;
  }
  .sdlc-deterministic__inner {
    padding: 38px 24px;
  }
  .sdlc-gaps,
  .sdlc-pillars,
  .sdlc-finops,
  .sdlc-stack,
  .sdlc-table-section,
  .sdlc-safety,
  .sdlc-deterministic {
    padding: 38px 0;
  }
  /* capabilities section: no top padding — tab bar replaces the visual break */
  .sdlc-pillars {
    padding-top: 0;
  }
  .sdlc-gaps {
    padding-top: 40px;
  }
  .sdlc-gaps::before {
    display: none;
  }
  /* table → stacked cards on mobile */
  .sdlc-table thead {
    display: none;
  }
  .sdlc-table,
  .sdlc-table tbody,
  .sdlc-table tr,
  .sdlc-table td {
    display: block;
    width: 100%;
  }
  .sdlc-table tr {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .sdlc-table tbody td {
    border: none;
    padding: 8px 22px;
  }
  .sdlc-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #62637a;
    margin-bottom: 4px;
  }
}

/* ===========================================================
   Section layout variations (de-card)
   =========================================================== */

/* ---------- three gaps: horizontal step rail ---------- */
.sdlc-hsteps {
  position: relative;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sdlc-hsteps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, #3a85e8, #7a4fc0, #c9278c);
  opacity: 0.45;
}
.sdlc-hstep {
  position: relative;
  text-align: center;
}
.sdlc-hstep__num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgba(58, 133, 232, 0.25), rgba(201, 39, 140, 0.25)),
    #0d1120;
  border: 1px solid rgba(58, 133, 232, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.sdlc-hstep:hover .sdlc-hstep__num {
  transform: translateY(-4px);
  border-color: #3a85e8;
  box-shadow: 0 12px 30px rgba(58, 133, 232, 0.3);
}
.sdlc-hstep h4 {
  margin-bottom: 12px;
}
.sdlc-hstep p {
  font-size: 15px;
  max-width: 360px;
  margin: 0 auto;
}
/* collapsible toggle: plain on desktop, interactive on mobile */
.sdlc-hstep__head {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: default;
}
.sdlc-hstep__chev {
  display: none;
}
@media (max-width: 860px) {
  .sdlc-hsteps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 540px;
  }
  .sdlc-hsteps::before {
    display: none;
  }
  .sdlc-hstep {
    display: block;
    text-align: left;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .sdlc-hstep:first-child {
    border-top: none;
  }
  .sdlc-hstep__head {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    padding: 20px 0;
  }
  .sdlc-hstep__head .sdlc-hstep__num {
    margin: 0;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .sdlc-hstep__head h4 {
    flex: 1;
    margin: 0;
    font-size: 18px;
  }
  .sdlc-hstep__chev {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    position: relative;
  }
  .sdlc-hstep__chev::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #7aa7f0;
    border-bottom: 2px solid #7aa7f0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  .sdlc-hstep.is-open .sdlc-hstep__chev::before {
    transform: rotate(-135deg);
  }
  .sdlc-hstep__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .sdlc-hstep.is-open .sdlc-hstep__body {
    max-height: 460px;
  }
  .sdlc-hstep__body p {
    margin: 0;
    padding: 4px 0 20px 64px;
    max-width: none;
  }
}

/* ---------- six pillars: alternating zig-zag ---------- */
.sdlc-features {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.sdlc-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 56px;
}
.sdlc-feature:nth-child(even) .sdlc-feature__text {
  order: 2;
}
.sdlc-feature:nth-child(even) .sdlc-screen {
  order: 1;
}
.sdlc-feature .sdlc-screen {
  margin: 0;
}
.sdlc-feature__text h4 {
  font-size: 24px;
  margin-bottom: 16px;
}
.sdlc-feature__text p {
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 18px;
}
.sdlc-feature__text .sdlc-readmore {
  margin-top: 4px;
}
.sdlc-feature__tag {
  display: inline-block;
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7aa7f0;
  background: rgba(58, 133, 232, 0.12);
  border: 1px solid rgba(58, 133, 232, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- FinOps: bento grid ---------- */
.sdlc-bento {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 18px;
}
.sdlc-bento__tile {
  background: #131622;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 28px 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.sdlc-bento__tile:hover {
  border-color: rgba(58, 133, 232, 0.4);
  transform: translateY(-4px);
}
.sdlc-bento__tile--big {
  grid-column: span 2;
  grid-row: span 2;
  border-color: rgba(58, 133, 232, 0.25);
}
.sdlc-bento__tile--wide {
  grid-column: span 2;
}
.sdlc-bento__tile h4 {
  margin-bottom: 14px;
}
.sdlc-bento__tile p {
  font-size: 15px;
}
.sdlc-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.sdlc-kpi {
  background: #0d1120;
  border-radius: 14px;
  padding: 14px 16px;
}
.sdlc-kpi__val {
  display: block;
  font-family: "Figtree", sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #00c896;
}
.sdlc-kpi__label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #8d8e9f;
  font-family: "Onest", sans-serif;
}
/* bento collapsible toggle: plain on desktop, accordion on mobile */
.sdlc-bento__head {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
}
.sdlc-bento__chev {
  display: none;
}

/* ---------- stack-fit: shared spine ---------- */
.sdlc-spine {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}
.sdlc-spine__lane {
  background: #131622;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 32px 30px;
}
.sdlc-spine__lane--gov {
  border-color: rgba(58, 133, 232, 0.25);
}
.sdlc-spine__lane--fin {
  border-color: rgba(201, 39, 140, 0.22);
}
.sdlc-spine__core {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(58, 133, 232, 0.18),
    rgba(201, 39, 140, 0.12)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.sdlc-spine__core::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3a85e8);
}
.sdlc-spine__core::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, #c9278c, transparent);
}
.sdlc-spine__core-tag {
  font-family: "Figtree", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9bb0;
  max-width: 110px;
}
.sdlc-spine__core-title {
  font-family: "Figtree", sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(90deg, #3a85e8, #c9278c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sdlc-spine__core-sub {
  font-family: "Onest", sans-serif;
  font-size: 11px;
  color: #8d8e9f;
  max-width: 124px;
  line-height: 1.4;
}

/* ---------- safety: highlight strip ---------- */
.sdlc-strip {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sdlc-strip__item {
  padding: 6px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.sdlc-strip__item:first-child {
  border-left: none;
  padding-left: 0;
}
.sdlc-strip__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #7aa7f0;
  background: rgba(58, 133, 232, 0.1);
  border: 1px solid rgba(58, 133, 232, 0.22);
  margin-bottom: 18px;
}
.sdlc-strip__icon svg {
  width: 22px;
  height: 22px;
}
.sdlc-strip__item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.sdlc-strip__item p {
  font-size: 14px;
}

/* ---------- responsive for variations ---------- */
@media (max-width: 992px) {
  .sdlc-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .sdlc-bento__tile--big {
    grid-column: span 2;
    grid-row: auto;
  }
  .sdlc-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }
  .sdlc-strip__item {
    padding: 0 24px;
  }
  .sdlc-strip__item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 900px) {
  .sdlc-feature {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .sdlc-feature:nth-child(even) .sdlc-feature__text,
  .sdlc-feature:nth-child(even) .sdlc-screen {
    order: 0;
  }
  .sdlc-features {
    gap: 48px;
  }
  .sdlc-spine {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
  .sdlc-spine__lane {
    width: 100%;
  }
  .sdlc-spine__core::before {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 100%;
    width: 2px;
    height: 24px;
    background: linear-gradient(#3a85e8, transparent);
  }
  .sdlc-spine__core::after {
    left: 50%;
    top: 100%;
    width: 2px;
    height: 24px;
    background: linear-gradient(#c9278c, transparent);
  }
}
@media (max-width: 600px) {
  .sdlc-bento {
    grid-template-columns: 1fr;
  }
  .sdlc-bento__tile--big,
  .sdlc-bento__tile--wide {
    grid-column: span 1;
  }
  .sdlc-strip {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .sdlc-strip__item {
    border-left: none !important;
    padding-left: 0;
  }
}

/* ===========================================================
   Feedback round: tabbed pillars + mobile accordions
   =========================================================== */

/* ---------- six pillars: one tabbed view ---------- */
.sdlc-pillars__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.sdlc-tab {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #9aa0b8;
  background: #131622;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.sdlc-tab:hover {
  color: #fff;
  border-color: rgba(58, 133, 232, 0.45);
}
.sdlc-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #3a85e8, #c9278c);
}
.sdlc-tab:focus-visible {
  outline: 2px solid #3a85e8;
  outline-offset: 2px;
}
.sdlc-pillars__panels {
  margin-top: 34px;
}
.sdlc-pillars__panels .sdlc-feature {
  display: none;
}
.sdlc-pillars__panels .sdlc-feature.is-active {
  display: grid;
}
/* tabs read left-to-right; cancel the zig-zag alternation */
.sdlc-pillars__panels .sdlc-feature:nth-child(even) .sdlc-feature__text,
.sdlc-pillars__panels .sdlc-feature:nth-child(even) .sdlc-screen {
  order: 0;
}

@media (max-width: 767px) {
  .sdlc-feature__tag {
    display: none;
  }
  .sdlc-pillars h2,
  .sdlc-pillars .sdlc-section-sub {
    display: none;
  }
  /* two-class selector beats the global ".sdlc-hscroll { position: relative }" */
  .sdlc-hscroll.sdlc-pillars__tabwrap {
    position: sticky;
    top: var(--sdlc-header-h, 118px);
    z-index: 30;
    margin: 0;
    background: rgba(7, 10, 22, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .sdlc-pillars__panels {
    margin-top: 18px;
    padding-top: 0;
  }
  .sdlc-pillars__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sdlc-pillars__tabs::-webkit-scrollbar {
    display: none;
  }
  .sdlc-tab {
    flex: 0 0 auto;
  }
}


/* ---------- FinOps bento: accordion on mobile only ---------- */
@media (max-width: 767px) {
  .sdlc-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto; /* collapse rows to content so closed tiles aren't oversized */
    gap: 12px;
  }
  .sdlc-bento__tile,
  .sdlc-bento__tile--big,
  .sdlc-bento__tile--wide {
    grid-column: span 1;
    grid-row: auto;
    padding: 0;
  }
  .sdlc-bento__tile:hover {
    transform: none;
  }
  .sdlc-bento__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    padding: 20px 22px;
  }
  .sdlc-bento__head h4 {
    margin: 0;
    font-size: 18px;
  }
  .sdlc-bento__chev {
    display: block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    position: relative;
  }
  .sdlc-bento__chev::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #7aa7f0;
    border-bottom: 2px solid #7aa7f0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }
  .sdlc-bento__tile.is-open .sdlc-bento__chev::before {
    transform: rotate(-135deg);
  }
  .sdlc-bento__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 22px;
  }
  .sdlc-bento__tile.is-open .sdlc-bento__body {
    max-height: 640px;
    padding-bottom: 22px;
  }
  .sdlc-bento__body > p:first-child {
    margin-top: 0;
  }
  .sdlc-bento__body > p:last-child {
    margin-bottom: 0;
  }
  .sdlc-bento__body .sdlc-kpis {
    margin-top: 0;
  }
}

/* ---------- horizontal-scroll affordance (edge fades) ---------- */
.sdlc-hscroll {
  position: relative;
}
.sdlc-hscroll::before,
.sdlc-hscroll::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sdlc-hscroll::before {
  left: 0;
  background: linear-gradient(to right, #070a16, rgba(7, 10, 22, 0));
}
.sdlc-hscroll::after {
  right: 0;
  background: linear-gradient(to left, #070a16, rgba(7, 10, 22, 0));
}
.sdlc-hscroll.has-start::before {
  opacity: 1;
}
.sdlc-hscroll.has-end::after {
  opacity: 1;
}
/* clear "more tabs" chevron cue (injected by JS) */
.sdlc-hscroll__cue {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #cfe0ff;
  font-family: "Figtree", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.sdlc-hscroll.has-end .sdlc-hscroll__cue {
  opacity: 1;
}

/* ---------- pillar panel switch animation ---------- */
@keyframes sdlcPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sdlc-pillars__panels .sdlc-feature.is-active {
  animation: sdlcPanelIn 0.35s ease both;
}
@media (prefers-reduced-motion: reduce) {
  .sdlc-pillars__panels .sdlc-feature.is-active {
    animation: none;
  }
}

/* ---------- mobile section jump nav (sticky, mobile only) ---------- */
.sdlc-jumpnav {
  display: none;
}
@media (max-width: 767px) {
  html {
    scroll-behavior: smooth;
  }
  /* pin the header so the section nav lives in it and stays put */
  .sdlc-page header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: #070a16; /* solid: avoids backdrop-filter trapping the fixed menu overlay */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .sdlc-page header .main-nav {
    padding-top: 16px;
    padding-bottom: 2px;
  }
  .sdlc-jumpnav {
    display: block;
    padding-top: 8px;
    padding-bottom: 10px;
  }
  .sdlc-jumpnav__inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sdlc-jumpnav__inner::-webkit-scrollbar {
    display: none;
  }
  .sdlc-jumpnav__link {
    flex: 0 0 auto;
    font-family: "Figtree", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #9aa0b8;
    background: #131622;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
      box-shadow 0.2s ease;
  }
  /* only the current section's link glows */
  .sdlc-jumpnav__link.is-current {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(90deg, #3a85e8, #c9278c);
    box-shadow: 0 0 16px rgba(96, 86, 232, 0.55);
  }
  /* offset anchored jumps for the fixed header */
  #sdlc-gaps,
  #sdlc-finops,
  #sdlc-get-started {
    scroll-margin-top: calc(var(--sdlc-header-h, 118px) + 12px);
  }
  /* capabilities: clear the fixed header (tab bar now sits in flow) */
  #sdlc-capabilities {
    scroll-margin-top: calc(var(--sdlc-header-h, 118px) + 12px);
  }
}
