/* ============================================================
   HALIRA 產品頁專用樣式 (halira.css)
   ------------------------------------------------------------
   共用 style.css 的變數(var(--navy)/--coral 等)、.container、.btn、
   導覽列。這裡只寫這頁特有的區塊。
   兩個「用 CSS 畫的圖」：ETC 流程圖、研發進度條 stepper。
   ============================================================ */
:root {
  --hl-pink:  #e6a4a0;   /* HALIRA 粉珊瑚（標題/重點） */
  --hl-panel: #f4f6f9;   /* 淺面板底 */
}


/* ---------- 1. Hero ---------- */
.hl-hero {
  position: relative; overflow: hidden; color: #fff;
  /* 深藍底 + 右側紅色細胞光暈（模擬被鎖定的癌細胞；之後換真圖） */
  background:
    radial-gradient(circle at 78% 40%, rgba(200,70,80,0.34), transparent 40%),
    radial-gradient(circle at 92% 65%, rgba(80,120,180,0.28), transparent 55%),
    linear-gradient(120deg, #0a1830 0%, #0d2447 60%, #16294f 100%);
}
.hl-hero-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; padding: 70px 32px 44px; }
.hl-hero-copy { flex: 1; max-width: 560px; }

.hl-title {
  font-size: 74px; font-weight: 800; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(92deg, #eaa596 0%, #edb9bd 55%, #f0cfc9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-title sup { font-size: 22px; }
.hl-eyebrow { letter-spacing: 5px; font-size: 16px; color: #dce6f2; margin: 10px 0 22px; }
.hl-lead { font-size: 17px; line-height: 1.8; color: #d6e0ee; margin-bottom: 30px; }

.hl-hero-media {
  position: relative; z-index: 2; flex: 0 0 42%; align-self: stretch;
  min-height: 340px; border-radius: 10px;
  background: radial-gradient(circle at 55% 45%, rgba(210,90,95,0.20), rgba(255,255,255,0.03));
  border: 1px dashed rgba(255,255,255,0.20);
}

/* Hero 底部四特色（深色 band） */
.hl-features {
  position: relative; z-index: 2; display: flex; gap: 26px;
  padding: 26px 32px 36px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hl-feature { flex: 1; display: flex; gap: 14px; }
.hl-fico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%;
  border: 1px solid rgba(230,170,160,0.5); background: rgba(255,255,255,0.05);
}
.hl-feature strong { display: block; font-size: 15px; color: #fff; margin-bottom: 5px; }
.hl-feature p { font-size: 12px; color: #b7c5d7; line-height: 1.55; }


/* ---------- 共用小元件 ---------- */
.hl-tag { color: var(--coral); font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; }
.hl-para { font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.hl-para.wide { max-width: 720px; }
.hl-h2 { font-size: 28px; color: var(--navy); margin-bottom: 14px; }

/* 圖片佔位（虛線框 + 淺漸層） */
.hl-img-ph {
  border-radius: 10px;
  background: linear-gradient(135deg, #dbe3ec, #c4d0de);
  border: 1px dashed #b9c6d6;
  min-height: 180px;
}
.hl-img-ph.tall { min-height: 220px; margin-top: 24px; }


/* ---------- 2. How Halira Works + ETC 流程圖 ---------- */
.hl-works { background: var(--white); }
.hl-works-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.hl-works-left h2 { font-size: 30px; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }

/* ETC 流程圖面板 */
.etc-panel { border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; background: #fbfcfd; }
.etc-title { text-align: center; font-size: 14px; font-weight: 700; color: var(--navy); margin: 6px 0 16px; }
.etc-row { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.etc-step {
  position: relative; flex: 1; min-width: 74px; max-width: 120px;
  text-align: center; font-size: 11px; line-height: 1.35; color: var(--navy);
  background: #eef2f7; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 6px; min-height: 58px;
  display: flex; align-items: center; justify-content: center;
}
.etc-step.atp  { background: #fbe6de; border-color: #f0c9bb; }   /* ATP 高亮（暖） */
.etc-step.good { background: #f7dfe4; border-color: #eec3cc; }   /* 細胞存活 */
.etc-step.atp.off,
.etc-step.dead { background: #e7ebef; border-color: #d5dbe2; color: #8b98a6; }  /* 灰掉 */
.etc-arrow { color: #b6c2d0; font-size: 16px; }

/* 被抑制的步驟：疊一個紅叉 */
.etc-step.blocked { color: #9aa6b3; }
.etc-x {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #d0433f; font-size: 30px; font-weight: 700;
}
.etc-legend { display: flex; gap: 26px; justify-content: center; font-size: 12px; color: var(--text-muted); }
.etc-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-right: 6px; }
.etc-legend .xmark { color: #d0433f; font-weight: 700; margin-right: 6px; }


/* ---------- 3. Scientific Rationale ---------- */
.hl-rationale { background: var(--hl-panel); }
.rationale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
/* 天平示意圖佔位（含左右標籤） */
.hl-img-ph.scale {
  position: relative; min-height: 240px;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 20px;
}
.scale-label { font-size: 13px; color: var(--navy); text-align: center; }
.scale-label small { display: block; font-size: 11px; color: var(--text-muted); }

.rationale-points { display: flex; flex-direction: column; gap: 26px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.point strong { display: block; font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.point p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }


/* ---------- 4. R&D Status + 進度條 stepper ---------- */
.hl-status { background: var(--white); }
/* 箭頭形狀進度條：用 clip-path 把每段切成向右的箭頭 */
.stepper { list-style: none; display: flex; margin: 6px 0 34px; flex-wrap: wrap; }
.step {
  padding: 13px 22px 13px 30px;
  background: #e9edf2; color: #8593a3; font-size: 13px; font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 50%, 0 100%);
  margin-left: -12px;
}
.step:first-child { margin-left: 0; padding-left: 22px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.step.done    { background: var(--navy-deep); color: #fff; }
.step.done::before { content: "✓ "; }
.step.current { background: var(--coral); color: #fff; }

.status-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 30px; align-items: center; }
.status-results .results-title { font-size: 13px; letter-spacing: 1px; color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.status-results ul { display: flex; flex-direction: column; gap: 10px; }
.status-results li { position: relative; padding-left: 24px; font-size: 13px; color: var(--text); }
.status-results li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }


/* ---------- 5. Future for companion animals ---------- */
.hl-future { background: var(--hl-panel); }
.future-grid { display: grid; grid-template-columns: 1fr 0.9fr 1fr; gap: 30px; align-items: center; }
.future-copy h2 { font-size: 22px; color: var(--navy); line-height: 1.3; margin-bottom: 14px; letter-spacing: 0.5px; }
.future-copy p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.hl-img-ph.pets { min-height: 210px; align-self: end; }
.future-cta { background: var(--navy); color: #fff; border-radius: 12px; padding: 30px 28px; }
.future-cta h3 { font-size: 17px; letter-spacing: 0.5px; margin-bottom: 10px; }
.future-cta p { font-size: 13px; color: #c6d3e2; line-height: 1.7; margin-bottom: 20px; }

/* 免責聲明 */
.hl-disclaimer { text-align: center; font-size: 12px; color: #9aa6b4; line-height: 1.7; padding: 26px 20px 40px; background: var(--hl-panel); }


/* ---------- 響應式 (RWD) ---------- */
@media (max-width: 900px) {
  .hl-hero-inner { flex-direction: column; align-items: flex-start; }
  .hl-hero-media { width: 100%; flex-basis: auto; min-height: 220px; }
  .hl-title { font-size: 56px; }
  .hl-features { flex-wrap: wrap; }
  .hl-feature { flex: 0 0 45%; }

  .hl-works-grid,
  .rationale-grid,
  .status-grid,
  .future-grid { grid-template-columns: 1fr; }
  .status-grid { gap: 22px; }
}
@media (max-width: 600px) {
  .hl-title { font-size: 44px; }
  .hl-feature { flex: 0 0 100%; }
  .etc-step { min-width: 60px; font-size: 10px; }
  .stepper { flex-direction: column; }
  .step, .step:first-child { clip-path: none; margin: 0 0 6px; border-radius: 6px; padding: 12px 16px; }
}
