/* Platform Overview page only. Loaded after css/astrix.css; every selector is prefixed .pf- so nothing here can affect the homepage. */

/* Hero: platform model (inputs -> Astrix -> outputs), plain HTML so it stacks on small screens */
.pf-model { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; margin: 0; }
.pf-model-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ax-blue-light); margin-bottom: .6rem; }
.pf-model-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pf-model-col li { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: .55rem; padding: .5rem .7rem; font-size: .85rem; font-weight: 600; color: #fff; }
.pf-model-col li small { display: block; font-weight: 400; color: rgba(255,255,255,.68); font-size: .76rem; }
.pf-model-core { position: relative; background: rgba(74,79,163,.28); border: 1px solid rgba(111,168,220,.5); border-radius: 1rem; padding: 1rem; box-shadow: 0 0 0 6px rgba(111,168,220,.08); }
.pf-model-core .pf-brand { font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: .75rem; }
.pf-layer { background: rgba(11,18,48,.55); border-radius: .6rem; padding: .6rem .75rem; margin-top: .5rem; }
.pf-layer strong { display: block; font-size: .82rem; color: #fff; }
.pf-layer span { font-size: .76rem; color: rgba(255,255,255,.72); }
@media (min-width: 992px) {
  .pf-model-core::before, .pf-model-core::after { content: ""; position: absolute; top: 50%; width: 1.25rem; border-top: 2px solid var(--ax-blue-light); }
  .pf-model-core::before { left: -1.25rem; }
  .pf-model-core::after { right: -1.25rem; }
}
@media (max-width: 991.98px) {
  .pf-model { grid-template-columns: 1fr; }
  .pf-model-col ul { grid-template-columns: repeat(2, 1fr); }
}
.pf-caption { color: rgba(255,255,255,.62); font-size: .78rem; margin: 1rem 0 0; }

/* Four questions mapping */
.pf-q { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ax-line); border-radius: 1rem; overflow: hidden; background: #fff; }
.pf-q li { display: grid; grid-template-columns: 2.5rem 1fr 1.25fr; gap: 1rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--ax-line); align-items: start; }
.pf-q li:first-child { border-top: 0; }
.pf-q li.head { background: var(--ax-bg-soft); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-muted); padding-block: .7rem; }
.pf-q .n { width: 2rem; height: 2rem; border-radius: 50%; background: var(--ax-grad); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.pf-q .ask { font-weight: 700; color: var(--ax-navy); }
.pf-q .help { color: var(--ax-muted); font-size: .95rem; }
@media (max-width: 767.98px) {
  .pf-q li { grid-template-columns: 2.5rem 1fr; }
  .pf-q li.head { display: none; }
  .pf-q .help { grid-column: 2; }
}

/* Platform at a glance */
.pf-area { height: 100%; background: #fff; border: 1px solid var(--ax-line); border-radius: 1rem; padding: 1.5rem; position: relative; overflow: hidden; }
.pf-area::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--ax-grad); }
.pf-area .tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-blue); }
.pf-area h3 { font-size: 1.15rem; font-weight: 800; margin: .35rem 0 .9rem; }
.pf-area dl { margin: 0; }
.pf-area dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-violet); margin-top: .75rem; }
.pf-area dd { margin: .15rem 0 0; color: var(--ax-muted); font-size: .92rem; }

/* Detailed capabilities: alternating blocks */
.pf-cap { padding-block: 3.5rem; border-top: 1px solid var(--ax-line); }
.pf-cap:first-of-type { border-top: 0; padding-top: 0; }
.pf-cap .kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ax-blue); }
.pf-cap h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; margin: .35rem 0 1rem; }
.pf-cap .need { font-size: 1.05rem; color: var(--ax-ink); border-left: 4px solid var(--ax-violet); padding-left: 1rem; margin-bottom: 1.25rem; }
.pf-cap h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-violet); margin: 1.25rem 0 .5rem; }
.pf-cap p { color: var(--ax-muted); }
.pf-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.pf-meta div { background: var(--ax-bg-soft); border-radius: .75rem; padding: .9rem 1rem; }
.pf-meta b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-navy); margin-bottom: .2rem; }
.pf-meta span { font-size: .9rem; color: var(--ax-muted); }
@media (max-width: 575.98px) { .pf-meta { grid-template-columns: 1fr; } }

/* Illustration frame shared by capability visuals */
.pf-vis { margin: 0; background: linear-gradient(160deg, var(--ax-navy), var(--ax-navy-2)); color: #fff; border-radius: 1rem; padding: 1.5rem; }
.pf-vis figcaption { font-size: .76rem; color: rgba(255,255,255,.6); margin-top: 1rem; }
.pf-vis .lbl { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ax-blue-light); margin-bottom: .5rem; }
.pf-chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: .45rem; padding: .35rem .6rem; font-size: .8rem; font-weight: 600; color: #fff; }
.pf-chip.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 500; }
.pf-chip.on { background: var(--ax-grad); border-color: transparent; }
.pf-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pf-arrow { text-align: center; color: var(--ax-blue-light); font-size: 1.2rem; line-height: 1; margin: .6rem 0; }
.pf-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: .75rem; padding: .85rem 1rem; }
.pf-box + .pf-box { margin-top: .6rem; }
.pf-rows { list-style: none; margin: 0; padding: 0; }
.pf-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.85); }
.pf-rows li:first-child { border-top: 0; }
.pf-rows em { font-style: normal; color: rgba(255,255,255,.6); }

/* Heat map illustration */
.pf-heat { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 4px; font-size: .72rem; }
.pf-heat .ax { color: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; padding: .25rem; text-align: center; }
.pf-heat .c { aspect-ratio: 2.6 / 1; border-radius: .35rem; display: flex; align-items: center; justify-content: center; gap: .25rem; font-weight: 700; }
.pf-heat .c1 { background: rgba(111,168,220,.18); }
.pf-heat .c2 { background: rgba(242,183,5,.25); }
.pf-heat .c3 { background: rgba(214,69,69,.45); }
.pf-heat .f { background: #fff; color: var(--ax-navy); border-radius: 99px; padding: .05rem .4rem; font-size: .7rem; }
.pf-vis .pf-heat-note { color: rgba(255,255,255,.6); }

/* Kill-chain strip */
.pf-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pf-chain li { background: rgba(255,255,255,.06); border-radius: .35rem; padding: .45rem .3rem; font-size: .68rem; text-align: center; color: rgba(255,255,255,.6); line-height: 1.25; }
.pf-chain li.hit { background: rgba(214,69,69,.35); color: #fff; font-weight: 700; }
.pf-chain li.hit::before { content: "\25CF "; }
@media (max-width: 575.98px) { .pf-chain { grid-template-columns: repeat(4, 1fr); } }
.pf-path { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.pf-path .to { color: #f08a80; font-weight: 700; }

/* Remediation log illustration */
.pf-log { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid rgba(111,168,220,.5); }
.pf-log li { position: relative; padding: 0 0 .85rem .6rem; font-size: .85rem; color: rgba(255,255,255,.85); }
.pf-log li:last-child { padding-bottom: 0; }
.pf-log li::before { content: ""; position: absolute; left: -1.55rem; top: .3rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ax-blue-light); box-shadow: 0 0 0 3px var(--ax-navy); }
.pf-log strong { color: #fff; display: block; }

/* Workflow: who does what */
.pf-flow { list-style: none; margin: 0; padding: 0; position: relative; }
.pf-flow > li { display: grid; grid-template-columns: 3.25rem 1fr 1fr 1fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--ax-line); position: relative; }
.pf-flow > li:first-child { border-top: 0; }
.pf-flow > li.head { padding-block: .5rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-muted); }
.pf-flow .num { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ax-grad); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
/* Connector: from this step's number to the next step's number (both sit 2.7rem below their row's top). */
.pf-flow > li:not(.head):not(:last-child)::before { content: ""; position: absolute; left: 1.25rem; top: 2.7rem; bottom: -2.7rem; width: 2px; background: #cfd6ef; }
.pf-flow h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .3rem; }
.pf-flow p { margin: 0; color: var(--ax-muted); font-size: .93rem; }
.pf-flow .who { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; display: none; margin-bottom: .2rem; }
.pf-flow .team .who { color: var(--ax-navy); }
.pf-flow .astrix { background: #f4f5fd; border-radius: .75rem; padding: .75rem .9rem; }
.pf-flow .astrix .who { color: var(--ax-violet); }
@media (max-width: 991.98px) {
  .pf-flow > li { grid-template-columns: 3.25rem 1fr; }
  .pf-flow > li.head { display: none; }
  .pf-flow .team, .pf-flow .astrix { grid-column: 2; }
  .pf-flow .who { display: block; }
}

/* Architecture questions list */
.pf-qs { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.pf-qs li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--ax-line); }
.pf-qs li:first-child { border-top: 0; }
.pf-qs .m { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ax-threat); color: #fff; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.pf-qs strong { display: block; color: var(--ax-navy); font-size: .95rem; }
.pf-qs span { color: var(--ax-muted); font-size: .88rem; }
.pf-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pf-vs > div { border: 1px solid var(--ax-line); border-radius: .9rem; padding: 1.1rem 1.25rem; background: #fff; }
.pf-vs h3 { font-size: .95rem; font-weight: 800; margin-bottom: .5rem; }
.pf-vs ul { margin: 0; padding-left: 1.1rem; color: var(--ax-muted); font-size: .9rem; }
@media (max-width: 575.98px) { .pf-vs { grid-template-columns: 1fr; } }

/* Security controls with text status labels */
.pf-sec { display: grid; gap: 1rem; }
/* Three across, with the last two cards sharing the final row so eight cards leave no empty slot */
@media (min-width: 992px) {
  .pf-sec { grid-template-columns: repeat(6, 1fr); }
  .pf-sec article { grid-column: span 2; }
  .pf-sec article:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 991.98px) { .pf-sec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .pf-sec { grid-template-columns: 1fr; } }
.pf-sec article { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; padding: 1.35rem; }
.pf-sec h3 { font-size: 1.02rem; font-weight: 700; display: flex; gap: .5rem; align-items: center; margin: .6rem 0 .45rem; color: #fff; }
.pf-sec h3 .ic { color: var(--ax-blue-light); }
.pf-sec p { font-size: .9rem; color: rgba(255,255,255,.78); margin: 0; }
.pf-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 99px; }
.pf-status.live { background: #d7f3e3; color: #0b5a2f; }
.pf-status.policy { background: #e3e8f7; color: #2b3a7a; }
.pf-status .ic { width: .95em; height: .95em; stroke-width: 3; }
.pf-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .85rem; color: rgba(255,255,255,.78); }
.pf-legend li { display: flex; align-items: center; gap: .5rem; }

/* Security lifecycle */
.pf-life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.pf-life li { position: relative; background: #fff; border: 1px solid var(--ax-line); border-radius: .9rem; padding: 1.1rem 1rem; }
.pf-life li.core { border: 2px solid var(--ax-violet); box-shadow: 0 8px 24px rgba(74,79,163,.12); }
.pf-life h3 { font-size: .98rem; font-weight: 800; margin: .5rem 0 .35rem; }
.pf-life p { font-size: .85rem; color: var(--ax-muted); margin: 0; }
.pf-role { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .5rem; border-radius: .3rem; }
.pf-role.primary { background: var(--ax-grad); color: #fff; }
.pf-role.supports { background: #e3e8f7; color: #2b3a7a; }
.pf-role.other { background: #eef0f4; color: #3d4559; }
@media (min-width: 1200px) {
  .pf-life li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -.75rem; width: .75rem; border-top: 2px solid #cfd6ef; }
}
@media (max-width: 1199.98px) { .pf-life { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .pf-life { grid-template-columns: 1fr 1fr; } }
@media (max-width: 459.98px) { .pf-life { grid-template-columns: 1fr; } }

/* Use-case scenarios */
.pf-case { height: 100%; background: #fff; border: 1px solid var(--ax-line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; }
.pf-case-head { padding: 1.25rem 1.4rem; background: var(--ax-bg-soft); border-bottom: 1px solid var(--ax-line); }
.pf-case-head h3 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.pf-case-head p { margin: .3rem 0 0; font-size: .9rem; color: var(--ax-muted); }
.pf-case dl { margin: 0; padding: 1.1rem 1.4rem 1.3rem; flex: 1; }
.pf-case dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-violet); margin-top: .75rem; }
.pf-case dt:first-child { margin-top: 0; }
.pf-case dd { margin: .15rem 0 0; font-size: .92rem; color: var(--ax-muted); }

/* Strengths (differentiation) */
.pf-strengths { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
/* Three then two on desktop; on tablet the fifth card takes the full row so five cards leave no empty slot */
@media (min-width: 992px) {
  .pf-strengths { grid-template-columns: repeat(6, 1fr); }
  .pf-strengths li { grid-column: span 2; }
  .pf-strengths li:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .pf-strengths { grid-template-columns: 1fr 1fr; }
  .pf-strengths li:last-child { grid-column: 1 / -1; }
}
.pf-strengths li { counter-increment: s; padding: 1.35rem; background: #fff; border: 1px solid var(--ax-line); border-radius: 1rem; }
.pf-strengths li::before { content: counter(s, decimal-leading-zero); display: block; width: fit-content; margin-bottom: .6rem; font-size: 1.6rem; font-weight: 800; line-height: 1; background: var(--ax-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-strengths h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .3rem; }
.pf-strengths p { margin: 0; font-size: .92rem; color: var(--ax-muted); }

/* Capability vs outcome table */
.pf-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--ax-line); border-radius: 1rem; overflow: hidden; }
.pf-table th, .pf-table td { padding: 1rem 1.2rem; border-top: 1px solid var(--ax-line); vertical-align: top; font-size: .95rem; }
.pf-table thead th { border-top: 0; background: var(--ax-bg-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ax-muted); }
.pf-table tbody th { color: var(--ax-navy); font-weight: 700; }
.pf-table td { color: var(--ax-muted); }
.pf-table td:last-child { color: var(--ax-ink); }
@media (max-width: 767.98px) {
  .pf-table thead { display: none; }
  .pf-table tbody th, .pf-table td { display: block; }
  .pf-table td { border-top: 0; padding-top: 0; }
  .pf-table td::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ax-violet); }
}
