/**
 * 三一東林科技 (31hep.ai) 關於我們專案高奢旗艦樣式表
 * HEP TECH Co., Ltd. - About Company Hub Master Stylesheet
 * 獨立提取以徹底消除 FOUC (Flash of Unstyled Content) 閃爍
 */
@charset "UTF-8";

/* 基礎前置重設，避免依賴外部 CDN 延遲 */
.about-hub-section,
.about-hub-section * {
  box-sizing: border-box;
}
.about-hub-section .font-mono {
  font-family: SF Mono, Menlo, Monaco, Consolas, monospace !important;
}
.about-hub-section .text-gold {
  color: var(--accent-gold-light, #F5D76E) !important;
}
.about-hub-section .gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 8px #D4AF37;
  display: inline-block;
}

/* ── 關於我們專屬高奢旗艦樣式 (About Company Hub Styles) ── */
.about-hub-section {
  background-color: #0E1015;
  color: #E2E8F0;
  position: relative;
  overflow: hidden;
  padding-bottom: 60px;
}

/* 頂部全屏視覺橫幅 */
.about-hero-banner {
  background-size: cover;
  background-position: center;
  padding: 130px 0 70px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.about-hero-container {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 30px;
  color: var(--accent-gold-light, #F5D76E);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.about-hero-badge .gold-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 8px #D4AF37;
}

.about-hero-title {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.25;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.about-hero-subtitle {
  font-size: clamp(12px, 1.8vw, 14.5px);
  color: #94A3B8;
  letter-spacing: 0.08em;
  margin-bottom: 38px;
}

/* 4 大核心數據指標 */
.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-metric-card {
  background: rgba(20, 24, 33, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--accent-gold, #D4AF37);
  backdrop-filter: blur(12px);
  padding: 22px 16px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.25s ease;
}

.about-metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.about-metric-card .metric-num {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-metric-card .metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 2px;
}

.about-metric-card .metric-sub {
  font-size: 11px;
  color: #64748B;
  text-transform: none;
  letter-spacing: 0.05em;
}

/* 內容主體容器 */
.about-body-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 0;
}

.about-block-wrap {
  margin-bottom: 80px;
}

.about-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.about-section-head .section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-gold, #D4AF37);
  font-weight: 800;
  text-transform: none;
  margin-bottom: 8px;
}

.about-section-head .section-h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.about-section-head .section-sub-desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.65;
}

.about-section-head .gold-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 16px auto 0;
}

/* 區塊 A: 企業介紹雙欄 */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.intro-p {
  font-size: 15px;
  line-height: 1.8;
  color: #CBD5E1;
  margin-bottom: 18px;
}

.intro-p.lead-p {
  font-size: 16px;
  font-weight: 500;
  color: #F8FAFC;
  line-height: 1.85;
}

.hep-dna-box {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 4px solid var(--accent-gold, #D4AF37);
  border-radius: 8px;
  padding: 20px 22px;
  margin-top: 24px;
}

.dna-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-gold-light, #F5D76E);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.dna-title {
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dna-title strong {
  font-size: 18px;
  color: #FFFFFF;
}

.dna-desc {
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.6;
}

/* 董事長的話卡片 */
.chairman-card {
  background: #141721;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.chairman-photo-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #000;
}

.chairman-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.chairman-card:hover .chairman-img {
  transform: scale(1.03);
}

.chairman-badge-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 16, 21, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--accent-gold-light, #F5D76E);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.chairman-content {
  padding: 24px;
}

.chairman-quote {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.chairman-msg {
  font-size: 13px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 18px;
}

.chairman-sign-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.chairman-role {
  font-size: 11.5px;
  color: #64748B;
}

.chairman-name {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

/* 區塊 B: 里程碑時間軸 */
.milestones-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-item-card {
  background: #141721;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.timeline-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.timeline-year-badge {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-light, #F5D76E);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.45;
}

.timeline-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0;
  flex: 1;
}

.timeline-step-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 24px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
}

/* 區塊 C: 四大基地矩陣 */
.bases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.base-card {
  background: #141721;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.base-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.base-img-box {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #000;
}

.base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.base-card:hover .base-img {
  transform: scale(1.05);
}

.base-badge-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(14, 16, 21, 0.88);
  border: 1px solid var(--accent-gold, #D4AF37);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.base-info-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.base-loc {
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.base-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.base-subtitle {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 12px;
}

.base-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 16px;
  flex: 1;
}

.base-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.base-pill {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  border-radius: 4px;
}

.base-contact-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 11.5px;
}

.bc-row {
  display: flex;
  gap: 8px;
  line-height: 1.55;
}

.bc-row:not(:last-child) {
  margin-bottom: 4px;
}

.bc-lbl {
  color: #64748B;
  font-weight: 700;
  width: 38px;
  flex-shrink: 0;
}

.bc-val {
  color: #CBD5E1;
  word-break: break-all;
}

/* 區塊 D: 品質創新、專利肯定、綠色 ESG 與無衝突礦產四大合規矩陣 */
.about-compliance-wrap {
  background: #141721;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* 4 標籤導航器 */
.compliance-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comp-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.comp-tab-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  color: #F8FAFC;
}

.comp-tab-btn.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--accent-gold, #D4AF37);
  color: var(--accent-gold-light, #F5D76E);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* 標籤內容容器 */
.compliance-tabs-content {
  min-height: 260px;
}

.comp-tab-pane {
  display: none;
  animation: compFadeIn 0.3s ease;
}

.comp-tab-pane.active {
  display: block;
}

@keyframes compFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 引言導讀卡 */
.comp-lead-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.comp-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.comp-lead-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #CBD5E1;
  margin: 0;
}

.comp-esg-title,
.comp-conflict-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px;
}

.comp-conflict-policy-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* PANE 1: 品質要求三大支柱 */
.comp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.comp-pillar-card {
  background: rgba(20, 24, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--accent-gold, #D4AF37);
  border-radius: 8px;
  padding: 22px 20px;
  transition: all 0.25s ease;
}

.comp-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.comp-pillar-idx {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.comp-pillar-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.comp-pillar-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0;
}

/* PANE 2: 榮譽專利網格 */
.comp-honors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.comp-honor-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(20, 24, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  transition: all 0.25s ease;
}

.comp-honor-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.comp-honor-icon {
  font-size: 24px;
  line-height: 1;
}

.comp-honor-title {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 4px;
}

.comp-honor-desc {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

.comp-cert-badges-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.cert-pill {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  border-radius: 4px;
}

/* PANE 3: ESG 網格與示意圖卡片 */
.comp-esg-img-container {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
}

.comp-esg-img-container:hover {
  border-color: var(--accent-gold, #D4AF37);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.comp-esg-infographic-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.comp-esg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.comp-esg-card {
  background: rgba(20, 24, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 22px 20px;
  transition: all 0.25s ease;
}

.comp-esg-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
}

.comp-esg-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.comp-esg-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.comp-esg-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0;
}

/* PANE 4: 無衝突礦產承諾列表 */
.comp-commitments-box {
  background: rgba(20, 24, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px 26px;
}

.comp-commit-head {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.comp-commit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-commit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.comp-commit-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-gold-light, #F5D76E);
  flex-shrink: 0;
}

.comp-commit-txt {
  font-size: 13.5px;
  color: #CBD5E1;
  line-height: 1.65;
}

/* 響應式佈局 (RWD) */
@media (max-width: 992px) {
  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .milestones-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bases-grid {
    grid-template-columns: 1fr;
  }
  .comp-pillars-grid,
  .comp-esg-grid {
    grid-template-columns: 1fr;
  }
  .comp-honors-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero-banner {
    padding: 100px 0 50px;
  }
  .about-metrics-grid {
    grid-template-columns: 1fr;
  }
  .milestones-timeline-grid {
    grid-template-columns: 1fr;
  }
  .about-compliance-wrap {
    padding: 24px 18px;
  }
}
