/* ===================================================
   BRIDGE GRC — COMPLIANCE COPILOT (product page)
   Loaded after styles.css. Distinct layout per section.
   =================================================== */

/* ===================================================
   1 — HERO (centered copy + wide showcase below)
   =================================================== */
.cop-hero {
  position: relative;
  padding: 0 var(--space-md) var(--space-xl);
  text-align: center;
  overflow: hidden;
}

.cop-hero__glow {
  position: absolute;
  top: 46vh;
  left: 50%;
  width: min(1100px, 90vw);
  height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(45, 200, 130, 0.12), transparent 60%);
  pointer-events: none;
}

/* copy fills the screen and sits vertically centred (with navbar clearance) */
.cop-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 0 var(--space-lg);
  box-sizing: border-box;
}

.cop-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: var(--space-md) 0;
}

.cop-accent { color: var(--accent-primary); }

.cop-hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto var(--space-lg);
}

.cop-hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.cop-hero__note {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

.cop-hero__shot {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: var(--space-2xl) auto 0;
}

.cop-hero__shot-frame {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  background: var(--bg-surface);
  padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.cop-hero__shot-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ===================================================
   2 — CONTRAST (manual vs Copilot)
   =================================================== */
.cop-contrast {
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border-subtle);
}

.cop-contrast__head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.cop-contrast__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cop-contrast__card {
  padding: var(--space-xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  background: var(--bg-surface);
}

.cop-contrast__card--new {
  border-color: rgba(45, 200, 130, 0.25);
  background: linear-gradient(160deg, rgba(45, 200, 130, 0.06), var(--bg-surface) 55%);
}

.cop-contrast__tag {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.cop-contrast__tag--accent { color: var(--accent-primary); }

.cop-contrast__card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cop-contrast__card li {
  position: relative;
  padding-left: 28px;
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cop-contrast__card--old li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 10px;
  height: 2px;
  background: var(--risk-red);
  opacity: 0.7;
}

.cop-contrast__card--new li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  transform: rotate(-45deg);
}

.cop-contrast__arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  background: var(--bg-void);
}
.cop-contrast__arrow svg { width: 22px; height: 22px; }

/* ===================================================
   3 — FLOW (zigzag)
   =================================================== */
.cop-flow {
  padding: var(--section-gap) 0;
  background: #030306;          /* matches the step-image black → no visible image edge */
  overflow: hidden;             /* contain the outward image bleed */
}

.cop-flow__head {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.cop-flow__row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.cop-flow__row:last-child { margin-bottom: 0; }

.cop-flow__row--rev { grid-template-columns: 1.18fr 0.82fr; }
.cop-flow__row--rev .cop-flow__text { order: 2; }

/* enlarge the visual into the empty copy-side space */
.cop-flow__row:not(.cop-flow__row--rev) .cop-flow__visual { margin-right: -8%; }
.cop-flow__row--rev .cop-flow__visual { margin-left: -8%; }

.cop-flow__no {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
}

.cop-flow__text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 10px 0 var(--space-sm);
}

.cop-flow__text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
}

.cop-flow__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.5));
}

/* ===================================================
   4 — VERDICT (centerpiece)
   =================================================== */
.cop-verdict {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cop-verdict__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(45, 200, 130, 0.07), transparent 65%);
  pointer-events: none;
}

.cop-verdict__head {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.cop-verdict__lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.cop-verdict__shot {
  position: relative;
  max-width: 880px;
  margin: 0 auto var(--space-xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.cop-verdict__shot img { width: 100%; height: auto; display: block; }

.cop-verdict__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
}

.cop-vcard {
  padding: var(--space-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--bg-void);
}

/* Coverage rating spans the full row, above the other three */
.cop-vcard--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: var(--space-lg);
}
.cop-vcard--wide .cop-vcard__ratings { flex-shrink: 0; align-self: center; }
.cop-vcard--wide .cop-dot { width: 20px; height: 20px; }
.cop-vcard--wide h4 { margin: 0; flex-shrink: 0; }
.cop-vcard--wide p { margin: 0; }

.cop-vcard h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-sm) 0 6px;
}

.cop-vcard p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

.cop-vcard__ratings { display: flex; gap: 6px; }
.cop-dot { width: 16px; height: 16px; border-radius: 50%; }
.cop-dot--full { background: var(--risk-green); }
.cop-dot--partial { background: var(--risk-amber); }
.cop-dot--minimal { background: #E2752F; }
.cop-dot--none { background: var(--risk-red); }

.cop-vcard__metric {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--accent-primary);
  line-height: 1;
}

.cop-vcard__icon { color: var(--accent-primary); }
.cop-vcard__icon svg { width: 26px; height: 26px; }

.cop-verdict__hitl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-xl);
  font-size: 15px;
  color: var(--text-secondary);
}
.cop-verdict__hitl svg { width: 20px; height: 20px; color: var(--accent-primary); flex-shrink: 0; }

/* ===================================================
   5 — FRAMEWORKS
   =================================================== */
.cop-frameworks { padding: var(--section-gap) 0; }

.cop-frameworks__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.cop-frameworks__lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.cop-fw-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.cop-fw {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 12px 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cop-fw:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }

.cop-fw--accent {
  color: var(--accent-primary);
  border-color: rgba(45, 200, 130, 0.3);
  background: rgba(45, 200, 130, 0.05);
}

/* ===================================================
   6 — FEATURES GRID
   =================================================== */
.cop-features {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cop-features__head { text-align: center; margin-bottom: var(--space-2xl); }

.cop-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1080px;
  margin: 0 auto;
}

.cop-feat {
  padding: var(--space-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--bg-void);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cop-feat:hover { border-color: var(--border-glow); transform: translateY(-3px); }

.cop-feat__ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
  background: rgba(45, 200, 130, 0.04);
  margin-bottom: var(--space-md);
}
.cop-feat__ic svg { width: 22px; height: 22px; }

.cop-feat h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cop-feat p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===================================================
   7 — CHAT SPOTLIGHT
   =================================================== */
.cop-chat {
  padding: var(--section-gap) 0;
  background: #010206;          /* matches the chat-image black → no visible image edge */
  overflow: hidden;             /* contain the outward image bleed */
}
.cop-chat--rev { background: #020308; }   /* the summary image is a touch lighter */

.cop-chat__split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: var(--space-2xl);
  align-items: center;
}
.cop-chat--rev .cop-chat__split { grid-template-columns: 1.34fr 0.66fr; }

.cop-chat__text .section-title { margin: var(--space-sm) 0 var(--space-md); }

.cop-chat__text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.cop-chat__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.5));
}

/* enlarge the visual into the empty copy-side space (chat = right, summary = left) */
.cop-chat:not(.cop-chat--rev) .cop-chat__visual { margin-right: -8%; }
.cop-chat--rev .cop-chat__visual { margin-left: -12%; }

/* Light four-edge feather — the section bg already matches the image black, so
   this just absorbs any per-image variance and softens the bleed edges. */
.cop-flow__visual img,
.cop-chat__visual img {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
          mask-composite: intersect;
}

/* ===================================================
   8 — WHY (4-up strip)
   =================================================== */
.cop-why {
  padding: var(--space-2xl) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.cop-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.cop-why__item {
  padding: 0 var(--space-md);
  border-left: 1px solid var(--border-subtle);
}
.cop-why__item:first-child { border-left: none; }

.cop-why__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.cop-why__item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===================================================
   9 — AUDIENCE (3 cards)
   =================================================== */
.cop-audience { padding: var(--section-gap) 0; }

.cop-audience__head { text-align: center; margin-bottom: var(--space-2xl); }

.cop-audience__grid {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
}

/* minimalist editorial rows separated by hairlines — title left, copy right */
.cop-aud {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: var(--space-lg);
  align-items: center;
  padding: clamp(22px, 3.2vw, 34px) var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.cop-aud h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s ease;
}

.cop-aud:hover h4 { color: var(--accent-primary); }

.cop-aud p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ===================================================
   10 — CTA + light pricing
   =================================================== */
.cop-cta { padding: var(--space-3xl) var(--space-md); }

.cop-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-bento);
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(45, 200, 130, 0.10), transparent 60%),
    var(--bg-surface);
}

.cop-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: var(--space-sm) 0 var(--space-md);
}

.cop-cta__price {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}
.cop-cta__price strong { color: var(--text-primary); }

.cop-cta__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .cop-contrast__grid { grid-template-columns: 1fr; }
  .cop-contrast__arrow { transform: rotate(90deg); margin: 0 auto; }

  .cop-flow__row,
  .cop-flow__row--rev { grid-template-columns: 1fr; gap: var(--space-lg); }
  .cop-flow__row--rev .cop-flow__text { order: 0; }
  .cop-flow__visual { order: -1; margin: 0; }

  .cop-verdict__cards { grid-template-columns: 1fr 1fr; }
  .cop-feat-grid { grid-template-columns: 1fr 1fr; }
  .cop-chat__split,
  .cop-chat--rev .cop-chat__split { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
  .cop-chat__text p { margin-left: auto; margin-right: auto; }
  .cop-chat__visual { order: -1; margin: 0; }
  .cop-why__grid { grid-template-columns: 1fr 1fr; }
  .cop-why__item { border-left: none; padding: 0; }
  .cop-aud { grid-template-columns: 1fr; gap: 8px; padding: var(--space-md) 0; }
}

@media (max-width: 560px) {
  .cop-verdict__cards { grid-template-columns: 1fr; }
  .cop-vcard--wide { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .cop-feat-grid { grid-template-columns: 1fr; }
  .cop-why__grid { grid-template-columns: 1fr; }
}
