/**
 * Homepage (Index) Page Specific Styles
 */

/* Page background — single cream tone for all sections below the hero */
body {
  background: var(--warm-cream);
}

/* ===== QUOTES SECTION (Did You Know style) ===== */
.quotes-card-wrapper {
  position: relative;
  padding: 0 0.5rem;
}

/* Rotated accent container behind card */
.quotes-card-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%) rotate(-2deg);
  width: calc(100% + 80px);
  height: calc(100% + 40px);
  background: linear-gradient(135deg, #bfdbfe 0%, #c7d2fe 100%);
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.quotes-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  border-radius: 2rem;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.quotes-blur-circle {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
}

.quotes-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.quotes-card-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  font-weight: 500;
}

.cycling-quote {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .quotes-card {
    padding: 3.5rem 2.25rem;
    border-radius: 1.5rem;
    min-height: 280px;
  }

  .quotes-card-wrapper {
    margin: 0 -0.5rem;
  }

  .quotes-card-wrapper::before {
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 36px);
    border-radius: 1.75rem;
  }

  .cycling-quote {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .scam-tracking-section {
    padding-top: 72px;
  }
}



.quotes-section {
  padding: 160px 0 100px;
  position: relative;
  z-index: 2;
}

.quotes-card-wrapper {
  margin-top: 0;
}

.scam-tracking-section {
  padding-top: 128px;
}

/* Consistent horizontal padding for all sections on small mobile */
@media (max-width: 640px) {
  .section,
  .scam-tabs-section,
  .pillars-section-new,
  .hero-product-showcase {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quotes-section {
    display: none;
  }
}

/* B2B Announcement Bar */
.announcement-bar {
  background: var(--color-navy-soft);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #fff;
}

.announcement-bar a {
  color: #93c5fd;
  font-weight: 600;
  margin-left: 8px;
  text-decoration: none;
}

.announcement-bar a:hover {
  text-decoration: underline;
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(90deg, var(--color-indigo-600) 0%, var(--color-blue-600) 100%);
  padding: 10px 16px;
  text-align: center;
}
.announcement-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.announcement-banner a:hover {
  opacity: 0.9;
}
.announcement-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.announcement-banner svg {
  flex-shrink: 0;
}

/* ===== MODERN SAAS DESIGN SYSTEM ===== */

/* Homepage-specific variables */
:root {
  --color-accent-dark: #D97706;
  --color-surface: #F8FAFC;
  --color-surface-dark: #F1F5F9;

  /* Premium Shadows - Blue tinted for SaaS feel */
  --shadow-saas: 0 20px 50px -12px rgba(37, 99, 235, 0.15);
  --shadow-saas-lg: 0 30px 60px -12px rgba(37, 99, 235, 0.2);
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
}

/* Section title classes now in common.css for cross-page consistency */


/* ===== STATS MASONRY GRID (Spirence-style) ===== */
.stats-masonry-section {
  padding: 80px 24px 100px;
  /* Background controlled by utility classes */
}

.stats-masonry-section .section-header {
  margin-bottom: 48px;
}

.stats-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-card {
  padding: 32px 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}

.stats-card-blue {
  background: var(--color-stat-blue);
}

.stats-card-purple {
  background: var(--color-stat-purple);
}

.stats-card-coral {
  background: var(--color-stat-coral);
}

.stats-card-sage {
  background: var(--color-stat-sage);
}

.stats-number {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats-card-blue .stats-number {
  color: var(--color-stat-blue-text);
}

.stats-card-purple .stats-number {
  color: var(--color-stat-purple-text);
}

.stats-card-coral .stats-number {
  color: var(--color-stat-coral-text);
}

.stats-card-sage .stats-number {
  color: var(--color-stat-sage-text);
}

.stats-label {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.stats-photo {
  border-radius: 20px;
  overflow: hidden;
  min-height: 180px;
}

.stats-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================ */
/* Did You Know Stats Section */
/* ============================================ */

.did-you-know-section {
  /* Vertical padding from shared rule above */
  padding-left: 24px;
  padding-right: 24px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
  border-top: 1px solid rgba(37, 112, 184, 0.1);
  border-bottom: 1px solid rgba(37, 112, 184, 0.1);
}

.dyk-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 48px auto 40px;
}

.dyk-stat-card {
  background: white;
  padding: 36px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.dyk-stat-card.animated {
  opacity: 1;
  transform: translateY(0);
  animation: dykFadeIn 0.6s ease forwards;
}

.dyk-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dyk-stat-number {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: #2570b8;
  margin-bottom: 4px;
}

.dyk-stat-label {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

.dyk-stat-source {
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.dyk-transition-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 24px;
}

@keyframes dykFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 968px) {
  .dyk-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px auto 24px;
  }

  .dyk-stat-number {
    font-size: 2.5rem;
  }
  /* Vertical padding from shared 768px rule; horizontal padding preserved from main rule */
}

@media (max-width: 640px) {
  .dyk-stat-card {
    padding: 28px 24px;
  }

  .dyk-stat-number {
    font-size: 2rem;
  }
}

/* ===== SCAM NEWS GRID ===== */
.scam-news-section {
  padding: 20px 24px 100px;
  /* Background controlled by utility classes */
}

.news-section-label {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gray-500);
  margin-bottom: 24px;
}

.scam-news-section .section-header {
  margin-bottom: 48px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  transition: background 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.25);
}

.news-card:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.news-source {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.95);
  color: #333;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

.news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
}

.news-headline {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

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

@media (max-width: 640px) {
  .scam-news-section {
    padding: 60px 16px 80px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-card {
    aspect-ratio: 16/9;
  }

  .news-headline {
    font-size: 0.9375rem;
  }
}

/* Stats Grid Responsive */
@media (max-width: 1024px) {
  .stats-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-masonry-section {
    padding: 60px 16px 80px;
  }

  .stats-masonry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-card {
    min-height: 140px;
    padding: 24px 20px;
  }

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

  .stats-photo {
    min-height: 200px;
  }
}

/* Product showcase */
.product-showcase-section {
  padding: 100px 24px;
  background: transparent;
}

.gradient-wave-bg {
  position: relative;
}

.gradient-wave-reverse {
  position: relative;
  /* Reverse of gradient-wave-bg: white to the same blue tint as hero top */
  /* Uses solid colors to match rgba(48, 137, 217, 0.12) = #E6F1FA on white */
  background: linear-gradient(180deg,
    #ffffff 0%,
    #FBFDFE 10%,
    #F2F8FD 30%,
    #EAF3FB 60%,
    #E6F1FA 100%
  );
}

/* Constrain centered section headers for better readability */
.section-header.text-center .section-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Section header underline accent removed */

.product-showcase-section .container {
  max-width: 1400px;
}

/* Product showcase shape styles moved to common.css */

/* Who we serve section - background controlled by utility classes */

/* Threat carousel (legacy - keeping for reference) */
.threat-carousel-section {
}

/* Scam tabs styles moved to common.css */

/* Implementation steps - styles moved to common.css for sitewide use */

/* ===== FEATURES TABS SECTION (Sardine-style horizontal tabs) ===== */
.features-tabs-section {
  padding: 100px 24px;
}

.features-tabs-section .container {
  max-width: 1200px;
}

.features-tabs-section .section-header {
  margin-bottom: 48px;
}

/* Horizontal Tab Navigation */
.features-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.features-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.features-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.features-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.features-tab svg {
  flex-shrink: 0;
}

/* Content Panel */
.features-panel {
  padding: 60px;
}

.features-panel-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.features-panel-content.active {
  display: grid;
}

/* Mockup side */
.features-panel-mockup {
  display: flex;
  justify-content: center;
}

.features-panel-mockup .check-mockup,
.features-panel-mockup .alert-mockup,
.features-panel-mockup .chat-mockup {
  max-width: 400px;
  transform: scale(0.9);
  transform-origin: center;
}

/* Text side */
.features-panel-text {
  padding: 20px 0;
}

.features-panel-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.features-panel-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 32px;
}

.features-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features-panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
}

.features-panel-list svg {
  flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .features-tabs-nav {
    gap: 8px;
  }

  .features-tab {
    padding: 12px 20px;
    font-size: 0.875rem;
  }

  .features-tab span {
    display: none;
  }

  .features-panel {
    padding: 32px 24px;
  }

  .features-panel-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-panel-mockup {
    order: 1;
  }

  .features-panel-text {
    order: 2;
    text-align: center;
  }

  .features-panel-list {
    align-items: center;
  }
}

/* ===== PILLARS SECTION - Backup Design ===== */


/* ===== THREE OUTCOMES SECTION ===== */
.outcomes-section {
  padding: 80px 24px 152px;
}

.outcomes-section .section-header {
  text-align: center;
  margin-bottom: 56px;
}

#try-demo .cta-editorial {
  background: #2563eb;
  padding: 36px 48px 32px;
}

#try-demo .cta-centered {
  border: none;
  border-radius: 20px;
  padding: 40px 48px;
}

#try-demo .cta-centered-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-centered-sub {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 700px;
}

#try-demo .cta-accent-in-action {
  color: #ffffff;
}

#try-demo .btn-trial-cta {
  background: #4d96f4;
  color: #ffffff;
  margin-top: 16px;
  white-space: nowrap;
}

.mobile-break { display: none; }

@media (max-width: 768px) {
  #try-demo .cta-editorial {
    padding: 24px 16px 40px;
  }
  #try-demo .cta-centered {
    padding: 48px 32px;
  }
  .mobile-break { display: block; }
}

#try-demo .cta-centered-note {
  color: #64748b;
}


.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
}

/* Bento placement */
.outcomes-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.outcomes-card:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
.outcomes-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.outcomes-card:nth-child(4) { grid-column: 3; grid-row: 2; }
.outcomes-card:nth-child(5) { grid-column: 1 / 4; grid-row: 3; }

.outcomes-card {
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.outcomes-card::before { content: none; }

.outcomes-card-purple { background: #f3f0ff; }
.outcomes-card-pink   { background: #fdf2f8; }
.outcomes-card-yellow { background: #fffbeb; }
.outcomes-card-green  { background: #f0fdf4; }
.outcomes-card-blue   { background: #eff6ff; }

.outcomes-label {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.outcomes-icon { display: none; }

.outcomes-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Card 1: illustration centered in middle via flex */
.outcomes-card:nth-child(1) .outcomes-title { order: 1; }
.outcomes-card:nth-child(1) .outcomes-illustration {
  order: 2;
  flex: 1;
  min-height: 200px;
}
.outcomes-card:nth-child(1) .outcomes-illustration svg { max-width: 260px; }
.outcomes-card:nth-child(1) .outcomes-body { order: 3; }

/* Card 2: illustration bleeds from TOP-RIGHT corner */
.outcomes-card:nth-child(2) .outcomes-illustration {
  position: absolute;
  top: -10px; right: -10px;
  width: 42%; height: calc(100% + 10px);
}
.outcomes-card:nth-child(2) .outcomes-illustration svg { width: 100%; height: 100%; max-width: none; }
.outcomes-card:nth-child(2) .outcomes-label,
.outcomes-card:nth-child(2) .outcomes-title,
.outcomes-card:nth-child(2) .outcomes-body { max-width: 56%; position: relative; z-index: 1; }

/* Card 3: illustration in BOTTOM-RIGHT corner */
.outcomes-card:nth-child(3) .outcomes-illustration {
  position: absolute;
  bottom: -10px; right: 40px;
  width: 52%; height: 50%;
}
.outcomes-card:nth-child(3) .outcomes-illustration svg { width: 100%; height: 100%; max-width: none; }
.outcomes-card:nth-child(3) .outcomes-label,
.outcomes-card:nth-child(3) .outcomes-title,
.outcomes-card:nth-child(3) .outcomes-body { position: relative; z-index: 1; }

/* Card 4: illustration fills TOP edge-to-edge */
.outcomes-card:nth-child(4) { padding-top: 155px; }
.outcomes-card:nth-child(4) .outcomes-illustration {
  position: absolute;
  top: 0; left: 0; right: 0; height: 130px;
}
.outcomes-card:nth-child(4) .outcomes-illustration svg { width: 100%; height: 100%; max-width: none; }
.outcomes-card:nth-child(4) .outcomes-label,
.outcomes-card:nth-child(4) .outcomes-title,
.outcomes-card:nth-child(4) .outcomes-body { position: relative; z-index: 1; }

/* Card 5: illustration fills full RIGHT side */
.outcomes-card:nth-child(5) .outcomes-illustration {
  position: absolute;
  right: 0; top: 0; bottom: 0; width: 42%;
}
.outcomes-card:nth-child(5) .outcomes-illustration svg { width: 100%; height: 100%; max-width: none; }
.outcomes-card:nth-child(5) .outcomes-label,
.outcomes-card:nth-child(5) .outcomes-title,
.outcomes-card:nth-child(5) .outcomes-body { max-width: 56%; position: relative; z-index: 1; }

.outcomes-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.outcomes-body {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .outcomes-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .outcomes-card:nth-child(2) { grid-column: 1 / 3; grid-row: auto; }
  .outcomes-card:nth-child(3) { grid-column: 1; grid-row: auto; }
  .outcomes-card:nth-child(4) { grid-column: 2; grid-row: auto; }
  .outcomes-card:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 600px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcomes-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .outcomes-card { padding: 28px; }
  .outcomes-title { font-size: 1.25rem; }
  .outcomes-card-bottom .outcomes-title,
  .outcomes-card-bottom .outcomes-body,
  .outcomes-card-bottom .outcomes-label { max-width: 100%; }
  .outcomes-card-bottom .outcomes-illustration { display: none; }
}

/* ===== WHO WE SERVE SECTION ===== */
/* Uses standard .section padding - no overrides needed */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Swapped layout: content on left, mockups on right */
.pillars-grid-swapped .pillars-content {
  order: 1;
}

.pillars-grid-swapped .pillars-visual {
  order: 2;
}

.pillars-grid-swapped .pillars-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.pillars-intro {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
}

.pillars-grid-swapped .pillars-mockup-container {
  margin-right: 0;
  margin-left: 40px;
}

/* Left side - Mockups */
.pillars-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mockup Container - Fixed size, centers content */
.pillars-mockup-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  width: 460px;
  height: 528px;
}

/* Mockup Panels - show/hide */
.pillars-mockup {
  display: none;
  position: relative;
  z-index: 1;
}

.pillars-mockup.active {
  display: block;
  animation: pillars-fade-in 0.3s ease;
}

/* Color-matched angled shapes behind each mockup */
.pillars-mockup::before {
  content: '';
  position: absolute;
  width: 483px;
  height: 555px;
  border-radius: 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: rotate(-4deg);
  top: -13px;
  left: -11px;
  z-index: -1;
  pointer-events: none;
}

/* Blue shape for Scam Checks */
.pillars-mockup[data-panel="checks"]::before {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9) 0%, rgba(224, 231, 255, 0.7) 100%);
}

/* Green shape for Education */
.pillars-mockup[data-panel="education"]::before {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.9) 0%, rgba(167, 243, 208, 0.7) 100%);
}

/* Purple shape for Support */
.pillars-mockup[data-panel="recovery"]::before {
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.9) 0%, rgba(221, 214, 254, 0.7) 100%);
}

/* Color-matched glows behind active mockups - reinforces pillar selection */
.pillars-mockup.active[data-panel="checks"] {
  filter: drop-shadow(0 0 60px rgba(37, 99, 235, 0.15));
}

.pillars-mockup.active[data-panel="education"] {
  filter: drop-shadow(0 0 60px rgba(16, 185, 129, 0.15));
}

.pillars-mockup.active[data-panel="recovery"] {
  filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.15));
}

/* All mockups must be exactly 460x634 (20% taller) */
.pillars-mockup .chat-mockup,
.pillars-mockup .alert-mockup,
.pillars-mockup .check-mockup {
  width: 460px;
  height: 634px;
  max-width: none;
}

/* Chat mockup spacing for taller container */
.pillars-mockup .chat-mockup .chat-mockup-body {
  padding: 28px 24px;
  gap: 20px;
}

.pillars-mockup .chat-mockup .chat-mockup-message {
  padding: 18px 20px;
}

/* Alert mockup styled to fit 460x634 */
.pillars-mockup .alert-mockup {
  background: transparent;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillars-mockup .alert-mockup .alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fe 100%);
  border-bottom: 1px solid #e2e8f0;
}

.pillars-mockup .alert-mockup .alert-icon {
  width: 40px;
  height: 40px;
  background: #3089d9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.pillars-mockup .alert-mockup .alert-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pillars-mockup .alert-mockup .alert-date {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pillars-mockup .alert-mockup .alert-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.pillars-mockup .alert-mockup .alert-body {
  flex: 1;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #f8fafc;
}

.pillars-mockup .alert-mockup .alert-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillars-mockup .alert-mockup .alert-label {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.pillars-mockup .alert-mockup .alert-text {
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.pillars-mockup .alert-mockup .alert-text.short {
  width: 70%;
}

.pillars-mockup .alert-mockup .alert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillars-mockup .alert-mockup .alert-list-item {
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  margin-left: 14px;
  position: relative;
}

.pillars-mockup .alert-mockup .alert-list-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #94a3b8;
  border-radius: 50%;
}

.pillars-mockup .alert-mockup .alert-list-item.short {
  width: 60%;
}

.pillars-mockup .alert-mockup .alert-warning {
  background: rgba(255, 179, 8, 0.1);
  border-left: 3px solid #ffb308;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillars-mockup .alert-mockup .alert-warning .alert-label {
  color: #d97706;
}

.pillars-mockup .alert-mockup .alert-warning .alert-list-item {
  background: rgba(180, 120, 0, 0.12);
}

.pillars-mockup .alert-mockup .alert-warning .alert-list-item::before {
  background: #d97706;
}

.pillars-mockup .alert-mockup .alert-protect {
  background: rgba(34, 197, 94, 0.1);
  border-left: 3px solid #22c55e;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillars-mockup .alert-mockup .alert-protect .alert-label {
  color: #16a34a;
}

.pillars-mockup .alert-mockup .alert-protect .alert-list-item {
  background: rgba(22, 163, 74, 0.15);
}

.pillars-mockup .alert-mockup .alert-protect .alert-list-item::before {
  background: #16a34a;
}

/* Alert mockup animation */
.pillars-mockup .alert-mockup.animate-sections .alert-body > *:nth-child(1),
.pillars-mockup .alert-mockup.animate-sections .alert-body > *:nth-child(2),
.pillars-mockup .alert-mockup.animate-sections .alert-body > *:nth-child(3),
.pillars-mockup .alert-mockup.animate-sections .alert-body > *:nth-child(4) {
  opacity: 0;
}

.pillars-mockup .alert-mockup.animate-sections.animated .alert-body > *:nth-child(1) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 0s;
}

.pillars-mockup .alert-mockup.animate-sections.animated .alert-body > *:nth-child(2) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 0.4s;
}

.pillars-mockup .alert-mockup.animate-sections.animated .alert-body > *:nth-child(3) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 0.8s;
}

.pillars-mockup .alert-mockup.animate-sections.animated .alert-body > *:nth-child(4) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 1.2s;
}

@keyframes pillars-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pillars section override - light background instead of dark navy */
.pillars-tabs-section .scam-card-right {
  background-color: transparent;
  background-image: none;
  padding: 20px;
}

.pillars-tabs-section .scam-card-right.pillars-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the background shape behind mockups in pillars section */
.pillars-tabs-section .scam-card-right.pillars-mockup::before {
  display: none;
}

/* Angled right edge on left card - drops from left to right */
.pillars-tabs-section .scam-card-left {
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

/* Color-matched left card backgrounds */
.pillars-tabs-section .scam-tab-content[data-panel="pillar-checks"] .scam-card-left {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9) 0%, rgba(191, 219, 254, 0.7) 100%);
}

.pillars-tabs-section .scam-tab-content[data-panel="pillar-education"] .scam-card-left {
  background: linear-gradient(135deg, rgba(209, 250, 229, 0.9) 0%, rgba(167, 243, 208, 0.7) 100%);
}

.pillars-tabs-section .scam-tab-content[data-panel="pillar-support"] .scam-card-left {
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.9) 0%, rgba(221, 214, 254, 0.7) 100%);
}

/* Color-matched glows behind mockups */
.pillars-tabs-section .scam-tab-content[data-panel="pillar-checks"] .scam-card-right {
  filter: drop-shadow(0 0 60px rgba(37, 99, 235, 0.2));
}

.pillars-tabs-section .scam-tab-content[data-panel="pillar-education"] .scam-card-right {
  filter: drop-shadow(0 0 60px rgba(16, 185, 129, 0.2));
}

.pillars-tabs-section .scam-tab-content[data-panel="pillar-support"] .scam-card-right {
  filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.2));
}

/* Scam Check mockup - light theme with header */
.pillars-mockup .check-mockup {
  background: transparent;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillars-mockup .check-mockup .check-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}

.pillars-mockup .check-mockup .check-header-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pillars-mockup .check-mockup .check-header-title {
  font-size: 16px;
  font-weight: 600;
}

.pillars-mockup .check-mockup .check-media {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pillars-mockup .check-mockup .check-media-inner {
  background: transparent;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.pillars-mockup .check-mockup .check-email-header {
  background: #f1f5f9;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.pillars-mockup .check-mockup .check-email-from {
  font-size: 10px;
  color: #64748b;
}

.pillars-mockup .check-mockup .check-email-subject {
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
}

.pillars-mockup .check-mockup .check-email-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillars-mockup .check-mockup .check-email-line {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
}

.pillars-mockup .check-mockup .check-email-line.short {
  width: 60%;
}

.pillars-mockup .check-mockup .check-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #f8fafc;
}

.pillars-mockup .check-mockup .check-section {
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.pillars-mockup .check-mockup .check-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pillars-mockup .check-mockup .check-section-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillars-mockup .check-mockup .check-section-icon.found {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.pillars-mockup .check-mockup .check-section-icon.respond {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.pillars-mockup .check-mockup .check-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
}

.pillars-mockup .check-mockup .check-section-count {
  width: 22px;
  height: 22px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.pillars-mockup .check-mockup .check-section-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillars-mockup .check-mockup .check-finding {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #334155;
  line-height: 1.4;
}

.pillars-mockup .check-mockup .check-finding::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #94a3b8;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* Check mockup animation */
.pillars-mockup .check-mockup.animate-sections .check-body > *:nth-child(1),
.pillars-mockup .check-mockup.animate-sections .check-body > *:nth-child(2) {
  opacity: 0;
}

.pillars-mockup .check-mockup.animate-sections.animated .check-body > *:nth-child(1) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 0.3s;
}

.pillars-mockup .check-mockup.animate-sections.animated .check-body > *:nth-child(2) {
  animation: pillars-fade-in 0.4s ease-out forwards;
  animation-delay: 0.7s;
}

/* Right side - Content */
.pillars-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillars-header p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pillars-list .section-title {
  margin-bottom: 16px;
}

.pillars-list .hero-product-subtext {
  margin-top: 0;
  margin-bottom: 48px;
}

.pillars-list .pillar-item + .pillar-item {
  margin-top: 8px;
}

.pillar-item {
  display: flex;
  gap: 24px;
  cursor: pointer;
  border-radius: 12px;
  padding: 16px;
  margin: -16px;
  transition: background 0.2s ease;
}

/* Active backgrounds and glows match icon colors */
.pillar-item:has(.pillar-icon-blue).active {
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.12);
}

.pillar-item:has(.pillar-icon-green).active {
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.12);
}

.pillar-item:has(.pillar-icon-purple).active {
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.pillar-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  transition: color 0.3s ease;
}

.pillar-icon-blue {
  background: #dbeafe;
}

.pillar-icon-blue svg {
  color: #2563eb;
}

.pillar-item:hover .pillar-icon-blue,
.pillar-item.active .pillar-icon-blue {
  background: #2563eb;
}

.pillar-item:hover .pillar-icon-blue svg,
.pillar-item.active .pillar-icon-blue svg {
  color: white;
}

.pillar-icon-green {
  background: #d1fae5;
}

.pillar-icon-green svg {
  color: #10b981;
}

.pillar-item:hover .pillar-icon-green,
.pillar-item.active .pillar-icon-green {
  background: #10b981;
}

.pillar-item:hover .pillar-icon-green svg,
.pillar-item.active .pillar-icon-green svg {
  color: white;
}

.pillar-icon-purple {
  background: #ede9fe;
}

.pillar-icon-purple svg {
  color: #8b5cf6;
}

.pillar-item:hover .pillar-icon-purple,
.pillar-item.active .pillar-icon-purple {
  background: #8b5cf6;
}

.pillar-item:hover .pillar-icon-purple svg,
.pillar-item.active .pillar-icon-purple svg {
  color: white;
}

.pillar-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.pillar-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pillars-grid-swapped .pillars-content .section-title {
    text-align: center;
  }

  .pillars-visual {
    display: none;
  }

  .pillars-mockup-container {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
  }

  .pillars-mockup::before {
    display: none;
  }

  .pillars-mockup .chat-mockup,
  .pillars-mockup .alert-mockup,
  .pillars-mockup .check-mockup {
    width: 100%;
    height: auto;
    min-height: 400px;
    box-shadow: none;
  }

  /* Remove the entire split card styling on mobile */
  .pillars-tabs-section .scam-showcase-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .pillars-tabs-section .scam-tab-content .scam-card-left {
    background: transparent !important;
    clip-path: none !important;
  }

  .pillars-tabs-section .scam-tab-content .scam-card-right {
    background: transparent !important;
    filter: none !important;
  }

  /* Add border to mockups on mobile */
  .pillars-mockup .check-mockup,
  .pillars-mockup .alert-mockup,
  .pillars-mockup .chat-mockup {
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 640px) {
  .pillars-section {
    padding-left: 0;
    padding-right: 0;
  }

  .pillars-grid {
    gap: 32px;
  }

  .pillar-item {
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    margin: 0;
    border-radius: 12px;
    cursor: default;
    pointer-events: none;
    border: none !important;
  }

  /* Permanent colored backgrounds on mobile */
  .pillar-item--checks {
    background: rgba(59, 130, 246, 0.08);
  }
  .pillar-item--checks .pillar-item-icon {
    background: #3b82f6;
    color: white;
  }

  .pillar-item--briefings {
    background: rgba(139, 92, 246, 0.08);
  }
  .pillar-item--briefings .pillar-item-icon {
    background: #8b5cf6;
    color: white;
  }

  .pillar-item--support {
    background: rgba(16, 185, 129, 0.08);
  }
  .pillar-item--support .pillar-item-icon {
    background: #10b981;
    color: white;
  }

  .pillar-item-content {
    text-align: left;
  }

  .pillar-icon {
    width: 44px;
    height: 44px;
  }

  .pillar-content h3 {
    font-size: 1rem;
  }

  .pillar-content p {
    font-size: 0.875rem;
  }
}

/* ===== SAFETY CENTER TAB SCREENSHOTS ===== */
.safety-center-showcase {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* Override the grid layout from common.css for this section */
#safety-center .scam-tab-content.active {
  display: block;
  min-height: auto;
}

/* Screenshot showcase container */
.safety-center-showcase {
  position: relative;
  padding: 20px 0;
}

/* Browser frame wrapper */
.browser-frame {
  max-width: 1020px;
  margin: 0 auto;
  background: #f1f3f4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(48, 137, 217, 0.55);
  position: relative;
  z-index: 1;
  border: 1px solid #d0d0d0;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f1f3f4;
  border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url-bar {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #5f6368;
}

/* Screenshot container inside browser frame */
.browser-frame .safety-center-screenshot {
  max-width: none;
  margin: 0;
  padding: 0 0 8px 0;
  position: relative;
  line-height: 0;
  background: #f1f3f4;
}

.browser-frame .safety-center-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 8px 8px;
  margin: 0;
  padding: 0;
}

/* Safety center tabs - standalone pill styling */
#safety-center .scam-tabs-nav {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.safety-center-tabs {
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  background: #f1f5f9 !important;
  padding: 6px !important;
  border-radius: 50px;
  border: none !important;
  box-shadow: none !important;
}

.safety-center-tabs .scam-tab {
  background: transparent;
  border-radius: 50px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.safety-center-tabs .scam-tab:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #334155;
}

.safety-center-tabs .scam-tab.active {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

.safety-center-tabs .scam-tab.active svg {
  color: #ffffff;
  stroke: #ffffff;
  opacity: 1;
}

.tab-row-break {
  flex-basis: 100%;
  height: 0;
}

@media (max-width: 768px) {
  .safety-center-tabs .scam-tab {
    padding: 8px 14px;
    font-size: 13px;
  }
  .safety-center-tabs .scam-tab span {
    display: inline; /* Override common.css hiding - keep text visible */
  }
  .safety-center-tabs .scam-tab svg {
    display: none;
  }
}

/* Hide mobile-only row break on desktop */
.tab-row-break-mobile {
  display: none;
}

@media (max-width: 640px) {
  .safety-center-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 16px 8px !important;
    margin-top: 32px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .safety-center-tabs::-webkit-scrollbar {
    display: none;
  }
  .safety-center-tabs .scam-tab {
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .tab-row-break-mobile {
    display: none;
  }
  .safety-center-showcase {
    padding: 8px 0;
  }
  #safety-center .browser-frame {
    margin: 0 16px;
    border-radius: 10px;
  }
}

/* ===== THREE PILLARS - Tech Tips Layout (from portal) ===== */
/* Padding from shared rule at top of file */

.pillars-section-new .container {
  max-width: 1200px;
}

.pillars-interactive {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  max-width: none;
  margin: 0 auto;
  align-items: start;
}

.pillars-mockup-display {
  display: flex;
  justify-content: center;
  position: relative;
  order: 1; /* Move to right side */
}

.pillars-mockup-circle {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.pillars-mockup-wrapper {
  position: relative;
  z-index: 1;
  width: 460px;
  min-height: 634px;
  margin: 0 auto;
  transform: scale(0.93);
  transform-origin: top center;
  margin-top: 40px;
  margin-bottom: -44px;
}

/* Hide the stacked card shapes from the old tabbed design */
.pillars-mockup-wrapper.pillars-mockup::before {
  display: none;
}

.pillar-mockup-screen {
  display: none;
  position: relative;
  z-index: 1;
}

#mockup-checks {
  display: block;
}

/* Tips List */
.pillars-list {
  padding: 0 0 2rem 0;
}

/* Individual Pillar Item */
.pillar-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  margin-top: 0;
  margin-bottom: 0.25rem;
  max-width: 85%;
}

.pillar-item:hover {
  background: rgba(0,0,0,0.02);
}

.pillar-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.pillar-item-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* Checks - Blue */
.pillar-item--checks .pillar-item-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.pillar-item--checks .pillar-item-badge {
  color: #3b82f6;
}
.pillar-item--checks.pillar-item--active {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}
.pillar-item--checks.pillar-item--active .pillar-item-icon {
  background: #3b82f6;
  color: white;
}

/* Briefings - Purple */
.pillar-item--briefings .pillar-item-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.pillar-item--briefings .pillar-item-badge {
  color: #8b5cf6;
}
.pillar-item--briefings.pillar-item--active {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}
.pillar-item--briefings.pillar-item--active .pillar-item-icon {
  background: #8b5cf6;
  color: white;
}

/* Support - Green */
.pillar-item--support .pillar-item-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.pillar-item--support .pillar-item-badge {
  color: #10b981;
}
.pillar-item--support.pillar-item--active {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.pillar-item--support.pillar-item--active .pillar-item-icon {
  background: #10b981;
  color: white;
}

.pillar-item-content {
  flex: 1;
}

.pillar-item-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.pillar-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.375rem;
}

.pillar-item-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.pillars-title-break { display: none; }
@media (min-width: 901px) { .pillars-title-break { display: inline; } }

/* Pillars Mobile */
@media (max-width: 900px) {
  .pillars-interactive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pillars-mockup-display {
    order: -1;
  }

  .pillars-mockup-wrapper {
    width: 100%;
    max-width: 400px;
    min-height: auto;
  }

  .pillars-mockup-circle {
    width: 360px;
    height: 360px;
  }

  /* Make mockups responsive on mobile */
  .pillars-mockup .check-mockup,
  .pillars-mockup .alert-mockup,
  .pillars-mockup .chat-mockup {
    width: 100%;
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .pillars-mockup-display {
    display: none;
  }

  .pillars-section-new {
    padding: 60px 0;
  }

  .pillars-list {
    text-align: center;
  }

  .pillar-item {
    max-width: 100%;
    text-align: left;
  }

  .pillar-item-content {
    text-align: left;
  }

  /* Mobile: Header above screenshot for safety-center section */
  #safety-center > .container {
    display: flex;
    flex-direction: column;
  }
  #safety-center .section-header {
    order: 1;
  }
  #safety-center .scam-tabs-nav {
    order: 2;
  }
  #safety-center .safety-center-showcase {
    order: 3;
  }
}

/* ===== WHO WE SERVE - CLEARGOV-STYLE PHOTO CARDS ===== */
#who-we-serve {
  max-width: none;
  padding: 0;
  margin: 0;
}

.serve-section-header {
  padding: 3em 1em;
  text-align: center;
  background: #4d96f4;
}

.serve-section-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .serve-title-break::before { content: '\A'; white-space: pre; }
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.serve-card {
  position: relative;
  color: #013183;
  text-decoration: none;
}

.serve-card:nth-child(1) { background: #E7F3FF; }
.serve-card:nth-child(2) { background: #BDDAFD; }
.serve-card:nth-child(3) { background: #93C4FC; }
.serve-card:nth-child(4) { background: #6AAEFB; }
.serve-card:nth-child(5) { background: #4D96F4; }


.serve-card-image {
  position: relative;
  width: 100%;
  height: 18em;
  overflow: hidden;
}

.serve-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: transform 0.3s ease;
}

.serve-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(77, 150, 244, 0.15);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 48em) {
  .serve-card:hover .serve-card-image img {
    transform: scale(1.1);
  }

  .serve-card:hover .serve-card-image::after {
    opacity: 0;
  }
}

.serve-card-desc {
  padding: 1.625em 2.25em 5.625em;
}

.serve-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #013183;
  margin: 0 0 0.25em;
  line-height: 1.2;
}

.serve-card-cta {
  position: absolute;
  bottom: 2.375em;
  left: 2.25em;
  font-size: 0.8125em;
  font-weight: 600;
  color: #013183;
  background: transparent;
  border: 2px solid #013183;
  border-radius: 9999px;
  padding: 0.5em 1.25em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.serve-card:hover .serve-card-cta {
  background: #013183;
  color: #ffffff;
}


@media (max-width: 84em) {
  .serve-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 48em) {
  .serve-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 20px 16px;
    scrollbar-width: none;
  }
  .serve-grid::-webkit-scrollbar { display: none; }
  .serve-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
    min-width: 0;
    width: auto;
    border-radius: 16px;
  }
  .serve-card-image { height: 14em; }
}

@media (max-width: 640px) {
  .industry-badges {
    gap: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }

  .industry-badge-icon {
    width: 60px;
    height: 60px;
  }

  .industry-badge-icon svg {
    width: 28px;
    height: 28px;
  }

  .industry-badge-label {
    font-size: 0.875rem;
  }

  /* Center all text content on mobile */
  .section-title-modern,
  .section-subtitle-modern,
  .section-title-editorial,
  .section-subtitle-editorial,
  .hero-title,
  .hero-description,
  .hero-content h1,
  .hero-content p,
  .pillars-header h2,
  .pillars-header p {
    text-align: center !important;
  }

  .section-subtitle-modern,
  .section-subtitle-editorial {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== CONTACT SECTION WRAPPER ===== */
#contact {
  /* Background controlled by bg-dark utility class */
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}

#contact .container {
  position: relative;
  z-index: 1;
}

/* CTA editorial and form card styles are in common.css */

/* ===== MODERN FOOTER ===== */
.footer-modern {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.footer-tagline {
  color: white;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  color: white;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top-color: rgba(255,255,255,0.08);
}

.footer-copyright {
  color: white;
  font-size: 0.8125rem;
}

/* Fork-in-the-road Hero CTAs */
.hero-fork-ctas {
  margin-top: var(--space-5);
}
.fork-cta-row {
  display: flex;
  gap: var(--space-4);
}
.fork-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 16px 24px;
  background: transparent;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-gray-900);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.fork-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.fork-cta.fork-cta-police:hover {
  border-color: var(--color-blue-400);
}
.fork-cta.fork-cta-cu:hover {
  border-color: var(--color-mint-400);
}
.fork-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fork-cta-icon.police {
  background: var(--color-blue-100);
}
.fork-cta-icon.police svg {
  color: var(--color-blue-600);
}
.fork-cta-icon.credit-union {
  background: var(--color-mint-100);
}
.fork-cta-icon.credit-union svg {
  color: var(--color-mint-600);
}
.fork-cta-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fork-cta-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
}
.fork-cta-sublabel {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}
.fork-cta-arrow {
  color: var(--color-gray-400);
  transition: transform 0.2s ease;
  margin-left: 8px;
}
.fork-cta:hover .fork-cta-arrow {
  transform: translateX(3px);
}
.fork-cta.fork-cta-police:hover .fork-cta-arrow {
  color: var(--color-blue-600);
}
.fork-cta.fork-cta-cu:hover .fork-cta-arrow {
  color: var(--color-mint-600);
}

/* Who We Serve Cards - Legacy styles removed, using new centered cards above */

/* Content Engine Section */
.content-engine-section {
}
.content-engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto var(--space-10);
}
@media (max-width: 900px) {
  .content-engine-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}
.content-card {
  background: transparent;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--color-gray-100);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-card-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue-500) 0%, var(--color-blue-600) 100%);
  color: white;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 12px rgba(39, 131, 207, 0.3);
}
.content-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--color-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.content-card-icon svg {
  color: var(--color-blue-600);
  width: 32px;
  height: 32px;
}
.content-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}
.content-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: var(--text-base);
}
.content-engine-pitch {
  text-align: center;
  color: var(--color-gray-700);
  font-size: var(--text-lg);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: var(--font-medium);
}

/* ===== HOMEPAGE HERO (Centered - SEON Style) ===== */
.hero-centered {
  padding: 104px 24px 154px;
  text-align: center;
}

.hero-centered-content {
  max-width: 800px;
  margin: 0 auto 64px;
}

.hero-title {
  font-size: clamp(2rem, 3.5vw + 0.875rem, 2.75rem);
  font-weight: 500;
}

/* Hero Swipe Animation - Flexbox for even line spacing */
.hero-title-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

/* Text reveal animation with wrapper for proper overflow containment */
.hero-typing-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.hero-typing-word {
  display: inline-block;
  min-width: 320px;
  font-size: 1em;
}

/* Swipe bar on the wrapper, hidden by overflow */
.hero-typing-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffba08;
  transform: translateX(101%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Phase 1: Bar sweeps from right to cover the word */
.hero-typing-wrapper.swipe-cover::after {
  transform: translateX(0);
}

/* Phase 2: Bar continues left to reveal the new word */
.hero-typing-wrapper.swipe-reveal::after {
  transform: translateX(-101%);
}

/* Reset: Disable transition so bar jumps back instantly (no animation) */
.hero-typing-wrapper.no-transition::after {
  transition: none;
}

@media (max-width: 768px) {
  .hero-typing-word {
    min-width: 220px;
  }
}

.hero-centered-description {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 18px;
}

.hero-centered-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-centered-visual {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 72px;
  position: relative;
}

.hero-centered-visual::before {
  content: '';
  position: absolute;
  width: calc(100% + 80px);
  height: calc(100% - 10px);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  top: 50px;
  left: -40px;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.95) 0%, rgba(224, 231, 255, 0.8) 100%);
  z-index: -1;
}

/* ===== CENTERED HERO (Full-width text) ===== */
.hero-centered {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 132px 24px 176px;
  /* Background controlled by bg-hero utility class */
}

.hero-centered-content {
  max-width: 1100px !important;
  margin: 0 auto;
  text-align: center;
}

.hero-centered .hero-centered-content .section-title {
  font-size: clamp(2.75rem, 5vw + 1rem, 4rem) !important;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-centered-description {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.75vw, 21px);
  font-weight: 500;
  line-height: 1.7;
  color: #5c6b7a;
  margin: 0 0 18px 0;
}

.hero-centered-description strong {
  color: #3d4852;
  font-weight: 500;
}

.hero-centered-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-centered {
    padding: 130px 24px 44px;
  }

  .hero-centered-actions {
    flex-direction: column;
  }

  .hero-centered-actions .btn-hero-primary,
  .hero-centered-actions .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ROTATING HERO TEXT ===== */
.hero-rotating-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  font-weight: 400 !important;
  font-style: normal;
  line-height: 1.15;
  color: #333333;
  text-align: center;
  text-transform: none;
  text-decoration: none;
}

.hero-rotating-title .text-gradient-hero {
  background: linear-gradient(90deg, #1E40AF 0%, #3B82F6 50%, #60A5FA 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400 !important;
  animation: sentinel-shimmer 5s ease-in-out infinite alternate;
}

@keyframes sentinel-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-line-nowrap {
  white-space: nowrap;
}

.hero-rotating-container {
  display: inline-block;
  position: relative;
  min-width: 600px;
  height: 1.2em;
  vertical-align: middle;
  overflow: hidden;
}

.hero-home-title .hero-rotating-text {
  left: 50%;
  transform: translateX(-50%) translateY(0);
}

.hero-home-title .hero-rotating-text.fade-out {
  transform: translateX(-50%) translateY(-100%);
}

.hero-home-title .hero-rotating-text.fade-in {
  transform: translateX(-50%) translateY(100%);
}

.hero-rotating-text {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(0);
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-rotating-text.fade-out {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-rotating-text.fade-in {
  opacity: 0;
  transform: translateY(100%);
}

@media (max-width: 768px) {
  .hero-rotating-container {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .hero-rotating-container {
    min-width: 160px;
    height: 1.3em;
  }
}

/* ===== HOMEPAGE INLINE STYLES (moved from index.html) ===== */

/* Homepage nav - absolute so it overlays the hero */
.header-modern {
  position: relative !important;
  margin-bottom: -72px !important;
  background: transparent !important;
  border-bottom: none !important;
  z-index: 50;
}
.header-logo-color { display: none !important; }
.header-logo-white { display: block !important; }
.header-modern .nav-link,
.header-modern .nav-dropdown-toggle,
.header-modern .mobile-menu-btn { color: #ffffff !important; }
.header-modern .btn-secondary {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.6) !important;
  background: transparent !important;
}

/* Centered Hero */
.hero-centered {
  min-height: 101vh;
  display: flex;
  align-items: center;
  padding: 132px 24px 176px;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)),
    url('/hero.webp') center center / cover no-repeat !important;
}
.hero-wave {
  display: none;
}
.hero-centered-content .section-title { color: #ffffff !important; }
.hero-centered .container { max-width: 1400px !important; margin: 0 auto; }
.hero-centered .text-accent-blue { color: #60a5fa; }
.hero-centered-content { text-align: center; max-width: none !important; }
.hero-centered .hero-centered-content .section-title { max-width: none !important; }
.hero-centered-content .section-title {
  font-size: clamp(2.75rem, 5vw + 1rem, 4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-centered .hero-centered-description {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 32px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.hero-centered-actions .btn { height: 52px; }
.hero-centered .btn-demo {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.hero-centered .btn-demo:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}
.hero-centered-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-centered .hero-audience { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-centered .hero-audience-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Hero lines */
.hero-line-1, .hero-line-2 { display: block; }
@media (min-width: 1101px) {
  .hero-line-1 { white-space: nowrap; }
}

/* Rotating text */
.rotating-text-wrapper {
  display: inline-grid;
  position: relative;
  height: 1.05em;
  overflow: hidden;
  vertical-align: baseline;
  text-align: left;
}
.rotating-text {
  grid-area: 1 / 1;
  justify-self: start;
  color: #60a5fa;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  white-space: nowrap;
  line-height: 1.05;
}
.rotating-text.active { transform: translateY(0); opacity: 1; }
.rotating-text.exiting { transform: translateY(-100%); opacity: 0; }

.hero-prefix-mobile, .hero-suffix-mobile { display: none; }
@media (max-width: 900px) {
  .hero-prefix-desktop, .hero-suffix-desktop { display: none; }
  .hero-prefix-mobile { display: block; }
  .hero-suffix-mobile { display: inline; }
  .rotating-text-wrapper { display: grid; width: 100%; }
  .rotating-text { justify-self: center; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.gradient-wave-bg { border: none !important; }
.scam-tabs-section, .pillars-tabs-section { border: none !important; }

/* Hero Screenshot */
.hero-screenshot { padding: 0 24px 80px; }
.hero-screenshot .container { max-width: 1100px; margin: 0 auto; }
.hero-screenshot-link {
  display: block; position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); height: 550px;
}
.hero-screenshot-link:hover { box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2); }
.hero-screenshot-scroll {
  width: 100%; height: 100%;
  background-image: url('https://pub-e97d1814c0d14074993564261d55f083.r2.dev/assets/cudemo-homepage-scroll-1200.jpg');
  background-size: 100% auto; background-position: 0 0; background-repeat: no-repeat;
  transition: background-position 1.5s ease-in-out;
}
.screenshot-overlay-bg {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0;
  transition: opacity 0.5s ease; pointer-events: none; z-index: 10;
}
.screenshot-overlay-bg.visible { opacity: 1; }
.screenshot-labels {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; pointer-events: none; z-index: 11;
}
.screenshot-label {
  position: absolute; text-align: center; color: white; padding: 24px 36px;
  max-width: 420px; opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.screenshot-label.active { opacity: 1; transform: translateY(0); }
.screenshot-label-title {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 1.375rem; font-weight: 600; margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.screenshot-label-desc {
  font-size: 1.0625rem; font-weight: 400; line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-screenshot-overlay {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease; z-index: 20;
}
.hero-screenshot-link:hover .hero-screenshot-overlay { opacity: 1; }

@media (max-width: 768px) {
  .hero-centered { padding: 88px 24px 88px; }
  .hero-centered-actions { flex-direction: column; width: 100%; }
  .hero-centered-actions .btn, .hero-centered-actions .btn-demo { display: flex; width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .hero-centered { padding: 130px 16px 48px !important; min-height: 100svh; align-items: flex-start; }
  .hero-centered-content .section-title { font-size: clamp(1.75rem, 8vw, 2.5rem) !important; }
  .hero-centered-description { font-size: 0.875rem; max-width: 100%; }
  .hero-centered .hero-centered-description { margin-bottom: 58px; }
  .desc-break-desktop { display: none; }
  .hero-screenshot { padding: 0 16px 40px; }
  .hero-screenshot-link { height: 280px; }
}

/* Hero kicker line */
.hero-kicker {
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.88); margin-bottom: 18px;
}

/* Education Program Dashboard Mockup */
.edu-program-section { padding: 96px 0; background: #fff; }
.edu-dashboard-mockup { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin-top: 56px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.edu-dashboard-header { padding: 24px 32px; border-bottom: 1px solid #e2e8f0; background: #fff; }
.edu-dashboard-title { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.edu-dashboard-subtitle { font-size: 0.875rem; color: #64748b; margin-bottom: 16px; }
.edu-filter-pills { display: flex; gap: 8px; }
.edu-filter-pill { padding: 5px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 500; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.edu-filter-pill.active { background: #2570b8; color: #fff; border-color: #2570b8; }
.edu-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 32px; }
.edu-content-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.edu-card-visual { height: 148px; position: relative; overflow: hidden; }
.edu-card-visual-inner { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 14px; position: relative; }
.edu-card-visual-icon { opacity: 0.18; position: absolute; right: 12px; top: 12px; }
.edu-card-pill { position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 100px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.92); }
.edu-card-pill.trending { color: #92400e; }
.edu-card-pill.education { color: #1e40af; }
.edu-card-visual-title { color: rgba(255,255,255,0.97); font-size: 0.875rem; font-weight: 600; line-height: 1.35; position: relative; z-index: 1; }
.edu-card-body { padding: 14px 16px 16px; }
.edu-card-actions { display: flex; gap: 8px; }
.edu-btn-secondary { flex: 1; padding: 7px 8px; border-radius: 8px; font-size: 0.78rem; font-weight: 500; border: 1px solid #e2e8f0; background: #fff; color: #475569; cursor: default; }
.edu-btn-primary { flex: 1; padding: 7px 8px; border-radius: 8px; font-size: 0.78rem; font-weight: 500; border: none; background: #2570b8; color: #fff; cursor: default; }
@media (max-width: 900px) {
  .edu-cards-grid { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .edu-program-section { padding: 64px 0; }
  .edu-dashboard-header { padding: 20px; }
}

/* Program Phases — Alternating layout */
.program-phases-section { background: none !important; padding: 96px 0 !important; }
.phases-alt-layout { display: flex; flex-direction: column; gap: 80px; margin-top: 64px; }
.phase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.phase-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.phase-num-box { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #2570b8; color: #fff; font-size: 0.88rem; font-weight: 800; border-radius: 8px; flex-shrink: 0; }
.phase-stage-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #2570b8; }
.phase-step-title { font-size: 1.5rem; font-weight: 700; color: #0f172a; line-height: 1.3; margin-bottom: 14px; }
.phase-step-body { font-size: 0.975rem; color: #64748b; line-height: 1.8; }
.phase-image-side { display: flex; justify-content: center; width: 100%; }
.briefing-card-preview { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; width: 100%; }
.briefing-card-preview-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5); }
.briefing-card-preview-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 40px; gap: 16px; }
.briefing-card-preview-pill { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 100px; padding: 5px 14px; }
.briefing-card-preview-title { color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.35; max-width: 400px; }
.briefing-card-preview-cta { color: #fff; font-size: 0.95rem; font-weight: 600; }
.phase-chat-wrap .chat-avatar-img { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.3); }
.phase-chat-wrap .chat-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.phase-chat-wrap .chat-profile { flex: 1; }
.phase-chat-wrap .chat-name { font-weight: 600; font-size: 1rem; }
.phase-chat-wrap .chat-status { font-size: 0.75rem; opacity: 0.85; }
.phase-chat-wrap .chat-timestamp { text-align: center; font-size: 0.75rem; color: #94a3b8; margin-bottom: 16px; }
.phase-chat-wrap .chat-bubble { background: white; padding: 12px 16px; border-radius: 18px 18px 18px 4px; font-size: 0.9375rem; line-height: 1.5; color: #1e293b; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.phase-chat-wrap .chat-bubble strong { color: #db2777; font-weight: 600; }
.phase-chat-wrap .chat-action { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.phase-chat-wrap .chat-action-x { background: #f1f5f9; color: #64748b; }
.phase-chat-wrap .chat-action-heart { background: #ec4899; color: white; }
@media (max-width: 900px) {
  .phase-row { grid-template-columns: 1fr; gap: 32px; display: flex; flex-direction: column; }
  .phases-alt-layout { gap: 56px; margin-top: 40px; }
  .phases-title-br { display: none; }
  .phase-row .phase-text-side { order: 1; }
  .phase-row .phase-image-side { order: 2; max-width: 75%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .phase-row .phase-image-side { display: none; }

  /* Phase tab switcher */
  .phase-tabs {
    display: flex;
    gap: 8px;
    margin-top: 28px;
  }
  .phase-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  .phase-tab.active {
    border-color: #2563eb;
    background: #eff6ff;
  }
  .phase-tab-num {
    font-size: 0.7rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.05em;
  }
  .phase-tab-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.2;
  }
  .phase-tab.active .phase-tab-label { color: #1e40af; }

  .phases-alt-layout {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding: 0;
    overflow: visible;
  }
  .phase-row {
    display: none;
    flex-direction: column;
    gap: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .phase-row.active { display: flex; }
}

/* Demo Request Modal */
.demo-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.demo-modal-box { background: #fff; border-radius: 20px; padding: 48px; max-width: 520px; width: 100%; position: relative; }
.demo-modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #94a3b8; }
.demo-modal-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.demo-modal-sub { font-size: 0.925rem; color: #64748b; margin-bottom: 32px; }
.demo-modal-form { display: flex; flex-direction: column; gap: 20px; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form-group { display: flex; flex-direction: column; gap: 6px; }
.demo-form-group label { font-size: 0.8rem; font-weight: 600; color: #374151; }
.demo-optional { font-weight: 400; color: #94a3b8; }
.demo-form-group input, .demo-form-group textarea { border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; font-size: 0.925rem; color: #0f172a; outline: none; font-family: inherit; transition: border-color 0.15s; }
.demo-form-group input:focus, .demo-form-group textarea:focus { border-color: #2570b8; }
.demo-form-group textarea { resize: vertical; }
.demo-form-submit { background: #2570b8; color: #fff; border: none; border-radius: 10px; padding: 14px 28px; font-size: 0.975rem; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.demo-form-submit:hover { background: #1e5fa0; }
.demo-form-error { color: #ef4444; font-size: 0.85rem; margin-top: 4px; }
.demo-modal-success { text-align: center; padding: 24px 0; }
.demo-modal-success h3 { font-size: 1.3rem; font-weight: 800; color: #0f172a; margin: 16px 0 8px; }
.demo-modal-success p { color: #64748b; font-size: 0.925rem; }
@media (max-width: 560px) {
  .demo-modal-box { padding: 32px 24px; }
  .demo-form-row { grid-template-columns: 1fr; }
}

/* ─── Phase Section Animations ────────────────────────────────────────────── */

/* Phase 01 — initial state for animated bubbles */
.p01-bubble { opacity: 0; transform: translateY(8px); }

/* Phase 01 verdict panel */
.phase01-verdict {
  margin: 0 12px 8px;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
}
.phase01-verdict .verdict-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #dc2626;
  margin-bottom: 2px;
}
.phase01-verdict .verdict-head svg { stroke: #dc2626; flex-shrink: 0; }
.phase01-verdict .verdict-note { font-size: 0.72rem; color: #94a3b8; margin: 0; }

/* Phase containers — all three cards locked to same size (560px = Phase 02's natural aspect-ratio 3/4 at 420px wide) */
.phases-alt-layout .phase-image-side .scam-preview-card { max-width: 420px; height: 560px; min-height: 0; }
.phases-alt-layout .phase-image-side .chat-mockup { max-width: 420px; height: 560px; }
/* Phase 01 — keep footer padding compact so buttons have clearance */
.phases-alt-layout .scam-preview-chat-footer { padding: 14px 20px; }

/* Phase 02 — portal-style Romance Scams deep dive tile */
.edu-romance-tile-wrap { width: 100%; display: flex; justify-content: center; }
.edu-romance-tile { width: 100%; max-width: 420px; height: 560px; box-shadow: 0 4px 6px rgba(0,0,0,0.10), 0 12px 24px rgba(0,0,0,0.15); }
/* scam-series-tile rules (portal) — scoped to marketing site via index.css */
.scam-series-tile { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 3 / 4; }
.scam-series-tile-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding-bottom: 5rem; }
.scam-series-tile-svg svg { width: 72%; height: auto; }
.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; }
.scam-series-tile-title { font-size: 1.4rem; font-weight: 800; line-height: 1.2; margin: 0 0 0.5rem; color: white; }
.scam-series-tile-desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.4; }

/* Phase 03 — initial state for animated messages */
.p03-msg { opacity: 0; transform: translateY(6px); }

/* Phase 03 recovery plan */
.phase03-plan {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(8px);
}
.phase03-plan .plan-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #16a34a;
  margin-bottom: 8px;
}
.phase03-plan ol { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }

.phase03-plan li { font-size: 0.8rem; color: #374151; line-height: 1.45; }
