/* WHISTLEBLOWER PAGE STYLES */

/* ── Colour tokens ──────────────────────────── */
:root {
  --wb-dark:  #001228;
  --wb-red:   #e30613;
  --wb-red2:  #c0021a;
  --wb-teal:  #007a74;
}

/* ── Hero ───────────────────────────────────── */
.wb-hero {
  background: #555555 url('/src/world-map.svg') center center / cover no-repeat;
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--wb-red);
}
.wb-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
}
.wb-hero-inner { position: relative; z-index: 1; }
.wb-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 18px; border-radius: 20px;
  background: rgba(227,6,19,0.15); color: #ff6b6b;
  border: 1px solid rgba(227,6,19,0.3); margin-bottom: 20px;
}
.wb-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}
.wb-hero h1 span { color: var(--wb-red); }
.wb-hero p {
  font-size: 16px; color: rgba(255,255,255,0.75);
  line-height: 1.8; max-width: 560px; margin-bottom: 36px;
}
.wb-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wb-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wb-red); color: #fff;
  padding: 14px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: all .2s; box-shadow: 0 4px 20px rgba(227,6,19,0.35);
}
.wb-btn-primary:hover { background: var(--wb-red2); color: #fff; transform: translateY(-2px); }
.wb-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); color: #fff;
  padding: 14px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2); transition: all .2s;
}
.wb-btn-outline:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* Stats bar in hero */
.wb-hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap;
}
.wb-stat-num {
  font-size: 32px; font-weight: 900; color: var(--wb-red);
  font-family: 'Poppins', sans-serif; line-height: 1;
}
.wb-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 5px; }

/* Hero right: shield graphic */
.wb-hero-graphic {
  display: flex; align-items: center; justify-content: center;
  height: 100%;
}
.wb-shield {
  width: 280px; height: 280px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.wb-shield-bg {
  position: absolute; inset: 0;
  background: rgba(227,6,19,0.08);
  border-radius: 50%; border: 2px solid rgba(227,6,19,0.2);
  animation: pulse-ring 2.5s ease-out infinite;
}
.wb-shield-mid {
  position: absolute; inset: 30px;
  background: rgba(227,6,19,0.1);
  border-radius: 50%; border: 2px solid rgba(227,6,19,0.25);
}
.wb-shield-inner {
  position: relative; z-index: 1; text-align: center;
}
.wb-shield-inner i { font-size: 80px; color: rgba(227,6,19,0.8); display: block; margin-bottom: 8px; }
.wb-shield-inner span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; }
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ── Sections ───────────────────────────────── */
.wb-section { padding: 80px 0; }
.wb-section.alt { background: #f4f6f9; }
.wb-section.dark {
  background: linear-gradient(135deg, #001228 0%, #002040 100%);
  color: #fff;
}

.wb-section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
  margin-bottom: 14px;
}
.wb-section-tag.red   { background: rgba(227,6,19,0.1); color: var(--wb-red); }
.wb-section-tag.teal  { background: rgba(0,122,119,0.1); color: var(--wb-teal); }
.wb-section-tag.white { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

.wb-section-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  line-height: 1.25; margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
}
.wb-divider {
  height: 3px; width: 48px; border-radius: 3px;
  background: linear-gradient(90deg, var(--wb-red), rgba(227,6,19,0.3));
  margin-bottom: 22px;
}
.wb-divider.teal { background: linear-gradient(90deg, var(--wb-teal), rgba(0,122,119,0.3)); }
.wb-section-desc { font-size: 15px; line-height: 1.85; color: #555; }
.wb-section.dark .wb-section-desc { color: rgba(255,255,255,0.7); }

/* ── What is WBS card ───────────────────────── */
.wbs-def-card {
  background: #fff; border-radius: 20px; padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border-top: 4px solid var(--wb-red);
  font-size: 15px; color: #444; line-height: 1.9;
}
.wbs-def-card strong { color: var(--wb-dark); }

/* ── Violation categories ───────────────────── */
@keyframes vcSlideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.violation-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-top: 36px;
}
.violation-card {
  background: #fff; border-radius: 16px; padding: 24px 22px;
  border-left: 4px solid var(--wb-red);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex; gap: 16px; align-items: flex-start;
  width: calc(25% - 12px); min-width: 240px;
  transition: transform .2s, box-shadow .2s;
  opacity: 0;
}
.violation-card.vc-visible {
  animation: vcSlideIn 0.45s ease forwards;
}
.violation-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.violation-icon {
  flex-shrink: 0; width: 46px; height: 46px;
  border-radius: 12px; background: rgba(227,6,19,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--wb-red);
}
.violation-title { font-size: 14px; font-weight: 800; color: var(--wb-dark); margin-bottom: 5px; }
.violation-desc  { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

/* ── Steps ──────────────────────────────────── */
.steps-wrap { position: relative; margin-top: 44px; }
.step-item {
  display: flex; gap: 24px; margin-bottom: 36px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 50%; background: var(--wb-red);
  color: #fff; font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 16px rgba(227,6,19,0.35);
  position: relative; z-index: 1;
}
.step-connector {
  position: absolute; left: 26px; top: 0; bottom: 0;
  width: 2px; background: rgba(227,6,19,0.2); z-index: 0;
}
.step-body { flex: 1; padding-top: 8px; }
.step-title { font-size: 16px; font-weight: 800; color: #0f1f3d; margin-bottom: 6px; }
.step-desc  { font-size: 14px; color: #666; line-height: 1.75; }
.step-tags  { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.step-tag   {
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 12px; background: rgba(227,6,19,0.08); color: var(--wb-red);
}

/* ── Anonymity options ──────────────────────── */
.anon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 40px;
}
.anon-card {
  background: #fff; border-radius: 20px; padding: 36px 28px;
  text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-top: 4px solid transparent; transition: transform .2s, box-shadow .2s;
}
.anon-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.13); }
.anon-card.full    { border-top-color: #007a74; }
.anon-card.partial { border-top-color: #f59e0b; }
.anon-card.anon    { border-top-color: #e30613; }
.anon-icon {
  font-size: 38px; display: block; margin-bottom: 18px;
}
.anon-card.full    .anon-icon { color: #007a74; }
.anon-card.partial .anon-icon { color: #f59e0b; }
.anon-card.anon    .anon-icon { color: #e30613; }
.anon-title {
  font-size: 16px; font-weight: 800; color: #0f1f3d; margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}
.anon-desc { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }

/* ── Protection list ────────────────────────── */
.protect-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.protect-item {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(255,255,255,0.06); border-radius: 14px;
  padding: 20px 22px; border: 1px solid rgba(255,255,255,0.1);
}
.protect-item > i {
  flex-shrink: 0; font-size: 22px; color: #fff;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.protect-item-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.protect-item-desc  { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.65; margin: 0; }

/* ── Channel cards ──────────────────────────── */
.channel-card {
  background: rgba(255,255,255,0.06); border-radius: 20px;
  padding: 32px 36px; border: 1px solid rgba(255,255,255,0.12);
}
.channel-section-title {
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--wb-red);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.channel-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px;
}
.channel-item:last-child { margin-bottom: 0; }
.channel-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: rgba(255,255,255,0.7);
}
.channel-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.channel-value { font-size: 14px; color: #fff; font-weight: 500; }
.channel-value a { color: #fff; text-decoration: none; }
.channel-value a:hover { color: var(--wb-red); text-decoration: underline; }

/* ── CTA section ────────────────────────────── */
.wb-cta {
  background: linear-gradient(135deg, var(--wb-red) 0%, var(--wb-red2) 100%);
  border-radius: 24px; padding: 60px 48px; text-align: center;
  box-shadow: 0 16px 48px rgba(227,6,19,0.25);
}
.wb-cta h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; color: #fff;
  font-family: 'Poppins', sans-serif; margin-bottom: 16px;
}
.wb-cta p {
  font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.8;
  max-width: 600px; margin: 0 auto 32px;
}
.wb-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--wb-red);
  padding: 16px 36px; border-radius: 14px;
  font-size: 15px; font-weight: 800; text-decoration: none;
  transition: all .2s; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.wb-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); color: var(--wb-red2); }

/* ── FAQ ────────────────────────────────────── */
.wb-faq-list { display: flex; flex-direction: column; gap: 12px; }
.wb-faq-item {
  background: #fff; border-radius: 14px;
  border: 1.5px solid #e8ecf1;
  overflow: hidden; transition: border-color .2s;
}
.wb-faq-item.open { border-color: var(--wb-red); }
.wb-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; cursor: pointer;
  user-select: none;
}
.wb-faq-q h4 {
  font-size: 15px; font-weight: 700; color: #0f1f3d; margin: 0; line-height: 1.4;
}
.wb-faq-toggle {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  background: rgba(227,6,19,0.08); color: var(--wb-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: transform .25s;
}
.wb-faq-item.open .wb-faq-toggle { transform: rotate(45deg); background: var(--wb-red); color: #fff; }
.wb-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.wb-faq-item.open .wb-faq-a { max-height: 300px; }
.wb-faq-a-inner {
  padding: 0 24px 20px; font-size: 14px; color: #555; line-height: 1.8;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 991px) {
  .wb-hero { padding: 70px 0 56px; }
  .wb-section { padding: 56px 0; }
  .wb-cta { padding: 40px 24px; }
  .wb-cta-btn { padding: 14px 28px; }
  .channel-card { padding: 24px 20px; }
  .anon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .wb-hero-stats { gap: 24px; }
  .wb-stat-num { font-size: 24px; }
  .violation-grid { grid-template-columns: 1fr; }
}
