/* Safety Page — Editorial Design
   Rules:
   - No muted/transparent body text. All text is solid white.
   - No red. Brand pink (#fc4366) is the only accent.
   - Gradient + Fjalla One ONLY on numbers. Headings get clean Poppins.
   - Everything center-aligned.
   - Narrower content width. Tighter spacing, bigger type.
   - No eyebrow labels above section titles. No ordinal step numbers. */

/* ==========================================
   FOUNDATION
   ========================================== */

body {
  font-family: 'Poppins', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.7) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Force header nav text white on this page */
.header__nav-primary > li > a,
.header__logo a,
.header a {
  color: #ffffff !important;
}

.safety-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
  color: #ffffff;
  text-align: center;
}

/* ==========================================
   GRADIENT — applied ONLY to numbers
   ========================================== */

.carousel-num,
.hero-stat-num,
.live-num,
.impact-num,
.stat-number {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   SECTION HEADINGS  (centered, no gradient)
   ========================================== */

.section-title {
  font-size: 5.8rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #ffffff;
  text-align: center;
  margin: 0 auto 14px;
  max-width: 880px;
}

.section-subtitle {
  font-size: 1.65rem;
  color: #ffffff;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-title + .section-subtitle {
  margin-top: 14px;
}

/* ==========================================
   HERO
   ========================================== */

.hero-section {
  text-align: center;
}

.hero-title {
  font-size: 7.2rem;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.65rem;
  color: #ffffff;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
  font-weight: 400;
}

/* ==========================================
   LIVE STRIP  (lives inside transparency-section)
   ========================================== */

/* ==========================================
   PIPELINE  (no ordinal step numbers)
   ========================================== */

.pipeline-section {
  margin: 20px 0 60px;
  text-align: center;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 38px;
  position: relative;
}

.pipeline-stage {
  text-align: center;
  padding: 30px 22px 26px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.4, 1),
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}

.pipeline-stage:hover {
  transform: translateY(-18px) scale(1.04);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 70px rgba(255, 255, 255, 0.22),
    0 0 140px rgba(255, 255, 255, 0.1),
    0 32px 60px rgba(0, 0, 0, 0.45),
    0 12px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.stage-icon {
  margin-bottom: 12px;
  display: inline-block;
  line-height: 0;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.2, 0.4, 1),
    filter 0.4s ease;
}

.stage-icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.pipeline-stage:hover .stage-icon {
  transform: scale(1.18);
  filter:
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.pipeline-stage h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.pipeline-stage p {
  font-size: 1.45rem;
  color: #ffffff;
  line-height: 1.6;
}

/* ==========================================
   CSAM ZERO TOLERANCE  (no eyebrow, no icon, pure typography)
   ========================================== */

.csam-callout {
  margin: 20px auto;
  padding: 70px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: none;
  border: none;
  text-align: center;
}

.csam-icon {
  display: none;
}

/* Concentric pulse rings — protective field */
.csam-pulses {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 0;
}

.csam-core {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(255, 255, 255, 0.55);
  animation: csam-core-breathe 3s ease-in-out infinite;
}

@keyframes csam-core-breathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.4); }
}

.csam-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: csam-pulse-out 5.4s cubic-bezier(0, 0.2, 0.4, 1) infinite;
}

.csam-pulse:nth-child(2) { animation-delay: 1.8s; }
.csam-pulse:nth-child(3) { animation-delay: 3.6s; }

@keyframes csam-pulse-out {
  0%   { transform: scale(0.4); opacity: 0.6;  border-width: 2px; }
  60%  { opacity: 0.18; }
  100% { transform: scale(8);   opacity: 0;    border-width: 0.5px; }
}

.csam-content {
  position: relative;
  z-index: 1;
}

.csam-headline {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 auto 24px;
  max-width: 880px;
}

.csam-body {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 auto;
  max-width: 600px;
}

@media (prefers-reduced-motion: reduce) {
  .csam-core,
  .csam-pulse { animation: none; }
  .csam-pulse { opacity: 0.25; transform: scale(2.5); }
}

/* ==========================================
   TRANSPARENCY
   ========================================== */

.transparency-section {
  margin: 20px 0;
  text-align: center;
}

/* Spotlight stat carousel — one big stat at a time */
.stats-carousel {
  position: relative;
  margin: 40px auto 36px;
}

.carousel-track {
  position: relative;
  min-height: 220px;
}

.stat-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.stat-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.carousel-num {
  font-family: 'Fjalla One', sans-serif;
  font-size: 14rem;
  font-weight: 400;
  letter-spacing: -6px;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.carousel-num-static {
  letter-spacing: -3px;
}

.carousel-prefix {
  font-size: 1.3rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.7;
}

.carousel-label {
  font-size: 1.55rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

.carousel-detail {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.carousel-dots button {
  appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.carousel-dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dots button.is-active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================
   REPORTING
   ========================================== */

.reporting-section {
  margin: 20px 0;
  padding: 0;
  border: none;
  text-align: center;
}

.reporting-body {
  font-size: 1.65rem;
  color: #ffffff;
  line-height: 1.55;
  max-width: 600px;
  margin: 18px auto 28px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  margin-top: auto;
  align-self: center;
  border: 1.5px solid #ffffff;
}

.contact-button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-button img {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* ==========================================
   LEGACY (other-language pages: es / id / pt / ru / tr)
   Same rules — centered, solid white, no red, gradient on numbers.
   ========================================== */

.approach-section,
.protection-systems-section,
.ai-protection-section {
  margin: 20px 0;
  text-align: center;
}

.approach-grid,
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 28px;
  margin-top: 32px;
}

.approach-item,
.system-item {
  text-align: center;
}

.approach-icon,
.system-icon {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 14px;
  display: block;
}

.approach-item h3,
.system-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.approach-item p,
.system-item p {
  font-size: 1.45rem;
  color: #ffffff;
  line-height: 1.6;
}

.ai-header {
  text-align: center;
  margin-bottom: 30px;
}

.ai-header i {
  display: none;
}

.ai-header h2 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0;
}

.protection-content {
  max-width: none;
  margin: 0;
}

.protection-highlight-section {
  display: block;
  text-align: center;
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
  margin: 0 auto 50px;
  max-width: 800px;
}

.highlight-icon {
  display: none;
}

.highlight-content h3 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #ffffff;
}

.highlight-content p {
  font-size: 1.65rem;
  line-height: 1.5;
  color: #ffffff;
  max-width: 640px;
  margin: 0 auto;
}

.ai-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px 28px;
}

.ai-feature-item {
  display: block;
  text-align: center;
  padding: 0;
}

.ai-feature-item i {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 14px;
  display: block;
}

.feature-text h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.feature-text p {
  font-size: 1.45rem;
  color: #ffffff;
  line-height: 1.6;
}

.statistics-section {
  margin: 20px 0;
  text-align: center;
}

.stats-header {
  text-align: center;
  margin-bottom: 40px;
}

.stats-intro {
  font-size: 1.65rem;
  color: #ffffff;
  max-width: 640px;
  margin: 12px auto 0;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px 36px;
  margin-bottom: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.statistic-card,
.statistic-card.highlight {
  display: block;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.statistic-card::before,
.statistic-card.highlight::before {
  display: none;
}

.stat-icon-wrapper {
  display: none;
}

.stat-content {
  flex: none;
}

.stat-number {
  font-family: 'Fjalla One', sans-serif;
  font-size: 5.6rem;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.stat-description {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.55;
  font-weight: 400;
  max-width: 360px;
  margin: 0 auto;
}

/* ==========================================
   RESPONSIVE — same scale, scaled down
   ========================================== */

@media (max-width: 1024px) {
  .safety-container {
    padding: 0 30px;
    max-width: 100%;
  }
  /* D-XL */
  .carousel-num      { font-size: 11rem; letter-spacing: -4.5px; }
  .hero-stat-num     { font-size: 13rem; letter-spacing: -5px; }
  /* H1 */
  .hero-title        { font-size: 6rem; }
}

@media (max-width: 768px) {
  .pipeline     { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .pipeline-stage { padding: 22px 18px 20px; }
  .stage-icon img { width: 55px; height: 55px; }
  .approach-grid,
  .systems-grid,
  .stats-grid,
  .ai-features-list { grid-template-columns: 1fr; gap: 28px; }
  .pipeline-section { margin: 16px 0 32px; }
  .transparency-section,
  .reporting-section,
  .approach-section,
  .ai-protection-section,
  .protection-systems-section,
  .statistics-section,
  .csam-callout { margin: 16px 0; }
  .carousel-track { min-height: 220px; }

  /* DISPLAY */
  .carousel-num     { font-size: 15.2rem; letter-spacing: -6px; }
  .hero-stat-num    { font-size: 9rem;   letter-spacing: -3.5px; }
  .impact-num,
  .stat-number      { font-size: 4.4rem; letter-spacing: -1.5px; }

  /* HEADINGS */
  .hero-title       { font-size: 5rem; letter-spacing: -1.6px; }
  .section-title,
  .ai-header h2,
  .highlight-content h3 { font-size: 5.7rem; letter-spacing: -1.3px; }
  .csam-headline    { font-size: 5.7rem; letter-spacing: -1.3px; }
  .pipeline-stage h3,
  .approach-item h3,
  .system-item h3   { font-size: 2.1rem; }
  .feature-text h4  { font-size: 1.65rem; }

  /* BODY */
  .hero-subtitle,
  .section-subtitle,
  .csam-content p,
  .highlight-content p,
  .reporting-body,
  .stats-intro      { font-size: 1.7rem; }
  .pipeline-stage p,
  .approach-item p,
  .system-item p,
  .feature-text p,
  .impact-label     { font-size: 1.6rem; }
  .stat-description,
  .carousel-detail  { font-size: 1.4rem; }

  /* LABELS */
  .carousel-label   { font-size: 1.45rem; letter-spacing: 2.5px; }
  .carousel-prefix  { font-size: 1.2rem; letter-spacing: 2.5px; }
  .stat-title       { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .safety-container { padding: 0 18px; }
  .pipeline         { grid-template-columns: 1fr; gap: 18px; }
  .pipeline-stage   { padding: 20px 16px 18px; }
  .stage-icon img   { width: 60px; height: 60px; }
  .carousel-track   { min-height: 200px; }

  /* DISPLAY */
  .carousel-num     { font-size: 11.2rem; letter-spacing: -4px; }
  .hero-stat-num    { font-size: 6.6rem; letter-spacing: -2.5px; }
  .impact-num,
  .stat-number      { font-size: 3.8rem; }

  /* HEADINGS */
  .hero-title       { font-size: 4.2rem; }
  .section-title,
  .ai-header h2,
  .highlight-content h3 { font-size: 4.6rem; letter-spacing: -0.9px; }
  .csam-headline    { font-size: 4.6rem; letter-spacing: -0.9px; }

  /* BODY */
  .hero-subtitle,
  .section-subtitle,
  .csam-content p,
  .highlight-content p,
  .reporting-body,
  .stats-intro      { font-size: 1.6rem; }
}
