/* ==========================================================
   XZLENZ — ISO 27001 FRAMEWORK PAGE
   Design 3: Product UI
   Theme rhythm:
   DARK  = hero
   LIGHT = reality
   LIGHT = playbook
   DARK  = real-time posture
   LIGHT = mapped-to-certified
   DARK  = closing CTA

   Common files remain external:
   styles.css
   shared-components.js
   script.js
   ========================================================== */

:root {
  --iso-ink: #061b45;
  --iso-muted: #687d9c;
  --iso-blue: #2f7cff;
  --iso-cyan: #1fc7e9;
  --iso-purple: #735cff;
  --iso-green: #20c792;
  --iso-red: #ff5c6a;
  --iso-orange: #ffac42;
  --iso-border: #dce7f4;
  --iso-soft: #f6faff;
  --iso-navy: #03162f;
  --iso-navy-2: #072b59;
}

.iso-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--iso-ink);
  background: #fff;
  font-family:
    "Poppins",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.iso-page *,
.iso-page *::before,
.iso-page *::after {
  box-sizing: border-box;
}

.iso-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iso-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.iso-section {
  position: relative;
  padding: 86px 0;
}

.iso-eyebrow {
  display: inline-block;
  color: #347cff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.iso-eyebrow-light {
  color: #50d9f8;
}

.iso-section-head {
  max-width: 930px;
  margin: 0 auto 42px;
  text-align: center;
}

.iso-section-head.compact {
  margin-bottom: 34px;
}

.iso-section-head h2 {
  max-width: 900px;
  margin: 10px auto 15px;
  color: var(--iso-ink);
  font-size: clamp(34px, 3.35vw, 50px);
  line-height: 1.08;
  letter-spacing: -.042em;
}

.iso-section-head h2 span {
  display: block;
}

.iso-section-head p {
  max-width: 930px;
  margin: 0 auto;
  color: var(--iso-muted);
  font-size: 16px;
  line-height: 1.8;
}


/* ==========================================================
   HERO — DARK + USER-PROVIDED BANNER
   ========================================================== */

.iso-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    #03162f
    url("../assets/iso27001-hero-background.webp")
    center center / cover no-repeat;
}

.iso-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 17, 40, .99) 0%,
      rgba(2, 17, 40, .97) 26%,
      rgba(2, 17, 40, .72) 43%,
      rgba(2, 17, 40, .23) 61%,
      rgba(2, 17, 40, .02) 82%
    );
}

.iso-hero-inner {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.iso-hero-copy {
  width: min(620px, 52%);
}

.iso-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.iso-status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #21c99b;
  box-shadow: 0 0 0 8px rgba(33, 201, 155, .10);
}

.iso-hero h1 {
  max-width: 640px;
  margin: 22px 0 22px;
  color: #fff;
  font-size: clamp(48px, 4vw, 78px);
  line-height: .97;
  letter-spacing: -.056em;
}

.iso-hero h1 span {
  display: block;
  margin-top: 7px;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #17c8ed 0%,
      #2e82ff 50%,
      #7a60ff 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.iso-hero p {
  max-width: 585px;
  margin: 0 0 30px;
  color: #d5e1ef;
  font-size: 16px;
  line-height: 1.72;
}

.iso-primary-cta {
  gap: 13px;
}


/* ==========================================================
   REALITY — LIGHT
   ========================================================== */

.iso-reality {
  background:
    radial-gradient(
      circle at 88% 2%,
      rgba(54, 126, 255, .05),
      transparent 28%
    ),
    #fff;
}

.iso-reality .iso-section-head {
  margin-bottom: 0;
}


/* ==========================================================
   PLAYBOOK — LIGHT
   ========================================================== */

.iso-playbook {
  padding-top: 40px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #f7fbff 100%
    );
}

.iso-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.iso-benefit-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--iso-border);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fbfdff 100%
    );
  box-shadow:
    0 18px 48px rgba(18, 61, 111, .065);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.iso-benefit-card:hover {
  transform: translateY(-4px);
  border-color: #c8d9f0;
  box-shadow:
    0 24px 54px rgba(18, 61, 111, .095);
}

.iso-benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.iso-benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.iso-benefit-icon svg {
  width: 24px;
  height: 24px;
}

.iso-benefit-icon.purple {
  color: #735cff;
  background: #f0edff;
}

.iso-benefit-icon.cyan {
  color: #159fc7;
  background: #e9f9fd;
}

.iso-benefit-icon.blue {
  color: #2e7fff;
  background: #edf4ff;
}

.iso-card-no {
  color: #becce0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.iso-benefit-card h3 {
  margin: 20px 0 11px;
  color: var(--iso-ink);
  font-size: 20px;
  line-height: 1.23;
  letter-spacing: -.025em;
}

.iso-benefit-card p {
  margin: 0;
  color: var(--iso-muted);
  font-size: 13px;
  line-height: 1.73;
}

.iso-benefit-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid #edf2f7;
}

.iso-benefit-foot span {
  color: #899bb1;
  font-size: 9px;
}

.iso-benefit-foot strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: #347cff;
  background: #edf4ff;
  font-size: 8px;
}


/* ==========================================================
   REAL-TIME POSTURE — DARK
   ========================================================== */

.iso-posture {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(50, 125, 255, .23),
      transparent 27%
    ),
    radial-gradient(
      circle at 14% 92%,
      rgba(18, 197, 164, .07),
      transparent 24%
    ),
    linear-gradient(
      120deg,
      #03162f 0%,
      #06264f 54%,
      #0a3774 100%
    );
}

.iso-posture-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .8;
  background:
    linear-gradient(
      155deg,
      transparent 0 63%,
      rgba(80, 159, 255, .075) 63.1% 63.25%,
      transparent 63.4%
    );
}

.iso-posture::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -230px;
  top: -270px;
  z-index: -1;
  border: 1px solid rgba(113, 182, 255, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(81, 143, 255, .014);
}

.iso-posture-head {
  max-width: 870px;
  margin: 0 auto 42px;
  text-align: center;
}

.iso-posture-head h2 {
  margin: 10px auto 14px;
  color: #fff;
  font-size: clamp(39px, 3.5vw, 53px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.iso-posture-head h2 span {
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #1ec8ed,
      #735cff
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.iso-posture-head p {
  max-width: 820px;
  margin: 0 auto;
  color: #c8d8e9;
  font-size: 15px;
  line-height: 1.76;
}


/* Dashboard shell */
.iso-dashboard {
  overflow: hidden;
  border: 1px solid rgba(127, 186, 255, .43);
  border-radius: 27px;
  background: #f8fbff;
  box-shadow:
    0 34px 85px rgba(0, 9, 31, .42);
}

.iso-dash-topbar {
  min-height: 61px;
  display: grid;
  grid-template-columns:
    115px
    minmax(0, 1fr)
    auto;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #072a5a,
      #0b376f
    );
}

.iso-dash-brand {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .11em;
}

.iso-dash-search {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(143, 193, 250, .18);
  border-radius: 10px;
  color: #a8c0dd;
  background: #123b72;
  font-size: 9px;
  white-space: nowrap;
}

.iso-dash-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.iso-dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #57deb5;
  font-size: 8px;
  font-weight: 800;
}

.iso-dash-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iso-green);
}

.iso-dash-shell {
  display: grid;
  grid-template-columns:
    138px
    minmax(0, 1fr);
  min-height: 645px;
}

.iso-dash-sidebar {
  padding: 22px 12px;
  color: #afc4df;
  background:
    linear-gradient(
      180deg,
      #082a5b,
      #073267
    );
}

.iso-side-caption {
  display: block;
  padding: 0 10px 13px;
  color: #7ca5d7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.iso-dash-sidebar button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 5px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 8px;
  font-weight: 650;
  text-align: left;
}

.iso-dash-sidebar button.active {
  color: #fff;
  background:
    linear-gradient(
      90deg,
      #1778ed,
      #2b94ff
    );
  box-shadow:
    0 8px 18px rgba(25, 122, 238, .24);
}

.iso-side-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7396be;
}

.iso-dash-sidebar button.active .iso-side-dot {
  background: #fff;
}

.iso-dash-main {
  min-width: 0;
  padding: 21px;
  color: var(--iso-ink);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(55, 133, 255, .055),
      transparent 24%
    ),
    #f8fbff;
}

.iso-dash-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.iso-dash-heading small {
  display: block;
  color: #7e91a9;
  font-size: 8px;
  font-weight: 700;
}

.iso-dash-heading h3 {
  margin: 3px 0 0;
  color: var(--iso-ink);
  font-size: 25px;
  letter-spacing: -.035em;
}

.iso-heading-actions {
  display: flex;
  gap: 8px;
}

.iso-cycle-pill,
.iso-period-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #d8e4f3;
  border-radius: 9px;
  color: #55728f;
  background: #fff;
  font-size: 7px;
  font-weight: 700;
}

.iso-cycle-pill {
  color: #6050dd;
  border-color: #ddd7ff;
  background: #f3f0ff;
}


/* KPI row */
.iso-kpi-grid {
  display: grid;
  grid-template-columns:
    .86fr
    .86fr
    1.28fr;
  gap: 10px;
}

.iso-kpi {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns:
    42px
    minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 8px 20px rgba(23, 65, 113, .035);
}

.iso-kpi-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.iso-kpi-icon svg {
  width: 19px;
  height: 19px;
}

.iso-kpi-icon.green {
  color: #17a97b;
  background: #eaf9f4;
}

.iso-kpi-icon.red {
  color: #f95f6d;
  background: #fff0f2;
}

.iso-kpi-icon.blue {
  color: #2d7fff;
  background: #edf4ff;
}

.iso-kpi small,
.iso-kpi strong,
.iso-kpi em {
  display: block;
}

.iso-kpi small {
  color: #8193aa;
  font-size: 7px;
}

.iso-kpi strong {
  margin: 2px 0;
  color: var(--iso-ink);
  font-size: 18px;
  line-height: 1;
}

.iso-kpi em {
  color: #17a97b;
  font-size: 6px;
  font-style: normal;
}

.iso-kpi em.danger {
  color: var(--iso-red);
}


/* Main dashboard grid */
.iso-dashboard-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(275px, .65fr);
  gap: 10px;
  margin-top: 10px;
}

.iso-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 8px 20px rgba(23, 65, 113, .032);
}

.iso-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.iso-panel-head strong {
  display: block;
  color: var(--iso-ink);
  font-size: 11px;
}

.iso-panel-head small {
  display: block;
  margin-top: 2px;
  color: #8a9bb2;
  font-size: 7px;
}

.iso-panel-head > span {
  font-size: 7px;
  font-weight: 800;
}

.iso-panel-chip {
  padding: 5px 8px;
  border-radius: 999px;
  color: #287cff;
  background: #edf4ff;
}

.iso-panel-chip.violet {
  color: #6650dd;
  background: #f1edff;
}

.iso-panel-chip.green {
  color: #16815f;
  background: #e9f9f4;
}

.iso-positive {
  color: #11815f;
}


/* Annex A panel */
.iso-annex-layout {
  display: grid;
  grid-template-columns:
    155px
    minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.iso-control-ring {
  position: relative;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  margin: 3px auto;
  border-radius: 50%;
  background:
    conic-gradient(
      #20c792 0 42%,
      #2f7cff 42% 70%,
      #735cff 70% 90%,
      #e7eef7 90% 100%
    );
}

.iso-control-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #fff;
}

.iso-control-ring-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.iso-control-ring-inner strong,
.iso-control-ring-inner span,
.iso-control-ring-inner small {
  display: block;
}

.iso-control-ring-inner strong {
  color: var(--iso-ink);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}

.iso-control-ring-inner span {
  margin-top: 4px;
  color: #617a97;
  font-size: 7px;
  font-weight: 700;
}

.iso-control-ring-inner small {
  margin-top: 1px;
  color: #9aaaBD;
  font-size: 5px;
}

.iso-domain-list {
  display: grid;
  gap: 11px;
}

.iso-domain-row {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 7px;
  align-items: end;
}

.iso-domain-row div strong,
.iso-domain-row div small {
  display: block;
}

.iso-domain-row div strong {
  color: var(--iso-ink);
  font-size: 7px;
}

.iso-domain-row div small {
  margin-top: 2px;
  color: #8798ae;
  font-size: 5px;
}

.iso-domain-row > b {
  color: var(--iso-ink);
  font-size: 7px;
}

.iso-domain-row i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.iso-domain-row i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #20c792,
      #2f7cff
    );
}

.iso-domain-row i span.cyan {
  background:
    linear-gradient(
      90deg,
      #24c8e8,
      #2f7cff
    );
}

.iso-domain-row i span.violet {
  background:
    linear-gradient(
      90deg,
      #2f7cff,
      #735cff
    );
}

.iso-domain-row i span.blue {
  background:
    linear-gradient(
      90deg,
      #47a8ff,
      #2f7cff
    );
}


/* SoA */
.iso-soa-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.iso-soa-summary > div {
  padding: 10px 6px;
  border: 1px solid #e5ecf5;
  border-radius: 10px;
  background: #fbfdff;
  text-align: center;
}

.iso-soa-summary strong,
.iso-soa-summary span {
  display: block;
}

.iso-soa-summary strong {
  color: var(--iso-ink);
  font-size: 14px;
}

.iso-soa-summary span {
  margin-top: 2px;
  color: #8799af;
  font-size: 5px;
}

.iso-soa-list {
  display: grid;
}

.iso-soa-list > div {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #edf2f7;
}

.iso-soa-list > div:last-child {
  border-bottom: 0;
}

.iso-soa-list span {
  color: #637b98;
  font-size: 6px;
}

.iso-soa-list b {
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 5px;
}

.iso-soa-list b.implemented {
  color: #12815e;
  background: #e8f9f3;
}

.iso-soa-list b.review {
  color: #b56b11;
  background: #fff1d9;
}


/* Risk panel */
.iso-risk-content {
  display: grid;
  grid-template-columns:
    118px
    minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.iso-risk-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.iso-risk-metrics > div {
  padding: 10px 4px;
  border: 1px solid #e4ebf4;
  border-radius: 9px;
  background: #fbfdff;
  text-align: center;
}

.iso-risk-metrics span,
.iso-risk-metrics strong {
  display: block;
}

.iso-risk-metrics span {
  color: #8799af;
  font-size: 5px;
}

.iso-risk-metrics strong {
  margin-top: 2px;
  color: var(--iso-ink);
  font-size: 11px;
}

.iso-treatment-list {
  display: grid;
  gap: 5px;
}

.iso-treatment-list > div {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 9px;
  border: 1px solid #e8eef6;
  border-radius: 8px;
}

.iso-treatment-list strong,
.iso-treatment-list small {
  display: block;
}

.iso-treatment-list strong {
  color: var(--iso-ink);
  font-size: 6px;
}

.iso-treatment-list small {
  margin-top: 2px;
  color: #8b9db3;
  font-size: 5px;
}

.iso-treatment-list > div > span {
  color: #2f7cff;
  font-size: 7px;
  font-weight: 800;
}


/* Trend */
.iso-mini-chart {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.iso-chart-grid {
  position: absolute;
  inset: 10px 0 22px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 31px,
      #edf2f7 31px 32px
    );
}

.iso-chart-bars {
  position: absolute;
  inset: 14px 10px 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
}

.iso-chart-bars span {
  width: 12%;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(
      180deg,
      #42bbef,
      #387cff
    );
  opacity: .92;
}

.iso-chart-line {
  position: absolute;
  inset: 10px 0 27px;
  width: 100%;
  height: calc(100% - 37px);
}

.iso-chart-line path {
  fill: none;
  stroke: #735cff;
  stroke-width: 3;
}

.iso-chart-months {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 4px;
  display: flex;
  justify-content: space-between;
  color: #91a1b5;
  font-size: 5px;
}


/* Audit readiness */
.iso-audit-score {
  display: grid;
  grid-template-columns:
    130px
    minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.iso-audit-ring {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(
      #2f7cff 0 55%,
      #735cff 55% 78%,
      #20c792 78% 91%,
      #e7eef7 91% 100%
    );
}

.iso-audit-ring::before {
  content: "";
  position: absolute;
}

.iso-audit-ring > div {
  width: 89px;
  height: 89px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.iso-audit-ring strong,
.iso-audit-ring span {
  display: block;
}

.iso-audit-ring strong {
  color: var(--iso-ink);
  font-size: 22px;
  line-height: 1;
}

.iso-audit-ring span {
  margin-top: 4px;
  color: #8799af;
  font-size: 6px;
}

.iso-audit-checks {
  display: grid;
}

.iso-audit-checks > div {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-bottom: 1px solid #edf2f7;
}

.iso-audit-checks > div:last-child {
  border-bottom: 0;
}

.iso-audit-checks span {
  color: #7187a2;
  font-size: 6px;
}

.iso-audit-checks b {
  color: #13815f;
  font-size: 6px;
}

.iso-audit-checks b.attention {
  color: #c17817;
}


/* ==========================================================
   FROM MAPPED TO CERTIFIED — LIGHT
   ========================================================== */

.iso-certification {
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(47, 124, 255, .05),
      transparent 32%
    ),
    #fff;
}

.iso-steps {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr)
    36px
    minmax(0, 1fr);
  align-items: stretch;
}

.iso-step {
  min-height: 290px;
  padding: 23px 21px;
  border: 1px solid var(--iso-border);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 15px 38px rgba(18, 61, 111, .055);
}

.iso-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}

.iso-step-no {
  color: #377cff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
}

.iso-step-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #2c7dff;
  background: #edf4ff;
}

.iso-step-icon svg {
  width: 20px;
  height: 20px;
}

.iso-step h3 {
  margin: 0 0 11px;
  color: var(--iso-ink);
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.022em;
}

.iso-step p {
  margin: 0;
  color: var(--iso-muted);
  font-size: 12px;
  line-height: 1.7;
}

.iso-step-arrow {
  display: grid;
  place-items: center;
  color: #4a83ff;
  font-size: 24px;
  font-weight: 700;
}


/* ==========================================================
   CLOSING CTA — DARK
   ========================================================== */

.iso-closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 82% 30%,
      rgba(51, 121, 255, .24),
      transparent 25%
    ),
    radial-gradient(
      circle at 15% 88%,
      rgba(24, 199, 169, .07),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      #03162f 0%,
      #062753 55%,
      #0a3670 100%
    );
  border-top: 1px solid rgba(118, 174, 255, .16);
}

.iso-closing-decoration {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  z-index: -1;
  border: 1px solid rgba(117, 182, 255, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 100px rgba(74, 137, 255, .03);
}

.iso-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      150deg,
      transparent 0 68%,
      rgba(93, 163, 255, .08) 68.05% 68.18%,
      transparent 68.24%
    );
}

.iso-closing-inner {
  min-height: 330px;
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(330px, .9fr);
  gap: 50px;
  align-items: center;
  padding: 58px 0;
}

.iso-closing-copy h2 {
  max-width: 780px;
  margin: 9px 0 13px;
  color: #fff;
  font-size: clamp(37px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.iso-closing-copy h2 span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #22c8eb,
      #6e61ff
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.iso-closing-copy p {
  max-width: 680px;
  margin: 0;
  color: #c7d8ea;
  font-size: 15px;
  line-height: 1.7;
}

.iso-closing-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.iso-closing-actions .btn,
.iso-closing-actions .iso-secondary-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.iso-secondary-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(138, 182, 246, .42);
  border-radius: 13px;
  color: #e6f1ff;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    border-color .22s ease,
    background .22s ease,
    transform .22s ease;
}

.iso-secondary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(138, 182, 246, .72);
  background: rgba(255,255,255,.10);
}


/* ==========================================================
   SCROLL REVEAL
   ========================================================== */

.iso-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.iso-reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {

  .iso-container {
    width: min(1080px, calc(100% - 42px));
  }

  .iso-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .iso-steps {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .iso-step-arrow {
    display: none;
  }
}


@media (max-width: 920px) {

  .iso-section {
    padding: 72px 0;
  }

  .iso-hero {
    min-height: 760px;
    align-items: flex-start;
    background-position: 70% center;
  }

  .iso-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 17, 40, .98) 0%,
        rgba(2, 17, 40, .93) 43%,
        rgba(2, 17, 40, .48) 69%,
        rgba(2, 17, 40, .12) 100%
      );
  }

  .iso-hero-inner {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 70px;
  }

  .iso-hero-copy {
    width: 100%;
    max-width: 650px;
  }

  .iso-benefit-grid {
    grid-template-columns: 1fr;
  }

  .iso-benefit-card {
    min-height: auto;
  }

  .iso-dash-shell {
    grid-template-columns:
      78px
      minmax(0, 1fr);
  }

  .iso-dash-sidebar button {
    justify-content: center;
    font-size: 0;
  }

  .iso-dash-sidebar button .iso-side-dot {
    width: 9px;
    height: 9px;
  }

  .iso-side-caption {
    display: none;
  }

  .iso-kpi-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .iso-kpi:last-child {
    grid-column: 1 / -1;
  }

  .iso-closing-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .iso-closing-actions {
    justify-content: flex-start;
  }
}


@media (max-width: 720px) {

  .iso-container {
    width: calc(100% - 30px);
  }

  .iso-section {
    padding: 62px 0;
  }

  .iso-section-head h2 {
    font-size: clamp(31px, 9vw, 43px);
  }

  .iso-section-head p {
    font-size: 14.5px;
  }

  .iso-hero {
    min-height: 720px;
    background-position: 74% center;
  }

  .iso-hero-inner {
    min-height: 720px;
    padding-top: 54px;
  }

  .iso-hero h1 {
    font-size: clamp(48px, 14vw, 65px);
  }

  .iso-hero p {
    max-width: 520px;
    font-size: 15.5px;
  }

  .iso-dash-topbar {
    grid-template-columns:
      auto
      minmax(0, 1fr);
  }

  .iso-dash-live {
    display: none;
  }

  .iso-dash-shell {
    grid-template-columns:
      60px
      minmax(0, 1fr);
  }

  .iso-dash-sidebar {
    padding-inline: 7px;
  }

  .iso-dash-main {
    padding: 14px;
  }

  .iso-heading-actions {
    display: none;
  }

  .iso-kpi-grid {
    grid-template-columns: 1fr;
  }

  .iso-kpi:last-child {
    grid-column: auto;
  }

  .iso-annex-layout,
  .iso-risk-content,
  .iso-audit-score {
    grid-template-columns: 1fr;
  }

  .iso-control-ring {
    margin-bottom: 10px;
  }

  .iso-soa-summary {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .iso-steps {
    grid-template-columns: 1fr;
  }

  .iso-step {
    min-height: auto;
  }
}


@media (max-width: 520px) {

  .iso-container {
    width: calc(100% - 24px);
  }

  .iso-hero {
    min-height: 700px;
    background-position: 77% center;
  }

  .iso-hero h1 {
    font-size: 46px;
  }

  .iso-primary-cta {
    width: 100%;
    justify-content: center;
  }

  .iso-dash-brand {
    font-size: 13px;
  }

  .iso-dash-search {
    font-size: 7px;
  }

  .iso-dash-shell {
    grid-template-columns:
      48px
      minmax(0, 1fr);
  }

  .iso-dash-sidebar {
    padding: 13px 5px;
  }

  .iso-dash-sidebar button {
    min-height: 37px;
    padding: 0;
  }

  .iso-dash-main {
    padding: 10px;
  }

  .iso-dash-heading h3 {
    font-size: 20px;
  }

  .iso-kpi {
    display: block;
  }

  .iso-kpi-icon {
    margin-bottom: 8px;
  }

  .iso-soa-summary {
    grid-template-columns: 1fr;
  }

  .iso-closing-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .iso-closing-actions .btn,
  .iso-closing-actions .iso-secondary-btn {
    width: 100%;
    flex: none;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .iso-secondary-btn {
    width: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {

  .iso-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
