/* ============================================================
   FIRE BARRIERS — Page-Specific Styles
   Extends styles.css + ev-battery-safety.css shared components
   ============================================================ */

/* ============================================================
   STRATEGY VISUAL
   ============================================================ */
.fb-strategy__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.fb-strategy__visual img {
  width: 100%;
  display: block;
}

/* ============================================================
   COMPARISON VISUAL (Without / With)
   ============================================================ */
.fb-comparison-visual {
  margin: 48px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.fb-comparison-visual img {
  width: 100%;
  display: block;
}

/* ============================================================
   CONTAINMENT CONCEPT
   ============================================================ */
.fb-containment {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.fb-containment img {
  width: 100%;
  display: block;
}

/* ============================================================
   WHY THIN — CARD LAYOUT
   ============================================================ */
.fb-thin__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fb-thin__card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.fb-thin__card:hover {
  border-color: rgba(232, 81, 45, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.fb-thin__card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.fb-thin__card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.fb-thin__card p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.fb-thin__card-metric {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.fb-thin__metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-heat);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.fb-thin__metric-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* ============================================================
   RADAR / BAR COMPARISON CHART
   ============================================================ */
.fb-radar__grid {
  max-width: 720px;
  margin: 0 auto;
}

.fb-radar__card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.fb-radar__bar-group {
  margin-bottom: 24px;
}

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

.fb-radar__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.fb-radar__bar-track {
  width: 100%;
  height: 22px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  overflow: hidden;
}

.fb-radar__bar {
  height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  color: white;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fb-radar__bar--levron {
  background: var(--gradient-heat);
  box-shadow: 0 0 12px rgba(232, 81, 45, 0.2);
}

.fb-radar__bar--conv {
  background: linear-gradient(90deg, #4b5563, #6b7280);
}

.fb-radar__bar-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.fb-radar__legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
}

.fb-radar__legend-dot--levron {
  background: var(--accent-heat);
}

.fb-radar__legend-dot--conv {
  background: #6b7280;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .fb-thin__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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