/* ==========================================================================
   Section Top 1 (PARTNER RECRUITMENT / 販売代理店募集)
   ========================================================================== */

.section-top1 {
  background-color: #041a3d; /* 深藍色背景 */
}

/* 青綠色膠囊標籤 */
.badge-partner {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

/* 主標題 */
.top1-title {
  font-size: 24px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .section-top1 .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .top1-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Section Top 2 (Hero Section - LEDビジョンを 新たな事業の柱に)
   ========================================================================== */

/* 深藍色背景顏色 */
.bg-dark-navy {
  background-color: #062863; /* 深藍色視覺色值 */
}

/* 左側文字容器最小高度 */
.hero-left-content {
background-image: url(../img/salesagentintroduction/top2/bg.png);
background-size: cover;
  min-height: 420px;
}

.hero-text-wrapper {
  max-width: 520px;
  width: 100%;
}

/* 主標題 */
.hero-title {
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* 內文描述與文字透明度 */
.hero-desc {
  font-size: 16px;
  line-height: 1.7;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.85);
}

/* 右側圖片容器與最小高度控制 */
.hero-right-img-box {
  min-height: 420px;
  background-color: #000000;
}

/* 右下角圖片來源標記 */
.image-credit {
  font-size: 11px;
  background-color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-left-content {
    min-height: auto;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-right-img-box {
    min-height: 280px;
  }
}

/* ==========================================================================
   Section Sales Agent Introduction 1 (代理店招募與職責)
   ========================================================================== */

.section-sales-agent-intro {
  background-color: #f8fafc; /* 清爽淡灰背景 */
}

/* 深藍色文字 */
.text-dark-navy {
  color: #061838 !important;
}

/* 標題四方塊 Icon */
.title-square-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  padding-bottom: 49px;
    padding-right: 21px;
}

.section-title {
  font-size: 26px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  line-height: 1.6;
}

/* 頂部大插圖容器 */
.main-illustration-box img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}

/* 橘紅色/珊瑚紅膠囊標籤 */
.badge-coral {
  display: inline-block;
  background-color: #f06a55; /* 珊瑚橘紅 */
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}

/* 小卡片樣式 */
.partner-card {
  height: 100%;
  border-color: #e2e8f0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06) !important;
}

.card-text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.partner-img-box {
  width: 140px;
  height: 105px;
  background-color: #e2e8f0;
}

/* 職責對照表格 */
.role-table-wrapper {
  background-color: #ffffff;
  border-color: #e2e8f0 !important;
}

.role-table th,
.role-table td {
  border-bottom: 1px solid #e2e8f0;
}

.role-table tr:last-child th,
.role-table tr:last-child td {
  border-bottom: none;
}

.bg-light-blue {
  background-color: #f1f5f9 !important;
}

.role-th {
  width: 25%;
  min-width: 140px;
  font-size: 15px;
  text-align: center;
}

.role-td {
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 22px;
  }

  .partner-img-box {
    width: 100%;
    height: 160px;
  }

  .role-th {
    width: 30%;
    min-width: 110px;
    font-size: 14px;
  }

  .role-td {
    font-size: 13px;
  }
}

/* ==========================================================================
   Section Product Details 2 (LOCATIONS & USES - 主要設置場所・用途)
   ========================================================================== */

.section-product-details2 {
  background-color: #062356; /* 主視覺深藍色 */
}

/* 青綠色膠囊標籤 */
.badge-use-cases {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 50px;
}

/* 標題與內文文字透明度控制 */
.section-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  max-width: 640px;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.85);
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

/* 情境卡片圖片容器 */
.use-case-img-box {
  height: 200px;
  background-color: #000000;
}

.use-case-title {
  color: #ffffff;
  letter-spacing: -0.2px;
}

.use-case-desc {
  font-size: 14px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 22px;
  }

  .use-case-img-box {
    height: 180px;
  }
}

/* ==========================================================================
   Section Product Details 3 (Network Flow Section)
   ========================================================================== */

.section-network-flow {
  background-color: #ffffff;
}

/* 顏色變數類別 */
.text-dark-navy {
  color: #061838 !important;
}

.text-teal {
  color: #0096a4 !important;
}

/* 頂部標籤 */
.network-badge {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 18px;
  border-radius: 50px;
}

/* 頂部標題與說明 */
.network-title {
  font-size: 28px;
  letter-spacing: -0.3px;
}

.network-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* 圖片與數字標籤容器 */
.flow-img-wrapper {
  width: 100%;
  max-width: 210px;
  padding-top: 10px; /* 給數字凸出留空間 */
}

/* 左上角青綠色圓形數字 */
.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background-color: #0096a4;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 150, 164, 0.3);
}

/* 膠囊/橢圓形圖片框 */
.flow-img-box {
  width: 100%;
  height: 130px;
  border-radius: 100px !important; /* 製作橫向橢圓形/膠囊形 */
  background-color: #f1f5f9;
}

/* 內文文字區域 */
.flow-cat {
  font-size: 12px;
  letter-spacing: 1px;
}

.flow-title {
  font-size: 16px;
}

.flow-desc {
  color: #64748b;
  line-height: 1.5;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   響應式調整 (RWD)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .network-title {
    font-size: 22px;
  }
  
  .flow-img-wrapper {
    max-width: 240px;
  }

  .flow-img-box {
    height: 140px;
  }
}

/* ==========================================================================
   Section Product Details 4 (FAQ Section)
   ========================================================================== */

.section-faq {
  background-color: #ffffff;
}

/* FAQ 膠囊標籤 */
.faq-badge {
  display: inline-block;
  background-color: #0096a4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 18px;
  border-radius: 50px;
}

/* FAQ 主標題 */
.faq-title {
  color: #081d3c;
  font-size: 32px;
  line-height: 1.3;
  margin-top: 10px;
}

/* Bootstrap Accordion 重置與樣式 */
.faq-accordion {
  border-top: 1px solid #e2e8f0;
}

.faq-accordion .faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 !important;
}

/* 折疊按鈕 */
.faq-accordion .accordion-button {
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 24px 0 16px 0;
  color: #081d3c;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 自訂展開/收合開關圖示 (一字線 / 橫槓) */
/* .faq-accordion .accordion-button::after {
  background-image: none !important;
  content: "—";
  font-size: 18px;
  font-weight: 300;
  color: #081d3c;
  transform: none !important;
  margin-left: auto;
} */

/* Q 圓形圖示 */
.faq-icon-q {
  width: 36px;
  height: 36px;
  background-color: #0096a4;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* A 圓形圖示 */
.faq-icon-a {
  width: 36px;
  height: 36px;
  background-color: #e6f5f7;
  color: #0096a4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* 問題與回答內文 */
.faq-question-text {
  font-size: 16px;
  color: #081d3c;
}

.faq-accordion .accordion-body {
  padding: 0 0 24px 0;
}

.faq-answer-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  padding-top: 6px;
}

/* 響應式調整 */
@media (max-width: 991.98px) {
  .faq-title {
    font-size: 24px;
  }
  .faq-accordion .accordion-button {
    padding: 18px 0 12px 0;
    font-size: 15px;
  }
}


/* ==========================================================================
   Section Product Details 4 (FAQ Section) 手機版專用樣式
   (僅在 767.98px 以下生效，PC 版完全不變)
   ========================================================================== */
@media (max-width: 767.98px) {
  .section-faq {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }

  /* 1. 頂部 FAQ 標籤與標題置中 */
  .section-faq .faq-header {
    text-align: center !important;
    margin-bottom: 8px !important;
  }

  .section-faq .faq-badge {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    padding: 5px 18px !important;
    margin-bottom: 6px !important;
  }

  .section-faq .faq-title {
    font-size: 24px !important;
    line-height: 1.4 !important;
    color: #081d3c !important;
    margin-bottom: 0 !important;
  }

  /* 2. 折疊列表外框與分隔線色調 */
  .section-faq .faq-accordion {
    border-top: 1px solid #dbe6f2 !important;
  }

  .section-faq .faq-accordion .faq-item {
    border-bottom: 1px solid #dbe6f2 !important;
  }

  /* 3. 問題列 (Q)：靠上對齊，確保問題換行時 Q 圓圈與右側橫線對齊第一行 */
  .section-faq .faq-accordion .accordion-button {
    padding: 20px 0 14px 0 !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .section-faq .faq-icon-q {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .section-faq .faq-question-text {
    font-size: 15px !important;
    line-height: 1.5 !important;
    padding-top: 4px !important;
    padding-right: 8px !important;
    color: #081d3c !important;
  }

  /* 右側「—」橫線圖示與第一行文字對齊 */
  /* .section-faq .faq-accordion .accordion-button::after {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #081d3c !important;
    margin-top: 4px !important;
  } */

  /* 4. 回答列 (A)：手機版預設展開顯示，並為 A 圓圈加上精緻細邊框 */
  .section-faq .faq-accordion .accordion-collapse.collapse {
    display: block !important;
  }

  .section-faq .faq-accordion .accordion-body {
    padding: 0 0 22px 0 !important;
  }

  .section-faq .faq-accordion .accordion-body .d-flex {
    gap: 12px !important;
  }

  .section-faq .faq-icon-a {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    background-color: #f4f9fa !important;
    border: 1px solid #cce5e8 !important;
    color: #0096a4 !important;
  }

  .section-faq .faq-answer-text {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    padding-top: 4px !important;
  }
}