/* ══════════════════════════════════════════════════════════
   VRAIMONY — styles-v4.css
   New components added in v4:
   - ICP statement line
   - Crisis entry point + banner
   - Gate checklist section
   - Urgency track in disputes
   - Gate compliance badges
   - Use Cases section + cards
   - Use Case page hero + who grid + FM patterns
   ══════════════════════════════════════════════════════════ */

/* ── ICP Statement Line ─────────────────────────────────── */
.v3-icp-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #4a6280;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: rgba(60, 100, 180, 0.06);
  border: 1px solid rgba(60, 100, 180, 0.14);
  border-radius: 999px;
}
.v3-icp-line strong { color: #1a3a70; }

/* ── Crisis Entry Point in Hero ─────────────────────────── */
.v3-crisis-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(220, 100, 20, 0.07);
  border: 1px solid rgba(220, 100, 20, 0.18);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #5a3010;
}
.v3-crisis-icon { font-size: 1rem; flex: none; margin-top: 1px; }
.v3-crisis-entry a {
  color: #c06010 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v3-crisis-entry a:hover { color: #e07010 !important; }

/* ── Crisis Banner (top of page, togglable) ─────────────── */
.v4-crisis-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(220,100,20,0.95), rgba(190,70,10,0.97));
  color: #fff;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 500;
  position: relative;
}
.v4-cb-icon { font-size: 1rem; flex: none; }
.v4-cb-link {
  color: #ffe8cc !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.v4-cb-link:hover { color: #fff !important; }
.v4-cb-close {
  margin-left: auto;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  flex: none;
}
.v4-cb-close:hover { background: rgba(255,255,255,0.25); }

/* Static banner for use case pages */
.v4-crisis-banner-static {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(220,100,20,0.09);
  border-bottom: 1px solid rgba(220,100,20,0.18);
  color: #7a3810;
  padding: 9px 20px;
  font-size: 0.84rem;
}
.v4-crisis-banner-static strong { color: #5a2808; }

/* ── Gate Checklist Section ─────────────────────────────── */
.v4-gate-section { padding: 36px !important; }
.v4-gate-header { margin-bottom: 24px; }
.v4-gate-header h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  border-left: none !important;
  padding-left: 0 !important;
}
.v4-gate-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.v4-gate-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,29,52,0.09);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.v4-gate-item:hover { background: rgba(255,255,255,0.96); border-color: rgba(200,147,23,0.22); }
.v4-gate-cb {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  accent-color: #c89317;
  cursor: pointer;
}
.v4-gate-content strong { display: block; color: #0b1828; font-size: 0.96rem; margin-bottom: 4px; }
.v4-gate-result {
  background: rgba(247,250,254,0.92);
  border: 1px solid rgba(15,29,52,0.10);
  border-radius: 16px;
  padding: 16px 20px;
}
.v4-gr-bar-wrap {
  height: 6px;
  background: rgba(15,29,52,0.10);
  border-radius: 99px;
  margin-bottom: 12px;
  overflow: hidden;
}
.v4-gr-bar {
  height: 100%;
  background: linear-gradient(90deg, #c89317, #e8a820);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.v4-gr-text { font-size: 0.88rem; color: #5a7080; margin: 0; }

/* ── Urgency Track in Disputes Family ───────────────────── */
.v4-urgency-track {
  background: rgba(220,100,20,0.07);
  border: 1px solid rgba(220,100,20,0.18);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}
.v4-ut-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c06010;
  margin-bottom: 5px;
}
.v4-ut-text { display: block; font-size: 0.82rem; color: #5a3010; margin-bottom: 8px; }
.v4-ut-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: #c06010 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v4-family-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.v4-family-btns .v3-family-btn { flex: 1; min-width: 0; }

/* ── Gate Compliance Badges ─────────────────────────────── */
.v4-gate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,29,52,0.09);
}
.v4-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,29,52,0.10);
  border-radius: 999px;
  font-size: 0.80rem;
  font-weight: 600;
  color: #3a4f68;
}
.v4-badge-icon { color: #18a870; font-size: 0.9rem; }

/* ── Use Cases Section ──────────────────────────────────── */
.v4-usecases-section { }
.v4-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.v4-uc-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(15,29,52,0.10);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15,29,52,0.06);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.v4-uc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15,29,52,0.10);
  border-color: rgba(200,147,23,0.26);
  color: inherit !important;
}
.v4-uc-icon { font-size: 1.4rem; flex: none; margin-top: 1px; }
.v4-uc-body { flex: 1; min-width: 0; }
.v4-uc-body strong { display: block; color: #0b1828; font-size: 0.94rem; margin-bottom: 4px; }
.v4-uc-body p { margin: 0; }
.v4-uc-arrow {
  font-size: 1rem;
  color: rgba(200,147,23,0.60);
  flex: none;
  margin-top: 2px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.v4-uc-card:hover .v4-uc-arrow {
  transform: translateX(3px);
  color: #c89317;
}

/* ── Use Case Page Components ───────────────────────────── */
.v4-uc-hero {
  background: linear-gradient(145deg,
    rgba(255,255,255,0.99) 0%,
    rgba(250,245,230,0.97) 55%,
    rgba(248,252,255,0.97) 100%) !important;
}
.v4-uc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,147,23,0.09);
  border: 1px solid rgba(200,147,23,0.26);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7a4f00;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v4-uc-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c89317;
  flex: none;
  animation: pulse 2s ease infinite;
}
.v4-uc-honesty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #5a7080;
  font-weight: 500;
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(200,147,23,0.06);
  border: 1px solid rgba(200,147,23,0.16);
  border-radius: 12px;
}

.v4-uc-who-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.v4-uc-who {
  padding: 20px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,29,52,0.09);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15,29,52,0.06);
}
.v4-uc-who strong { display: block; margin-bottom: 6px; color: #0b1828; }

.v4-fm-patterns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.v4-fm-item {
  padding: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,29,52,0.09);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(15,29,52,0.06);
}
.v4-fm-item strong { display: block; color: #0b1828; margin-bottom: 6px; font-size: 0.92rem; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .v4-uc-grid      { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v4-uc-who-grid  { grid-template-columns: 1fr; }
  .v4-fm-patterns  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v4-family-btns  { flex-direction: column; }
}

@media (max-width: 640px) {
  .v4-uc-grid     { grid-template-columns: 1fr; }
  .v4-fm-patterns { grid-template-columns: 1fr; }
  .v4-gate-badges { gap: 8px; }
  .v4-crisis-banner { font-size: 0.80rem; }
}
