/* ==========================================================================
   VERITASTRACE 2026 - TACTICAL FORENSICS & RECOVERY LANDING PAGE (PROJECT03)
   Palette: Crimson Alert Red (#ef4444) | Tactical Navy (#0b111a) | Ice Slate
   ========================================================================== */

:root {
  --primary-red: #ef4444;
  --primary-red-hover: #dc2626;
  --primary-red-glow: rgba(239, 68, 68, 0.35);
  
  --dark-bg: #0b111a;
  --dark-surface: #111827;
  --dark-card: #16202e;
  --dark-border: rgba(255, 255, 255, 0.1);
  
  --light-bg: #ffffff;
  --light-subtle: #f8fafc;
  --light-card-bg: #ffffff;
  --light-border: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;
  
  --emerald-green: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --ice-blue: #e0f2fe;
  --ice-blue-border: #bae6fd;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 25px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography & Global Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 14px;
}

.section-tag-line .dash {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-red);
  display: inline-block;
  border-radius: 2px;
}

.section-title {
  font-size: 38px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 13px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-red {
  background-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--primary-red-glow);
}

.btn-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--light-border);
}

.btn-outline-dark:hover {
  background: var(--light-subtle);
  border-color: var(--text-dark);
}

.live-dot {
  width: 9px;
  height: 9px;
  background-color: var(--emerald-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #cbd5e1;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Mobile Toggle Hamburger Button */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ffffff;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(11, 17, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.mobile-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-drawer-inner {
  padding: 20px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-drawer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.mobile-nav-links a i {
  width: 20px;
  color: var(--primary-red);
  font-size: 15px;
  text-align: center;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ffffff;
  padding-left: 18px;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION (Matching Reference image9.png)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--dark-bg);
  background-image: linear-gradient(135deg, rgba(11, 17, 26, 0.94) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center top;
  padding-top: 150px;
  padding-bottom: 120px;
  color: #ffffff;
}

.hero-content {
  max-width: 820px;
}

.hero-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.hero-tag-line .dash {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-red);
  display: inline-block;
  border-radius: 2px;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Bottom Overlapping Cards */
.hero-bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: -180px;
  position: relative;
  z-index: 10;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card-red {
  background-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.3);
}

.hero-card-dark {
  background-color: var(--dark-card);
  color: #ffffff;
  border: 1px solid var(--dark-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.hero-card-red .hero-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero-card-dark .hero-card-icon {
  background: rgba(239, 68, 68, 0.15);
  color: var(--primary-red);
}

.hero-card-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.9;
}

.hero-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

/* ==========================================================================
   ABOUT & METHODOLOGY SECTION (Matching Reference image2.png & image7.png)
   ========================================================================== */
.about-section {
  padding-top: 180px;
  padding-bottom: 96px;
  background-color: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Overlapping Photos on the Left */
.about-photos-wrap {
  position: relative;
  padding: 20px 0;
}

.about-photo-back {
  width: 85%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-photo-back img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-photo-front {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid #ffffff;
}

.about-photo-front img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.trusted-badge {
  position: absolute;
  top: 0;
  left: -12px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary-red);
}

.trusted-badge-text .title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.2;
}

.trusted-badge-text .sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Content on the Right */
.about-content h2 {
  font-size: 38px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.about-lead {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-bottom: 32px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  line-height: 1.45;
}

.check-item i {
  color: var(--primary-red);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Quote Callout */
.quote-box {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
}

.quote-text {
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: #0369a1;
  line-height: 1.55;
  margin-bottom: 14px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.author-info .name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.author-info .role {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Full-Width Vibrant Red Stats Bar (Matching image7.png) */
.stats-banner-wrap {
  margin-top: 72px;
}

.stats-banner {
  background-color: var(--primary-red);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: #ffffff;
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.28);
}

.stat-col {
  text-align: center;
  position: relative;
}

.stat-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-num {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Trust Ribbon Bar Underneath */
.trust-ribbon {
  margin-top: 16px;
  background-color: var(--dark-bg);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.trust-ribbon-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
}

.trust-ribbon-left i {
  color: var(--primary-red);
  font-size: 18px;
}

.trust-ribbon-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.trust-ribbon-btn:hover {
  background: var(--primary-red);
}

/* ==========================================================================
   TRIAGE SECTION (Matching Reference image3.png)
   ========================================================================== */
.triage-section {
  background-color: var(--light-subtle);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.triage-container {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* Left Form Box */
.triage-form-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.triage-step-group {
  margin-bottom: 36px;
}

.triage-step-group:last-child {
  margin-bottom: 0;
}

.triage-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Step 1 Options */
.scheme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scheme-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}

.scheme-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.scheme-card.active {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 0 0 1px #0284c7;
}

.scheme-card i {
  font-size: 18px;
  color: #64748b;
  margin-top: 2px;
}

.scheme-card.active i {
  color: #0284c7;
}

.scheme-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.scheme-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Step 2 Loss Pills */
.loss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.loss-btn {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  color: #334155;
  transition: all 0.2s ease;
}

.loss-btn:hover {
  border-color: #94a3b8;
}

.loss-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* Step 3 Evidence Checkboxes */
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.evidence-checkbox {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s ease;
}

.evidence-checkbox:hover {
  background: #f8fafc;
}

.custom-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.evidence-checkbox.checked .custom-box {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

/* Right HUD Card (Real-Time Forensic Readiness) */
.triage-hud-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--dark-border);
  color: #ffffff;
  box-shadow: var(--shadow-dark);
  position: sticky;
  top: 90px;
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.hud-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.hud-status-badge {
  color: var(--emerald-green);
  font-size: 18px;
}

.hud-result-box {
  margin-bottom: 24px;
}

.hud-eval-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.hud-eval-result {
  font-size: 22px;
  font-weight: 800;
  color: var(--emerald-green);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-details-table {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.hud-row .lbl {
  color: #94a3b8;
}

.hud-row .val {
  font-weight: 700;
  color: #ffffff;
}

.hud-row .val.green {
  color: var(--emerald-green);
}

.hud-note-box {
  background: rgba(2, 132, 199, 0.12);
  border-left: 3px solid #0284c7;
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hud-note-box strong {
  color: #ffffff;
}

.hud-btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 15px;
}

.hud-guarantee {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================================
   CASE STUDIES SECTION (Matching Reference image6.png)
   ========================================================================== */
.cases-section {
  background-color: var(--light-bg);
}

.cases-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.cases-top-row .section-header {
  text-align: left;
  margin: 0;
}

.cases-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cases-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.case-dot.active {
  width: 22px;
  border-radius: var(--radius-full);
  background-color: var(--primary-red);
}

.case-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.case-nav-arrow:hover {
  background-color: var(--light-subtle);
  border-color: #94a3b8;
}

.cases-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-card-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.case-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card-img-wrap img {
  transform: scale(1.05);
}

.case-badge-id {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.case-badge-status {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--emerald-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.case-card-victim {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-amount-red {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  display: inline-block;
}

.case-card-narrative {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-card-quote {
  border-top: 1px solid var(--light-border);
  padding-top: 14px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-muted);
}

/* ==========================================================================
   CONSUMER SAFEGUARD & FIELD FORENSICS BANNER
   ========================================================================== */
.safeguard-section {
  background-color: var(--dark-bg);
  padding: 80px 0;
  color: #ffffff;
}

.safeguard-box {
  background: linear-gradient(135deg, rgba(22, 32, 46, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-dark);
}

.safeguard-img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.safeguard-img-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.safeguard-img-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.safeguard-text h3 {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 14px;
}

.safeguard-text p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.safeguard-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.safe-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
}

.safe-item i {
  color: var(--primary-red);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--light-subtle);
  padding: 96px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item summary {
  padding: 22px 28px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.faq-content {
  padding: 0 28px 24px 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  color: var(--text-light-muted);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 14px;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   FLOATING WIDGETS (MESSENGER & CHAT)
   ========================================================================== */
.floating-messenger-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #7B3FE4 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 106, 255, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.floating-messenger-pill:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .triage-container { grid-template-columns: 1fr; }
  .triage-hud-card { position: static; }
  .cases-cards-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-col:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .safeguard-box { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .badge-247 { display: none; }
  .site-header { padding: 16px 0; }
}

@media (max-width: 640px) {
  /* Header & Navigation */
  .site-header { padding: 12px 0; }
  .brand-logo { gap: 10px; }
  .brand-icon-box { width: 34px; height: 34px; font-size: 16px; border-radius: 8px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8.5px; }
  .nav-actions { gap: 8px; }
  .header-cta-btn { padding: 8px 12px; font-size: 12px; border-radius: 8px; }
  .header-cta-btn i { font-size: 13px; }
  .mobile-menu-btn { width: 36px; height: 36px; font-size: 15px; border-radius: 8px; }

  /* Hero Section */
  .hero-section { padding-top: 105px; padding-bottom: 75px; }
  .hero-tag-line { font-size: 11px; margin-bottom: 12px; }
  .hero-title { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.16; margin-bottom: 16px; }
  .hero-desc { font-size: 14px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 18px; }
  
  .hero-bottom-cards { grid-template-columns: 1fr; margin-bottom: -190px; gap: 12px; }
  .hero-card { padding: 16px 18px; }
  .hero-card-title { font-size: 14px; }
  
  /* About Section */
  .about-section { padding-top: 215px; }
  .about-photo-back img { height: 280px; }
  .about-photo-front img { height: 160px; }
  .trusted-badge { left: 8px; top: 8px; padding: 8px 12px; }
  .trusted-badge-text .title { font-size: 13px; }
  .trusted-badge-text .sub { font-size: 8.5px; }
  .checklist-grid { grid-template-columns: 1fr; gap: 10px; }
  .quote-box { padding: 18px 16px; }
  .quote-text { font-size: 13.5px; }

  /* Stats Banner */
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 22px 14px; gap: 18px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 9.5px; }
  .trust-ribbon { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  .trust-ribbon-btn { width: 100%; justify-content: center; font-size: 12px; }

  /* Triage Section */
  .scheme-grid, .loss-grid, .evidence-grid { grid-template-columns: 1fr; gap: 8px; }
  .triage-form-box, .triage-hud-card { padding: 20px 16px; }
  .hud-details-table { padding: 12px; }
  .hud-row { font-size: 12.5px; }
  .hud-eval-result { font-size: 13px; }

  /* Case Dossiers */
  .cases-top-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cases-controls { display: none; }
  .case-card-body { padding: 20px 16px; }
  .case-card-title { font-size: 17px; }
  .case-amount-red { font-size: 20px; }

  /* Safeguard Section */
  .safeguard-box { padding: 20px 16px; gap: 20px; }
  .safeguard-img-frame img { height: 230px; }
  .safeguard-text h3 { font-size: 20px; }

  /* Floating Messenger */
  .floating-messenger-pill { left: 12px; bottom: 12px; padding: 8px 13px; font-size: 12px; }
  .floating-messenger-pill i { font-size: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}



/* ══════════════════════════════════════════
   FLOATING MESSENGER WIDGET & CHAT DRAWER
══════════════════════════════════════════ */
.fb-floating-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99995;
}
.fb-trigger-pill {
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #7B3FE4 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 12px 22px 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 16px rgba(0, 106, 255, 0.45) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  position: relative !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.fb-trigger-pill:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 28px rgba(0, 106, 255, 0.65) !important;
}
.fb-trigger-pill i { 
  font-size: 1.35rem !important; 
  color: #ffffff !important;
}
.fb-notification-bubble {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.fb-chat-box {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 320px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 99996;
}
.fb-header {
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fb-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
}
.fb-header-info strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}
.fb-header-info small {
  font-size: 0.72rem;
  color: #e0f2fe;
}
.fb-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.fb-close-btn:hover {
  opacity: 0.8;
}
.fb-body {
  padding: 16px;
  background: #f8fafc;
}
.fb-msg-bubble {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  color: #1e293b;
}
.fb-msg-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
}
.fb-quick-topics {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-quick-topics .quick-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.fb-quick-topics button {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fb-quick-topics button:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}
.fb-footer {
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
}
.fb-footer input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  outline: none;
  color: #0f172a;
}
.fb-footer input:focus {
  border-color: #0084FF;
}
.fb-send-btn {
  background: linear-gradient(135deg, #00B2FF, #006AFF);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fb-direct-bar {
  background: #f1f5f9;
  padding: 8px 14px 10px;
  border-top: 1px solid #e2e8f0;
}
.btn-fb-open-mme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00B2FF, #006AFF);
  color: #fff !important;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: opacity 0.2s;
}
.btn-fb-open-mme:hover {
  opacity: 0.9;
}
@media (max-width: 640px) {
  .fb-chat-box {
    width: calc(100vw - 32px);
    left: -8px;
    bottom: 58px;
  }
}
