/* AI Governance Hub — Homepage premium above-the-fold (v25.13).
   Scoped to index.html only via hp-* classes. Loaded last so it wins the cascade.
   No production logic touched — visual layer only. */

/* ----------------------------------------------------------------------------
   HERO
---------------------------------------------------------------------------- */
.hp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 10% 12%, rgba(37, 99, 235, .30), transparent 60%),
    radial-gradient(820px 600px at 92% -5%, rgba(124, 58, 237, .24), transparent 55%),
    radial-gradient(680px 460px at 72% 110%, rgba(56, 189, 248, .12), transparent 60%),
    linear-gradient(160deg, #050b18 0%, #071227 46%, #0a1742 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
/* faint engineered grid for depth */
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
  pointer-events: none;
}

.hp-hero-inner {
  position: relative;
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 84px 0 30px;
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 64px;
  align-items: center;
}

/* ---- Left column ---- */
.hp-copy { max-width: 620px; }
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(37, 99, 235, .14);
  border: 1px solid rgba(96, 165, 250, .32);
  padding: 8px 16px;
  border-radius: 999px;
}
.hp-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, .22);
}
.hp-h1 {
  margin: 22px 0 0;
  font-size: clamp(2.6rem, 4.3vw, 4rem);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 700;
  color: #f8fafc;
}
.hp-h1 .hp-grad {
  background: linear-gradient(90deg, #60a5fa 0%, #38bdf8 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-lead {
  margin: 22px 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: #c7d2e3;
  max-width: 560px;
}
.hp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 13px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.hp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .42), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(37, 99, 235, .55); }
.hp-btn-secondary {
  color: #e8f0ff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hp-btn-secondary:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.hp-microtrust {
  margin-top: 20px;
  font-size: 14px;
  color: #93a4bd;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-microtrust b { color: #cbd5e1; font-weight: 700; }

/* ----------------------------------------------------------------------------
   PRODUCT PREVIEW (layered glass)
---------------------------------------------------------------------------- */
.hp-preview { position: relative; padding: 18px 8px 26px; }
.hp-window {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 40px 90px rgba(2, 6, 23, .6), inset 0 1px 0 rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px;
  z-index: 2;
}
.hp-win-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 16px;
}
.hp-win-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #e8f0ff; }
.hp-win-dots { display: flex; gap: 6px; }
.hp-win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hp-win-pill { font-size: 12px; font-weight: 700; color: #93c5fd; background: rgba(59, 130, 246, .16); border: 1px solid rgba(59, 130, 246, .34); padding: 5px 12px; border-radius: 999px; }

.hp-win-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hp-tile {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 16px 18px;
}
.hp-tile.span2 { grid-column: 1 / -1; }
.hp-tile-label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #93a4bd; }

/* Score */
.hp-score { display: flex; align-items: center; gap: 16px; }
.hp-ring { position: relative; width: 88px; height: 88px; flex-shrink: 0; }
.hp-ring svg { transform: rotate(-90deg); width: 88px; height: 88px; }
.hp-ring .v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: #fff; }
.hp-score-meta .big { font-size: 17px; font-weight: 700; color: #fff; }
.hp-score-meta .trend { font-size: 13px; font-weight: 700; color: #6ee7b7; margin-top: 4px; }

/* Stat */
.hp-stat .n { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hp-stat .s { font-size: 13px; color: #93a4bd; margin-top: 2px; }
.hp-stat .n.hi { color: #fca5a5; }

/* Risk distribution */
.hp-riskbar { height: 12px; border-radius: 999px; overflow: hidden; display: flex; margin: 12px 0 10px; }
.hp-riskbar .hi { background: #ef4444; } .hp-riskbar .me { background: #f59e0b; } .hp-riskbar .lo { background: #22c55e; }
.hp-risk-legend { display: flex; gap: 18px; font-size: 13px; color: #c7d2e3; }
.hp-risk-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }

/* Framework chips */
.hp-fw { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hp-fw span { font-size: 12.5px; font-weight: 700; color: #bfdbfe; background: rgba(37, 99, 235, .16); border: 1px solid rgba(96, 165, 250, .3); padding: 6px 12px; border-radius: 8px; }

/* Floating board-ready report tile (depth/layering) */
.hp-float {
  position: absolute;
  right: -14px;
  bottom: -18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 26px 60px rgba(37, 99, 235, .5);
}
.hp-float .hp-float-ic { display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.hp-shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 34px rgba(2, 6, 23, .45); }
.hp-float .t { font-size: 15px; font-weight: 700; color: #fff; }
.hp-float .f { font-size: 12px; font-weight: 700; color: #dbeafe; margin-top: 2px; letter-spacing: .03em; }
/* soft glow behind window */
.hp-preview::after {
  content: "";
  position: absolute;
  inset: 40px 30px 10px;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .28), transparent 75%);
  filter: blur(40px);
  z-index: 0;
}

/* ----------------------------------------------------------------------------
   PROOF BAR
---------------------------------------------------------------------------- */
.hp-proof {
  position: relative;
  z-index: 2;
  width: min(1280px, 92%);
  margin: 8px auto 0;
  padding: 18px 8px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.hp-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #c7d2e3;
}
.hp-proof-item .ck {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: rgba(56, 189, 248, .16); color: #67e8f9; font-size: 13px; font-weight: 900;
  border: 1px solid rgba(56, 189, 248, .3);
}
.hp-proof-sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .12); }

/* ----------------------------------------------------------------------------
   HOW IT WORKS — connected step cards
---------------------------------------------------------------------------- */
.hp-how { width: min(1240px, 92%); margin: 0 auto; }
.hp-how-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 8px;
}
.hp-step {
  position: relative;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  padding: 26px 22px;
  margin: 0 9px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.hp-step:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(37, 99, 235, .12); border-color: #c7d7f5; }
.hp-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .32);
}
.hp-step h3 { margin: 16px 0 7px; font-size: 19px; color: #0f172a; font-weight: 700; }
.hp-step p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #5b6b82; }
/* arrow connector between cards */
.hp-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px; top: 46px;
  width: 22px; height: 22px;
  background: #fff;
  border-top: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
  transform: rotate(45deg);
  border-radius: 3px;
  z-index: 4;
}

/* ----------------------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hp-hero-inner { gap: 44px; padding-top: 64px; }
  .hp-how-flow { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 980px) {
  .hp-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 24px; }
  .hp-copy { max-width: 640px; }
  .hp-preview { max-width: 560px; margin: 0 auto; width: 100%; }
  .hp-proof { justify-content: flex-start; gap: 16px 22px; }
  .hp-proof-sep { display: none; }
  .hp-how-flow { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hp-step { margin: 0; }
  .hp-step::after { display: none; }
}
@media (max-width: 600px) {
  .hp-hero-inner { padding-top: 40px; }
  .hp-h1 { font-size: clamp(2.1rem, 8.5vw, 2.7rem); }
  .hp-lead { font-size: 17px; }
  .hp-cta-row { gap: 12px; }
  .hp-btn { width: 100%; justify-content: center; }
  .hp-win-grid { grid-template-columns: 1fr; }
  .hp-float { right: 6px; bottom: -14px; padding: 11px 14px; }
  .hp-how-flow { grid-template-columns: 1fr; gap: 14px; }
  .hp-proof { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-btn, .hp-step { transition: none; }
}

/* ----------------------------------------------------------------------------
   v25 conversion pass — journey indicator, trust strip, executive outcomes
---------------------------------------------------------------------------- */
.hp-journey { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 20px; padding: 0; }
.hp-journey li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #c7d2e3; }
.hp-journey-n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; }
.hp-journey li:not(:last-child)::after { content: "\2192"; margin-left: 4px; color: #64748b; }

.trust-strip-section { padding: 20px 0; background: #fff; border-bottom: 1px solid #e2e8f0; }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; margin: 0 auto; padding: 0 20px; max-width: 1040px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #334155; }
.trust-strip svg { color: #2563eb; flex: none; }

.outcomes-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 8px auto 0; padding: 0; max-width: 1120px; }
.outcomes-grid li { display: flex; flex-direction: column; gap: 5px; padding: 22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.outcomes-grid .outcome-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: #eff6ff; color: #2563eb; margin-bottom: 6px; }
.outcomes-grid strong { font-size: 15.5px; font-weight: 700; color: #0f172a; }
.outcomes-grid li > span:last-child { font-size: 13.5px; color: #475569; line-height: 1.55; }

@media (max-width: 600px) {
  .hp-journey li { font-size: 12px; }
  .trust-strip { gap: 10px 22px; font-size: 13px; }
}
