/* About Page Specific Styles */
:root {
  --blue: #00CBFF;
  --silver: #B0B0B0;
  --black: #000;
  --white: #fff;
}

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

/* Page Hero */
.page-hero {
  background: #0a0a0a;
  padding: 4rem 0;
  border-bottom: 2px solid var(--blue);
}
.page-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 10vw, 5.5rem);
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-hero__subtitle {
  font-size: 1.2rem;
  color: var(--silver);
  letter-spacing: 0.1em;
}

/* Section Eyebrow & Title */
.section-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,203,255,0.08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,203,255,0.15);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Stat Cards */
.stat-card {
  background: #fafafa;
  padding: 1.8rem 0.5rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,203,255,0.08); }
.stat-card__number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--blue);
  line-height: 1;
}
.stat-card__label { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #555; }

/* Timeline */
.timeline { max-width: 800px; margin: 0 auto; }
.timeline__item { display: flex; gap: 24px; margin-bottom: 2.5rem; }
.timeline__marker { display: flex; flex-direction: column; align-items: flex-end; min-width: 80px; }
.timeline__year { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; font-weight: 500; color: var(--blue); line-height: 1; }
.timeline__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(0,203,255,0.2); margin-top: 8px; }
.timeline__card { background: #fff; padding: 1.8rem 2rem; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.03); flex: 1; }
.timeline__card h3 { font-weight: 700; font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--black); }
.timeline__card p { color: #555; line-height: 1.6; }

/* Value Cards */
.value-card { text-align: center; padding: 1.5rem 0.5rem; }
.value-card__icon { width: 70px; height: 70px; margin: 0 auto 1.5rem; background: rgba(0,203,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,203,255,0.15); }
.value-card__icon i { font-size: 2rem; color: var(--blue); }
.value-card h4 { font-weight: 700; margin-bottom: 0.5rem; }

/* Quality Card */
.quality-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 12px 30px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.03); }
.quality-card__badge { background: var(--blue); color: var(--black); font-weight: 700; padding: 1.5rem 1.2rem; border-radius: 60px; text-align: center; min-width: 120px; box-shadow: 0 8px 20px rgba(0,203,255,0.3); }
.quality-card__badge span { font-size: 1.5rem; display: block; }

/* Responsive */
@media (max-width: 768px) {
  .timeline__item { flex-direction: column; gap: 12px; }
  .timeline__marker { flex-direction: row; align-items: center; gap: 15px; }
  .timeline__dot { margin-top: 0; }
  .quality-card { flex-direction: column; text-align: center; }
  .quality-card__badge { margin: 1rem auto 0; }
}

/* ============================================================
   SAFEWELD PRODUCTS PAGE – PROFESSIONAL · ANIMATED · RESPONSIVE
   Brand Colors: #00CBFF (Blue) | #B0B0B0 (Silver) | #000000 | #FFFFFF
   Design System: 8px Grid · Bebas Neue + Barlow
   ============================================================ */

:root {
  --gl-blue: #00CBFF;
  --gl-silver: #B0B0B0;
  --gl-black: #000000;
  --gl-white: #FFFFFF;
  --gl-dark: #0a0a0a;
  --gl-gray-light: #f5f7fa;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 16px 32px rgba(0, 0, 0, 0.06);
  --shadow-blue: 0 12px 28px rgba(0, 203, 255, 0.12);
  --border-radius-card: 16px;
  --border-radius-btn: 6px;
  --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--gl-white);
}

/* 全局标题字体 */
h1, h2, h3, h4, .display-4, .fw-bold {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  letter-spacing: 0.5px;
}

/* ---------- 页面头部 (Hero) ---------- */
.bg-dark {
  background: var(--gl-dark) !important;
  border-bottom: 2px solid var(--gl-blue);
}

.bg-dark h1 {
  color: var(--gl-white);
  text-shadow: 0 0 20px rgba(0, 203, 255, 0.3);
  animation: fadeInUp 0.6s ease-out;
}

.bg-dark .lead {
  color: var(--gl-silver);
  animation: fadeInUp 0.6s 0.1s ease-out both;
}

/* ---------- 分类筛选栏 ---------- */
.category-btn {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 0.5rem;
  border-radius: 40px !important;
  border: 1.5px solid transparent;
  transition: var(--transition-smooth);
  background: transparent;
  color: #333;
}

.category-btn:hover {
  border-color: var(--gl-blue);
  background: rgba(0, 203, 255, 0.04);
  color: var(--gl-black);
  transform: translateY(-2px);
}

.category-btn:active {
  transform: translateY(0);
}

/* 模拟激活状态 (可配合JS添加.active类) */
.category-btn.active {
  background: var(--gl-blue);
  color: var(--gl-black);
  border-color: var(--gl-blue);
  box-shadow: 0 4px 12px rgba(0, 203, 255, 0.3);
}

/* ---------- 分类标题 ---------- */
h2.border-bottom {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  border-bottom: 3px solid var(--gl-blue) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 2rem !important;
  display: inline-block;
  position: relative;
  transition: border-color 0.2s;
}

h2 i {
  color: var(--gl-blue);
  margin-right: 12px;
}

/* 标题下方描述文字 */
.text-muted.mb-3 {
  font-size: 1rem;
  color: var(--gl-silver) !important;
  margin-top: -0.5rem;
  margin-bottom: 2rem !important;
}

/* ---------- 产品卡片 (核心动画) ---------- */
.card {
  border: none;
  border-radius: var(--border-radius-card);
  background: var(--gl-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-blue), var(--shadow-md);
  border-color: rgba(0, 203, 255, 0.15);
}

/* 图片容器 — 保证统一宽高比且不变形 */
.card-img-top {
  height: 200px;
  object-fit: cover;
  background: #f4f4f4;
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.03);
}

/* 卡片内容 */
.card-body {
  padding: 1.5rem 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--gl-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

/* 查看详情按钮 */
.btn-outline-dark {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius-btn);
  border: 1.5px solid #ddd;
  color: #333;
  padding: 0.6rem 0.5rem;
  transition: var(--transition-smooth);
  background: transparent;
  align-self: flex-start;
  margin-top: auto;
}

.btn-outline-dark:hover {
  background: var(--gl-blue);
  border-color: var(--gl-blue);
  color: var(--gl-black);
  box-shadow: 0 6px 16px rgba(0, 203, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-dark i {
  margin-left: 6px;
  transition: transform 0.2s;
}

.btn-outline-dark:hover i {
  transform: translateX(4px);
}

/* ---------- 配件区域 (Coming Soon) ---------- */
.alert-secondary {
  background: var(--gl-gray-light);
  border: 1px dashed var(--gl-silver);
  border-radius: 24px;
  color: #444;
  padding: 2.5rem 1rem;
  transition: var(--transition-smooth);
}

.alert-secondary i {
  color: var(--gl-blue);
  opacity: 0.7;
  margin-bottom: 1rem;
  animation: pulse 2.5s infinite;
}

/* ---------- 动画定义 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* 卡片交错入场动画 (简单起见整体加在section上) */
#tig-welding-gloves .col-md-3,
#stick-mig-gloves .col-md-3,
#welding-jackets-aprons .col-md-3,
#driver-work-gloves .col-md-3,
#heat-resistant-gloves .col-md-3,
#animal-handling-gloves .col-md-3,
#fr-hivis-clothing .col-md-3 {
  animation: fadeInUp 0.6s ease-out both;
}

/* 为每个卡片增加延迟 (纯CSS做不到精细，但可用统一延迟) */
#tig-welding-gloves .col-md-3:nth-child(1) { animation-delay: 0.05s; }
#tig-welding-gloves .col-md-3:nth-child(2) { animation-delay: 0.1s; }

#stick-mig-gloves .col-md-3:nth-child(1) { animation-delay: 0.05s; }
#stick-mig-gloves .col-md-3:nth-child(2) { animation-delay: 0.1s; }
#stick-mig-gloves .col-md-3:nth-child(3) { animation-delay: 0.15s; }
#stick-mig-gloves .col-md-3:nth-child(4) { animation-delay: 0.2s; }
#stick-mig-gloves .col-md-3:nth-child(5) { animation-delay: 0.25s; }
#stick-mig-gloves .col-md-3:nth-child(6) { animation-delay: 0.3s; }
#stick-mig-gloves .col-md-3:nth-child(7) { animation-delay: 0.35s; }
#stick-mig-gloves .col-md-3:nth-child(8) { animation-delay: 0.4s; }
#stick-mig-gloves .col-md-3:nth-child(9) { animation-delay: 0.45s; }
#stick-mig-gloves .col-md-3:nth-child(10) { animation-delay: 0.5s; }
#stick-mig-gloves .col-md-3:nth-child(11) { animation-delay: 0.55s; }

#welding-jackets-aprons .col-md-3:nth-child(1) { animation-delay: 0.05s; }
#welding-jackets-aprons .col-md-3:nth-child(2) { animation-delay: 0.1s; }
#welding-jackets-aprons .col-md-3:nth-child(3) { animation-delay: 0.15s; }
#welding-jackets-aprons .col-md-3:nth-child(4) { animation-delay: 0.2s; }
#welding-jackets-aprons .col-md-3:nth-child(5) { animation-delay: 0.25s; }
#welding-jackets-aprons .col-md-3:nth-child(6) { animation-delay: 0.3s; }
#welding-jackets-aprons .col-md-3:nth-child(7) { animation-delay: 0.35s; }

#driver-work-gloves .col-md-3:nth-child(1) { animation-delay: 0.05s; }
#driver-work-gloves .col-md-3:nth-child(2) { animation-delay: 0.1s; }

#fr-hivis-clothing .col-md-3:nth-child(1) { animation-delay: 0.05s; }
#fr-hivis-clothing .col-md-3:nth-child(2) { animation-delay: 0.1s; }

/* ---------- 响应式微调 (手机/平板) ---------- */
@media (max-width: 768px) {
  .bg-dark h1 {
    font-size: 2.5rem;
  }
  h2.border-bottom {
    font-size: 2rem;
  }
  .category-btn {
    font-size: 0.65rem;
    padding: 0.4rem 0.2rem;
  }
  .card-img-top {
    height: 160px;
  }
  .card-body {
    padding: 1rem 0.8rem 1.2rem;
  }
  .card-title {
    font-size: 0.95rem;
  }
  .btn-outline-dark {
    font-size: 0.7rem;
    padding: 0.5rem 0.3rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .col-6 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .card-img-top {
    height: 140px;
  }
  .category-btn {
    padding: 0.3rem 0.1rem;
  }
}

/* 滚动行为平滑 */
html {
  scroll-behavior: smooth;
}

/* 分类按钮容器间距优化 */
.py-3.bg-light {
  background: var(--gl-white) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}