/* ============================================
   SCAMZERO PORTAL - CONSOLIDATED STYLESHEET
   Single source of truth for portal styles
   ============================================ */

/* ============================================
   1. DESIGN SYSTEM VARIABLES
   Matches main site design-system.css
   ============================================ */
:root {
  /* Colors - Navy */
  --color-navy-900: #020617;
  --color-navy-800: #0f172a;
  --color-navy-700: #1e293b;
  --color-navy-600: #334155;
  --color-navy-500: #475569;

  /* Colors - Blue (Primary) */
  --color-blue-700: #1D4ED8;
  --color-blue-600: #2563EB;
  --color-blue-500: #3B82F6;
  --color-blue-400: #60A5FA;
  --color-blue-300: #93C5FD;
  --color-blue-200: #BFDBFE;
  --color-blue-100: #DBEAFE;
  --color-blue-50: #EFF6FF;

  /* Colors - Gold (Accent) */
  --color-gold-600: #D97706;
  --color-gold-500: #F59E0B;
  --color-gold-400: #FBBF24;
  --color-gold-300: #FCD34D;
  --color-gold-100: #FEF3C7;

  /* Colors - Mint (Success) */
  --color-mint-700: #047857;
  --color-mint-600: #059669;
  --color-mint-500: #10B981;
  --color-mint-400: #34D399;
  --color-mint-100: #D1FAE5;

  /* Colors - Red (Danger) */
  --color-red-700: #B91C1C;
  --color-red-600: #DC2626;
  --color-red-500: #EF4444;
  --color-red-400: #F87171;
  --color-red-100: #FEE2E2;

  /* Colors - Gray */
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;

  /* Typography Scale */
  --text-xs: 0.75rem;       /* 12px */
  --text-sm: 0.875rem;      /* 14px */
  --text-base: 1rem;        /* 16px */
  --text-lg: 1.125rem;      /* 18px */
  --text-xl: 1.25rem;       /* 20px */
  --text-2xl: 1.5rem;       /* 24px */
  --text-3xl: 1.875rem;     /* 30px */
  --text-4xl: 2.25rem;      /* 36px */
  --text-5xl: 3rem;         /* 48px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Spacing */
  --space-1: 0.25rem;       /* 4px */
  --space-2: 0.5rem;        /* 8px */
  --space-3: 0.75rem;       /* 12px */
  --space-4: 1rem;          /* 16px */
  --space-5: 1.25rem;       /* 20px */
  --space-6: 1.5rem;        /* 24px */
  --space-8: 2rem;          /* 32px */
  --space-10: 2.5rem;       /* 40px */
  --space-12: 3rem;         /* 48px */
  --space-16: 4rem;         /* 64px */
  --space-20: 5rem;         /* 80px */
  --space-24: 6rem;         /* 96px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1280px;
  --container-narrow: 800px;

  /* Font Family */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ==========================================
     BRAND VARIABLES (overridden per-portal)
     ========================================== */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #3b82f6;
  --brand-primary: #2563eb;
  --brand-text-on-primary: #ffffff;
  --accent: #f97316;
  --accent-dark: #ea580c;

  /* Legacy mappings */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-cream: #fefdfb;
  --bg-dark: #0f172a;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.modal-open {
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-gray-700);
  background: color-mix(in srgb, var(--brand) 5%, white);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Portal-level override: smaller section titles for educational content
   Base in common.css is clamp(2.25rem, 4vw + 1rem, 3.25rem) = 36-52px (too large)
   This brings it to 28-40px - appropriate for H2 section headers */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 var(--space-2);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   3. UTILITY CLASSES
   ============================================ */

/* Display */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flexbox */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gap */
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: 2rem; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Width */
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

/* Padding */
.p-6 { padding: var(--space-6); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.pt-14 { padding-top: 3.5rem; }
.pb-20 { padding-bottom: 5rem; }

/* Text */
.text-center { text-align: center; }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-white { color: var(--color-white); }
.text-slate-500 { color: var(--color-gray-500); }
.text-on-primary { color: var(--brand-text-on-primary); }

/* Font */
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
.tracking-tight { letter-spacing: var(--tracking-tight); }
.leading-relaxed { line-height: var(--leading-relaxed); }

/* Border Radius */
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }

/* Shadow */
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Transitions */
.transition-all { transition: all var(--transition-base); }
.duration-300 { transition-duration: 300ms; }
.hover\:opacity-80:hover { opacity: 0.8; }

/* Background */
.bg-primary-bg { background-color: var(--brand); }

/* ============================================
   3.6 SCROLL REVEAL ANIMATIONS
   Native CSS scroll-driven animations
   ============================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  animation: fadeSlideUp 0.6s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
}

/* Staggered reveal for grid children */
.reveal-stagger > * {
  animation: fadeSlideUp 0.5s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { animation-delay: 60ms; }
.reveal-stagger > *:nth-child(3) { animation-delay: 120ms; }
.reveal-stagger > *:nth-child(4) { animation-delay: 180ms; }
.reveal-stagger > *:nth-child(5) { animation-delay: 240ms; }
.reveal-stagger > *:nth-child(6) { animation-delay: 300ms; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-stagger > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   3.5 PORTAL HEADER
   ============================================ */
.portal-header {
  background: white;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 0.75rem 1.5rem;
}

.portal-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.portal-header-logo {
  display: flex;
  align-items: center;
}

img.header-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .portal-header {
    padding: 0.5rem 1rem;
  }

  img.header-logo {
    height: 40px;
  }
}

/* ============================================
   4. HERO SECTION - Stitch Design
   ============================================ */

/* Hero Wrapper */
.hero-wrapper {
  --page-bg: color-mix(in srgb, var(--brand) 5%, white);
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 10%, white) 0%,
    var(--page-bg) 100%
  );
  overflow: hidden;
}

/* Subtle wave pattern overlay with bottom fade */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--brand) 60%, transparent 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,181.3C960,203,1056,213,1152,197.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-position: bottom center;
  mask-position: bottom center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 150% auto;
  mask-size: 150% auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Secondary wave layer with bottom fade */
.hero-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--brand) 60%, transparent 100%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' d='M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,106.7C672,117,768,171,864,181.3C960,192,1056,160,1152,144C1248,128,1344,128,1392,128L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' d='M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,106.7C672,117,768,171,864,181.3C960,192,1056,160,1152,144C1248,128,1344,128,1392,128L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-position: bottom center;
  mask-position: bottom center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 120% auto;
  mask-size: 120% auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Background Decorations - soft blurred accents */
.hero-bg-decoration {
  position: absolute;
  z-index: 1;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}

.hero-bg-top {
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--brand) 12%, transparent), transparent);
}

.hero-bg-bottom {
  bottom: 15%;
  left: 0;
  width: 33%;
  height: 25%;
  background: linear-gradient(to top right, color-mix(in srgb, var(--brand) 10%, transparent), transparent);
}

.hero-header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-logo-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.hero-org-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Hero logo - dynamic variants injected by portal-worker */
img.hero-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.hero-logo-svg {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-svg svg {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.hero-logo-text {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--brand-primary);
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
  display: block;
}

.hero-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}

@media (min-width: 768px) {
  .hero-nav {
    display: flex;
  }
}

.hero-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-nav-link:hover {
  color: var(--brand);
}

.hero-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dc2626;
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.hero-emergency-btn:hover {
  background: #b91c1c;
  color: white;
  transform: translateY(-2px);
}

.hero-emergency-btn .material-symbols-outlined {
  font-size: 1.125rem;
}

/* Hero Main Content */
.hero-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10rem 2rem 5rem;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero-main-content {
    padding: 5rem 1.5rem 3rem;
  }
}

/* Hero Learn More Link */
.hero-learn-more {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-learn-more:hover {
  color: var(--brand);
}

.hero-learn-more i {
  font-size: 1.25rem;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Live Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--brand) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  margin-bottom: 2rem;
}

.hero-badge-dot {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
}

.hero-badge-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: var(--brand);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--brand);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-badge-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

/* Hero Header Block - matches bento grid width */
.hero-header-block {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
}

.hero-br {
  display: none;
}

@media (min-width: 768px) {
  .hero-br {
    display: block;
  }
}

.hero-headline-accent {
  color: var(--brand);
  font-variation-settings: 'wght' 600;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Hero CTA Button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 7rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--brand);
  color: var(--brand-text-on-primary, white);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 40%, transparent);
}

.hero-cta-btn .material-symbols-outlined {
  font-size: 1.5rem;
}

/* Hero Primary CTA Button */
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: var(--brand);
  color: var(--brand-text-on-primary, white);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 40%, transparent);
}

.hero-cta-primary i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.hero-cta-primary:hover i {
  transform: translateX(4px);
}

/* Hero Emergency Row */
.hero-emergency-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-emergency-text {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.hero-emergency-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #dc2626;
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hero-emergency-btn:hover {
  background: #b91c1c;
}

/* ============================================
   DID YOU KNOW - Rotating facts (uses Safety Plan card)
   ============================================ */

.did-you-know-facts {
  position: relative;
  min-height: 1.6em;
}

.did-you-know-fact {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.did-you-know-fact.active {
  position: relative;
  opacity: 1;
}

@media (max-width: 768px) {
  .did-you-know-fact {
    display: none;
  }

  .did-you-know-fact.active {
    display: inline;
  }
}

/* Check Options Modal */
.check-options-modal {
  max-width: 560px;
  width: 100%;
}

.check-options-modal .modal-content {
  padding: 2.5rem;
}

.check-options-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem 0;
  color: var(--text-dark);
}

.check-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.check-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.check-option-card:hover {
  background: white;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.check-option-icon {
  font-size: 2.5rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.check-option-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.check-option-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .check-options-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .check-options-modal .modal-content {
    padding: 1.25rem;
  }

  .check-options-title {
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
  }

  .check-option-card {
    padding: 0.75rem 1rem;
  }

  .check-option-icon {
    font-size: 1.75rem;
    margin-bottom: 0.375rem;
  }

  .check-option-label {
    font-size: 0.9rem;
  }

  .check-option-desc {
    font-size: 0.75rem;
  }

  .check-options-faq-link {
    margin-top: 0.75rem;
  }

  .hero-cta-primary {
    width: 100%;
    padding: 1.25rem 2rem;
  }
}

/* Check Options FAQ Link */
.check-options-faq-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
}
.check-options-faq-link a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.check-options-faq-link a:hover {
  color: var(--text-dark);
}

/* FAQ Modal */
.faq-modal {
  max-width: 600px;
  width: 100%;
}
.faq-modal .modal-content {
  padding: 2rem;
}
.faq-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-dark);
}
.faq-modal .faq-list {
  max-width: 100%;
}
.faq-modal .faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-modal .faq-item:last-child {
  border-bottom: none;
}

/* ============================================
   GET HELP MODAL
   ============================================ */
.get-help-modal {
  max-width: 680px;
  width: 100%;
}

.get-help-modal .modal-content {
  padding: 2.5rem;
}

.get-help-header {
  text-align: center;
  margin-bottom: 2rem;
}

.get-help-icon {
  font-size: 3rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.get-help-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.get-help-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.get-help-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.get-help-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.get-help-option-card:hover {
  background: white;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.get-help-option-icon {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.get-help-option-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.get-help-option-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .get-help-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .get-help-modal .modal-content {
    padding: 1.5rem;
  }
}

@media (max-width: 400px) {
  .get-help-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LEARN SECTION (no tabs)
   ============================================ */
.learn-section {
  padding: var(--space-16) var(--space-6);
  background: var(--bg-light);
}

.learn-section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Hero Check Options - Inline Pills */
.hero-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.hero-check-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-check-pill .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--brand, #1e5a8a);
}

/* Hero Centered Logo */
.hero-logo-centered {
  display: block;
  max-height: 64px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 2rem;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
  background: color-mix(in srgb, var(--brand) 10%, white);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* Emergency Pill - Red variant */
.hero-check-pill.pill-emergency {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  text-decoration: none;
}

.hero-check-pill.pill-emergency:hover {
  background: rgba(220, 38, 38, 0.2);
}

.hero-check-pill.pill-emergency .material-symbols-outlined {
  color: #dc2626;
}

/* ============================================
   BENTO GRID - Hero Tools
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.bento-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease-out;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  text-decoration: none;
  color: var(--text-dark, #0f172a);
  font-family: inherit;
  font-size: inherit;
  box-shadow:
    0 1px 3px color-mix(in srgb, var(--brand) 18%, transparent),
    0 6px 16px color-mix(in srgb, var(--brand) 15%, transparent),
    0 16px 32px color-mix(in srgb, var(--brand) 12%, transparent);
  position: relative;
  overflow: hidden;
}

.bento-text {
  text-align: left;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--brand);
  box-shadow:
    0 0 0 1px var(--brand),
    0 2px 6px color-mix(in srgb, var(--brand) 20%, transparent),
    0 12px 24px color-mix(in srgb, var(--brand) 18%, transparent),
    0 24px 48px color-mix(in srgb, var(--brand) 15%, transparent);
}

.bento-card:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.1s;
}

.bento-card--primary {
  grid-column: span 2;
  grid-row: span 2;
  padding: 1.5rem;
  min-height: 280px;
  box-shadow:
    0 2px 6px color-mix(in srgb, var(--brand) 20%, transparent),
    0 8px 20px color-mix(in srgb, var(--brand) 16%, transparent),
    0 20px 40px color-mix(in srgb, var(--brand) 14%, transparent);
}

.bento-card--primary .bento-icon {
  font-size: 5rem;
}

.bento-card--primary .bento-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.bento-card--primary .bento-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted, #64748b);
  margin-top: 0.375rem;
}

.bento-card--emergency {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.15);
}

.bento-card--emergency .bento-icon {
  color: #dc2626;
}

.bento-card--emergency .bento-title {
  color: #dc2626;
}

.bento-card--emergency:hover {
  background: #fee2e2;
}

.bento-icon {
  font-size: 3.5rem;
  color: var(--brand, #1e5a8a);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-card:hover .bento-icon {
  transform: scale(1.1);
}

.bento-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.bento-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.25rem;
}

/* CTA Arrow */
.bento-cta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.25rem;
  color: var(--brand, #1e5a8a);
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bento-card:hover .bento-cta {
  opacity: 1;
  transform: translateX(4px);
}

.bento-card--emergency .bento-cta {
  color: #dc2626;
}

/* Bento Grid Responsive */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--primary {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--primary {
    grid-column: span 1;
  }
}

/* Hero CTA Button Group */
.hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Section pill labels (Tech Tips, Scam Recovery, etc.) */
.section-pill {
  display: inline-block;
  background: var(--color-blue-100, #dbeafe);
  color: var(--color-blue-700, #1d4ed8);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-pill.pill-red {
  background: #fee2e2;
  color: #dc2626;
}

/* Secondary CTA Button (outlined) */
.hero-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-cta-btn-secondary:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  transform: translateY(-2px);
}

.hero-cta-btn-secondary .material-symbols-outlined {
  font-size: 1.5rem;
}

/* Mobile Emergency Button - shown below CTA on mobile only */
.hero-emergency-btn-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Center header and shrink logo on mobile */
  .hero-header-inner {
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .hero-org-logo {
    height: 28px;
    max-width: 120px;
  }

  /* Dynamic logo variants on mobile */
  img.hero-logo,
  .hero-logo-svg {
    height: 56px;
  }

  .hero-logo-text {
    font-size: var(--text-3xl);
  }

  /* Hide header emergency button on mobile */
  .hero-header-actions {
    display: none;
  }

  /* Show mobile emergency button below CTA */
  .hero-emergency-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    padding: 1.25rem 2rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
  }

  .hero-emergency-btn-mobile:hover {
    background: #b91c1c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
  }

  .hero-emergency-btn-mobile .material-symbols-outlined {
    font-size: 1.5rem;
  }

  /* Adjust CTA buttons for mobile */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero-cta-btn {
    width: 100%;
    padding: 1.25rem 2rem;
  }

  .hero-cta-btn-secondary {
    width: 100%;
    padding: 1.25rem 2rem;
  }

  /* Hero Check Pills mobile */
  .hero-check-options {
    flex-direction: column;
    align-items: center;
  }

  .hero-check-pill {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

}

/* Scam Check Modal - uses how-it-works-modal structure but wider */
.scam-check-content {
  max-width: 900px;
  padding: 2.5rem 3rem;
}

.scam-check-header {
  text-align: center;
  margin-bottom: 2rem;
}

.scam-check-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
  max-width: 58rem;
}

.scam-check-subtitle {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 48rem;
}

/* Tile-based layout */
.scam-check-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.scam-check-tile {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1rem 1rem 0 1rem;
}

.scam-check-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  border-color: var(--brand);
}

.scam-check-tile-image {
  aspect-ratio: 10 / 7;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.scam-check-tile-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.scam-check-tile-title {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #0f172a;
  text-align: center;
  background: white;
}

/* Contact Section */
/* Top Announcement Bar */
.announcement-bar {
  background: var(--brand-primary, #1e5a8a);
  padding: 14px 24px;
}

.announcement-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.announcement-bar-text {
  color: var(--brand-text-on-primary, #ffffff);
  font-size: 0.9375rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.ab-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.ab-item .material-symbols-outlined {
  font-size: 17px;
  opacity: 0.9;
}

.announcement-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-text-on-primary, #ffffff);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.announcement-bar-link:hover {
  opacity: 0.85;
}

.announcement-bar-link .material-symbols-outlined {
  font-size: 18px;
}

@media (max-width: 640px) {
  .announcement-bar {
    padding: 8px 16px;
  }

  .announcement-bar-inner {
    gap: 8px;
  }

  .announcement-bar-text {
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    gap: 10px;
    line-height: 1.4;
  }

  .announcement-bar-link {
    font-size: 0.875rem;
  }
}

.contact-item:hover {
  opacity: 0.8;
}

.contact-item .material-symbols-outlined {
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  /* Increased horizontal padding on larger screens */
  .insights-section,
  .techtips-section,
  .prevention-checklists-section,
  .high-risk-section,
  .share-section,
  .faq-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================
   HOW SCAMS WORK TODAY SECTION
   3-step educational overview
   ============================================ */
.how-scams-work {
  padding: 5rem 1.5rem;
  background: white;
}

.how-scams-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.how-scams-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  text-align: center;
  margin: 0 auto 3rem auto;
  max-width: 58rem;
}

.how-scams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.how-scams-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.how-scams-step {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 28px;
  height: 28px;
  background: var(--brand-primary, var(--color-blue-600));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: var(--font-bold);
}

.how-scams-icon {
  margin-bottom: 1rem;
}

.how-scams-icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--brand-primary, var(--color-blue-600));
}

.how-scams-card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.how-scams-card-subtitle {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.how-scams-card-body {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-gray-600);
  margin: 0;
}

@media (max-width: 900px) {
  .how-scams-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .how-scams-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ============================================
   4B. THREE THREATS SECTION
   Tabbed educational content about AI threats
   ============================================ */
.threats-section {
  max-width: 800px;
  margin: 3rem auto 0;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.threats-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.threats-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
  max-width: 58rem;
}

.threats-subtitle {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  margin: 0;
  max-width: 48rem;
}

/* Tab Navigation */
.threats-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-gray-200);
  padding-bottom: 0;
}

.threats-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-gray-500);
  transition: all 0.2s ease;
}

.threats-tab:hover {
  color: var(--text-dark);
  background: var(--color-gray-50);
}

.threats-tab.active {
  color: var(--brand-primary, var(--color-blue-600));
  border-bottom-color: var(--brand-primary, var(--color-blue-600));
}

.threats-tab .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Tab Content */
.threats-content {
  display: none;
}

.threats-content.active {
  display: block;
}

/* Quote Block */
.threat-quote {
  background: var(--color-gray-50);
  border-left: 4px solid var(--brand-primary, var(--color-blue-600));
  padding: 1.5rem;
  margin: 0 0 2rem 0;
  border-radius: 0 12px 12px 0;
}

.threat-quote p {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
}

.threat-quote cite {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  font-style: normal;
}

/* Callout Box */
.threat-callout {
  background: #fef3c7;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.threat-callout p {
  font-size: var(--text-base);
  color: #92400e;
  margin: 0;
  line-height: 1.6;
}

/* Content Sections */
.threat-section {
  margin-bottom: 2rem;
}

.threat-section-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
}

.threat-section p {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.threat-section p:last-child {
  margin-bottom: 0;
}

.threat-list {
  margin: 0;
  padding-left: 1.5rem;
}

.threat-list li {
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.threat-list li:last-child {
  margin-bottom: 0;
}

/* Defense Box */
.threat-defense {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.defense-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.defense-header .material-symbols-outlined {
  font-size: 1.5rem;
  color: #059669;
}

.defense-header h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: #065f46;
  margin: 0;
}

.threat-defense p {
  font-size: var(--text-base);
  color: #047857;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.threat-defense p:last-child {
  margin-bottom: 0;
}

.defense-instruction {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.defense-list {
  margin: 1rem 0 0 0;
  padding-left: 1.5rem;
}

.defense-list li {
  font-size: var(--text-base);
  color: #047857;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.defense-list li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .threats-section {
    margin: 2rem 1rem 0;
    padding: 1.5rem;
  }

  .threats-tabs {
    flex-direction: column;
    gap: 0;
    border-bottom: none;
  }

  .threats-tab {
    border-bottom: none;
    border-left: 3px solid transparent;
    margin-bottom: 0;
    justify-content: flex-start;
    padding: 0.875rem 1rem;
  }

  .threats-tab.active {
    border-bottom: none;
    border-left-color: var(--brand-primary, var(--color-blue-600));
    background: var(--color-gray-50);
  }

  .threat-quote {
    padding: 1.25rem;
  }

  .threat-quote p {
    font-size: var(--text-base);
  }
}

/* ============================================
   SCAM SAFETY CENTER
   Unified tabbed section for Learn + Recovery
   ============================================ */

.safety-center-section {
  padding: 5rem 2rem;
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.safety-center-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.safety-center-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Main Tab Navigation */
.safety-tabs-nav {
  margin-bottom: 2rem;
  text-align: center;
}

.safety-tabs-container {
  display: inline-flex;
  background: white;
  border-radius: 50px;
  padding: 5px;
  gap: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.safety-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 140px;
  border: none;
  background: transparent;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.25s ease;
  position: relative;
}

.safety-tab:hover {
  color: #1e293b;
  background: rgba(0, 0, 0, 0.04);
}

.safety-tab.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 40%, transparent);
}

.safety-tab .material-symbols-outlined {
  font-size: 20px;
}

/* Urgent red dot for Get Help tab */
.safety-tab-urgent {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* Hide dot when tab is active */
.safety-tab.active .safety-tab-urgent {
  display: none;
}

/* Panels */
.safety-panel {
  display: none;
}

.safety-panel.active {
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .safety-center-section {
    padding: 3rem 1rem;
  }

  .safety-tab {
    padding: 10px 16px;
    font-size: 0.875rem;
  }

  .safety-tab .material-symbols-outlined {
    font-size: 18px;
  }

  .safety-tab span:not(.material-symbols-outlined):not(.safety-tab-urgent) {
    display: none;
  }
}


/* ============================================
   LEARN SECTION (Legacy - now inside Safety Center)
   Bento-style cards that open educational modals
   ============================================ */
.learn-section {
  padding: 0 2rem 2rem;
  background: color-mix(in srgb, var(--brand) 4%, white);
  overflow-x: hidden;
}

.learn-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.learn-section .section-header--left {
  text-align: left;
}

/* Oversized typography with exaggerated hierarchy */
.learn-section .section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.learn-section .section-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.learn-section .section-title .accent-word {
  color: color-mix(in srgb, var(--brand) 80%, black);
}

.learn-section .section-title .accent-word--red {
  color: #dc2626;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.learn-card {
  border-radius: 20px;
  min-height: 180px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.learn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Full-bleed SVG illustration */
.learn-card-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.learn-card-scene svg {
  width: 100%;
  height: 100%;
}

/* Text overlay at bottom */
.learn-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
}

/* Animated elements in SVG */
.learn-card .scene-default {
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.learn-card .scene-hover {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.learn-card:hover .scene-default {
  opacity: 0;
}

.learn-card:hover .scene-hover {
  opacity: 1;
}

/* Individual card color schemes */
.learn-card--red {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.learn-card--red .learn-card-title { color: #991b1b; }
.learn-card--red .learn-card-desc { color: #b91c1c; }

.learn-card--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%);
}

.learn-card--blue .learn-card-title { color: #1e3a8a; }
.learn-card--blue .learn-card-desc { color: #1d4ed8; }

.learn-card--green {
  background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
}

.learn-card--green .learn-card-title { color: #14532d; }
.learn-card--green .learn-card-desc { color: #15803d; }

.learn-card--gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fde68a 100%);
}

.learn-card--gold .learn-card-title { color: #78350f; }
.learn-card--gold .learn-card-desc { color: #a16207; }

.learn-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.learn-card-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.85;
}

/* Learn Grid Responsive */
@media (max-width: 768px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .learn-card--featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ============================================
   DAILY BRIEFINGS SECTION
   ============================================ */
.daily-briefings-section {
  padding: 8rem 0;
}

.briefing-card-wrapper {
  position: relative;
}

.briefing-card-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%) rotate(-2deg);
  width: calc(100% + 80px);
  height: calc(100% + 60px);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand) 25%, white) 0%,
    color-mix(in srgb, var(--brand) 40%, white) 100%
  );
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.briefing-card-featured {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.briefing-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.briefing-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.briefing-card-featured:hover .briefing-card-bg {
  transform: scale(1.05);
}

.briefing-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  max-width: 600px;
}

.briefing-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.briefing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.briefing-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  margin: 0;
}

.briefing-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .briefing-card-featured {
    min-height: 280px;
  }

  .briefing-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .daily-briefings-section {
    padding: 4rem 0;
  }

  .briefing-card-wrapper {
    margin: 0 1.25rem;
  }

  .briefing-card-wrapper::before {
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
  }

  .briefing-card-featured {
    margin: 8px;
  }
}

/* ============================================
   BRIEFING MODAL
   ============================================ */
.briefing-modal {
  max-width: 950px;
  width: 95vw;
}

.briefing-modal .modal-content {
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 24px;
}

/* Hero Image */
.briefing-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.briefing-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.briefing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3));
}

/* Header - Editorial Style */
.briefing-modal-header {
  padding: 1.5rem 1.75rem 1rem;
}

.briefing-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.briefing-headline {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text-primary);
}

/* Body content */
.briefing-modal-body {
  padding: 2rem 2.5rem;
}

.briefing-section {
  margin-bottom: 2rem;
}

.briefing-section:last-child {
  margin-bottom: 0;
}

.briefing-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.briefing-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

/* Numbered steps for How the Scam Works */
.briefing-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.briefing-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text-body) 10%, transparent);
}

.briefing-step:first-child {
  padding-top: 0;
}

.briefing-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.briefing-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.briefing-step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

.briefing-step-content p {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* Bulleted lists */
.briefing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.briefing-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.briefing-list li:last-child {
  margin-bottom: 0;
}

.briefing-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.briefing-list--blue li::before {
  background: var(--brand);
}

/* Callout boxes */
.briefing-callout {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border-left: 4px solid;
  margin-bottom: 1rem;
}

.briefing-callout:last-child {
  margin-bottom: 0;
}

.briefing-callout-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.briefing-callout-title .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Warning callout - orange/amber */
.briefing-callout--warning {
  background: #fef3e2;
  border-color: #f59e0b;
}

.briefing-callout--warning .briefing-callout-title {
  color: #d97706;
}

.briefing-callout--warning .briefing-list li::before {
  background: #f59e0b;
}

/* Protect callout - green */
.briefing-callout--protect {
  background: #ecfdf5;
  border-color: #10b981;
}

.briefing-callout--protect .briefing-callout-title {
  color: #059669;
}

.briefing-callout--protect .briefing-list li::before {
  background: #10b981;
}

/* Modal CTA section */
.briefing-modal-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--brand) 8%, white);
  border-radius: 16px;
  text-align: center;
}

.briefing-modal-cta p {
  font-size: 1rem;
  color: var(--text-body);
  margin: 0 0 1rem;
}

.briefing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.briefing-cta-btn:hover {
  background: color-mix(in srgb, var(--brand) 85%, black);
}

.briefing-cta-btn .material-symbols-outlined {
  font-size: 1.125rem;
}

/* Footer */
.briefing-modal-footer {
  padding: 1rem 1.75rem 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.briefing-modal-source-link {
  font-size: 0.875rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.briefing-modal-source-link:hover {
  text-decoration: underline;
}

#briefingModalSource {
  font-weight: 600;
}

/* ============================================
   LEARN LAYOUT (50/50 split)
   ============================================ */
.learn-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.scam-story-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scam-story-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.scam-story-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.scam-story-card:hover .scam-story-card-bg {
  transform: scale(1.05);
}

.scam-story-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

.scam-story-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.scam-story-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.scam-story-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  margin: 0;
}

@media (max-width: 768px) {
  .learn-layout {
    grid-template-columns: 1fr;
  }

  .scam-story-card {
    min-height: 280px;
  }
}

/* ============================================
   UTILITY CARDS GRID (2x2 within right half)
   ============================================ */
.learn-utilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
}

.utility-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  box-shadow:
    0 1px 3px color-mix(in srgb, var(--brand) 18%, transparent),
    0 6px 16px color-mix(in srgb, var(--brand) 15%, transparent),
    0 16px 32px color-mix(in srgb, var(--brand) 12%, transparent);
}

.utility-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 2px 6px color-mix(in srgb, var(--brand) 20%, transparent),
    0 12px 24px color-mix(in srgb, var(--brand) 18%, transparent),
    0 24px 48px color-mix(in srgb, var(--brand) 15%, transparent);
}

.utility-card-text {
  text-align: left;
}

.utility-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.utility-card-desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-muted, #64748b);
}

.utility-card-icon {
  width: 56px;
  height: 56px;
  align-self: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.utility-card-icon svg {
  width: 100%;
  height: 100%;
}

/* Utility card color variants - clean white with brand icons */
.utility-card--brand-1 .utility-card-icon,
.utility-card--brand-2 .utility-card-icon,
.utility-card--brand-3 .utility-card-icon,
.utility-card--brand-4 .utility-card-icon { color: var(--brand); }

.utility-card--full-width {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .learn-utilities-grid {
    gap: 0.75rem;
  }

  .utility-card {
    padding: 1rem;
    min-height: 140px;
  }

  .utility-card-icon {
    width: 36px;
    height: 36px;
  }

  .utility-card-title {
    font-size: 0.9375rem;
  }

  .utility-card-desc {
    font-size: 0.75rem;
  }
}

/* ============================================
   SCAM SERIES CARD (Featured position)
   Hero-style card with background image
   ============================================ */
.scam-series-card {
  grid-column: span 1;
  grid-row: span 2;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  min-height: 384px;
  display: flex;
  align-items: flex-end;
}

.scam-series-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.scam-series-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(30, 41, 59, 0.3) 100%);
}

.scam-series-card:hover .scam-series-card-bg {
  transform: scale(1.05);
}

.scam-series-card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}

.scam-series-pill {
  display: inline-block;
  background: #d4f542;
  color: #1e293b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.scam-series-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.scam-series-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin: 0;
}

@media (max-width: 768px) {
  .scam-series-card {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
  }
}

/* ============================================
   SCAM SERIES MODAL
   Full article layout with hero
   ============================================ */
.learn-modal--scam-series {
  padding: 0;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
}

.learn-modal--scam-series .learn-modal-close--overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.learn-modal--scam-series .learn-modal-close--overlay:hover {
  transform: scale(1.05);
}

.scam-series-hero {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.scam-series-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.85) 100%);
  border-radius: 24px 24px 0 0;
}

.scam-series-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

.scam-series-hero-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}

.scam-series-hero-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
}

.scam-series-hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.scam-series-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.scam-series-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.scam-series-cta .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Article Content */
.scam-series-article {
  background: white;
  padding: 2.5rem;
}

.scam-series-article-inner {
  max-width: 600px;
  margin: 0 auto;
}

.scam-series-article h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 1rem;
}

.scam-series-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 2rem 0 0.75rem;
}

.scam-series-article p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #475569;
  margin: 0 0 1rem;
}

.scam-series-article ul {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.scam-series-article li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
}

.scam-series-article li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--brand, #1e5a8a);
  border-radius: 50%;
}

.scam-series-article a {
  color: var(--brand, #1e5a8a);
  text-decoration: underline;
}

.scam-series-warning {
  display: flex;
  gap: 1rem;
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  padding: 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.scam-series-warning .material-symbols-outlined {
  color: #dc2626;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.scam-series-warning strong {
  color: #dc2626;
}

.scam-series-share {
  background: #f1f5f9;
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 2rem;
  text-align: center;
}

.scam-series-share p {
  margin: 0;
  color: #1e293b;
}

@media (max-width: 640px) {
  .scam-series-hero {
    min-height: 320px;
    padding: 2rem 1.5rem;
  }

  .scam-series-article {
    padding: 1.5rem;
  }

  .learn-modal--scam-series {
    border-radius: 20px 20px 0 0;
  }

  .scam-series-hero::before {
    border-radius: 20px 20px 0 0;
  }
}

/* ============================================
   5. FEATURED SCAM SECTION
   Full-width image with gradient overlay
   ============================================ */
.featured-scam {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
  height: 550px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 16px;
}

.featured-scam-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Gradient overlay - light on sides, opaque in center */
.featured-scam-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.7) 25%,
    rgba(15, 23, 42, 0.92) 50%,
    rgba(15, 23, 42, 0.7) 75%,
    rgba(15, 23, 42, 0.2) 100%
  );
}

/* Content centered */
.featured-scam-content {
  position: relative;
  z-index: 3;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 2rem;
  text-align: center;
}

.featured-scam-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #d4f54a;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.featured-scam-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 58rem;
}

.featured-scam-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.featured-scam-body {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.featured-scam-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.featured-scam-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.featured-scam-cta .material-symbols-outlined {
  font-size: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .featured-scam {
    height: 500px;
    margin: 2rem 1rem;
    max-width: calc(100% - 2rem);
  }
  .featured-scam-content {
    max-width: 70%;
  }
  .featured-scam-overlay {
    background: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.3) 0%,
      rgba(15, 23, 42, 0.85) 35%,
      rgba(15, 23, 42, 0.92) 50%,
      rgba(15, 23, 42, 0.85) 65%,
      rgba(15, 23, 42, 0.3) 100%
    );
  }
}

@media (max-width: 600px) {
  .featured-scam {
    height: 550px;
    align-items: flex-end;
    margin: 1.5rem 1rem;
    max-width: calc(100% - 2rem);
    border-radius: 12px;
  }
  .featured-scam-overlay {
    background: linear-gradient(
      to top,
      rgba(15, 23, 42, 0.98) 0%,
      rgba(15, 23, 42, 0.9) 40%,
      rgba(15, 23, 42, 0.5) 70%,
      rgba(15, 23, 42, 0.2) 100%
    );
  }
  .featured-scam-content {
    max-width: 100%;
    margin: 0;
    padding: 2rem 1.5rem 2.5rem;
  }
  .featured-scam-title {
    font-size: 1.75rem;
  }
  .featured-scam-body {
    font-size: 1rem;
  }
}

/* Featured Slides */
.featured-vertical {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.featured-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 600px) {
  .featured-nav {
    bottom: 16px;
  }
  .featured-dot {
    width: 8px;
    height: 8px;
  }
}

/* ============================================
   6. ROTATING INSIGHTS SECTION
   ============================================ */
.insights-section {
  padding: var(--space-16) var(--space-6);
  background: var(--brand, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insights-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 300px;
}

.insight-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.insight-card-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: white;
  line-height: var(--leading-snug);
  margin: 0;
  margin-top: auto;
  max-width: 58rem;
  transition: opacity 0.2s ease;
}

.insight-card-body {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 48rem;
  transition: opacity 0.2s ease;
}

.insight-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.insight-dot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-dot::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.2s var(--ease-out);
}

.insight-dot:hover::after {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.insight-dot.active::after {
  background: white;
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .insights-section {
    padding: var(--space-12) var(--space-4);
  }
  .insights-inner {
    min-height: 380px;
  }
}

/* ============================================
   7. REAL SCAM STORIES SECTION
   ============================================ */
/* ============================================
   7. SCAM STORIES - Three Column Cards
   ============================================ */

.stories-section {
  display: none; /* Hidden by default, shown by JS */
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 700px;
}

/* Individual story card */
.story-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.story-card:hover {
  opacity: 0.92;
}

/* Card color variants */
.story-card--dark {
  background: #2a2a2a;
  color: white;
}

.story-card--medium {
  background: #7fb685;
  color: white;
}

.story-card--light {
  background: #d4a55a;
  color: white;
}

/* Image/SVG container - full width, top margin only */
.story-card-image {
  flex: 0 0 auto;
  height: 380px;
  margin-top: 1.25rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.story-card-image svg {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Text content below image */
.story-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.story-card-title {
  font-size: 1.75rem;
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.story-card-subtitle {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Button */
.story-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}

.story-card-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive: tablet */
@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-card {
    flex-direction: row;
    min-height: 300px;
  }

  .story-card-image {
    flex: 0 0 40%;
    height: auto;
    min-height: 250px;
    margin: 1rem;
  }

  .story-card-body {
    flex: 1;
    padding: 1.5rem;
    justify-content: center;
  }

  .story-card-title {
    font-size: 1.5rem;
  }
}

/* Responsive: mobile */
@media (max-width: 600px) {
  .story-card {
    flex-direction: column;
  }

  .story-card-image {
    flex: 0 0 auto;
    height: 220px;
    min-height: auto;
    margin: 1rem 1rem 0 1rem;
  }

  .story-card-body {
    padding: 1.25rem;
  }

  .story-card-title {
    font-size: 1.25rem;
  }

  .story-card-subtitle {
    font-size: 0.9375rem;
  }
}

/* ============================================
   7b. SCAM STORY MODAL
   ============================================ */
.scam-story-modal .modal-content {
  max-width: 700px;
  padding: 0;
  overflow: hidden;
}

.scam-story-modal-header {
  background: var(--brand);
  padding: 2rem;
  color: white;
}

.scam-story-modal-type {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.scam-story-modal-title {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  line-height: 1.3;
}

.scam-story-modal-body {
  padding: 2rem;
}

.scam-story-section {
  margin-bottom: 2rem;
}

.scam-story-section:last-child {
  margin-bottom: 0;
}

.scam-story-section-title {
  font-size: 1rem;
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scam-story-section-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--brand);
}

.scam-story-narrative {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

.scam-story-narrative p {
  margin-bottom: 1rem;
}

.scam-story-narrative p:last-child {
  margin-bottom: 0;
}

.scam-story-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scam-story-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-body);
}

.scam-story-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

.scam-story-list li:last-child {
  margin-bottom: 0;
}

.scam-story-list li strong {
  color: var(--text-primary);
}

/* Red flags section - warning style */
.scam-story-section--warning .scam-story-list li::before {
  background: #ef4444;
}

/* Action section - green style */
.scam-story-section--action .scam-story-list li::before {
  background: #22c55e;
}

/* ============================================
   8. PREVENTION SECTION & QUIZ (Legacy)
   ============================================ */
.prevention-section {
  padding: 5rem 1.5rem;
  background: var(--bg-white);
  text-align: center;
}

.prevention-inner {
  max-width: 600px;
  margin: 0 auto;
}

.prevention-illustration {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
}

.prevention-illustration svg {
  width: 100%;
  height: 100%;
}

.prevention-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1rem;
  max-width: 58rem;
}

.prevention-subtitle {
  font-size: var(--text-lg);
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 48rem;
}

.prevention-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.prevention-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.prevention-cta .material-symbols-outlined {
  font-size: 22px;
}

/* QUIZ MODAL */
.quiz-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1rem;
}

.quiz-modal.active {
  opacity: 1;
  visibility: visible;
}

.quiz-container {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}

.quiz-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.quiz-close:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.quiz-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.quiz-progress-step {
  flex: 1;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  transition: background 0.3s;
}

.quiz-progress-step.active {
  background: var(--brand);
}

.quiz-step-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.quiz-question {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--brand);
  background: var(--bg-light);
}

.quiz-option.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, white);
}

.quiz-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.quiz-option span {
  font-size: var(--text-base);
  color: var(--text-dark);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.quiz-btn {
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-btn-back {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-body);
}

.quiz-btn-back:hover {
  background: var(--bg-light);
}

.quiz-btn-next {
  background: var(--brand);
  border: none;
  color: white;
  flex: 1;
}

.quiz-btn-next:hover {
  background: var(--brand-dark, #1d4ed8);
}

/* QUIZ SUCCESS STATE */
.quiz-success {
  text-align: center;
  padding: 3rem 2rem;
}

.quiz-success-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--brand) 15%, white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.quiz-success-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--brand);
}

.quiz-success-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.quiz-success-body {
  font-size: var(--text-base);
  color: var(--text-body);
  margin-bottom: 2rem;
}

/* Quiz content within how-it-works modal */
.quiz-content {
  max-width: 500px;
  padding: 2rem;
}

.quiz-success-content {
  max-width: 400px;
  padding: 2rem;
  text-align: center;
}

/* Mobile responsiveness for quiz */
@media (max-width: 600px) {
  .quiz-content,
  .quiz-success-content {
    padding: 1.5rem;
  }

  .quiz-question {
    font-size: var(--text-lg);
  }

  .quiz-option {
    padding: 0.875rem;
  }

  .quiz-nav {
    flex-direction: column-reverse;
  }

  .quiz-btn-back {
    width: 100%;
  }
}

/* ============================================
   7B. PREVENTION SECTION - PREMIUM REDESIGN
   Adaptive branching quiz with rich results
   ============================================ */

/* Premium section wrapper */
.prevention-section--premium {
  padding: 5rem 1.5rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 4%, white) 0%,
    white 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle background pattern */
.prevention-section--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 25% 25%,
    color-mix(in srgb, var(--brand) 6%, transparent) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.prevention-section--premium .prevention-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Animated Hero Illustration */
.prevention-hero {
  position: relative;
  width: 160px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

.prevention-particles {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

/* Floating particles animation */
.prevention-particles::before,
.prevention-particles::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.3;
  animation: floatParticle 3s ease-in-out infinite;
}

.prevention-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.prevention-particles::after {
  bottom: 30%;
  right: 15%;
  animation-delay: 1.5s;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-10px) scale(1.2); opacity: 0.6; }
}

.prevention-shield-container {
  position: relative;
  animation: shieldPulse 4s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.prevention-shield {
  width: 120px;
  height: 140px;
  filter: drop-shadow(0 10px 30px color-mix(in srgb, var(--brand) 25%, transparent));
}

/* Checkmark draw animation */
.prevention-checkmark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 1s ease-out 0.5s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* Premium label badge */
.prevention-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--brand) 8%, white);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.prevention-label-icon {
  font-size: 10px;
  opacity: 0.7;
}

/* Premium title and subtitle */
.prevention-section--premium .prevention-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.prevention-section--premium .prevention-subtitle {
  font-size: var(--text-base);
  color: var(--text-body);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* Feature pills */
.prevention-features {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem 0;
  flex-wrap: wrap;
}

.prevention-feature {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--text-body);
  transition: all 0.2s ease;
}

.prevention-feature:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.prevention-feature .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand);
}

/* Premium CTA Button */
.prevention-cta--premium {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark, #1d4ed8) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow:
    0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent),
    0 0 0 0 color-mix(in srgb, var(--brand) 20%, transparent);
  position: relative;
  overflow: hidden;
}

.prevention-cta--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.prevention-cta--premium:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--brand) 40%, transparent),
    0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}

.prevention-cta--premium:hover::before {
  opacity: 1;
}

.prevention-cta--premium:active {
  transform: translateY(-1px);
}

.prevention-cta-arrow {
  transition: transform 0.3s var(--ease-out);
}

.prevention-cta--premium:hover .prevention-cta-arrow {
  transform: translateX(4px);
}

/* Trust indicators */
.prevention-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.prevention-trust-dot {
  opacity: 0.5;
}

/* ============================================
   PREVENTION QUIZ MODAL - CONSUMER-FRIENDLY REDESIGN
   Split layout with illustrations (Duolingo-inspired)
   ============================================ */

.modal-container.quiz-modal--premium .how-it-works-content,
.modal-container.quiz-modal--premium .how-it-works-content,
#quizModal .how-it-works-content {
  max-width: 1200px;
  width: 92%;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 94vh;
  overflow: hidden;
  border-radius: 24px;
}

/* Progress bar - top of modal */
.quiz-progress-container {
  padding: 1rem 2rem;
  background: white;
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: color-mix(in srgb, var(--brand) 15%, white);
  border-radius: 100px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 100px;
  transition: width 0.4s ease-out;
}

/* Hide the step label - progress bar is enough */
.quiz-progress-label,
.quiz-step-label {
  display: none;
}

/* Split layout container */
.quiz-split-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* Illustration panel (left side) */
.quiz-illustration-panel {
  width: 200px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--brand) 4%, #fafafa);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.quiz-illustration {
  width: 140px;
  height: 140px;
  transition: opacity 0.15s ease-out;
}

.quiz-illustration svg {
  width: 100%;
  height: 100%;
}

/* Content panel (right side) */
.quiz-content-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Quiz views container */
.quiz-views {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.quiz-view {
  display: block;
  animation: quizViewIn 0.4s var(--ease-out);
}

.quiz-view--hidden {
  display: none !important;
}

@keyframes quizViewIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz-view-header {
  margin-bottom: 1.25rem;
}

.quiz-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: color-mix(in srgb, var(--brand) 8%, white);
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* Mobile: Stack illustration above content */
@media (max-width: 640px) {
  .quiz-modal--premium .how-it-works-content,
  .quiz-modal--premium .how-it-works-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 20px 20px 0 0;
  }

  .quiz-split-layout {
    flex-direction: column;
  }

  .quiz-illustration-panel {
    width: 100%;
    padding: 1.5rem;
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 10%, transparent);
  }

  .quiz-illustration {
    max-width: 120px;
  }

  .quiz-views {
    padding: 1.5rem;
  }
}

.quiz-view-header .quiz-question {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.quiz-instruction {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Quiz options - Grid layout for core selection */
.quiz-options--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

@media (max-width: 700px) {
  .quiz-options--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .quiz-options--grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Quiz Option Cards (matches HTML class names)
   ============================================ */
.quiz-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.quiz-option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.quiz-option-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 15%, transparent);
}

.quiz-option-card:hover::before {
  opacity: 1;
}

.quiz-option-card.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 5%, white);
}

.quiz-option-card.selected::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--brand);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Option card content */
.option-icon {
  font-size: 1.5rem;
  color: var(--brand);
  margin-bottom: 0.375rem;
  position: relative;
  z-index: 1;
}

.option-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.option-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

/* Wide option variant (for situation questions) */
.quiz-option--wide {
  flex-direction: row;
  text-align: left;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.quiz-option--wide .option-icon {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.option-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.option-text .option-label {
  margin-bottom: 0.125rem;
}

/* Quiz list layout */
.quiz-options--list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ============================================
   Quiz Results View (matches HTML class names)
   ============================================ */
.results-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.results-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 70%, #3b82f6) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-icon .material-symbols-outlined {
  font-size: 2rem;
  color: white;
}

.results-risks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.risk-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.risk-badge--high {
  background: #fee2e2;
  color: #dc2626;
}

.risk-badge--medium {
  background: #fef3c7;
  color: #d97706;
}

.risk-badge--low {
  background: #dcfce7;
  color: #16a34a;
}

.results-section {
  margin-bottom: 1.5rem;
}

.results-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.results-section-title .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--brand);
}

.results-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
}

.results-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.results-checklist li:last-child {
  border-bottom: none;
}

.results-checklist li .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.results-guidance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guidance-card {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 1rem;
}

.guidance-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.guidance-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.results-delivery {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.delivery-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.delivery-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

.delivery-btn--primary {
  background: var(--brand);
  color: white;
  border: none;
}

.delivery-btn--primary:hover {
  background: color-mix(in srgb, var(--brand) 85%, black);
}

.delivery-btn--secondary {
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.delivery-btn--secondary:hover {
  background: color-mix(in srgb, var(--brand) 5%, white);
}

/* ============================================
   Quiz Results - Protection Score Redesign
   Positive framing, top 3 actions, progressive disclosure
   ============================================ */

/* Protection Score Circle */
.protection-score {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    var(--brand) calc(var(--score) * 1%),
    #e5e7eb calc(var(--score) * 1%)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  animation: scoreReveal 1s ease-out;
}

@keyframes scoreReveal {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.protection-score-inner {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.score-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.score-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.score-message {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

/* Top 3 Actions Heading */
.actions-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Action Cards */
.action-cards {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.action-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.action-card:hover {
  background: color-mix(in srgb, var(--brand) 6%, white);
  border-color: color-mix(in srgb, var(--brand) 20%, transparent);
}

.action-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.action-content {
  flex: 1;
  min-width: 0;
}

.action-title {
  font-weight: 600;
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.action-why {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.action-points {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 0.25rem;
  background: color-mix(in srgb, var(--brand) 10%, white);
  padding: 0.125rem 0.5rem;
  border-radius: 100px;
}

.action-expand {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.375rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.action-expand:hover {
  background: color-mix(in srgb, var(--brand) 10%, white);
}

/* Action Details (expandable) */
.action-details {
  display: none;
  padding: 0.75rem 1rem 1rem 3.5rem;
  background: var(--bg-light);
  margin-top: -0.5rem;
  margin-bottom: 0.625rem;
  border-radius: 0 0 12px 12px;
  border: 1.5px solid color-mix(in srgb, var(--brand) 15%, transparent);
  border-top: none;
}

.action-details.expanded {
  display: block;
}

.action-details ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.action-details li {
  padding: 0.25rem 0;
}

/* Progressive Disclosure - See All Button */
.see-all-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.see-all-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 3%, white);
}

.see-all-btn .see-all-icon {
  transition: transform 0.2s;
}

.see-all-btn.expanded .see-all-icon {
  transform: rotate(180deg);
}

/* All Recommendations (collapsed by default) */
.all-recommendations {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
}

.all-recommendations.expanded {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 300px;
  }
}

.recommendation-group {
  margin-bottom: 1rem;
}

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

.recommendation-group-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.recommendation-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recommendation-group li {
  padding: 0.375rem 0;
  padding-left: 1.125rem;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

.recommendation-group li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* New Tool Card Styles */
.recommendation-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.recommendation-group-icon {
  font-size: 1.25rem;
}

.recommendation-group-header .recommendation-group-title {
  flex: 1;
  margin-bottom: 0;
}

.share-group-btn {
  background: none;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-group-btn:hover {
  background: var(--brand);
  color: white;
}

.tool-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.tool-card:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, #e5e7eb);
}

.tool-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tool-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.tool-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.tool-details {
  border-top: 1px solid #e5e7eb;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.tool-details summary {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand);
  cursor: pointer;
  user-select: none;
}

.tool-details summary:hover {
  text-decoration: underline;
}

.tool-details[open] summary {
  margin-bottom: 0.75rem;
}

.tool-howto {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.tool-why {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem;
  background: color-mix(in srgb, var(--brand) 5%, white);
  border-radius: 6px;
  line-height: 1.5;
}

/* Quick Win Badge */
.quick-win-badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Action details enhancement */
.action-howto p {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.action-howto p:last-child {
  margin-bottom: 0;
}

.action-why-works {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: color-mix(in srgb, var(--brand) 5%, white);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10000;
  animation: toastIn 0.3s ease-out;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile adjustments for results */
@media (max-width: 640px) {
  .protection-score {
    width: 120px;
    height: 120px;
  }

  .protection-score-inner {
    width: 100px;
    height: 100px;
  }

  .score-number {
    font-size: 2.25rem;
  }

  .action-card {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .action-number {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .action-title {
    font-size: 0.85rem;
  }

  .action-expand {
    display: none;
  }

  .results-delivery {
    flex-direction: column;
  }
}

/* ============================================
   Quiz Email View
   ============================================ */
.email-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.email-icon {
  font-size: 3rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.email-form {
  margin-bottom: 1rem;
}

.email-input-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.email-input-wrap input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.email-input-wrap input:focus {
  outline: none;
  border-color: var(--brand);
}

.email-submit-btn {
  padding: 0 1.25rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.email-submit-btn:hover {
  background: color-mix(in srgb, var(--brand) 85%, black);
}

.email-submit-btn .spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.email-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.email-privacy .material-symbols-outlined {
  font-size: 1rem;
}

.email-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 1rem;
}

.email-back-link:hover {
  color: var(--brand);
}

/* Email success view */
.success-content {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: white;
}

/* ============================================
   Quiz View Transitions
   ============================================ */
.quiz-view {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s, transform 0.3s;
}

.quiz-view--active {
  opacity: 1;
  transform: translateX(0);
}

/* Quiz subtitle */
.quiz-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .results-delivery {
    flex-direction: column;
  }

  .quiz-option--wide {
    padding: 0.875rem 1rem;
  }

  .email-input-wrap {
    flex-direction: column;
  }

  .email-submit-btn {
    padding: 0.875rem;
  }
}

/* ============================================
   Legacy option cards (keep for compatibility)
   ============================================ */
/* Premium option cards */
.quiz-option--premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.quiz-option--premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
}

.quiz-option--premium:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 15%, transparent);
}

.quiz-option--premium:hover::before {
  opacity: 1;
}

.quiz-option--premium.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, white);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent),
    0 4px 12px color-mix(in srgb, var(--brand) 20%, transparent);
}

.quiz-option--premium.selected::after {
  content: '✓';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.quiz-option-icon {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--brand) 10%, white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: all 0.25s var(--ease-out);
  position: relative;
  z-index: 1;
}

.quiz-option--premium.selected .quiz-option-icon {
  background: var(--brand);
}

.quiz-option-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--brand);
  transition: color 0.25s;
}

.quiz-option--premium.selected .quiz-option-icon .material-symbols-outlined {
  color: white;
}

.quiz-option-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

/* Branch question options (list style) */
.quiz-options--list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.quiz-option--list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.quiz-option--list:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.quiz-option--list.selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 6%, white);
}

.quiz-option--list input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.quiz-option--list span {
  font-size: var(--text-sm);
  color: var(--text-dark);
  line-height: 1.4;
}

/* Navigation */
.quiz-modal--premium .quiz-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem 1.25rem;
  background: white;
}

.quiz-modal--premium .quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  border: none;
}

.quiz-modal--premium .quiz-btn-back {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
}

.quiz-modal--premium .quiz-btn-back:hover {
  background: var(--bg-light);
  color: var(--text-body);
}

.quiz-modal--premium .quiz-btn-next,
.quiz-modal--premium .quiz-btn-primary {
  background: var(--brand);
  color: white;
  padding: 0.75rem 2.5rem;
  flex: none;
  width: auto;
  max-width: 200px;
}

.quiz-modal--premium .quiz-btn-next:hover,
.quiz-modal--premium .quiz-btn-primary:hover {
  background: var(--brand-dark, #1d4ed8);
}

.quiz-modal--premium .quiz-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   QUIZ RESULTS VIEW STYLING
   ============================================ */

.quiz-results-container {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.quiz-results-header {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 6%, white) 0%, white 100%);
  border-bottom: 1px solid var(--border);
}

.quiz-results-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark, #1d4ed8) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent);
}

.quiz-results-icon .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

.quiz-results-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.25rem;
}

.quiz-results-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Risk badges */
.quiz-results-risks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  justify-content: center;
}

.quiz-risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.quiz-risk-badge--high {
  background: #FEE2E2;
  color: #DC2626;
}

.quiz-risk-badge--medium {
  background: #FEF3C7;
  color: #D97706;
}

.quiz-risk-badge--low {
  background: #DBEAFE;
  color: #2563EB;
}

/* Action checklist */
.quiz-results-actions {
  padding: 1.5rem;
}

.quiz-results-section-title {
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.quiz-action-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.quiz-action-item:last-child {
  border-bottom: none;
}

.quiz-action-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  margin-top: 2px;
}

.quiz-action-text {
  font-size: var(--text-sm);
  color: var(--text-dark);
  line-height: 1.5;
}

/* Guidance cards */
.quiz-results-guidance {
  padding: 0 1.5rem 1.5rem;
}

.quiz-guidance-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-guidance-card:last-child {
  margin-bottom: 0;
}

.quiz-guidance-card:hover {
  background: color-mix(in srgb, var(--brand) 6%, white);
}

.quiz-guidance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-guidance-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
}

.quiz-guidance-toggle {
  color: var(--text-muted);
  transition: transform 0.2s;
}

.quiz-guidance-card.expanded .quiz-guidance-toggle {
  transform: rotate(180deg);
}

.quiz-guidance-body {
  display: none;
  padding-top: 0.75rem;
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.6;
}

.quiz-guidance-card.expanded .quiz-guidance-body {
  display: block;
  animation: expandGuidance 0.25s ease;
}

@keyframes expandGuidance {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Delivery options */
.quiz-delivery-options {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.quiz-delivery-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  text-align: center;
}

.quiz-delivery-buttons {
  display: flex;
  gap: 0.75rem;
}

.quiz-delivery-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-delivery-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.quiz-delivery-btn .material-symbols-outlined {
  font-size: 22px;
}

.quiz-delivery-btn--done {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.quiz-delivery-btn--done:hover {
  background: var(--brand-dark, #1d4ed8);
  border-color: var(--brand-dark, #1d4ed8);
  color: white;
}

/* Email capture view */
.quiz-email-capture {
  text-align: center;
  padding: 2rem 0;
}

.quiz-email-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: color-mix(in srgb, var(--brand) 10%, white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-email-icon .material-symbols-outlined {
  font-size: 36px;
  color: var(--brand);
}

.quiz-email-capture h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.quiz-email-capture > p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0 0 1.5rem;
}

.quiz-email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 360px;
  margin: 0 auto;
}

.quiz-email-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: var(--text-base);
  font-family: inherit;
  transition: border-color 0.2s;
}

.quiz-email-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}

.quiz-email-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.quiz-email-privacy .material-symbols-outlined {
  font-size: 14px;
}

/* Success view */
.quiz-success-content {
  text-align: center;
  padding: 3rem 2rem;
}

.quiz-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: color-mix(in srgb, var(--color-mint-500, #10B981) 15%, white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-success-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--color-mint-500, #10B981);
}

.quiz-success-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.quiz-success-content p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0 0 1.5rem;
}

/* Mobile adjustments for premium quiz */
@media (max-width: 600px) {
  .prevention-section--premium {
    padding: 3rem 1rem;
  }

  .prevention-features {
    gap: 0.5rem;
  }

  .prevention-feature {
    padding: 0.375rem 0.625rem;
    font-size: var(--text-xs);
  }

  .prevention-cta--premium {
    padding: 0.875rem 1.5rem;
    font-size: var(--text-base);
  }

  .quiz-modal--premium .how-it-works-content {
    max-height: 100vh;
    border-radius: 20px 20px 0 0;
  }

  .quiz-views {
    padding: 1.25rem 1.5rem;
  }

  .quiz-modal--premium .quiz-nav {
    padding: 1rem 1.5rem 1.5rem;
  }

  .quiz-view-header .quiz-question {
    font-size: var(--text-xl);
  }

  .quiz-delivery-buttons {
    flex-direction: column;
  }

  .quiz-delivery-btn {
    flex-direction: row;
    justify-content: center;
  }

  .quiz-email-form {
    flex-direction: column;
  }
}

/* ============================================
   8. PREVENTION CHECKLISTS
   ============================================ */
.prevention-checklists-section {
  padding: 5rem 1.5rem;
  background: var(--bg-white);
}

.prevention-checklists-header {
  text-align: center;
  margin-bottom: 3rem;
}

.prevention-checklists-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
  max-width: 58rem;
}

.prevention-checklists-subtitle {
  font-size: var(--text-lg);
  color: var(--text-body);
  margin: 0 auto;
  max-width: 48rem;
}

.prevention-checklists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .prevention-checklists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .prevention-checklists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checklist-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.checklist-tile:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.checklist-tile-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
}

.checklist-tile:hover .checklist-tile-icon {
  transform: scale(1.1);
}

.checklist-tile-icon .material-symbols-outlined {
  font-size: 26px;
}

.checklist-tile-label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  text-align: center;
}

/* ============================================
   8.5 HIGH-RISK CATEGORIES (TABBED)
   ============================================ */
.high-risk-section {
  padding: 5rem 1.5rem;
}

.high-risk-header {
  text-align: left;
  margin-bottom: 1.5rem;
}

.high-risk-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0;
  max-width: 58rem;
}

/* Tab Navigation */
.high-risk-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.high-risk-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.high-risk-tab .material-symbols-outlined {
  font-size: 20px;
}

.high-risk-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.high-risk-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.high-risk-tab.active .material-symbols-outlined {
  color: white;
}

@media (max-width: 600px) {
  .high-risk-tabs {
    gap: 0.375rem;
  }

  .high-risk-tab {
    padding: 0.625rem 1rem;
    font-size: var(--text-xs);
  }

  .high-risk-tab span:not(.material-symbols-outlined) {
    display: none;
  }

  .high-risk-tab .material-symbols-outlined {
    font-size: 22px;
  }
}

/* Tab Panels */
.high-risk-panels {
  max-width: 1200px;
  margin: 0 auto;
}

.high-risk-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.high-risk-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.panel-intro p {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   SCAM ACCORDION - 4 Card Expand/Collapse
   ============================================ */
.scam-accordion {
  display: flex;
  gap: 12px;
  height: 380px;
}

.accordion-card {
  flex: 0 0 100px;
  border-radius: 16px;
  padding: 24px 16px;
  cursor: pointer;
  transition: flex 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.accordion-card.expanded {
  flex: 1;
  padding: 28px;
}

/* Card Colors */
.accordion-card[data-card="scammers"] { background: #7c3aed; color: white; }
.accordion-card[data-card="scam"] { background: #3b82f6; color: white; }
.accordion-card[data-card="facts"] { background: #f97316; color: white; }
.accordion-card[data-card="action"] { background: #22c55e; color: white; }

/* Collapsed state - vertical title */
.accordion-card-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: auto 0;
}

/* Expanded state - horizontal title */
.accordion-card.expanded .accordion-card-title {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0 0 20px 0;
}

/* Content hidden by default */
.accordion-card-content {
  display: none;
  opacity: 0;
  flex: 1;
  overflow-y: auto;
}

/* Content visible when expanded */
.accordion-card.expanded .accordion-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  animation: accordionFadeIn 0.25s ease 0.1s both;
}

@keyframes accordionFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Visual content blocks */
.accordion-card-content .fact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
}

.accordion-card-content .fact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-card-content .fact-icon .material-symbols-outlined {
  font-size: 24px;
}

.accordion-card-content .fact-text {
  flex: 1;
}

.accordion-card-content .fact-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.accordion-card-content .fact-text p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}

/* Stat callouts */
.accordion-card-content .stat-row {
  display: flex;
  gap: 16px;
}

.accordion-card-content .stat-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

.accordion-card-content .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.accordion-card-content .stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Simple bullet list */
.accordion-card-content .quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-card-content .quick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.accordion-card-content .quick-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  margin-top: 7px;
}

/* Legacy paragraph support */
.accordion-card-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.accordion-card-content strong {
  font-weight: 600;
}

.accordion-card-content ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.accordion-card-content li {
  margin-bottom: 6px;
  opacity: 0.9;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .scam-accordion {
    flex-direction: column;
    min-height: auto;
    gap: 6px;
  }

  .accordion-card {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 14px 16px;
    flex-direction: row;
    align-items: center;
  }

  .accordion-card-title {
    writing-mode: horizontal-tb;
    transform: none;
    margin: 0;
    font-size: 0.75rem;
  }

  .accordion-card.expanded {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .accordion-card.expanded .accordion-card-title {
    margin-bottom: 12px;
  }

  .accordion-card-content {
    max-height: 0;
    overflow: hidden;
  }

  .accordion-card.expanded .accordion-card-content {
    max-height: none;
    overflow: visible;
  }
}

/* ============================================
   SCAM BREAKDOWN CARDS (BENTO BOX DESIGN)
   ============================================ */

/* Bento Grid Container */
.scam-bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  aspect-ratio: 2.5 / 1;
}

/* Featured card spans 2 rows on the left */
.scam-card-featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Individual Card */
.scam-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.scam-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.scam-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.scam-card:hover img {
  transform: scale(1.08);
}

/* Bottom overlay with category */
.scam-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.scam-card-category {
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Featured card has larger text */
.scam-card-featured .scam-card-category {
  font-size: 1.125rem;
}

/* Tablet: 2 columns, featured on top full width */
@media (max-width: 900px) {
  .scam-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    aspect-ratio: auto;
  }

  .scam-card-featured {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 2 / 1;
  }

  .scam-card:not(.scam-card-featured) {
    aspect-ratio: 1 / 1;
  }
}

/* Mobile: single column stack */
@media (max-width: 600px) {
  .scam-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .scam-card-featured {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .scam-card:not(.scam-card-featured) {
    aspect-ratio: 16 / 9;
  }

  .scam-card-category {
    font-size: 0.8125rem;
  }

  .scam-card-featured .scam-card-category {
    font-size: 1rem;
  }

  .scam-card-overlay {
    padding: 20px 12px 16px;
  }
}

/* ============================================
   LOWER YOUR SCAM RISK SECTION
   Zigzag layout inspired by Swapsmore
   Uses shared classes from common.css
   ============================================ */

/* Step badge - matches Swapsmore "• STEP 1" pill */
.risk-step-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: var(--font-semibold);
  color: var(--brand, #1e5a8a);
  background: color-mix(in srgb, var(--brand, #1e5a8a) 12%, white);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Override section-title within risk-step: smaller than main heading, left aligned */
.risk-step-content .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-semibold);
  text-align: left;
  margin-bottom: var(--space-4);
}

.risk-step-content .section-description {
  text-align: left;
  max-width: none;
  margin-bottom: 1rem;
}

/* Zigzag grid layout */
.risk-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 6rem;
}

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

.risk-step--left .risk-step-illustration {
  order: 1;
}

.risk-step--left .risk-step-content {
  order: 2;
}

.risk-step--right .risk-step-content {
  order: 1;
}

.risk-step--right .risk-step-illustration {
  order: 2;
}

.risk-step-illustration {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.risk-step-illustration svg {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* All phone illustrations - same sizing */
.risk-step-illustration .tech-tip-email,
.risk-step-illustration .tech-tip-call,
.risk-step-illustration .tech-tip-text {
  width: 300px;
  height: auto;
}

.risk-step-content {
  max-width: 480px;
}

.risk-step--right .risk-step-content {
  margin-left: auto;
}

.risk-step--left .risk-step-content {
  margin-right: auto;
}

/* Secondary text and links */
.risk-step-secondary {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  font-style: italic;
}

.risk-step-links {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.risk-step-links a {
  color: var(--brand, #1e5a8a);
  text-decoration: none;
  font-weight: var(--font-medium);
  transition: opacity 0.15s ease;
}

.risk-step-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .risk-step {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
  }

  .risk-step--left .risk-step-illustration,
  .risk-step--right .risk-step-illustration {
    order: 1;
  }

  .risk-step--left .risk-step-content,
  .risk-step--right .risk-step-content {
    order: 2;
    margin: 0 auto;
  }

  .risk-step-content .section-title,
  .risk-step-content .section-description {
    text-align: center;
  }

  .risk-step-illustration .tech-tip-email,
  .risk-step-illustration .tech-tip-call,
  .risk-step-illustration .tech-tip-text {
    width: 260px;
  }
}

/* ============================================
   TECH TIPS ANIMATIONS - Rebuilt for realism
   ============================================ */

/* Shared animation config */
.tech-tip-animation {
  --anim-duration: 8s;
  max-width: 100%;
  height: auto;
}

/* Phone animation runs faster */
.tech-tip-call {
  --anim-duration: 3s;
}

/* ============================================
   EMAIL TIP ANIMATION
   Sequence: Email dropdown expands → Warning draws → Badge pops
   ============================================ */

/* Email address text pulses subtly */
.tech-tip-email .email-address-pulse {
  transform-origin: left center;
  animation: pulseEmail 1.5s ease-in-out infinite;
}

@keyframes pulseEmail {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}

/* ============================================
   PHONE CALL ANIMATION
   Sequence: Phone rings with waves → Warning slides in → Decline pulses
   ============================================ */

/* Phone vibration */
.tech-tip-call .phone-body {
  transform-origin: center;
  animation: phoneVibrate var(--anim-duration) ease-in-out infinite;
}

@keyframes phoneVibrate {
  0% { transform: translateX(0); }
  2% { transform: translateX(-2px) rotate(-0.5deg); }
  4% { transform: translateX(2px) rotate(0.5deg); }
  6% { transform: translateX(-2px) rotate(-0.3deg); }
  8% { transform: translateX(2px) rotate(0.3deg); }
  10% { transform: translateX(-1px); }
  12% { transform: translateX(1px); }
  14%, 100% { transform: translateX(0); }
}

/* Ring waves hidden */
.tech-tip-call .ring-wave {
  display: none;
}

/* Spoof warning always visible */
.tech-tip-call .spoof-warning {
  opacity: 1;
}

/* Warning background pulses */
.tech-tip-call .spoof-bg {
  animation: spoofPulse var(--anim-duration) ease infinite;
}

@keyframes spoofPulse {
  0%, 44% { fill: rgba(239,68,68,0.15); }
  50% { fill: rgba(239,68,68,0.25); }
  56% { fill: rgba(239,68,68,0.15); }
  62% { fill: rgba(239,68,68,0.25); }
  68%, 100% { fill: rgba(239,68,68,0.15); }
}

/* Decline button pulses to suggest action */
.tech-tip-call .decline-btn {
  animation: declinePulse var(--anim-duration) ease infinite;
}

@keyframes declinePulse {
  0%, 55% { transform: scale(1); filter: brightness(1); }
  60% { transform: scale(1.08); filter: brightness(1.1); }
  65% { transform: scale(1); filter: brightness(1); }
  70% { transform: scale(1.08); filter: brightness(1.1); }
  75%, 100% { transform: scale(1); filter: brightness(1); }
}

/* ============================================
   TEXT MESSAGE - No animation, just static display
   ============================================ */

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .tech-tip-animation,
  .tech-tip-animation * {
    animation: none !important;
    transition: none !important;
  }

  /* Show final states statically */
  .tech-tip-email .email-address-pulse { transform: none !important; animation: none !important; }

  .tech-tip-call .phone-body { transform: none !important; }
  .tech-tip-call .spoof-warning { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   RED FLAGS SECTION (University-style)
   3 categories, 4 tiles each with SVG illustrations
   ============================================ */

.red-flags-section {
  padding: var(--space-16) var(--space-6);
}

/* Section header - simple left-aligned block */
.red-flags-header {
  margin-bottom: var(--space-16);
}

.red-flags-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.red-flags-title .text-red {
  color: #dc2626;
}

.red-flags-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* Red Flags Tabs */
.red-flags-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-start;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.red-flags-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.red-flags-tab:hover {
  background: var(--bg-subtle);
  border-color: var(--border-medium);
}

.red-flags-tab.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #fff;
}

.red-flags-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Red Flags Panels */
.red-flags-panel {
  display: none;
}

.red-flags-panel.active {
  display: block;
}

.red-flags-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .red-flags-tabs {
    gap: var(--space-2);
  }

  .red-flags-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }

  .red-flags-tiles {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Each category row: header on left, cards on right */
.red-flags-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border-light);
}

.red-flags-row:last-child,
.red-flags-row:has(+ .learn-more-section) {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.red-flags-row-header {
  padding-top: var(--space-4);
}

.red-flags-row-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.red-flags-row--dating .red-flags-row-icon {
  background: #fce7f3;
}

.red-flags-row--renting .red-flags-row-icon {
  background: #fef3c7;
}

.red-flags-row--jobs .red-flags-row-icon {
  background: #ede9fe;
}

.red-flags-row-icon svg {
  width: 24px;
  height: 24px;
}

.red-flags-row-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.red-flags-row-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

.red-flags-row-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.red-flag-tile {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.red-flag-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Category color schemes */
.red-flags-row--dating .red-flag-tile {
  background: linear-gradient(180deg, #fce7f3 0%, #fdf2f8 100%);
}

.red-flags-row--renting .red-flag-tile {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
}

.red-flags-row--jobs .red-flag-tile {
  background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 100%);
}

.red-flag-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.red-flag-illustration svg {
  width: 100%;
  height: 100%;
}

.red-flag-content {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.red-flag-tip {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-body);
}

.red-flag-tip strong {
  color: var(--text-dark);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: 0.25rem;
}

/* Learn More Pills Section - integrated with red flags */
.learn-more-section {
  text-align: center;
  margin-top: var(--space-8);
  padding: var(--space-8) var(--space-6);
  background: var(--surface-subtle);
  border-radius: var(--radius-xl);
}

.learn-more-title {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.learn-more-section .activity-pills-grid {
  justify-content: center;
  gap: var(--space-3);
}

.learn-more-section .activity-pill {
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-6);
}

/* Responsive: Stack rows on tablet */
@media (max-width: 900px) {
  .red-flags-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-10);
    margin-bottom: var(--space-10);
  }

  .red-flags-row-header {
    text-align: center;
    padding-top: 0;
  }

  .red-flags-row-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .red-flags-row-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

/* Responsive: 2 card columns on small tablet */
@media (max-width: 768px) {
  .red-flags-row-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 card column on mobile */
@media (max-width: 540px) {
  .red-flags-row-cards {
    grid-template-columns: 1fr;
  }

  .red-flag-tile {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .red-flag-illustration {
    aspect-ratio: 1;
    padding: var(--space-3);
  }

  .red-flag-content {
    display: flex;
    align-items: center;
    padding: var(--space-4);
  }
}

/* ============================================
   ACTIVITY TIPS SECTION
   Swapsmore-style flowing pill grid
   ============================================ */

.activity-tips-section {
  padding: var(--space-20) var(--space-6);
}

.activity-pills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 0.875rem;
  max-width: 1100px;
  margin: var(--space-12) auto 0;
}

.activity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: white;
  border: 1px solid #e8e6e3;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: var(--font-medium);
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.activity-pill:hover {
  border-color: #d0cdc8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.activity-pill:active {
  transform: translateY(0);
}

.pill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Activity Tips Modal */
.activity-tips-modal .activity-modal-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
}

.activity-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.activity-modal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-modal-title {
  font-size: 1.375rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0;
}

.activity-tips-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.activity-tips-list li {
  position: relative;
  padding: 0.875rem 0 0.875rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
}

.activity-tips-list li:last-child {
  border-bottom: none;
}

.activity-tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.875rem;
  color: var(--brand, #22c55e);
  font-weight: var(--font-bold);
}

.activity-tips-list li strong {
  color: var(--text-dark);
  font-weight: var(--font-semibold);
}

.activity-modal-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #fef3c7;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  color: #92400e;
  margin: 0;
}

.activity-modal-footer .material-symbols-outlined {
  font-size: 1.125rem;
  color: #f59e0b;
}

@media (max-width: 640px) {
  .activity-pills-grid {
    gap: 0.75rem 0.5rem;
  }

  .activity-pill {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  .pill-dot {
    width: 10px;
    height: 10px;
  }

  .activity-tips-modal .activity-modal-content {
    padding: 1.5rem;
  }

  .activity-modal-title {
    font-size: 1.25rem;
  }

  .activity-tips-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   RECOVERY SECTION
   I Got Scammed - step-by-step help
   ============================================ */

.recovery-section {
  padding: 100px 40px;
  /* Match Learn section background */
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.recovery-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  /* Floating container - pink */
  background: linear-gradient(
    135deg,
    #db2777 0%,
    #be185d 100%
  );
  border-radius: 48px;
  padding: 80px 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.recovery-section-header {
  text-align: left;
  margin-bottom: var(--space-12);
}

.recovery-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: white;
  margin: 0 0 var(--space-3) 0;
}

.recovery-section-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 48rem;
  margin: 0;
}

/* Recovery Tabs Navigation */
.recovery-tabs {
  max-width: 1200px;
}

.recovery-tabs-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 32px;
  overflow-x: auto;
  padding: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.recovery-tabs-nav::-webkit-scrollbar {
  display: none;
}

.recovery-tabs-container {
  display: flex;
  width: 100%;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 5px;
  gap: 2px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.recovery-tab {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  min-height: 40px;
  border: none;
  background: transparent;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.recovery-tab:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.8);
}

.recovery-tab.active {
  background: #dc2626;
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.recovery-tab .material-symbols-outlined {
  font-size: 20px;
  opacity: 0.8;
}

.recovery-tab.active .material-symbols-outlined {
  opacity: 1;
}

/* Recovery Showcase Card */
.recovery-showcase-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.recovery-tab-content {
  display: none;
}

.recovery-tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.recovery-card-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
}

.recovery-card-illustration svg {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 260px;
}

.recovery-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.recovery-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.recovery-card-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 32px 0;
}

.recovery-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.recovery-card-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.recovery-card-btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.recovery-card-btn:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .recovery-section {
    padding: 60px 20px;
  }

  .recovery-section-inner {
    padding: 48px 24px;
    border-radius: 32px;
  }

  .recovery-tabs-container {
    gap: 2px;
    padding: 4px;
  }

  .recovery-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .recovery-tab span:not(.material-symbols-outlined) {
    display: none;
  }

  .recovery-tab .material-symbols-outlined {
    font-size: 22px;
  }

  .recovery-tab-content.active {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .recovery-card-illustration {
    padding: 32px 24px;
    order: 1;
  }

  .recovery-card-illustration svg {
    max-width: 240px;
    max-height: 180px;
  }

  .recovery-card-content {
    padding: 32px 24px;
    order: 2;
  }

  .recovery-card-title {
    font-size: 1.4rem;
  }

  .recovery-card-desc {
    font-size: 1rem;
  }

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

/* ============================================
   SCAM BREAKDOWN MODAL
   ============================================ */

.scam-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: modalOverlayIn 0.2s ease;
}

@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scam-modal {
  background: var(--bg-white);
  border-radius: 20px;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s var(--ease-out);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.scam-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}

.scam-modal-title {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0;
}

.scam-modal-close {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.scam-modal-close:hover {
  background: var(--bg-white);
  color: var(--text-dark);
}

.scam-modal-close .material-symbols-outlined {
  font-size: 24px;
}

.scam-modal-body {
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  padding: 28px;
}

.scam-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.scam-modal-section {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
  border-left: 4px solid var(--section-color, var(--brand));
}

.scam-modal-section .section-title {
  font-size: 0.8125rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--section-color, var(--brand));
  margin: 0 0 16px 0;
}

.scam-modal-section .section-content {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.scam-modal-section .section-content p {
  margin: 0 0 12px 0;
}

.scam-modal-section .section-content p:last-child {
  margin-bottom: 0;
}

.scam-modal-section .section-content strong {
  color: var(--text-dark);
  font-weight: var(--font-semibold);
}

.scam-modal-section .section-content ul {
  margin: 12px 0 0 0;
  padding-left: 20px;
}

.scam-modal-section .section-content li {
  margin-bottom: 8px;
}

/* Stats in modal */
.modal-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-stat {
  flex: 1;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
}

.modal-stat-value {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--section-color, var(--brand));
  line-height: 1.2;
}

.modal-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-highlight {
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0 0 0;
}

/* ============================================
   EDITORIAL SCAM MODAL STYLES
   Premium magazine-style layout
   ============================================ */

/* Override grid with single column */
.scam-modal-content.editorial {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

/* Header - Minimal top bar with category */
.scam-editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.scam-editorial-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.scam-editorial-category .material-symbols-outlined {
  font-size: 1rem;
}

.scam-editorial-readtime {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Title Group */
.scam-editorial-title-group {
  margin-bottom: 2.5rem;
}

.scam-editorial-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.scam-editorial-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Lede with drop cap */
.scam-editorial-lede {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 2.5rem;
}

.scam-editorial-lede::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  font-weight: var(--font-bold);
  color: var(--brand);
  margin-right: 0.5rem;
  margin-top: 0.1rem;
}

/* Pull Quote - Elegant left border style */
.scam-editorial-pullquote {
  position: relative;
  font-size: 1.375rem;
  font-weight: var(--font-medium);
  color: var(--text-dark);
  padding: 1.5rem 0 1.5rem 1.5rem;
  margin: 2.5rem 0;
  border-left: 4px solid var(--brand);
  line-height: 1.5;
}

.scam-editorial-pullquote strong {
  color: var(--brand);
  font-weight: var(--font-bold);
}

/* Section styling */
.scam-editorial-section {
  margin-bottom: 2.5rem;
}

.scam-editorial-section-title {
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
}

.scam-editorial-section-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

.scam-editorial-section-content p {
  margin: 0 0 1.25rem 0;
}

.scam-editorial-section-content p:last-child {
  margin-bottom: 0;
}

.scam-editorial-section-content strong {
  color: var(--text-dark);
  font-weight: var(--font-semibold);
}

/* Big Stats - Full width dramatic numbers */
.scam-editorial-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 2.5rem -2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scam-editorial-stat {
  background: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.scam-editorial-stat-value {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: var(--font-bold);
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.02em;
}

.scam-editorial-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Callout Box - Subtle but noticeable */
.scam-editorial-callout {
  background: var(--bg-light);
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.scam-editorial-callout-title {
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin: 0 0 0.75rem 0;
}

.scam-editorial-callout p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Action Steps - Clean list */
.scam-editorial-actions {
  background: color-mix(in srgb, var(--brand) 5%, white);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, white);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.scam-editorial-actions-title {
  font-size: 0.6875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin: 0 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scam-editorial-actions-title .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: 'FILL' 1;
}

.scam-editorial-actions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scam-editorial-actions li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.scam-editorial-actions li:last-child {
  margin-bottom: 0;
}

.scam-editorial-actions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* Divider */
.scam-editorial-divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* Hide default modal header for editorial */
.scam-modal:has(.scam-modal-content.editorial) .scam-modal-header {
  border-bottom: none;
  background: white;
}

.scam-modal:has(.scam-modal-content.editorial) .scam-modal-title {
  display: none;
}

.scam-modal:has(.scam-modal-content.editorial) .scam-modal-body {
  padding: 0;
}

/* Editorial responsive */
@media (max-width: 640px) {
  .scam-modal-content.editorial {
    padding: 1.5rem 1.25rem 2rem;
  }

  .scam-editorial-title {
    font-size: 1.5rem;
  }

  .scam-editorial-lede {
    font-size: 1rem;
  }

  .scam-editorial-lede::first-letter {
    font-size: 3rem;
  }

  .scam-editorial-pullquote {
    font-size: 1.125rem;
    padding-left: 1rem;
  }

  .scam-editorial-stats {
    grid-template-columns: 1fr;
    margin: 2rem -1.25rem;
  }

  .scam-editorial-stat {
    padding: 1.5rem 1rem;
  }

  .scam-editorial-actions {
    padding: 1.25rem 1.5rem;
  }
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .scam-modal-overlay {
    padding: 16px;
    align-items: flex-end;
  }

  .scam-modal {
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
  }

  .scam-modal-header {
    padding: 20px 24px;
  }

  .scam-modal-title {
    font-size: 1.25rem;
  }

  .scam-modal-body {
    padding: 20px;
  }

  .scam-modal-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scam-modal-section {
    padding: 20px;
  }

  .modal-stats {
    flex-direction: column;
    gap: 8px;
  }
}

/* Resource Cards */
.panel-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  text-align: left;
  width: 100%;
}

.resource-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.resource-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--brand);
}

.resource-content {
  flex: 1;
  min-width: 0;
}

.resource-content h4 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.resource-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-arrow {
  color: var(--text-muted);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.resource-card:hover .resource-arrow {
  transform: translateX(4px);
  color: var(--brand);
}

@media (max-width: 600px) {
  .panel-resources {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   9. SHARE SECTION
   ============================================ */

/* ============================================
   10. FAQ SECTION (button-based accordion)
   ============================================ */
.faq-section {
  padding: 5rem 1.5rem;
  margin-bottom: 0;
}

.dark .faq-section {
  background: transparent;
}

.faq-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-primary, var(--text-dark));
  text-align: center;
  margin: 0 auto 48px auto;
  max-width: 58rem;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light, var(--border));
  padding-bottom: 16px;
}

.dark .faq-item {
  border-color: #334155;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, var(--text-dark));
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-primary, var(--brand));
}

.faq-question:hover .faq-icon {
  color: var(--brand-primary, var(--brand));
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  font-size: 24px;
  color: var(--text-secondary, var(--text-muted));
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p {
  padding: 0 0 16px 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary, var(--text-muted));
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

/* Dark mode FAQ */
.dark .faq-question {
  color: #f1f5f9;
}

.dark .faq-question:hover {
  color: var(--brand-primary, var(--brand));
}

.dark .faq-icon {
  color: #94a3b8;
}

.dark .faq-answer-inner p {
  color: #94a3b8;
}

/* Mobile responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 1.5rem;
  }

  .faq-section-title {
    font-size: 24px;
  }

  .faq-question {
    padding: 12px 0;
    font-size: 16px;
  }

  .faq-answer-inner p {
    font-size: 15px;
  }

  .faq-icon {
    font-size: 22px;
  }
}

/* ============================================
   SHARE SECTION
   ============================================ */
.share-section {
  padding: 4rem 1.5rem 7rem;
  background: color-mix(in srgb, var(--brand) 4%, white);
  text-align: center;
}
.share-section-inner {
  max-width: 540px;
  margin: 0 auto;
}
.share-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, white);
  margin-bottom: 1.25rem;
}
.share-section-icon .material-symbols-outlined {
  font-size: 32px;
  color: #ef4444;
  font-variation-settings: 'FILL' 1;
}
.share-section-title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}
.share-section-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.share-section-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.share-btn:hover {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.share-btn .material-symbols-outlined {
  font-size: 20px;
  color: var(--brand);
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
  padding: 1.5rem;
  background: #1e293b;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
}

.footer-attribution {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-attribution strong {
  color: white;
  font-weight: var(--font-semibold);
}

.footer-attribution a {
  color: white;
  font-weight: var(--font-medium);
}

.footer-attribution a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: white;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   LEARN MODAL SYSTEM
   Modern full-screen modals for educational content
   ============================================ */
.learn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.learn-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Unified large modal sizing - apply to all large modals for consistency */
.modal-size-large {
  width: 92% !important;
  max-width: 1200px !important;
  max-height: 94vh !important;
}

.learn-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #ffffff;
  border-radius: 24px;
  width: 92%;
  max-width: 1200px;
  max-height: 94vh;
  overflow-y: auto;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.learn-modal-container.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.learn-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.learn-modal-header-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.learn-modal-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.learn-modal-pill--red {
  background: #fef2f2;
  color: #dc2626;
}

.learn-modal-pill--blue {
  background: #eff6ff;
  color: #2563eb;
}

.learn-modal-pill--green {
  background: #f0fdf4;
  color: #16a34a;
}

.learn-modal-pill--gold {
  background: #fffbeb;
  color: #d97706;
}

/* Did You Know Facts */
.did-you-know-facts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dyk-fact {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.dyk-fact:hover {
  transform: translateX(4px);
}

.dyk-fact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.dyk-fact-icon .material-symbols-outlined {
  font-size: 1.5rem;
  color: #d97706;
}

.dyk-fact-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.5rem;
}

.dyk-fact-content p {
  font-size: 0.95rem;
  color: #78350f;
  line-height: 1.6;
  margin: 0;
}

/* Scams Have Changed - 10 Step Stepper */
.learn-modal--scams-changed .learn-modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* =============================================
   Editorial "Scams Have Changed" Modal
   Side-by-side layout: text left, illustration right
   ============================================= */

/* Progress Dots */
.scams-progress-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}

.scams-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scams-progress-dot:hover {
  background: #cbd5e1;
}

.scams-progress-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

.scams-progress-dot.completed {
  background: var(--brand);
  opacity: 0.4;
}

/* Stepper Container */
.scams-stepper-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* Step Content - Side by side layout */
.scams-step {
  display: none;
  flex: 1;
  animation: editorialFadeIn 0.4s ease;
}

.scams-step.active {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 380px;
}

@keyframes editorialFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Text Content - LEFT side (50%) */
.scams-step-content {
  flex: 0 0 50%;
  padding: 32px 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  order: 1;
}

.scams-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.scams-step-headline {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.scams-step-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Illustration Area - RIGHT side (50%) - Dark brand container */
.scams-step-visual {
  flex: 0 0 calc(50% - 16px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  /* Dark brand variant - mixed with black for white text accessibility */
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--brand) 85%, black) 0%,
    color-mix(in oklch, var(--brand) 70%, black) 100%
  );
  border-radius: 24px;
  margin: 16px;
  margin-left: 0;
  order: 2;
}

.scams-step-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 260px;
}

/* Navigation Arrows */
.scams-nav-arrows {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}

.scams-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scams-nav-arrow:hover:not(:disabled) {
  background: white;
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.scams-nav-arrow:hover:not(:disabled) .material-symbols-outlined {
  color: var(--brand);
}

.scams-nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.scams-nav-arrow .material-symbols-outlined {
  font-size: 1.25rem;
  color: #64748b;
}

/* Final Step CTA */
.scams-step-cta {
  margin-top: 8px;
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.scams-step-cta:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

/* Mobile Responsive - Stack vertically */
@media (max-width: 640px) {
  .scams-stepper-container {
    min-height: auto;
  }

  .scams-step.active {
    flex-direction: column;
    min-height: auto;
  }

  .scams-step-content {
    order: 2;
    flex: none;
    max-width: none;
    padding: 20px 24px;
    gap: 12px;
  }

  .scams-step-visual {
    order: 1;
    flex: 0 0 180px;
    min-width: auto;
    padding: 20px;
    border-radius: 0;
  }

  .scams-step-svg {
    width: 160px;
    max-width: 160px;
    min-height: auto;
    height: 140px;
  }

  .scams-step-headline {
    font-size: 1.2rem;
  }

  .scams-step-text {
    font-size: 0.9rem;
  }

  .scams-nav-arrows {
    padding: 12px 16px;
  }

  .scams-nav-arrow {
    width: 36px;
    height: 36px;
  }
}

.learn-modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.learn-modal-close {
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.learn-modal-close:hover {
  background: #e2e8f0;
}

.learn-modal-close .material-symbols-outlined {
  font-size: 1.25rem;
  color: #64748b;
}

.learn-modal-body {
  padding: 1rem 2rem 2rem;
  min-height: 600px;
}

.learn-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--brand, #1e5a8a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.learn-modal-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Learn modal vertical content visibility */
.learn-vertical-content {
  display: none;
}

.learn-vertical-content.active {
  display: block;
}

/* Tech Tips Grid in Modal */
.tech-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-tip-card {
  text-align: center;
}

.tech-tip-phone {
  margin-bottom: 1.5rem;
}

.tech-tip-phone svg {
  width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.tech-tip-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand, #1e5a8a);
  background: color-mix(in srgb, var(--brand, #1e5a8a) 10%, white);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-tip-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.tech-tip-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
}

/* Learn Modal Red Flags Row Styles */
.learn-modal-body .red-flags-row {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.learn-modal-body .red-flags-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.learn-modal-body .red-flags-row-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.learn-modal-body .red-flags-row-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-modal-body .red-flags-row-icon svg {
  width: 24px;
  height: 24px;
}

.learn-modal-body .red-flags-row-info {
  flex: 1;
}

.learn-modal-body .red-flags-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.learn-modal-body .red-flags-row-subtitle {
  font-size: 0.875rem;
  color: #64748b;
}

.learn-modal-body .red-flags-row-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.learn-modal-body .red-flag-tile {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.learn-modal-body .red-flag-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.learn-modal-body .red-flags-row--dating .red-flag-tile {
  background: linear-gradient(180deg, #fce7f3 0%, #fdf2f8 100%);
}

.learn-modal-body .red-flags-row--renting .red-flag-tile {
  background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
}

.learn-modal-body .red-flags-row--jobs .red-flag-tile {
  background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 100%);
}

.learn-modal-body .red-flag-illustration {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.learn-modal-body .red-flag-illustration svg {
  width: 100%;
  height: 100%;
  max-height: 200px;
}

.learn-modal-body .red-flag-content {
  padding: 1rem;
  padding-top: 0;
}

.learn-modal-body .red-flag-tip {
  font-size: 0.8125rem;
  color: #0f172a;
  line-height: 1.5;
}

/* Learn Modal Responsive */
@media (max-width: 900px) {
  .learn-modal-container {
    width: 95%;
    max-height: 90vh;
  }

  .learn-modal-body .red-flags-row-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-tips-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .learn-modal-header {
    padding: 1.5rem;
  }

  .learn-modal-body {
    padding: 1.5rem;
  }

  .learn-modal-body .red-flags-row-cards {
    grid-template-columns: 1fr;
  }

  .learn-modal-body .red-flag-tile {
    display: grid;
    grid-template-columns: 100px 1fr;
  }

  .learn-modal-body .red-flag-illustration {
    aspect-ratio: 1;
    padding: 0.75rem;
  }

  .learn-modal-body .red-flag-content {
    padding: 0.75rem;
    display: flex;
    align-items: center;
  }

  .tech-tip-phone svg {
    width: 160px;
  }
}

/* ============================================
   12. MODAL SYSTEM
   ============================================ */
.modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.modal-container.active {
  visibility: visible;
  opacity: 1;
}

.modal-container .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
  text-decoration: none;
}

.modal-container .close-button:hover {
  background: white;
  color: #1e293b;
  transform: scale(1.05);
}

.modal {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-container.active .modal {
  transform: translateY(0) scale(1);
}

.modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: 20px;
  max-width: 700px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-xl);
}

/* Remove constraints when modal contains iframe (chat modal) */
.modal-content:has(iframe) {
  padding: 0;
  max-height: none;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  width: 700px;
  max-width: 95vw;
  height: auto;
}

/* Iframe container modals (scamcheck, scam-recovery chatbots) */
.modal-container .iframe-container {
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  border-radius: 0;
  animation: none;
  border: none;
}

#scamcheck .iframe-container,
#askquestion .iframe-container {
  width: 700px;
  height: 600px;
  max-height: 90vh;
  padding: 0;
  background-color: #f8f9fa;
  overflow: hidden;
  border: 3px solid #FFAB08;
  border-radius: 24px;
  box-shadow: 0 0 20px rgba(255, 186, 8, 0.2);
}

#scamcheck iframe,
#askquestion iframe {
  height: 100%;
  width: 100%;
  border: none;
}

/* How It Works Modal */
.how-it-works-modal .how-it-works-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg, 16px);
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
}

/* Scam Check Modal - needs to be wider for tiles */
.how-it-works-modal .scam-check-content {
  max-width: 920px;
  padding: 3rem 3.5rem;
}

.email-copied-banner {
  background: #10b981;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 1.5rem 0;
  font-weight: 600;
}

.how-it-works-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--border-light, var(--border));
}

.how-it-works-icon {
  width: 56px;
  height: 56px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary, var(--brand));
}

.how-it-works-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, var(--text-dark));
  margin: 0;
}

.how-it-works-steps {
  padding: 24px 28px;
}

.how-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

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

.how-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--text-secondary, var(--text-muted));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.how-step-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary, var(--text-dark));
  margin: 0 0 4px 0;
}

.how-step-content p {
  font-size: 14px;
  color: var(--text-secondary, var(--text-muted));
  margin: 0;
  line-height: 1.5;
}

.how-it-works-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light, var(--border));
  border-bottom: 1px solid var(--border-light, var(--border));
}

.how-it-works-note svg {
  color: var(--brand-success, #10b981);
  flex-shrink: 0;
}

.how-it-works-note span {
  font-size: 13px;
  color: var(--text-secondary, var(--text-muted));
}

.how-it-works-action {
  padding: 20px 28px 28px;
}

.email-display-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm, 0.5rem);
  background: var(--bg-light);
  padding: 14px 18px;
  border-radius: var(--radius-md, 8px);
  border: 2px solid var(--border-light, var(--border));
}

@media (max-width: 480px) {
  .how-it-works-header {
    padding: 24px 20px 20px;
  }

  .how-it-works-steps {
    padding: 20px;
  }

  .how-step {
    gap: 12px;
  }

  .how-it-works-note {
    padding: 12px 20px;
  }

  .how-it-works-action {
    padding: 16px 20px 24px;
  }

  .email-display-modal {
    flex-direction: column;
    gap: 12px;
  }
}

/* Breakdown Modal */
.breakdown-modal .modal-content {
  padding: 3rem 2rem;
}

.breakdown-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.breakdown-date {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.breakdown-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  max-width: 58rem;
}

.breakdown-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 48rem;
}

.breakdown-section {
  margin-bottom: 2.5rem;
}

.breakdown-section h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-light);
}

.breakdown-section p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.breakdown-section p:last-child {
  margin-bottom: 0;
}

/* Timeline */
.breakdown-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-step {
  display: flex;
  gap: 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0;
}

/* Tell Box */
.tell-box {
  display: flex;
  gap: 1rem;
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  border-radius: 0 12px 12px 0;
}

.tell-icon {
  font-size: 1.5rem;
}

.tell-box p {
  margin: 0;
}

/* ============================================
   DEEP DIVE SCROLLYTELLING MODAL
   ============================================ */
.deep-dive-modal .deep-dive-container {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  width: 95vw;
  max-height: 90vh;
  height: 90vh;
  margin: auto;
  background: var(--bg-white, #fff);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Header */
.deep-dive-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  text-align: center;
  flex-shrink: 0;
  background: var(--bg-white, #fff);
}

.deep-dive-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand, #3b82f6) 0%, color-mix(in srgb, var(--brand, #3b82f6) 80%, white) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
}

.deep-dive-icon .material-symbols-outlined {
  color: white;
  font-size: 26px;
}

.deep-dive-title {
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark, #1e293b);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.deep-dive-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted, #64748b);
  margin: 0;
}

/* Progress Bar */
.scene-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.progress-bar {
  width: 140px;
  height: 4px;
  background: var(--border, #e5e7eb);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--progress, 20%);
  background: var(--brand, #3b82f6);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 0.8125rem;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

/* Scrollytelling Layout */
.scrollytelling-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* Sticky Visual Panel */
.visual-panel {
  width: 40%;
  position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand, #3b82f6) 90%, black) 0%, color-mix(in srgb, var(--brand, #3b82f6) 70%, black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.visual-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.visual-stage svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Scrolling Narrative Panel */
.narrative-panel {
  width: 60%;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scenes-container {
  padding: 48px 40px 24px;
}

/* Scene Blocks */
.scene {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  opacity: 0.25;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scene:first-child {
  padding-top: 0;
}

.scene.active {
  opacity: 1;
  transform: translateY(0);
}

.scene-content {
  max-width: 480px;
}

.scene-badge {
  display: inline-block;
  padding: 6px 14px;
  background: color-mix(in srgb, var(--brand, #3b82f6) 12%, white);
  color: var(--brand, #3b82f6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  margin-bottom: 16px;
}

.scene-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark, #1e293b);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.scene-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body, #475569);
  margin: 0;
}

.scene-text p {
  margin: 0 0 1rem;
}

.scene-text p:last-child {
  margin-bottom: 0;
}

.scene-callout {
  margin-top: 20px;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--brand, #3b82f6) 8%, white);
  border-left: 4px solid var(--brand, #3b82f6);
  border-radius: 0 12px 12px 0;
  font-size: 0.9375rem;
  color: var(--text-body, #475569);
}

.scene-callout strong {
  color: var(--text-dark, #1e293b);
}

/* Deep Dive CTA */
.deep-dive-cta {
  padding: 48px 40px 64px;
  border-top: 1px solid var(--border, #e5e7eb);
  margin-top: 24px;
}

.deep-dive-cta-inner {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.deep-dive-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark, #1e293b);
  margin: 0 0 8px;
}

.deep-dive-cta p {
  font-size: 0.9375rem;
  color: var(--text-muted, #64748b);
  margin: 0 0 24px;
}

.deep-dive-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deep-dive-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.deep-dive-btn.primary {
  background: var(--brand, #3b82f6);
  color: white;
}

.deep-dive-btn.primary:hover {
  background: color-mix(in srgb, var(--brand, #3b82f6) 85%, black);
  transform: translateY(-1px);
}

.deep-dive-btn.secondary {
  background: var(--bg-light, #f8fafc);
  color: var(--text-muted, #64748b);
  border: 1px solid var(--border, #e5e7eb);
}

.deep-dive-btn.secondary:hover {
  background: var(--border, #e5e7eb);
  color: var(--text-dark, #1e293b);
}

.deep-dive-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Mobile Scene Navigation */
.scene-nav-mobile {
  display: none;
}

/* ============================================
   DEEP DIVE VISUAL TYPES
   ============================================ */

/* Phone Mockup */
.visual-phone {
  position: relative;
  width: 220px;
  height: 440px;
  background: #1a1a1a;
  border-radius: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.visual-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0a0a0a;
  border-radius: 12px;
}

.phone-screen {
  position: absolute;
  top: 36px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 12px 16px;
  background: var(--brand, #3b82f6);
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.phone-messages-container {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

/* Message Bubbles */
.message-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 85%;
  font-size: 0.8125rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(15px);
  animation: messageAppear 0.4s ease forwards;
}

.message-bubble.incoming {
  background: #e5e7eb;
  color: #1e293b;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.message-bubble.outgoing {
  background: var(--brand, #3b82f6);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.message-bubble:nth-child(1) { animation-delay: 0.2s; }
.message-bubble:nth-child(2) { animation-delay: 0.5s; }
.message-bubble:nth-child(3) { animation-delay: 0.8s; }
.message-bubble:nth-child(4) { animation-delay: 1.1s; }
.message-bubble:nth-child(5) { animation-delay: 1.4s; }

@keyframes messageAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stat Counter */
.stat-visual {
  text-align: center;
  color: white;
}

.stat-counter {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0;
  transform: scale(0.8);
  animation: statReveal 0.6s ease forwards;
}

@keyframes statReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.stat-source {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Warning Signs Grid */
.warning-signs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

.warning-sign {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: signSlideIn 0.4s ease forwards;
}

.warning-sign:nth-child(1) { animation-delay: 0.1s; }
.warning-sign:nth-child(2) { animation-delay: 0.25s; }
.warning-sign:nth-child(3) { animation-delay: 0.4s; }
.warning-sign:nth-child(4) { animation-delay: 0.55s; }

@keyframes signSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.warning-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warning-indicator .material-symbols-outlined {
  font-size: 16px;
  color: #fca5a5;
}

/* Timeline Visual */
.timeline-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 260px;
}

.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
  opacity: 0;
  animation: timelineReveal 0.4s ease forwards;
}

.timeline-event:nth-child(1) { animation-delay: 0.1s; }
.timeline-event:nth-child(2) { animation-delay: 0.3s; }
.timeline-event:nth-child(3) { animation-delay: 0.5s; }
.timeline-event:nth-child(4) { animation-delay: 0.7s; }

@keyframes timelineReveal {
  to {
    opacity: 1;
  }
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-event:last-child::before {
  display: none;
}

.timeline-event:last-child {
  padding-bottom: 0;
}

.timeline-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-event.active .timeline-node {
  background: white;
  color: var(--brand, #3b82f6);
  border-color: white;
}

.timeline-content {
  color: white;
  padding-top: 4px;
}

.timeline-week {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.timeline-label {
  font-size: 0.875rem;
  line-height: 1.3;
}

/* Comparison Visual */
.comparison-visual {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 340px;
}

.comparison-column {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  opacity: 0;
  animation: comparisonReveal 0.5s ease forwards;
}

.comparison-column:nth-child(1) { animation-delay: 0.1s; }
.comparison-column:nth-child(2) { animation-delay: 0.3s; }

@keyframes comparisonReveal {
  to {
    opacity: 1;
  }
}

.comparison-column.danger {
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comparison-column.safe {
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.comparison-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-column.danger .comparison-header {
  color: #fca5a5;
}

.comparison-column.safe .comparison-header {
  color: #86efac;
}

.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.comparison-item .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.comparison-column.danger .comparison-item .material-symbols-outlined {
  color: #f87171;
}

.comparison-column.safe .comparison-item .material-symbols-outlined {
  color: #4ade80;
}

/* Shield/Protection Visual */
.protection-visual {
  text-align: center;
  color: white;
}

.protection-shield {
  width: 120px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.protection-shield svg {
  width: 100%;
  height: 100%;
}

.protection-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  max-width: 240px;
  margin: 0 auto;
}

.protection-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: protectionReveal 0.3s ease forwards;
}

.protection-item:nth-child(1) { animation-delay: 0.2s; }
.protection-item:nth-child(2) { animation-delay: 0.35s; }
.protection-item:nth-child(3) { animation-delay: 0.5s; }
.protection-item:nth-child(4) { animation-delay: 0.65s; }

@keyframes protectionReveal {
  to {
    opacity: 1;
  }
}

.protection-item .material-symbols-outlined {
  font-size: 20px;
  color: #4ade80;
}

/* ============================================
   DEEP DIVE MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .deep-dive-modal .deep-dive-container {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .deep-dive-header {
    padding: 16px 20px;
  }

  .deep-dive-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .deep-dive-icon .material-symbols-outlined {
    font-size: 22px;
  }

  .deep-dive-title {
    font-size: 1.25rem;
  }

  .deep-dive-subtitle {
    font-size: 0.8125rem;
  }

  .scene-progress {
    margin-top: 12px;
  }

  .progress-bar {
    width: 100px;
  }

  .scrollytelling-wrapper {
    flex-direction: column;
  }

  .visual-panel {
    width: 100%;
    height: 35vh;
    min-height: 220px;
    max-height: 280px;
  }

  .visual-stage {
    padding: 20px;
  }

  .narrative-panel {
    width: 100%;
    flex: 1;
    padding-bottom: 70px;
  }

  .scenes-container {
    padding: 24px 20px 16px;
  }

  .scene {
    min-height: auto;
    padding: 24px 0;
  }

  .scene-badge {
    padding: 5px 12px;
    font-size: 0.6875rem;
    margin-bottom: 12px;
  }

  .scene-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
  }

  .scene-text {
    font-size: 0.9375rem;
  }

  .scene-callout {
    padding: 14px 16px;
    font-size: 0.875rem;
  }

  .deep-dive-cta {
    padding: 32px 20px 48px;
  }

  .deep-dive-cta h3 {
    font-size: 1.25rem;
  }

  /* Mobile Navigation */
  .scene-nav-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: white;
    border-top: 1px solid var(--border, #e5e7eb);
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  }

  .scene-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light, #f8fafc);
    border: 1px solid var(--border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .scene-nav-btn:hover:not(:disabled) {
    background: var(--border, #e5e7eb);
  }

  .scene-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .scene-nav-btn .material-symbols-outlined {
    font-size: 24px;
    color: var(--text-muted, #64748b);
  }

  .scene-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .scene-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border, #e5e7eb);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .scene-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--brand, #3b82f6);
  }

  /* Visual type adjustments for mobile */
  .visual-phone {
    width: 160px;
    height: 320px;
    border-radius: 24px;
  }

  .visual-phone::before {
    width: 60px;
    height: 16px;
    top: 6px;
  }

  .phone-screen {
    top: 28px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 18px;
  }

  .message-bubble {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .stat-counter {
    font-size: 2.5rem;
  }

  .warning-signs-grid {
    max-width: 240px;
  }

  .warning-sign {
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  .comparison-visual {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
  }

  .comparison-column {
    padding: 14px;
  }
}

/* ============================================
   13. CHECKLIST MODALS
   ============================================ */
.checklist-modal .checklist-modal-content {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.checklist-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.checklist-modal-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.checklist-modal-icon .material-symbols-outlined {
  font-size: 28px;
}

.checklist-modal-header h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.checklist-modal-header p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0;
}

.checklist-modal-body {
  padding: 1.5rem;
}

/* Golden Rule */
.golden-rule {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.golden-rule-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.golden-rule-text {
  flex: 1;
}

/* Checklist Items */
.checklist-items {
  display: flex;
  flex-direction: column;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item:hover {
  background: var(--bg-light);
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.checklist-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.checklist-item input:checked + .checkmark {
  background: #10B981;
  border-color: #10B981;
}

.checklist-item input:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checklist-item input:checked ~ .item-text {
  color: var(--text-body);
  text-decoration: line-through;
}

.item-text {
  font-size: var(--text-sm);
  color: var(--text-dark);
  line-height: var(--leading-normal);
  transition: all 0.2s ease;
}

/* Warning Box */
.checklist-warning {
  background: #FFF8F0;
  border-left: 4px solid #F59E0B;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  border-radius: 0 8px 8px 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-dark);
}

.checklist-warning strong {
  color: #D84315;
  display: block;
  margin-bottom: 0.25rem;
}

/* Script Breaker */
.script-breaker {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.25rem;
}

.script-breaker-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-semibold);
  margin-bottom: 0.625rem;
  color: #0369A1;
  font-size: var(--text-sm);
}

.script-breaker-icon {
  font-size: 1rem;
}

.script-breaker-text {
  font-style: italic;
  color: #1E3A5F;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.copy-script-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: #0284C7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: background 0.2s;
}

.copy-script-btn:hover {
  background: #0369A1;
}

.copy-script-btn.copied {
  background: #10B981;
}

/* Modal Footer */
.checklist-modal-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.email-checklist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-checklist-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.email-checklist-btn .material-symbols-outlined {
  font-size: 20px;
}

.email-capture-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.email-capture-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-capture-form input[type="email"]:focus {
  border-color: var(--brand);
}

.email-capture-form .send-checklist-btn {
  padding: 0.75rem 1.5rem;
  background: #10B981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.email-capture-form .send-checklist-btn:hover {
  background: #059669;
}

@media (max-width: 600px) {
  .checklist-modal-header {
    flex-direction: column;
    padding: 1.25rem 1rem 1rem;
  }
  .checklist-modal-body {
    padding: 1rem;
  }
  .checklist-modal-footer {
    padding: 1rem;
  }
  .checklist-item:hover {
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .email-capture-form {
    flex-direction: column;
  }
  .email-capture-form .send-checklist-btn {
    width: 100%;
  }
}

/* ============================================
   14. WIZARD STYLES
   ============================================ */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.wizard-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.wizard-back-btn:hover {
  background: var(--border);
  color: var(--text-dark);
}

.progress-bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary, #1e3a5f), #3b82f6);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
}

.wizard-content {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.wizard-step {
  display: none;
  padding: 40px 24px;
  text-align: center;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  animation: wizardFadeIn 0.25s ease-out;
  box-sizing: border-box;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.wizard-step.active {
  display: flex;
}

.wizard-step[hidden] {
  display: none !important;
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-question {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin: 0 0 24px;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.category-card:hover {
  border-color: var(--brand-primary, #1e3a5f);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.category-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin-bottom: 4px;
}

.category-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

/* Step Styling */
.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.step-badge.urgent {
  background: #fef2f2;
  color: #b91c1c;
}

.step-badge.success {
  background: #ecfdf5;
  color: #059669;
}

.step-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0 0 12px;
  line-height: 1.3;
}

.step-description {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 24px;
}

.step-description strong {
  color: var(--text-dark);
}

.step-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  padding: 16px 32px;
  background: var(--brand-primary, #1e3a5f);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background: #2d4a6f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
}

.btn-secondary {
  padding: 12px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color 0.15s ease;
}

.btn-secondary:hover {
  color: var(--text-dark);
}

/* Step Links */
.step-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0 8px;
}

.step-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.step-link-card:hover {
  border-color: var(--brand-primary, #1e3a5f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-link-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin-bottom: 4px;
}

.step-link-action {
  font-size: var(--text-xs);
  color: var(--brand-primary, #1e3a5f);
}

.step-link-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* Step Tips and Notes */
.step-tip {
  background: color-mix(in srgb, var(--brand) 8%, white);
  border-left: 3px solid var(--brand);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: var(--text-sm);
  color: var(--text-dark);
}

.step-tip.warning {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

.step-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Step Phone List */
.step-phone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.step-phone-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--brand);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: all 0.15s ease;
}

.step-phone-link:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 5%, white);
}

.wizard-skip,
.wizard-next {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wizard-next {
  background: var(--brand);
  color: white;
  border: none;
}

.wizard-next:hover {
  background: var(--brand-dark);
}

.wizard-skip {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.wizard-skip:hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

.wizard-complete {
  text-align: center;
  padding: 2rem;
}

/* ============================================
   15. RECOVERY HUB MODAL
   ============================================ */
.recovery-hub-modal.active {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.recovery-hub-modal .recovery-hub {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 880px;
  width: 94%;
  height: 85vh;
  max-height: 680px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.recovery-hub-modal .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.recovery-hub-modal .close-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.recovery-hub-header {
  flex-shrink: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
  color: white;
  padding: 28px 32px 20px;
  text-align: center;
  position: relative;
}

.recovery-hub-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  margin: 0 0 6px 0;
  color: white;
  letter-spacing: -0.02em;
  max-width: 58rem;
}

.recovery-hub-subtitle {
  font-size: var(--text-sm);
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-normal);
  max-width: 48rem;
}

/* ============================================
   16. SCAM CHECKER STYLES
   ============================================ */
.sc-container {
  background: var(--bg-white);
  width: 950px;
  max-width: calc(100vw - 40px);
  height: 650px;
  max-height: calc(100vh - 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  overflow: hidden;
  position: relative;
  border: 3px solid #1e3a5f;
}

.sz-results-modal-content {
  background: var(--bg-white);
  width: 950px;
  max-width: calc(100vw - 40px);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  border: 3px solid #1e3a5f;
}

.sc-view {
  display: none;
  width: 100%;
  height: 100%;
}

.sc-container.state-upload .sc-upload-view,
.sc-container.state-loading .sc-loading-view,
.sc-container.state-results .sc-results-view {
  display: flex;
}

.sc-container.state-loading .sc-loading-view,
.sz-results-modal-content .sc-loading-view {
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sc-upload-view {
  flex-direction: row;
}

.sc-brand-panel {
  width: 330px;
  flex-shrink: 0;
  background: #1e3a5f;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.sc-header-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-header-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.sc-title {
  font-size: 26px;
  font-weight: var(--font-bold);
  line-height: 1.3;
  color: white;
  max-width: 58rem;
}

.sc-subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 12px;
  line-height: var(--leading-normal);
  max-width: 48rem;
}

.sc-main-panel {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
}

.sc-main-panel .sc-content {
  flex-grow: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sc-main-panel .sc-footer {
  padding: 24px 32px;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.sc-upload-wrapper {
  position: relative;
  width: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  flex-grow: 0;
}

.sc-upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.sc-upload-icon-large {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.sc-upload-dropzone h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.sc-upload-dropzone p {
  font-size: var(--text-sm);
  color: var(--text-body);
  margin: 0;
}

.sc-uploaded-files-container {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  flex-grow: 1;
}

.sc-file-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  min-height: 180px;
  max-height: 240px;
  overflow-y: auto;
}

.sc-file-preview {
  position: relative;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sc-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sc-file-preview .remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.sc-add-more-btn {
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  background: white;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.sc-add-more-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  background: var(--bg-light);
}

.sc-submit-btn {
  width: 100%;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 100px;
  padding: 16px;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  transition: all 0.2s ease;
}

.sc-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
  background: #1e3a8a;
}

.sc-submit-btn:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.sc-loading-view {
  padding: 40px;
}

.sc-loading-view .loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loading-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.loading-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Modern spinner with magnifying glass icon */
.loading-spinner-modern {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #3089D9;
  animation: spin 1s linear infinite;
}

.spinner-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #3089D9;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Legacy support */
.loading-spinner {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.sc-results-view {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sc-results-container {
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sc-check-another-btn {
  width: auto;
  max-width: 400px;
  background: linear-gradient(135deg, var(--brand) 0%, #5CA7E8 100%);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.sc-check-another-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(48, 137, 217, 0.35);
}

/* ============================================
   17. LEGAL MODAL
   ============================================ */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal {
  background: white;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.legal-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-header h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin: 0;
}

.legal-modal-close {
  width: 32px;
  height: 32px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.legal-modal-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.legal-modal-content {
  padding: 24px;
  overflow-y: auto;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-body);
}

.legal-modal-content h3 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-dark);
  margin: 24px 0 12px;
}

.legal-modal-content h3:first-of-type {
  margin-top: 0;
}

.legal-modal-content p {
  margin-bottom: 12px;
}

.legal-modal-content ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

.legal-modal-content li {
  margin-bottom: 6px;
}

.legal-modal-content a {
  color: var(--brand);
}

.legal-modal-content a:hover {
  text-decoration: underline;
}

.legal-effective-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   18. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes divider-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-in {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes buttonPress {
  0% { transform: scale(1); }
  50% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.featured-scam-cta:active,
.techtips-cta:active {
  animation: buttonPress 0.15s ease-out;
}

/* ============================================
   19. MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  /* Modal container - remove padding, force full screen */
  .modal-container {
    padding: 0;
  }

  .modal-container,
  .modal-container .iframe-container {
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 100vw;
  }

  .modal-container .close-button {
    border-radius: 50%;
  }

  /* Modal wrapper - fill container on mobile */
  .modal-container .modal {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    align-items: stretch;
  }

  /* All modal content types - fill container on mobile */
  .modal-container .modal-content,
  .modal-container .how-it-works-content,
  .modal-container .scam-check-content,
  .modal-container .iframe-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  /* Chatbot iframe modals - override ID selector specificity */
  #scamcheck .iframe-container,
  #askquestion .iframe-container {
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  /* Modal containers - full screen on mobile */
  .modal-container .sc-container,
  .modal-container .sz-results-modal-content {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 100vw;
  }

  .modal-container .sz-results-modal-content {
    border: 3px solid #1e3a5f;
  }

  .modal-container .sz-results-modal-content .results-container {
    height: 100%;
  }

  .sc-container {
    flex-direction: column;
    height: 100%;
    max-height: 100vh;
  }

  .sc-brand-panel {
    display: none;
  }

  .sc-main-panel {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .sc-main-panel .sc-content {
    padding: calc(80px + env(safe-area-inset-top)) 20px 20px 20px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sc-upload-wrapper {
    min-height: 200px;
  }

  /* How it works modal - full screen on mobile */
  .how-it-works-modal .how-it-works-content {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
  }

  .how-it-works-modal .close-button {
    top: 12px;
    right: 12px;
  }

  /* Scam check modal - full screen on mobile */
  .scam-check-content {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .scam-check-tiles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .scam-check-tile-image {
    aspect-ratio: 16 / 9;
  }

  .scam-check-tile-title {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Check modal (upload) - full screen on mobile */
  .modal-container .modal-content {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }

  /* Wizard styles */
  .wizard-progress {
    padding: 10px 16px;
  }
  .wizard-step {
    padding: 24px 16px;
  }
}
   ================================================ */

/* Main container */
.sz-results-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

/* Header Section */
.sz-results-header {
  padding: 24px 32px;
  position: relative;
}

/* Hide any share buttons that might appear in header */
.sz-results-header .sz-share-btn,
.sz-results-header-content .sz-share-btn,
.sz-results-container > .sz-share-btn {
  display: none !important;
}

/* Solid backgrounds with matching bottom borders */
.sz-results-header.concern-high {
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}
.sz-results-header.concern-some {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}
.sz-results-header.concern-low {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
}
.sz-results-header.concern-uncertain {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.sz-results-header-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .sz-results-header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.sz-results-header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sz-results-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sz-results-icon {
  font-size: 36px;
}

.sz-results-icon.concern-high { color: #dc2626; }
.sz-results-icon.concern-some { color: #d97706; }
.sz-results-icon.concern-low { color: #16a34a; }
.sz-results-icon.concern-uncertain { color: #64748b; }

.sz-results-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin: 0;
}

.sz-results-description {
  font-size: 16px;
  color: #64748b;
  max-width: 560px;
  line-height: 1.5;
  margin: 0;
}

/* Recommendation Action Box */
.sz-results-action-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .sz-results-action-box {
    width: auto;
    min-width: 240px;
  }
}

.sz-results-action-box.concern-high {
  border-color: #fecaca;
}
.sz-results-action-box.concern-some {
  border-color: #fde68a;
}
.sz-results-action-box.concern-low {
  border-color: #bbf7d0;
}
.sz-results-action-box.concern-uncertain {
  border-color: #e2e8f0;
}

.sz-results-action-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.sz-results-action-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.sz-results-action-text.concern-high { color: #dc2626; }
.sz-results-action-text.concern-some { color: #d97706; }
.sz-results-action-text.concern-low { color: #16a34a; }
.sz-results-action-text.concern-uncertain { color: #64748b; }

.sz-results-action-text .material-symbols-outlined {
  font-size: 20px;
}

/* Split Layout Body */
.sz-results-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sz-results-body {
    flex-direction: row;
  }
}

/* Left Panel - Findings */
.sz-results-left {
  flex: 1;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

@media (min-width: 768px) {
  .sz-results-left {
    flex: 0 0 40%;
    max-width: 40%;
    border-bottom: none;
    border-right: 1px solid #cbd5e1;
    padding-right: 32px;
    overflow-y: auto;
  }
}

/* Right Panel - Image */
.sz-results-right {
  width: 100%;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .sz-results-right {
    flex: 0 0 60%;
    max-width: 60%;
    min-width: 0;
    padding: 16px;
    overflow-y: auto;
  }
}

/* Section Style - clean and minimal */
.sz-results-section {
  /* No card styling */
}

/* Section Titles */
.sz-results-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.sz-results-section-title .material-symbols-outlined {
  font-size: 24px;
  color: var(--brand-blue, #137fec);
}

/* Key Facts Badges - Stitch Style */
.sz-results-badges {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.sz-results-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  /* Default style - blue */
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.sz-results-badge .material-symbols-outlined {
  font-size: 18px;
  color: #3b82f6;
}

/* Warning badges - orange */
.sz-results-badge.badge-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.sz-results-badge.badge-warning .material-symbols-outlined { color: #ea580c; }

/* Caution badges - yellow */
.sz-results-badge.badge-caution {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
}
.sz-results-badge.badge-caution .material-symbols-outlined { color: #ca8a04; }

/* Danger badges - red */
.sz-results-badge.badge-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.sz-results-badge.badge-danger .material-symbols-outlined { color: #ef4444; }

/* Info badges - blue */
.sz-results-badge.badge-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.sz-results-badge.badge-info .material-symbols-outlined { color: #3b82f6; }

/* Section content - refined typography */
.sz-results-section-content {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  letter-spacing: 0.01em;
}

.sz-results-section-content p {
  margin: 0;
  color: #334155;
}

.sz-results-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sz-results-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #475569;
}

.sz-results-checklist li .material-symbols-outlined {
  font-size: 16px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Accordion/Details Styles */
.sz-results-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz-results-accordion details {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sz-results-accordion details[open] {
  background: #ffffff;
}

.sz-results-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  font-weight: 500;
  color: #0f172a;
  user-select: none;
  list-style: none;
}

.sz-results-accordion summary::-webkit-details-marker {
  display: none;
}

.sz-results-accordion summary::marker {
  display: none;
}

.sz-results-accordion .summary-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sz-results-accordion .summary-content .material-symbols-outlined {
  font-size: 20px;
  color: var(--brand-blue, #137fec);
}

.sz-results-accordion .expand-icon {
  font-size: 20px;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.sz-results-accordion details[open] .expand-icon {
  transform: rotate(180deg);
}

.sz-results-accordion details[open] summary {
  border-left: 3px solid var(--brand-blue, #137fec);
  border-radius: 8px 8px 0 0;
}

.sz-results-accordion .accordion-content {
  padding: 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  margin: 0 -1px -1px -1px;
  border-radius: 0 0 8px 8px;
}

.sz-results-accordion details[open] .accordion-content {
  animation: accordionSlideDown 0.25s ease-out;
}

@keyframes accordionSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sz-results-accordion .accordion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sz-results-accordion .accordion-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}

.sz-results-accordion .accordion-list-item .material-symbols-outlined {
  font-size: 18px;
  color: #94a3b8;
  flex-shrink: 0;
  margin-top: 2px;
}

.sz-results-accordion .accordion-paragraph {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* Image Preview Section */
.sz-results-image-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sz-results-image-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.sz-results-image-id {
  font-size: 12px;
  color: #94a3b8;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.sz-results-image-count {
  font-size: 12px;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

.sz-results-image-container {
  position: relative;
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: auto;
  min-height: 0;
}

.sz-results-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.sz-results-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.1), transparent);
  pointer-events: none;
}

.sz-results-image-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: zoom-in;
}

.sz-results-image-container:hover .sz-results-image-zoom {
  opacity: 1;
}

.sz-results-image-zoom-btn {
  background: #ffffff;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sz-results-image-zoom-btn .material-symbols-outlined {
  font-size: 24px;
  color: #0f172a;
}

/* Image Info Callout */
.sz-results-image-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
}

.sz-results-image-info .material-symbols-outlined {
  font-size: 18px;
  color: var(--brand-blue, #137fec);
  flex-shrink: 0;
  margin-top: 2px;
}

.sz-results-image-info p {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Footer Section */
.sz-results-footer {
  padding: 24px 32px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .sz-results-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.sz-results-footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .sz-results-footer-left {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.sz-results-footer-right {
  flex-shrink: 0;
}

.sz-results-timestamp {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sz-results-timestamp .material-symbols-outlined {
  font-size: 16px;
}

.sz-results-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.sz-results-disclaimer strong {
  color: #64748b;
}

.sz-results-footer-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

@media (min-width: 640px) {
  .sz-results-footer-actions {
    width: auto;
  }
}

.sz-results-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

@media (min-width: 640px) {
  .sz-results-btn {
    flex: none;
  }
}

.sz-results-btn .material-symbols-outlined {
  font-size: 18px;
}

.sz-results-btn-secondary {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.sz-results-btn-secondary:hover {
  background: #f8fafc;
}

.sz-results-btn-primary {
  background: var(--brand-blue, #137fec);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(19, 127, 236, 0.2);
}

.sz-results-btn-primary:hover {
  background: #1171d4;
}

/* Email container for split layout */
.sz-results-email-container {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  max-height: 450px;
}

.sz-results-email-container iframe {
  width: 100%;
  height: 800px;
  border: none;
}

/* Stacked Layout for Horizontal Images */
.sz-results-container.layout-stacked .sz-results-body {
  flex-direction: column;
}

.sz-results-container.layout-stacked .sz-results-left {
  border-right: none;
  border-bottom: 1px solid #f1f5f9;
  order: 2;
}

.sz-results-container.layout-stacked .sz-results-right {
  order: 1;
  max-height: 350px;
}

.sz-results-container.layout-stacked .sz-results-image-container {
  max-height: 300px;
}

/* Constrain image size for split layout (vertical images) */
.sz-results-container.layout-split .sz-results-image-container {
  max-height: 450px;
}

.sz-results-image-container {
  cursor: pointer;
}

/* Smart background for images - adapts to both orientations */
.sz-results-image-container .sz-smart-background-container {
  height: 100%;
  background: #f1f5f9;
}

/* ========================================
   NEW CENTERED LAYOUT (Redesign)
   ======================================== */

/* Centered single-column body */
.sz-results-body-centered {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* View Original button */
.sz-view-original-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sz-view-original-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.sz-view-original-btn .material-symbols-outlined {
  font-size: 20px;
}

/* Disclaimer at bottom */
.sz-results-disclaimer-bottom {
  padding: 16px 32px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

/* Explanation text (What We Found) */
.sz-results-explanation {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* ========================================
   EDUCATIONAL CHECKS (What We Checked)
   ======================================== */

.sz-results-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz-check-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 3px solid #94a3b8;
}

.sz-check-item.check-pass {
  border-left-color: #22c55e;
  background: #f0fdf4;
}

.sz-check-item.check-fail {
  border-left-color: #ef4444;
  background: #fef2f2;
}

.sz-check-item.check-warn {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.sz-check-item.check-info {
  border-left-color: #3b82f6;
  background: #eff6ff;
}

.sz-check-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sz-check-icon {
  font-size: 20px;
}

.sz-check-item.check-pass .sz-check-icon { color: #16a34a; }
.sz-check-item.check-fail .sz-check-icon { color: #dc2626; }
.sz-check-item.check-warn .sz-check-icon { color: #d97706; }
.sz-check-item.check-info .sz-check-icon { color: #2563eb; }

.sz-check-title {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

.sz-check-result {
  font-size: 14px;
  color: #475569;
}

.sz-check-educational {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  padding-left: 28px;
}

/* ========================================
   RECOMMENDATION SECTION
   ======================================== */

.sz-results-recommendation {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 8px;
}

.sz-results-recommendation .sz-results-section-title {
  color: #1e40af;
}

.sz-results-recommendation .sz-results-section-title .material-symbols-outlined {
  color: #2563eb;
}

.sz-results-recommendation-text {
  font-size: 15px;
  font-weight: 500;
  color: #1e3a8a;
  line-height: 1.5;
  margin: 0;
}

/* ========================================
   SPLIT LAYOUT (Side Banner Design)
   ======================================== */

.sz-split-layout {
  display: flex;
  flex-direction: column;
  min-height: auto;
  max-height: none;
}

@media (min-width: 768px) {
  .sz-split-layout {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Sidebar */
.sz-sidebar {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

@media (min-width: 768px) {
  .sz-sidebar {
    width: 33.333%;
    border-bottom: none;
    border-right: 1px solid rgba(0,0,0,0.06);
    min-height: 400px;
  }
}

.sz-sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sz-sidebar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #059669;
}

.sz-sidebar-label .material-symbols-outlined {
  font-size: 16px;
}

.sz-sidebar.concern-high .sz-sidebar-label { color: #dc2626; }
.sz-sidebar.concern-some .sz-sidebar-label { color: #d97706; }
.sz-sidebar.concern-low .sz-sidebar-label { color: #059669; }
.sz-sidebar.concern-uncertain .sz-sidebar-label { color: #6b7280; }

/* Gauge */
.sz-sidebar-gauge {
  position: relative;
  width: 96px;
  height: 96px;
}

.sz-gauge-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sz-gauge-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
}

/* Verdict */
.sz-sidebar-verdict {
  margin-top: 8px;
}

.sz-verdict-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.sz-sidebar-footer {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sz-sidebar-fact {
  padding: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
}

.sz-fact-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 6px;
}

.sz-fact-label .material-symbols-outlined {
  font-size: 14px;
  color: #f59e0b;
}

.sz-fact-text {
  font-size: 13px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
  font-style: italic;
}

.sz-sidebar-meta {
  font-size: 12px;
  color: #6b7280;
}

/* Main Content */
.sz-main-content {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .sz-main-content {
    width: 66.666%;
    padding: 40px;
  }
}

.sz-summary-section {
  margin-bottom: 8px;
}

.sz-summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}

.sz-summary-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* Checks Section */
.sz-checks-section {
  flex: 1;
}

.sz-checks-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e40af;
  margin: 0 0 20px 0;
}

.sz-checks-title .material-symbols-outlined {
  font-size: 18px;
}

.sz-checks-list {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

/* Check Cards (V2) - Professional design */
.sz-check-card-v2 {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.sz-check-card-v2:last-child {
  border-bottom: none;
}

.sz-check-card-v2-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sz-check-card-v2-icon {
  font-size: 20px;
  color: #6b7280;
}

.sz-check-card-v2.has-issue .sz-check-card-v2-icon {
  color: #dc2626;
}

.sz-check-card-v2-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sz-check-card-v2-desc {
  font-size: 15px;
  color: #374151;
  margin: 0 0 8px 0;
  line-height: 1.5;
  padding-left: 30px;
}

.sz-check-card-v2.has-issue .sz-check-card-v2-desc {
  color: #991b1b;
}

.sz-check-card-v2-fact {
  font-size: 13px;
  font-style: italic;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
  padding-left: 30px;
}

/* Recommendation Bar */
.sz-recommendation-bar {
  background: #2563eb;
  color: white;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(100% + 2px);
  margin: 0 -1px -1px -1px;
  border-radius: 0 0 12px 12px;
}

@media (min-width: 768px) {
  .sz-recommendation-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sz-recommendation-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sz-recommendation-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-recommendation-icon .material-symbols-outlined {
  font-size: 22px;
}

.sz-recommendation-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.sz-recommendation-text p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

.sz-recommendation-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Action Buttons */
.sz-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.sz-action-btn .material-symbols-outlined {
  font-size: 18px;
}

.sz-action-btn.sz-action-primary {
  background: rgba(255,255,255,0.15);
  color: white;
}

.sz-action-btn.sz-action-primary:hover {
  background: rgba(255,255,255,0.25);
}

.sz-action-btn.sz-action-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
}

.sz-action-btn.sz-action-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* Footer Bar (when no recommendation) */
.sz-footer-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .sz-footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sz-footer-disclaimer {
  font-size: 12px;
  color: #64748b;
}

.sz-footer-actions {
  display: flex;
  gap: 10px;
}

.sz-footer-actions .sz-action-btn.sz-action-primary {
  background: #2563eb;
  color: white;
}

.sz-footer-actions .sz-action-btn.sz-action-primary:hover {
  background: #1d4ed8;
}

.sz-footer-actions .sz-action-btn.sz-action-secondary {
  background: #e2e8f0;
  color: #475569;
}

.sz-footer-actions .sz-action-btn.sz-action-secondary:hover {
  background: #cbd5e1;
}

/* ========================================
   ORIGINAL CONTENT MODAL
   ======================================== */

.sz-original-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-original-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.sz-original-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sz-original-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sz-original-modal-close:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.sz-original-modal-close .material-symbols-outlined {
  font-size: 24px;
  color: #374151;
}

/* Screenshot in modal */
.sz-original-modal-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* Email iframe in modal */
.sz-original-modal-iframe {
  width: 800px;
  max-width: 90vw;
  height: 80vh;
  border: none;
  background: white;
}

/* Plain text email in modal */
.sz-original-modal-text {
  padding: 32px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #111827;
  white-space: pre-wrap;
}

/* Carousel for multiple screenshots */
.sz-original-modal-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sz-original-modal-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  justify-content: center;
}

.sz-original-modal-prev,
.sz-original-modal-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.sz-original-modal-prev:hover:not(:disabled),
.sz-original-modal-next:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.sz-original-modal-prev:disabled,
.sz-original-modal-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sz-original-modal-counter {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

/* ========================================
   CARD LAYOUT V3 (Tech-Focused Design)
   ======================================== */

/* Override sz-results-container when using card layout */
.sz-results-container.sz-card-layout {
  border: none;
  border-radius: 0;
  box-shadow: none;
  max-height: none;
}

.sz-card-layout {
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
}

/* Remove modal border when showing card layout results */
.sz-results-modal-content:has(.sz-card-layout) {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Header with gradient */
.sz-card-header {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sz-card-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sz-card-gauge {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.sz-card-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sz-card-gauge .sz-gauge-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
}

.sz-gauge-animated {
  stroke-dashoffset: 0;
  animation: gaugeIn 0.8s ease-out forwards;
}

@keyframes gaugeIn {
  from {
    stroke-dasharray: 0, 100;
  }
}

.sz-card-header-text {
  flex: 1;
}

.sz-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sz-card-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 4px 0 0 0;
}

/* Card Body */
.sz-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .sz-card-body {
    padding: 40px;
  }
}

/* Summary Card - Left accent bar style */
.sz-summary-card {
  background: #f8fafc;
  border: none;
  border-left: 4px solid #3b82f6;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  position: relative;
}

.sz-summary-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sz-summary-card-title .material-symbols-outlined {
  font-size: 20px;
  color: #3b82f6;
}

.sz-summary-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
}

.sz-summary-card-text p {
  margin: 0;
}

.sz-summary-card-text p + p {
  margin-top: 12px;
}

/* Checks Section V3 */
.sz-checks-section-v3 {
  /* No extra container styling needed */
}

.sz-checks-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin: 0 0 16px 0;
}

.sz-checks-section-title .material-symbols-outlined {
  font-size: 16px;
}

/* Check Cards Grid - Fixed 4 columns */
.sz-checks-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .sz-checks-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ===== CHECK CARDS - Structural Variety ===== */

/* Base Card Style */
.sz-check-card-v3 {
  background: #fafaf9;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sz-check-card-v3:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Icon wrapper base */
.sz-check-card-v3-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #e5e7eb;
}

.sz-check-card-v3-icon-wrap .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 1;
  color: #6b7280;
}

.sz-check-card-v3-title {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sz-check-card-v3-stat {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.sz-check-card-v3-number {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.sz-check-card-v3-label {
  font-size: 14px;
  color: #6b7280;
}

.sz-check-card-v3-domain {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  word-break: break-all;
  line-height: 1.3;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
}

.sz-check-card-v3-desc {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
  line-height: 1.3;
}

/* ===== DOMAIN AGE CARD - Solid Fill (Stability) ===== */
.sz-check-card-v3.sz-card-domain {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.sz-check-card-v3.sz-card-domain .sz-check-card-v3-icon-wrap {
  background: #6366f1;
}

.sz-check-card-v3.sz-card-domain .sz-check-card-v3-icon-wrap .material-symbols-outlined {
  color: white;
}

.sz-check-card-v3.sz-card-domain .sz-check-card-v3-number {
  color: #4338ca;
}

/* Domain age status variants */
.sz-check-card-v3.sz-domain-safe {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.sz-check-card-v3.sz-domain-warning {
  background: #fffbeb;
  border-color: #fde68a;
}

.sz-check-card-v3.sz-domain-warning .sz-check-card-v3-icon-wrap {
  background: #d97706;
}

.sz-check-card-v3.sz-domain-warning .sz-check-card-v3-number {
  color: #b45309;
}

.sz-check-card-v3.sz-domain-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.sz-check-card-v3.sz-domain-danger .sz-check-card-v3-icon-wrap {
  background: #dc2626;
}

.sz-check-card-v3.sz-domain-danger .sz-check-card-v3-number {
  color: #b91c1c;
}

/* ===== LINKS CARD - Outlined (Audit) ===== */
.sz-check-card-v3.sz-card-links {
  background: white;
  border: 2px solid #0d9488;
}

.sz-check-card-v3.sz-card-links .sz-check-card-v3-icon-wrap {
  background: #ccfbf1;
}

.sz-check-card-v3.sz-card-links .sz-check-card-v3-icon-wrap .material-symbols-outlined {
  color: #0d9488;
}

.sz-check-card-v3.sz-card-links .sz-check-card-v3-number {
  color: #0f766e;
}

/* ===== QR CODES CARD - Dashed Border (Scan) ===== */
.sz-check-card-v3.sz-card-qr {
  background: white;
  border: 2px dashed #7c3aed;
}

.sz-check-card-v3.sz-card-qr .sz-check-card-v3-icon-wrap {
  background: #ede9fe;
}

.sz-check-card-v3.sz-card-qr .sz-check-card-v3-icon-wrap .material-symbols-outlined {
  color: #7c3aed;
}

.sz-check-card-v3.sz-card-qr .sz-check-card-v3-number {
  color: #6d28d9;
}

/* ===== ATTACHMENTS CARD - Shadow/Inset (File) ===== */
.sz-check-card-v3.sz-card-attachments {
  background: white;
  border: 1.5px solid #e5e7eb;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.sz-check-card-v3.sz-card-attachments .sz-check-card-v3-icon-wrap {
  background: #fef3c7;
}

.sz-check-card-v3.sz-card-attachments .sz-check-card-v3-icon-wrap .material-symbols-outlined {
  color: #d97706;
}

.sz-check-card-v3.sz-card-attachments .sz-check-card-v3-number {
  color: #b45309;
}

/* ===== SAFE STATE (override for non-domain cards) ===== */
.sz-check-card-v3.is-safe {
  /* Cards keep their structural styling when safe */
}

/* ===== ISSUE STATE (danger - override all) ===== */
.sz-check-card-v3.has-issue {
  background: #fef2f2 !important;
  border: 2px solid #f87171 !important;
  border-style: solid !important;
  box-shadow: none !important;
}

.sz-check-card-v3.has-issue .sz-check-card-v3-icon-wrap {
  background: #dc2626 !important;
}

.sz-check-card-v3.has-issue .sz-check-card-v3-icon-wrap .material-symbols-outlined {
  color: white !important;
}

.sz-check-card-v3.has-issue .sz-check-card-v3-number {
  color: #b91c1c !important;
}

.sz-check-card-v3.has-issue:hover {
  border-color: #ef4444 !important;
}

/* Recommendation Bar V3 */
.sz-recommendation-bar-v3 {
  background: #2563eb;
  color: white;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(37, 99, 235, 0.5);
}

@media (min-width: 768px) {
  .sz-recommendation-bar-v3 {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
  }
}

.sz-recommendation-bar-v3.sz-footer-only {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  justify-content: flex-end;
}

.sz-recommendation-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.sz-recommendation-icon-v3 {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.sz-recommendation-icon-v3 .material-symbols-outlined {
  font-size: 24px;
}

.sz-recommendation-text-v3 h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.sz-recommendation-text-v3 p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
  max-width: 500px;
}

.sz-recommendation-actions-v3 {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Buttons V3 */
.sz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.sz-btn .material-symbols-outlined {
  font-size: 18px;
}

.sz-btn-secondary {
  background: rgba(37, 99, 235, 0.8);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sz-btn-secondary:hover {
  background: rgba(29, 78, 216, 0.9);
}

.sz-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.sz-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sz-footer-only .sz-btn-secondary {
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.sz-footer-only .sz-btn-secondary:hover {
  background: #cbd5e1;
}

.sz-footer-only .sz-btn-ghost {
  background: #2563eb;
  color: white;
  border: 1px solid #1d4ed8;
}

.sz-footer-only .sz-btn-ghost:hover {
  background: #1d4ed8;
}

/* ============================================
   STITCH DESIGN STYLES
   Clean, modern layout based on Stitch mockup
   ============================================ */

/* Container */
.sz-results-container.sz-stitch-layout {
  background: white;
  border-radius: 16px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px #e2e8f0;
  border: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ambient background glow - single radial from top center */
.sz-results-container.sz-stitch-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 60%;
  pointer-events: none;
  z-index: 0;
}


/* ==========================================
   STITCH BADGES WRAPPER (restored from backup)
   ========================================== */
/* Badges wrapper for Stitch layout - centered like cards */
.sz-stitch-badges-wrapper {
  padding: 0 24px 32px;
  display: flex;
  justify-content: center;
}

.sz-stitch-badges-wrapper .sz-key-facts {
  justify-content: center;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sz-stitch-badges-wrapper {
    padding: 0 40px 36px;
  }
}

/* ==========================================
   STITCH LAYOUT REMAINING RULES (restored from backup)
   ========================================== */
/* Level-specific radial gradients */
.sz-stitch-layout.sz-level-low::before {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(56, 224, 123, 0.28) 0%, rgba(56, 224, 123, 0.08) 50%, transparent 80%);
}

.sz-stitch-layout.sz-level-some::before {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0.08) 50%, transparent 80%);
}

.sz-stitch-layout.sz-level-high::before {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.06) 50%, transparent 80%);
}

.sz-stitch-layout.sz-level-uncertain::before {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(148, 163, 184, 0.2) 0%, rgba(148, 163, 184, 0.06) 50%, transparent 80%);
}

/* Top bar - share icon right */
.sz-stitch-topbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

/* Analysis type badge */
.sz-stitch-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.sz-stitch-type-badge .material-symbols-outlined {
  font-size: 16px;
}

/* Share button in top bar */
.sz-stitch-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.sz-stitch-share-btn:hover {
  background: #2563eb;
}

.sz-stitch-share-btn.copied {
  background: #3b82f6;
  color: white;
}

.sz-stitch-share-btn .material-symbols-outlined {
  font-size: 16px;
  color: white;
}

/* Share icon (icon only, no text) */
.sz-stitch-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #3b82f6;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.15s ease;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.sz-stitch-share-icon:hover {
  background: #2563eb;
}

.sz-stitch-share-icon:disabled {
  cursor: default;
}

.sz-stitch-share-icon.loading {
  background: #94a3b8;
}

.sz-stitch-share-icon.success {
  background: #22c55e;
}

.sz-stitch-share-icon.error {
  background: #ef4444;
}

.sz-stitch-share-icon .material-symbols-outlined {
  font-size: 20px;
  color: white;
}

/* Spin animation for loading */
.sz-spin {
  animation: sz-spin 1s linear infinite;
}

@keyframes sz-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Header - Centered icon, title, summary */
.sz-stitch-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sz-stitch-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sz-stitch-icon .material-symbols-outlined {
  font-size: 36px;
}

/* Icon background colors by level */
.sz-icon-bg-safe {
  background: rgba(16, 185, 129, 0.15);
}
.sz-icon-bg-safe .material-symbols-outlined {
  color: #10b981;
}

.sz-icon-bg-warning {
  background: rgba(251, 191, 36, 0.2);
}
.sz-icon-bg-warning .material-symbols-outlined {
  color: #f59e0b;
}

.sz-icon-bg-danger {
  background: rgba(239, 68, 68, 0.15);
}
.sz-icon-bg-danger .material-symbols-outlined {
  color: #ef4444;
}

.sz-icon-bg-uncertain {
  background: rgba(107, 114, 128, 0.15);
}
.sz-icon-bg-uncertain .material-symbols-outlined {
  color: #6b7280;
}

.sz-stitch-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.sz-stitch-summary {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  max-width: 800px;
}

/* Grid wrapper */
.sz-stitch-grid-wrapper {
  padding: 0 24px 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .sz-stitch-grid-wrapper {
    padding: 0 40px 32px;
  }
}

/* Card grid - centers items when fewer than 4 */
.sz-stitch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sz-stitch-grid .sz-stitch-card {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 480px) {
  .sz-stitch-grid .sz-stitch-card {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
}

@media (min-width: 768px) {
  .sz-stitch-grid {
    gap: 16px;
  }
  .sz-stitch-grid .sz-stitch-card {
    flex: 0 1 calc(25% - 12px);
    max-width: calc(25% - 12px);
    min-width: 180px;
  }
}

/* Individual card */
.sz-stitch-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sz-stitch-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sz-stitch-card:hover .sz-stitch-card-header .material-symbols-outlined {
  color: #64748b;
}

/* Card header - icon + label */
.sz-stitch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.sz-stitch-card-header .material-symbols-outlined {
  font-size: 18px;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.sz-stitch-card-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

/* Card stat - big number/text */
.sz-stitch-card-stat {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Card subtitle - secondary info below stat */
.sz-stitch-card-subtitle {
  font-size: 12px;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
  margin-bottom: 12px;
}

/* Card description */
.sz-stitch-card-desc {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sz-stitch-card-desc.sz-desc-warning {
  color: #f59e0b;
  font-weight: 500;
}

/* Status badges on cards */
.sz-stitch-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: auto;
}

.sz-badge-safe {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.sz-badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Card with issue */
.sz-stitch-card.has-issue {
  border-color: #fbbf24;
  background: #fffbeb;
}

.sz-stitch-card.has-issue:hover {
  border-color: #f59e0b;
}

.sz-stitch-card.has-issue:hover .sz-stitch-card-header .material-symbols-outlined {
  color: #f59e0b;
}

/* Footer */
.sz-stitch-footer {
  margin-top: auto;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .sz-stitch-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
  }
}

/* Recommendation section */
.sz-stitch-recommendation {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.sz-stitch-rec-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-stitch-rec-icon .material-symbols-outlined {
  font-size: 20px;
  color: #3b82f6;
}

.sz-stitch-rec-text h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.sz-stitch-rec-text p {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.sz-rec-tip {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px !important;
  font-style: italic;
}

/* Action buttons */
.sz-stitch-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.sz-stitch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.sz-stitch-btn .material-symbols-outlined {
  font-size: 18px;
}

.sz-stitch-btn-secondary {
  background: white;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.sz-stitch-btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.sz-stitch-btn-primary {
  background: #3b82f6;
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.sz-stitch-btn-primary:hover {
  background: #2563eb;
}

/* Actionable recommendation styles */
.sz-rec-action {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  text-transform: none;
}

.sz-rec-action.sz-level-low {
  color: #059669;
}

.sz-rec-action.sz-level-some {
  color: #d97706;
}

.sz-rec-action.sz-level-high {
  color: #dc2626;
}

.sz-rec-action.sz-level-uncertain {
  color: #64748b;
}

/* Level-specific recommendation icon colors */
.sz-stitch-rec-icon.sz-level-low {
  background: rgba(16, 185, 129, 0.1);
}

.sz-stitch-rec-icon.sz-level-low .material-symbols-outlined {
  color: #10b981;
}

.sz-stitch-rec-icon.sz-level-some {
  background: rgba(245, 158, 11, 0.1);
}

.sz-stitch-rec-icon.sz-level-some .material-symbols-outlined {
  color: #f59e0b;
}

.sz-stitch-rec-icon.sz-level-high {
  background: rgba(239, 68, 68, 0.1);
}

.sz-stitch-rec-icon.sz-level-high .material-symbols-outlined {
  color: #ef4444;
}

.sz-stitch-rec-icon.sz-level-uncertain {
  background: rgba(148, 163, 184, 0.1);
}

.sz-stitch-rec-icon.sz-level-uncertain .material-symbols-outlined {
  color: #94a3b8;
}

/* Expandable details section */
.sz-stitch-details-toggle {
  padding: 0 24px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .sz-stitch-details-toggle {
    padding: 0 40px;
  }
}

.sz-details-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sz-details-btn:hover {
  background: #e2e8f0;
}

.sz-details-btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.sz-stitch-details-panel {
  padding: 0 24px 24px;
  background: white;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .sz-stitch-details-panel {
    padding: 0 40px 24px;
  }
}

.sz-details-list {
  list-style: none;
  padding: 16px;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.sz-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.sz-details-list li:last-child {
  border-bottom: none;
}

.sz-check-passed .material-symbols-outlined {
  color: #10b981;
  font-size: 18px;
}

.sz-check-failed .material-symbols-outlined {
  color: #f59e0b;
  font-size: 18px;
}

/* Mobile adjustments */
@media (max-width: 479px) {
  .sz-stitch-header {
    padding: 32px 20px 24px;
  }

  .sz-stitch-title {
    font-size: 24px;
  }

  .sz-stitch-summary {
    font-size: 15px;
  }

  .sz-stitch-grid-wrapper {
    padding: 0 16px 20px;
  }

  .sz-stitch-card {
    padding: 16px;
  }

  .sz-stitch-card-stat {
    font-size: 20px;
  }

  .sz-stitch-footer {
    padding: 20px 16px;
  }

  .sz-stitch-actions {
    width: 100%;
  }

  .sz-stitch-btn {
    flex: 1;
  }
}

/* =====================================================
   SCAM BRIEFING SECTION - Hero Banner
   ===================================================== */

.scam-briefing-section {
  background: color-mix(in srgb, var(--brand-primary) 5%, white);
  padding: 0;
  margin-bottom: 0;
}

.dark .scam-briefing-section {
  background: color-mix(in srgb, var(--brand-primary) 10%, #0f172a);
}

.scam-briefing-hero {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .scam-briefing-hero {
    flex-direction: row;
    min-height: 450px;
  }
}

.scam-briefing-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 24px;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .scam-briefing-hero-content {
    padding: 64px;
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .scam-briefing-hero-content {
    padding: 80px 96px;
  }
}

.scam-briefing-hero-image {
  position: relative;
  min-height: 300px;
  flex: 1;
}

.scam-briefing-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scam-briefing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 16px;
}

.dark .scam-briefing-badge {
  background: rgba(220, 38, 38, 0.2);
}

.scam-briefing-hero-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  margin: 0 0 8px 0;
}

.scam-briefing-hero-headline {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

@media (min-width: 768px) {
  .scam-briefing-hero-headline {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .scam-briefing-hero-headline {
    font-size: 48px;
  }
}

.dark .scam-briefing-hero-headline {
  color: #f1f5f9;
}

.scam-briefing-hero-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.dark .scam-briefing-hero-text {
  color: #94a3b8;
}

.scam-briefing-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.scam-briefing-hero-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* =====================================================
   PREVENTION CHECKLISTS SECTION (Stitch-style)
   ===================================================== */

.prevention-checklists-section {
  padding: 96px 0;
  background: transparent;
  margin-bottom: 0;
}

.dark .prevention-checklists-section {
  background: transparent;
}

.prevention-checklists-header {
  text-align: center;
  margin-bottom: 64px;
}

.prevention-checklists-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.prevention-checklists-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 640px;
}

.prevention-checklists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .prevention-checklists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .prevention-checklists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checklist-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checklist-tile:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 30%, transparent);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark .checklist-tile {
  background: #1e293b;
  border-color: #334155;
}

.dark .checklist-tile:hover {
  border-color: color-mix(in srgb, var(--brand-primary) 50%, transparent);
}

.checklist-tile-icon {
  width: 64px;
  height: 64px;
  background: color-mix(in srgb, var(--brand-primary) 5%, white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.checklist-tile:hover .checklist-tile-icon {
  transform: scale(1.1);
}

.dark .checklist-tile-icon {
  background: color-mix(in srgb, var(--brand-primary) 15%, #1e293b);
}

.checklist-tile-icon .material-symbols-outlined {
  font-size: 28px;
}

.checklist-tile-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* =====================================================
   FAQ SECTION (Stitch-style - border-bottom accordion)
   ===================================================== */

.faq-section {
  padding: 48px 0 96px;
  margin-bottom: 0;
  background: color-mix(in srgb, var(--brand) 4%, white);
}

.dark .faq-section {
  background: transparent;
}

.faq-section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 48px 0;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.dark .faq-item {
  border-color: #334155;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--brand-primary);
}

.faq-question:hover .faq-icon {
  color: var(--brand-primary);
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  font-size: 24px;
  color: var(--text-secondary);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p {
  padding: 0 0 16px 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

/* Dark mode */
.dark .faq-question {
  color: #f1f5f9;
}

.dark .faq-question:hover {
  color: var(--brand-primary);
}

.dark .faq-icon {
  color: #94a3b8;
}

.dark .faq-answer-inner p {
  color: #94a3b8;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .prevention-checklists-section,
  .faq-section {
    padding: 64px 0;
  }

  .prevention-checklists-title,
  .faq-section-title {
    font-size: 24px;
  }

  .faq-question {
    padding: 12px 0;
    font-size: 16px;
  }

  .faq-answer-inner p {
    font-size: 15px;
  }

  .faq-icon {
    font-size: 22px;
  }
}

/* ==========================================
   ASSESSMENT & CHAT STYLES (restored from backup lines 5815-7509)
   ========================================== */
.sc-results-container .sz-assessment-container {
  flex: 1;
  min-height: 100%;
}

.sc-check-another-btn {
  width: auto;
  max-width: 400px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #5CA7E8 100%);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  transition: var(--transition-smooth);
}

.sc-check-another-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(48, 137, 217, 0.35);
}

/* Assessment Container */
.sz-assessment-container {
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0A0E27 0%, #1A1E37 100%);
  color: #f8fafc;
}

.sz-assessment-risk-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  position: relative;
  z-index: 2;
  color: white;
  flex-shrink: 0;
  gap: 12px;
}

.sz-assessment-risk-header .sz-risk-icon {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sz-assessment-risk-header .sz-risk-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.sz-assessment-risk-header .sz-risk-title span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sz-assessment-details {
  padding: 16px 24px 60px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sz-assessment-subject {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.sz-assessment-subject-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.sz-assessment-subject-text {
  font-size: 1rem;
  font-weight: 500;
  color: #f8fafc;
}

.sz-assessment-section {
  margin-bottom: 20px;
}

.sz-assessment-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sz-assessment-section-header .sz-section-icon {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.sz-assessment-section-header .sz-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.sz-assessment-section-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.sz-assessment-findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sz-finding-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.sz-finding-item .sz-finding-item-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
}

.sz-finding-item .sz-finding-item-icon svg {
  width: 16px;
  height: 16px;
}

.sz-finding-item .sz-finding-item-text {
  flex: 1;
}

.modern-timestamp {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.modern-timestamp svg {
  width: 14px;
  height: 14px;
}

/* Stacked layout */
.sz-assessment-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.sz-assessment-media {
  max-height: 350px;
  border-radius: 12px;
  overflow: hidden;
}

.sz-assessment-media .sz-image-carousel {
  max-height: 350px;
}

.sz-assessment-media .sz-image-slide {
  max-height: 350px;
}

.sz-assessment-media .sz-smart-background-container {
  max-height: 350px;
}

.sz-assessment-media .sz-email-preview-iframe {
  max-height: 350px;
}

.sz-assessment-findings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Collapsible sections */
.sz-collapsible-section {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.sz-collapsible-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: #f8fafc;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease;
}

.sz-collapsible-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.sz-collapsible-icon {
  font-size: 1.1rem;
  opacity: 0.7;
}

.sz-collapsible-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
}

.sz-collapsible-count {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.sz-collapsible-chevron {
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.sz-collapsible-section.expanded .sz-collapsible-chevron {
  transform: rotate(180deg);
}

.sz-collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.sz-collapsible-section.expanded .sz-collapsible-content {
  max-height: 500px;
}

/* Compact bullet list */
.sz-compact-list {
  list-style: none;
  margin: 0;
  padding: 0 16px 14px 16px;
}

.sz-compact-item {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sz-compact-item:last-child {
  border-bottom: none;
}

.sz-compact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

/* Two-column layout */
.sz-assessment-two-column {
  display: flex;
  gap: 32px;
  flex: 1;
  align-items: flex-start;
  min-height: 0;
}

.sz-assessment-column-image {
  flex: 0 0 280px;
  max-width: 280px;
  position: sticky;
  top: 20px;
}

.sz-assessment-column-content {
  flex: 1;
  min-width: 0;
}

/* Image Carousel */
.sz-image-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  background: #f8f9fa;
}

.sz-image-carousel-inner {
  display: flex;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: auto;
}

.sz-image-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sz-image-slide .sz-smart-background-container {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.sz-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111827;
  font-size: 24px;
  font-family: serif;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  padding-bottom: 4px;
}

.sz-carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.sz-carousel-btn.prev {
  left: 16px;
}

.sz-carousel-btn.next {
  right: 16px;
}

.sz-carousel-pager {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Smart Background */
.sz-smart-background-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2c2c2c;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 16px;
}

.sz-smart-background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.8);
  transform: scale(1.1);
  z-index: 1;
}

.sz-smart-background-main {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Share Button */
.sz-share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #2470B5;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sz-share-btn svg {
  width: 18px;
  height: 18px;
}

.sz-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sz-share-btn-header {
  display: none;
  background: #f59e0b;
  color: #000;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.sz-share-btn-header:hover {
  background: #fbbf24;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sz-share-btn-mobile {
  display: flex;
}

@media (min-width: 769px) {
  .sz-share-btn-header {
    display: flex;
  }
  .sz-share-btn-mobile {
    display: none;
  }
}

.sz-share-btn.success {
  background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
}

.sz-share-btn.error {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
}

.sz-assessment-footer-bar {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

.sz-share-btn-footer {
  width: auto;
  max-width: 400px;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.sz-share-btn-footer:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}

.sz-share-btn-footer.success {
  background: linear-gradient(135deg, #27AE60 0%, #229954 100%);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
}

.sz-share-btn-footer.error {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
}

/* Email Preview */
.sz-email-preview-collapsible {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sz-email-preview-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sz-email-preview-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sz-email-preview-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.sz-email-preview-collapsible.expanded .sz-email-preview-chevron {
  transform: rotate(90deg);
}

.sz-email-preview-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sz-email-preview-body {
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 400px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sz-email-preview-iframe {
  width: 100%;
  min-height: 400px;
  max-height: 600px;
  border: none;
  background: white;
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sz-screenshot-preview-collapsible {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sz-screenshot-preview-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sz-screenshot-preview-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sz-screenshot-preview-collapsible.expanded .sz-email-preview-chevron {
  transform: rotate(90deg);
}

.sz-screenshot-preview-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sz-screenshot-preview-content .sz-image-carousel {
  margin: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  background: transparent !important;
}

.sz-screenshot-preview-content .sz-image-slide {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  min-height: 400px;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-screenshot-preview-content .sz-smart-background-container {
  background: transparent !important;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sz-screenshot-preview-content .sz-smart-background-blur {
  display: none !important;
}

.sz-screenshot-preview-content .sz-smart-background-main {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 500px !important;
  min-height: 400px !important;
  object-fit: contain;
}

.sz-email-preview-body::-webkit-scrollbar {
  width: 8px;
}

.sz-email-preview-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.sz-email-preview-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* ========================================
   LIGHT THEME ASSESSMENT STYLES
   ======================================== */

/* Light theme container override */
.sz-assessment-container.sz-light-theme {
  background: #f8f9fa;
  color: var(--text-primary);
}

/* Light theme header */
.sz-light-theme .sz-assessment-risk-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.sz-light-theme .sz-assessment-risk-header .sz-risk-icon {
  background: var(--brand-blue-light, #e0f0ff);
  color: var(--brand-blue, #137fec);
}

.sz-light-theme .sz-assessment-risk-header .sz-risk-title {
  color: var(--text-primary);
}

.sz-light-theme .sz-assessment-risk-header .sz-risk-title span {
  color: var(--text-secondary);
}

/* Light theme details */
.sz-light-theme .sz-assessment-details {
  padding: 24px;
  background: #f8f9fa;
}

/* Concern Level Banner - Matching Stitch Design Exactly */
.sz-concern-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* rounded-xl */
  padding: 24px; /* p-6 */
  margin-bottom: 24px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

/* Left accent bar - w-1 = 4px */
.sz-concern-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

/* High concern: red theme */
.sz-concern-banner.concern-high {
  background: linear-gradient(to right, #fef2f2, #ffffff); /* from-red-50 to-white */
  border: 1px solid #fee2e2; /* border-red-100 */
}
.sz-concern-banner.concern-high::before {
  background: #ef4444; /* bg-red-500 */
}

/* Some concern: amber theme */
.sz-concern-banner.concern-some {
  background: linear-gradient(to right, #fffbeb, #ffffff); /* from-amber-50 to-white */
  border: 1px solid #fef3c7; /* border-amber-100 */
}
.sz-concern-banner.concern-some::before {
  background: #f59e0b; /* bg-amber-500 */
}

/* Low concern: green theme */
.sz-concern-banner.concern-low {
  background: linear-gradient(to right, #f0fdf4, #ffffff); /* from-green-50 to-white */
  border: 1px solid #dcfce7; /* border-green-100 */
}
.sz-concern-banner.concern-low::before {
  background: #22c55e; /* bg-green-500 */
}

/* Uncertain: slate theme */
.sz-concern-banner.concern-uncertain {
  background: linear-gradient(to right, #f8fafc, #ffffff); /* from-slate-50 to-white */
  border: 1px solid #f1f5f9; /* border-slate-100 */
}
.sz-concern-banner.concern-uncertain::before {
  background: #64748b; /* bg-slate-500 */
}

/* Banner content layout */
.sz-concern-banner-content {
  display: flex;
  flex-direction: column;
}

.sz-concern-banner-top {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* gap-5 */
}

/* Icon circle - h-10 w-10 = 40px */
.sz-concern-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sz-concern-icon .material-symbols-outlined {
  font-size: 24px;
}

/* Icon colors per level */
.concern-high .sz-concern-icon {
  background: #fee2e2; /* bg-red-100 */
  color: #dc2626; /* text-red-600 */
}
.concern-some .sz-concern-icon {
  background: #fef3c7; /* bg-amber-100 */
  color: #d97706; /* text-amber-600 */
}
.concern-low .sz-concern-icon {
  background: #dcfce7; /* bg-green-100 */
  color: #16a34a; /* text-green-600 */
}
.concern-uncertain .sz-concern-icon {
  background: #f1f5f9; /* bg-slate-100 */
  color: #64748b; /* text-slate-500 */
}

.sz-concern-text {
  flex-grow: 1;
}

/* Concern level badge - text-xs font-bold tracking-wider uppercase */
.sz-concern-level {
  display: inline-block;
  font-size: 12px; /* text-xs */
  font-weight: 700; /* font-bold */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* tracking-wider */
  padding: 2px 8px; /* px-2 py-0.5 */
  border-radius: 6px; /* rounded-md */
  margin-bottom: 8px; /* mb-2 */
}

/* Badge colors per level */
.sz-concern-level.concern-high {
  background: #fef2f2; /* bg-red-50 */
  color: #dc2626; /* text-red-600 */
  border: 1px solid #fecaca; /* border-red-200 */
}
.sz-concern-level.concern-some {
  background: #fffbeb; /* bg-amber-50 */
  color: #d97706; /* text-amber-600 */
  border: 1px solid #fde68a; /* border-amber-200 */
}
.sz-concern-level.concern-low {
  background: #f0fdf4; /* bg-green-50 */
  color: #16a34a; /* text-green-600 */
  border: 1px solid #bbf7d0; /* border-green-200 */
}
.sz-concern-level.concern-uncertain {
  background: #f8fafc; /* bg-slate-50 */
  color: #64748b; /* text-slate-500 */
  border: 1px solid #e2e8f0; /* border-slate-200 */
}

/* Pattern summary as headline - text-lg font-medium */
.sz-pattern-summary {
  font-size: 18px; /* text-lg */
  font-weight: 500; /* font-medium */
  color: #0f172a; /* text-slate-900 */
  line-height: 1.5;
  margin: 0 0 4px 0; /* mb-1 */
}

/* Recommendation box */
.sz-recommendation {
  display: flex;
  align-items: center;
  gap: 12px; /* gap-3 */
  margin-top: 20px; /* mt-5 */
  padding: 12px; /* p-3 */
  background: #ffffff;
  border: 1px solid #f1f5f9; /* border-slate-100 */
  border-radius: 8px; /* rounded-lg */
  font-size: 14px; /* text-sm */
  font-weight: 500; /* font-medium */
  color: #334155; /* text-slate-700 */
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05); /* shadow-inner-soft */
}

.sz-recommendation .material-symbols-outlined {
  font-size: 18px; /* text-lg */
  color: #94a3b8; /* text-slate-400 */
}

/* Key Facts Badges */
.sz-key-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
}

.sz-key-fact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.sz-key-fact-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sz-key-fact-badge.badge-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.sz-key-fact-badge.badge-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fca5a5;
}

.sz-key-fact-badge.badge-info {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}

/* Badges wrapper for Stitch layout - centered like cards */
.sz-stitch-badges-wrapper {
  padding: 0 24px 32px;
  display: flex;
  justify-content: center;
}

.sz-stitch-badges-wrapper .sz-key-facts {
  justify-content: center;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .sz-stitch-badges-wrapper {
    padding: 0 40px 36px;
  }
}

/* Two-column findings grid */
.sz-findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .sz-findings-grid {
    grid-template-columns: 1fr;
  }
}

/* Finding cards - light theme */
.sz-finding-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sz-finding-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sz-finding-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sz-finding-card-icon.icon-observations {
  background: #dbeafe;
  color: #2563eb;
}

.sz-finding-card-icon.icon-actions {
  background: #dcfce7;
  color: #16a34a;
}

.sz-finding-card-icon svg {
  width: 18px;
  height: 18px;
}

.sz-finding-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Light theme findings list */
.sz-light-theme .sz-assessment-findings-list,
.sz-finding-card .sz-findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sz-light-theme .sz-finding-item,
.sz-finding-card .sz-finding-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.sz-light-theme .sz-finding-item .sz-finding-item-icon,
.sz-finding-card .sz-finding-item .sz-finding-item-icon {
  color: var(--text-secondary);
}

/* Light theme collapsible sections */
.sz-light-theme .sz-collapsible-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.sz-light-theme .sz-collapsible-header {
  color: var(--text-primary);
}

.sz-light-theme .sz-collapsible-header:hover {
  background: #f8fafc;
}

.sz-light-theme .sz-collapsible-count {
  background: #e2e8f0;
  color: var(--text-secondary);
}

.sz-light-theme .sz-compact-item {
  color: var(--text-primary);
  border-bottom-color: #e2e8f0;
}

.sz-light-theme .sz-compact-item::before {
  background: var(--text-secondary);
}

/* Disclaimer — unscoped so it works in all layout contexts */
.sz-disclaimer {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 12px 16px 0;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}
.sz-disclaimer p {
  margin: 0;
  color: #64748b;
}

/* Light theme disclaimer */
.sz-light-theme .sz-disclaimer {
  background: #f1f5f9 !important;
  border-radius: 6px;
  padding: 10px 12px;
  margin-top: 12px;
}

.sz-light-theme .sz-disclaimer p {
  color: var(--text-secondary) !important;
}

.sz-light-theme .sz-disclaimer strong {
  color: var(--text-primary) !important;
}

/* Light theme timestamp */
.sz-light-theme .modern-timestamp {
  color: var(--text-secondary);
}

/* Light theme share button */
.sz-light-theme .sz-share-btn {
  background: var(--brand-blue);
}

.sz-light-theme .sz-share-btn-header {
  background: var(--brand-blue);
  color: white;
}

/* Light theme media section */
.sz-light-theme .sz-assessment-media {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.sz-light-theme .sz-smart-background-container {
  background-color: #f1f5f9;
}

/* Light theme email preview */
.sz-light-theme .sz-email-preview-collapsible,
.sz-light-theme .sz-screenshot-preview-collapsible {
  background: #ffffff;
  border-color: var(--border-color);
}

.sz-light-theme .sz-email-preview-header,
.sz-light-theme .sz-screenshot-preview-header {
  color: var(--text-primary);
}

.sz-light-theme .sz-email-preview-header:hover,
.sz-light-theme .sz-screenshot-preview-header:hover {
  background: #f8fafc;
}

.sz-light-theme .sz-email-preview-body {
  background: #f8fafc;
  color: var(--text-primary);
  border-top-color: var(--border-color);
}

/* Chat Interface */
.chat-interface {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.chat-header {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: white;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.chat-avatar {
  font-size: 1.5rem;
}

.chat-body {
  padding: 20px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-message {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.9375rem;
  max-width: 90%;
  line-height: 1.5;
}

.chat-message p {
  margin: 0;
}

.chat-message.bot {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  align-self: flex-start;
  border-top-left-radius: 4px;
  color: #1E293B;
}

.chat-message.user {
  background: #1E40AF;
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message.user p {
  color: #FFFFFF;
}

.chat-checklist {
  padding-left: 18px;
  margin: 10px 0 0 0;
  color: #1E293B;
  font-size: 0.875rem;
}

.chat-checklist li {
  margin-bottom: 4px;
}

.chat-checklist li:last-child {
  margin-bottom: 0;
}

/* Desktop/Mobile visibility */
.sz-desktop-only {
  display: flex;
}

.sz-mobile-only {
  display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .sz-share-btn {
    position: static;
    width: 100%;
    max-width: none;
    margin: 16px 0 0 0;
    padding: 14px 20px;
    justify-content: center;
  }

  .sz-share-btn-header {
    display: none !important;
  }

  .sz-share-btn-mobile {
    display: flex;
  }

  .sz-share-btn-footer {
    width: 100%;
    max-width: none;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .modal-container .sc-container,
  .modal-container .sz-results-modal-content {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 100vw;
  }

  .modal-container .sz-results-modal-content {
    border: 3px solid #1e3a5f;
  }

  .modal-container .sz-results-modal-content .results-container {
    height: 100%;
  }

  .sc-container {
    flex-direction: column;
    height: 100%;
    max-height: 100vh;
  }

  .sc-brand-panel {
    display: none;
  }

  .sc-main-panel {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .sc-main-panel .sc-content {
    padding: calc(80px + env(safe-area-inset-top)) 20px 20px 20px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sc-upload-wrapper {
    min-height: 200px;
  }

  .sc-file-previews {
    grid-template-columns: 1fr;
    min-height: 150px;
  }

  .sc-main-panel .sc-footer {
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    flex-shrink: 0;
  }

  .sc-results-view .sc-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .sc-loading-view .loading-container {
    padding: 80px 10px;
  }

  .sz-assessment-risk-header {
    padding: 12px 16px;
  }

  .sz-assessment-risk-header .sz-risk-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .sz-assessment-risk-header .sz-risk-title {
    font-size: 1rem;
  }

  .sz-assessment-details {
    padding: 12px 16px 100px;
  }

  .sz-desktop-only {
    display: none !important;
  }

  .sz-mobile-only {
    display: block !important;
  }

  .sz-assessment-stacked {
    gap: 16px;
  }

  .sz-assessment-media {
    max-height: 250px;
  }

  .sz-assessment-media .sz-image-carousel,
  .sz-assessment-media .sz-image-slide,
  .sz-assessment-media .sz-smart-background-container {
    max-height: 250px;
  }

  .sz-collapsible-header {
    padding: 12px 14px;
  }

  .sz-collapsible-title {
    font-size: 0.9rem;
  }

  .sz-compact-list {
    padding: 0 14px 12px 14px;
  }

  .sz-compact-item {
    font-size: 0.8125rem;
    padding: 5px 0 5px 14px;
  }

  .sz-assessment-two-column {
    flex-direction: column;
    gap: 16px;
  }

  .sz-assessment-column-image {
    position: relative;
    top: 0;
    order: -1;
    width: 100%;
    max-width: 120px;
    margin: 0 auto 16px;
    flex-shrink: 0;
  }

  .sz-assessment-column-content {
    order: 1;
  }

  .sz-image-slide {
    width: 120px;
    height: 160px;
    max-width: 120px;
    max-height: 160px;
    margin: 0 auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sz-image-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .sz-assessment-subject {
    padding: 20px;
    margin-bottom: 24px;
  }

  .sz-assessment-subject-text {
    font-size: 1.125rem;
  }

  .sz-assessment-section-header .sz-section-title {
    font-size: 1.5rem;
  }

  .sz-assessment-section-content p {
    font-size: 1rem;
  }

  .sz-finding-item {
    padding: 14px;
    font-size: 0.875rem;
  }

  .modern-timestamp {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    justify-content: center;
  }

  .modal-container,
  .modal-container .iframe-container {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 100vw;
  }

  .modal-container .close-button {
    border-radius: 50%;
  }
}

@media (min-width: 769px) {
  .sz-mobile-only {
    display: none !important;
  }

  .sz-desktop-only {
    display: flex !important;
  }
}

/* ============================================
   Legal Modals (Terms & Privacy)
   ============================================ */
.legal-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.legal-modal-overlay.active {
  display: flex;
}

.legal-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dark .legal-modal {
  background: #1e293b;
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.dark .legal-modal-header {
  border-bottom-color: #334155;
}

.legal-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.dark .legal-modal-header h2 {
  color: #f1f5f9;
}

.legal-modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.legal-modal-close:hover {
  color: #1e293b;
}

.dark .legal-modal-close:hover {
  color: #f1f5f9;
}

.legal-modal-content {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}

.dark .legal-modal-content {
  color: #cbd5e1;
}

.legal-modal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.25rem 0 0.5rem 0;
}

.dark .legal-modal-content h3 {
  color: #f1f5f9;
}

.legal-modal-content h3:first-of-type {
  margin-top: 0.75rem;
}

.legal-modal-content p {
  margin: 0 0 0.75rem 0;
}

.legal-modal-content ul {
  margin: 0 0 0.75rem 0;
  padding-left: 1.25rem;
}

.legal-modal-content li {
  margin-bottom: 0.25rem;
}

.legal-modal-content a {
  color: var(--brand-primary, #2563eb);
  text-decoration: none;
}

.legal-modal-content a:hover {
  text-decoration: underline;
}

.legal-effective-date {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 1rem !important;
}

.dark .legal-effective-date {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .legal-modal {
    max-height: 90vh;
    border-radius: 12px;
  }

  .legal-modal-header {
    padding: 1rem;
  }

  .legal-modal-content {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   STITCH SPLIT LAYOUT DESIGN - Assessment Results

/* ==========================================
   SCREENSHOT CONTEXT INPUT (restored from backup)
   ========================================== */
.sc-context-section {
  margin-top: 12px;
}

.sc-context-section label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  display: block;
}

#sc-context-input {
  width: 100%;
  min-height: 110px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  resize: vertical;
  font-family: inherit;
  background: white;
  color: #0f172a;
}

#sc-context-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#sc-context-input::placeholder {
  color: #94a3b8;
}

/* ============================================
   INLINE EDUCATIONAL SECTIONS
   Red Flags and Tech Tips displayed inline
   ============================================ */

/* Shared section header styles */
.inline-section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.inline-section-header .section-pill {
  display: inline-block;
  margin-bottom: var(--space-3);
}

.section-pill--red {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
}

.section-pill--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
}

.section-pill--green {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #16a34a;
}

.inline-section-header .section-title {
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Scam Deep Dives Block */
.scam-deep-dives-block {
  position: relative;
  padding: 8rem 0;
}

.scam-deep-dives-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Scam Series Header - centered */
.learn-section .scam-series-header {
  text-align: center;
  max-width: none;
  margin: 0 auto 2rem;
}

.scam-series-header .section-subtitle {
  max-width: none;
  margin: 0.5rem auto 0;
}

/* Scam Series 4-Tile Grid (edge-to-edge) */
.scam-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  margin-left: calc(-2rem);
  margin-right: calc(-2rem);
  padding: 0 0.5rem;
}

.scam-series-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scam-series-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.scam-series-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.scam-series-tile:hover .scam-series-tile-img {
  transform: scale(1.1);
}

.scam-series-tile-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5rem;
  transition: transform 0.7s ease;
}

.scam-series-tile-svg svg {
  width: 70%;
  height: auto;
  max-width: 190px;
}

.scam-series-tile:hover .scam-series-tile-svg {
  transform: scale(1.05);
}

.scam-series-tile-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 20%, transparent 38%);
}

.scam-series-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.scam-series-tile-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scam-series-tile-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: white;
}

.scam-series-tile-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .scam-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: horizontal scroll carousel */
@media (max-width: 640px) {
  .scam-series-grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .scam-series-grid::-webkit-scrollbar {
    display: none;
  }

  .scam-series-tile {
    flex: 0 0 calc(100% - 2.5rem);
    margin: 0 0.75rem;
    scroll-snap-align: center;
    aspect-ratio: 3 / 4;
    border-radius: 1.25rem;
  }

  .scam-series-tile:first-child {
    margin-left: 1.25rem;
  }

  .scam-series-tile:last-child {
    margin-right: 1.25rem;
  }

  .scam-series-tile:hover {
    transform: none;
    box-shadow: none;
  }

  .scam-deep-dives-inner {
    overflow: hidden;
  }

  .scam-series-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
  }

  .scam-series-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand) 25%, white);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .scam-series-dot.active {
    background: var(--brand);
    transform: scale(1.25);
  }
}

@media (min-width: 641px) {
  .scam-series-dots {
    display: none;
  }
}

/* ============================================
   RED FLAGS BLOCK (inside learn-section)
   ============================================ */
.red-flags-block {
  position: relative;
  padding: 8rem 0;
}

.red-flags-block .inline-section-header {
  text-align: center;
  max-width: none;
}

.red-flags-block .section-subtitle {
  text-align: center;
  max-width: none;
}

/* Inline tab navigation */
.red-flags-tabs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.red-flags-tab-inline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.red-flags-tab-inline:hover {
  background: var(--bg-subtle);
  border-color: var(--border-medium);
}

.red-flags-tab-inline.active {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #fff;
}

/* Inline panels */
.red-flags-panel-inline {
  display: none;
}

.red-flags-panel-inline.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inline tiles grid */
.red-flags-tiles-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  margin-left: calc(-2rem);
  margin-right: calc(-2rem);
  padding: 0 0.5rem;
}

.red-flag-tile-inline {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.red-flag-tile-inline:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

.red-flag-illustration-inline {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.red-flag-illustration-inline svg {
  width: 100%;
  height: 100%;
}

.red-flag-content-inline {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.red-flag-tip-inline {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-body);
  margin: 0;
}

.red-flag-tip-inline strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: var(--space-1);
}

/* Red flags dots — hidden on desktop */
.red-flags-dots {
  display: none;
}

/* Red flags responsive */
@media (max-width: 900px) {
  .red-flags-tabs-inline {
    gap: var(--space-2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .red-flags-tabs-inline::-webkit-scrollbar {
    display: none;
  }

  .red-flags-tab-inline {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .red-flags-tiles-inline {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 0.25rem;
  }
}

/* ============================================
   TECH TIPS BLOCK (inside learn-section)
   ============================================ */
.tech-tips-block {
  padding: 8rem 0;
}

/* Tech Tips Interactive Layout */
.tech-tips-interactive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: none;
  margin: 0 auto;
  align-items: center;
}

.tech-tips-phone-display {
  display: flex;
  justify-content: center;
  position: relative;
}

.tech-tips-phone-circle {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

.tech-tips-phone-wrapper {
  position: relative;
  width: 280px;
  z-index: 1;
}

.tech-tip-phone-screen {
  width: 100%;
}

.tech-tip-phone-screen svg {
  width: 100%;
  height: auto;
}

/* Tips List */
.tech-tips-list {
  padding: 2rem 0;
}

.tech-tips-list .section-title {
  text-align: left;
  margin-bottom: 0.5rem;
}

.tech-tips-list .section-subtitle {
  text-align: left;
  max-width: none;
  margin: 0 0 2rem;
}

/* Individual Tip Item */
.tech-tip-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  margin-bottom: 0.75rem;
}

.tech-tip-item:hover {
  background: rgba(0,0,0,0.02);
}

/* Tech tip icon base */
.tech-tip-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
}

.tech-tip-item-icon .material-symbols-outlined {
  font-size: 24px;
  transition: color 0.2s ease;
}

/* Email - Blue */
.tech-tip-item--email .tech-tip-item-icon {
  background: rgba(59, 130, 246, 0.1);
}
.tech-tip-item--email .tech-tip-item-icon .material-symbols-outlined {
  color: #3b82f6;
}
.tech-tip-item--email .tech-tip-item-badge {
  color: #3b82f6;
}
.tech-tip-item--email.tech-tip-item--active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}
.tech-tip-item--email.tech-tip-item--active .tech-tip-item-icon {
  background: #3b82f6;
}
.tech-tip-item--email.tech-tip-item--active .tech-tip-item-icon .material-symbols-outlined {
  color: white;
}

/* Calls - Purple */
.tech-tip-item--call .tech-tip-item-icon {
  background: rgba(139, 92, 246, 0.1);
}
.tech-tip-item--call .tech-tip-item-icon .material-symbols-outlined {
  color: #8b5cf6;
}
.tech-tip-item--call .tech-tip-item-badge {
  color: #8b5cf6;
}
.tech-tip-item--call.tech-tip-item--active {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}
.tech-tip-item--call.tech-tip-item--active .tech-tip-item-icon {
  background: #8b5cf6;
}
.tech-tip-item--call.tech-tip-item--active .tech-tip-item-icon .material-symbols-outlined {
  color: white;
}

/* Texts - Green */
.tech-tip-item--text .tech-tip-item-icon {
  background: rgba(16, 185, 129, 0.1);
}
.tech-tip-item--text .tech-tip-item-icon .material-symbols-outlined {
  color: #10b981;
}
.tech-tip-item--text .tech-tip-item-badge {
  color: #10b981;
}
.tech-tip-item--text.tech-tip-item--active {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.tech-tip-item--text.tech-tip-item--active .tech-tip-item-icon {
  background: #10b981;
}
.tech-tip-item--text.tech-tip-item--active .tech-tip-item-icon .material-symbols-outlined {
  color: white;
}

.tech-tip-item-content {
  flex: 1;
}

.tech-tip-item-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.tech-tip-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.375rem;
}

.tech-tip-item-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Tech Tips Mobile */
@media (max-width: 768px) {
  .tech-tips-interactive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tech-tips-phone-display {
    order: -1;
  }

  .tech-tips-phone-wrapper {
    width: 220px;
  }
}

/* Tech Tips Mobile Carousel */
.tech-tips-carousel-block {
  display: none;
}

@media (max-width: 640px) {
  .tech-tips-block {
    display: none;
  }

  .tech-tips-carousel-block {
    display: block;
    padding: 4rem 0 2rem;
    overflow: hidden;
  }

  .tech-tips-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tech-tips-carousel::-webkit-scrollbar {
    display: none;
  }

  .tech-tip-card {
    flex: 0 0 calc(100% - 2.5rem);
    margin: 0 0.75rem;
    scroll-snap-align: center;
    background: white;
    border-radius: 1.5rem;
    box-shadow: none;
    border: 1.5px solid rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .tech-tip-card:first-child { margin-left: 1.25rem; }
  .tech-tip-card:last-child { margin-right: 1.25rem; }

  .tech-tip-card-phone {
    background: var(--page-bg, #f0f9f4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 1rem;
  }

  .tech-tip-card-phone svg {
    width: 140px;
    height: auto;
  }

  .tech-tip-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .tech-tip-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tech-tip-card-icon .material-symbols-outlined {
    font-size: 24px;
  }

  .tech-tip-card-badge {
    display: inline-block;
    color: white;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.875rem;
    border-radius: 9999px;
  }

  .tech-tip-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
  }

  .tech-tip-card-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
  }

  .tech-tip-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
  }
}

/* ============================================
   DID YOU KNOW SECTION (after hero)
   ============================================ */
.did-you-know-section {
  padding: 1rem 0;
}

.did-you-know-section .safety-plan-block {
  padding: 8rem 0;
}

/* ============================================
   SAFETY PLAN BLOCK (inside learn-section)
   ============================================ */
.safety-plan-block {
  padding: 8rem 0 2rem;
}

.safety-plan-block .inline-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Safety Plan Card - Two column layout */
.safety-plan-card-wrapper {
  margin-left: calc(-2rem);
  margin-right: calc(-2rem);
  padding: 0 0.5rem;
  position: relative;
}

/* Rotated accent container behind card (for Safety Plan) */
.safety-plan-card-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%) rotate(-2deg);
  width: calc(100% + 40px);
  height: calc(100% + 20px);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand) 25%, white) 0%,
    color-mix(in srgb, var(--brand) 40%, white) 100%
  );
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Did You Know section - full-width card, no accent shape */
.did-you-know-section .safety-plan-card-wrapper::before {
  display: none;
}

.did-you-know-section .safety-plan-card {
  border-radius: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  padding-left: max(3rem, calc((100vw - 1100px) / 2));
  padding-right: max(3rem, calc((100vw - 1100px) / 2));
}

.safety-plan-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: color-mix(in srgb, var(--brand) 80%, black);
  border-radius: 2rem;
  overflow: hidden;
  padding: 3rem 5rem;
  gap: 3rem;
  position: relative;
}

/* Decorative blur circle */
.safety-plan-blur-circle {
  position: absolute;
  top: -12rem;
  right: -12rem;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}

/* Quiz Preview Panel (right) */
.safety-plan-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.safety-plan-preview-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-plan-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 0.25rem;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.safety-plan-step:last-child {
  margin-bottom: 0;
}

.safety-plan-step--active {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

.safety-plan-step-number {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.safety-plan-step--active .safety-plan-step-number {
  border-color: white;
}

.safety-plan-step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

/* Content side */
.safety-plan-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.safety-plan-card-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.safety-plan-card-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 48rem;
}

.safety-plan-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  background: white;
  color: #2563eb;
  border: none;
  border-radius: 100px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.safety-plan-card-btn:hover {
  transform: scale(1.05);
}

/* Safety Plan responsive */
@media (max-width: 1024px) {
  .safety-plan-preview {
    display: none;
  }

  .safety-plan-card {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .safety-plan-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .safety-plan-card-content {
    text-align: center;
  }

  .safety-plan-card-title {
    font-size: 1.75rem;
  }

  .safety-plan-card-desc {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .safety-plan-block {
    padding: 4rem 0 2rem;
  }

  .safety-plan-card-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .safety-plan-card-wrapper::before {
    display: none;
  }

  .safety-plan-card {
    border-radius: 0;
    padding: 2.5rem 1.5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
  }
}

/* ============================================
   MOBILE SECTION SPACING (uniform 3rem)
   ============================================ */
@media (max-width: 640px) {
  /* Every top-level section/block gets identical vertical rhythm */
  .daily-briefings-section {
    padding: 3rem 0;
  }

  .did-you-know-section {
    padding: 0;
  }

  /* Override high-specificity rule for did-you-know safety plan block */
  .did-you-know-section .safety-plan-block {
    padding: 3rem 0;
  }

  .learn-section {
    padding: 0 1rem;
  }

  .scam-deep-dives-block {
    padding: 3rem 0;
  }

  .red-flags-block {
    padding: 3rem 0;
  }

  .tech-tips-block {
    padding: 3rem 0;
  }

  .tech-tips-carousel-block {
    padding: 3rem 0;
  }

  .safety-plan-block {
    padding: 3rem 0;
  }

  .share-section {
    padding: 3rem 1.5rem;
  }

  /* Red flags carousel */
  .red-flags-tiles-inline {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .red-flags-tiles-inline::-webkit-scrollbar {
    display: none;
  }
  .red-flag-tile-inline {
    flex: 0 0 calc(100% - 2.5rem);
    margin: 0 0.75rem;
    scroll-snap-align: center;
  }
  .red-flag-tile-inline:first-child {
    margin-left: 1.25rem;
  }
  .red-flag-tile-inline:last-child {
    margin-right: 1.25rem;
  }
  .red-flag-tile-inline:hover {
    transform: none;
    box-shadow: none;
  }
  .red-flags-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.25rem;
  }
}
