/* =========================================================
   Product & Technology page — Figma "Product-0522"
   Desktop pinned to the Figma 1440px spec (fixed px).
   Scoped under .pp-page · class prefix: pp-
   ========================================================= */

.pp-page {
  --pp-blue: #1759d4;
  --pp-blue-dark: #1247ab;
  --pp-ink: #333333;
  --pp-ink-soft: #303030;
  --pp-panel: #f8f7f7;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Heiti TC", sans-serif;
  color: var(--pp-ink);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.pp-page * { box-sizing: border-box; }
.pp-page img { max-width: 100%; }
.pp-page a { text-decoration: none; }

/* Figma: 1440 frame · 80px side margins · 1280 content */
.pp-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.pp-section { padding: 56px 0; }

/* ---- shared headings (Figma: 31px / 18px) ---- */
.pp-heading { margin-bottom: 48px; }
.pp-heading.is-center { text-align: center; }
.pp-split .pp-heading { margin-bottom: 0; }
.pp-h2 {
  margin: 0 0 14px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pp-ink);
}
.pp-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--pp-ink-soft);
}

/* ---- arrow text link (Figma: 21px medium #1759d4) ---- */
.pp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--pp-blue);
  font-size: 21px;
  font-weight: 500;
  transition: opacity .2s ease;
}
.pp-link::after { content: "\2B62"; font-size: 21px; }
.pp-link:hover { color: var(--pp-blue); opacity: .72; }

/* ---- buttons (Figma: h62 · 21px bold · radius 7 · arrow 32px) ---- */
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 62px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 21px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pp-btn:hover { transform: translateY(-1px); }
.pp-btn-primary { background: var(--pp-blue); color: #fff; }
.pp-btn-primary:hover { background: var(--pp-blue-dark); color: #fff; }
.pp-btn-arrow { font-size: 32px; line-height: 1; }
.pp-btn-outline { border-color: rgba(255, 255, 255, .9); color: #fff; }
.pp-btn-outline:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* =========================================================
   Hero (Figma: title 70 · sub 28 · desc 21 · photo 893h)
   ========================================================= */
.pp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 893px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 5, 18, .82) 0%, rgba(0, 5, 18, .34) 52%, rgba(0, 5, 18, .58) 100%),
    #0a1120 url("../img/product/hero-bg.jpg") center / cover no-repeat;
}
.pp-hero .pp-container { padding-top: 120px; padding-bottom: 96px; }
.pp-hero-inner { max-width: 540px; }
.pp-hero-title {
  margin: 0 0 22px;
  font-size: 70px;
  font-weight: 700;
  line-height: 1.2;
}
.pp-hero-sub {
  margin: 0 0 34px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}
.pp-hero-desc {
  margin: 0 0 80px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
}
.pp-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
   Feature cards — 機器人導引系統特色
   (Figma: card 300w · icon 56 · title 24 · text 18)
   ========================================================= */
.pp-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pp-feature-card {
  display: flex;
  gap: 15px;
  padding: 25px 5px 15px 25px;
  min-height: 156px;
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 10px 8px -9px rgba(0, 0, 0, 0.5);
}
.pp-feature-icon { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; }
.pp-feature-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pp-ink);
}
.pp-feature-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--pp-ink-soft);
}

/* =========================================================
   Split rows (text column + visual column)
   ========================================================= */
.pp-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

/* ---- compatibility flow panel (Figma: panel #f8f7f7 · title 21 · sub 18) ---- */
.pp-split-top {
  align-items: start;
  grid-template-columns: 360px 1fr;
  gap: 20px;
}
.pp-compat-panel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 20px 24px;
  background: var(--pp-panel);
  border-radius: 8px;
}
.pp-compat-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pp-compat-thumb {
  display: flex;
  justify-content: center;
  width: 90%;
  height: 153px;
}
.pp-compat-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 156px;
  object-fit: contain;
}
.pp-compat-item:last-child .pp-compat-thumb { align-items: center; }
.pp-compat-item:last-child .pp-compat-thumb img { transform: rotate(-18deg); }
.pp-compat-item h4 {
  margin: 14px 0 4px;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--pp-ink);
}
.pp-compat-item span { font-size: 18px; color: var(--pp-ink-soft); }
.pp-compat-sep {
  flex: 0 0 50px;
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-compat-sep img {
  width: 34px;
  height: 34px;
  transform: rotate(45deg);
}

/* =========================================================
   Core functions — video (Figma: checklist 18 · leading 28)
   ========================================================= */
.pp-checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.pp-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--pp-ink);
}
.pp-checklist li img { width: 15px; height: 15px; }
.pp-video {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .20);
}
.pp-video img { width: 100%; display: block; }
.pp-video .pp-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(23, 89, 212, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.pp-video:hover .pp-play { transform: scale(1.06); background: var(--pp-blue); }
.pp-video .pp-play::before {
  content: "";
  margin-left: 6px;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
}

/* =========================================================
   Steps — 精準手術定位4步驟
   (Figma: card 290w 265h · gap 30 · icon 42 straddles top · centered)
   ========================================================= */
.pp-steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr 30px) 1fr;
  align-items: stretch;
  padding-top: 21px;
}
.pp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  align-self: stretch;
  padding: 0 16px 18px;
  border-radius: 10px;
  background: #f7f7f7;
  box-shadow: 0 10px 8px -9px rgba(0, 0, 0, 0.5);
}
.pp-step-icon {
  width: 42px;
  height: 42px;
  margin: -21px 0 0;
  object-fit: contain;
}
.pp-step h3 {
  margin: 14px 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--pp-ink);
}
.pp-step p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--pp-ink-soft);
}
.pp-step-photo {
  width: 100%;
  margin-top: auto;
  border-radius: 6px;
  overflow: hidden;
}
.pp-step-photo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.pp-step-arrow { display: flex; justify-content: center; align-items: center; }
.pp-step-arrow img { width: 16px; height: 16px; }

/* =========================================================
   Cases — Point Robotics 系統應用案例
   (Figma: title 31 · number 77 · label 28 · note 14)
   ========================================================= */
.pp-cases {
  padding: 52px 0;
  color: #fff;
  background: linear-gradient(90deg, #00122e 0%, #013b94 100%);
}
.pp-cases-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.pp-cases-title {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.3;
}
.pp-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
}
.pp-metric { display: flex; align-items: center; gap: 18px; }
.pp-metric img { width: 77px; height: 77px; object-fit: contain; }
.pp-metric strong {
  display: block;
  font-size: 77px;
  font-weight: 700;
  line-height: 1;
}
.pp-metric span { font-size: 28px; }
.pp-cases-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
}

/* =========================================================
   Product showcase — 產品展示 (Figma: card 272x209 · label 21)
   ========================================================= */
.pp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pp-showcase-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 209px;
  padding: 20px;
  background: var(--pp-panel);
  border-radius: 8px;
}
.pp-showcase-card img { max-height: 100%; width: auto; }
.pp-showcase-label {
  margin: 16px 0 0;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--pp-ink);
}

/* =========================================================
   Clinical applications — 臨床應用 (Figma: icon ~112 · label 18)
   ========================================================= */
.pp-clinical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pp-clinical-item { text-align: center; }
.pp-clinical-item img { width: 112px; height: 112px; object-fit: contain; }
.pp-clinical-item span {
  display: block;
  margin-top: 14px;
  color: #00122E;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* =========================================================
   Bottom — CTA + footer (shared gradient)
   ========================================================= */
.pp-bottom {
  color: #fff;
  background: linear-gradient(90deg, #013b94 0%, #00122e 100%);
}

/* ---- CTA (Figma: heading 31 · sub 21 · legal 18/16/14) ---- */
.pp-cta { padding: 58px 0 46px; }
.pp-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: start;
}
.pp-cta h2 {
  margin: 0 0 14px;
  font-size: 31px;
  font-weight: 700;
}
.pp-cta-sub {
  margin: 0 0 40px;
  font-size: 21px;
  color: rgba(255, 255, 255, .92);
}
.pp-cta-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.pp-legal { margin-top: 50px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.pp-legal-strong {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
}
.pp-legal p {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.6;
}
.pp-legal .pp-legal-mute { font-size: 14px; color: rgba(255, 255, 255, .62); }

/* ---- footer (Figma: links 18 · desc 18/leading28 · copyright 14) ---- */
.pp-footer { padding: 0 0 36px; }
.pp-rule-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 38px;
}
.pp-rule {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, .22);
}
.pp-footer-top {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 44px 0 40px;
}
.pp-footer-brand { flex: 1 1 auto; }
.pp-footer-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.pp-footer-logos img:first-child { width: 224px; }
.pp-footer-logos img:last-child { width: 118px; }
.pp-footer-desc {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, .85);
}
.pp-footer-cols {
  flex: 0 0 auto;
  display: flex;
  gap: 24px;
  margin-top: 26px;
  padding-right: 56px;
}
.pp-footer-col { width: 150px; }
.pp-footer-col a {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 50px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.pp-footer-col a:hover { color: #fff; opacity: .75; }
.pp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}
.pp-copyright {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}
.pp-social { display: flex; align-items: center; gap: 20px; }
.pp-social a {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transition: opacity .2s ease;
}
.pp-social a:hover { opacity: .65; }

/* =========================================================
   Responsive — below the 1440 Figma desktop spec
   ========================================================= */
@media (max-width: 1320px) {
  .pp-container { padding: 0 48px; }
  .pp-hero-title { font-size: 58px; }
}

@media (max-width: 1080px) {
  .pp-container { padding: 0 40px; }
  .pp-section { padding: 48px 0; }
  .pp-hero { min-height: 660px; }
  .pp-hero .pp-container { padding-top: 132px; }
  .pp-hero-title { font-size: 46px; }
  .pp-hero-sub { font-size: 24px; }
  .pp-hero-desc { font-size: 18px; }
  .pp-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-split { grid-template-columns: 1fr; gap: 36px; }
  .pp-steps-flow { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pp-step-arrow { display: none; }
  .pp-compat-panel { padding: 16px 14px 22px; }
  .pp-compat-sep { flex-basis: 42px; }
  .pp-metric strong { font-size: 56px; }
  .pp-metric span { font-size: 22px; }
  .pp-metric img { width: 60px; height: 60px; }
  .pp-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .pp-legal { margin-top: 0; }
  .pp-footer-top { flex-direction: column; gap: 32px; }
  .pp-footer-cols { margin-top: 0; padding-right: 0; }
}

@media (max-width: 720px) {
  .pp-container { padding: 0 20px; }
  .pp-section { padding: 40px 0; }
  .pp-heading { margin-bottom: 32px; }
  .pp-hero { min-height: 600px; }
  .pp-hero .pp-container { padding-top: 120px; }
  .pp-hero-title { font-size: 34px; }
  .pp-hero-sub { font-size: 20px; }
  .pp-feature-grid { grid-template-columns: 1fr; }
  .pp-feature-card { min-height: auto; }
  .pp-steps-flow { grid-template-columns: 1fr; gap: 36px; padding-top: 21px; }
  .pp-compat-panel { flex-direction: column; align-items: center; gap: 24px; padding: 28px 20px; }
  .pp-compat-item { width: 100%; }
  .pp-compat-sep { display: none; }
  .pp-compat-thumb { height: 178px; align-items: center; }
  .pp-compat-thumb img { max-width: 200px; max-height: 150px; }
  .pp-cases-top { gap: 26px; }
  .pp-metrics { gap: 22px 26px; width: 100%; }
  .pp-metric { flex: 1 1 140px; }
  .pp-metric strong { font-size: 46px; }
  .pp-showcase-grid { grid-template-columns: 1fr; }
  .pp-clinical-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-footer-top { gap: 28px; }
  .pp-footer-cols { flex-wrap: wrap; gap: 14px 28px; }
  .pp-footer-col { width: auto; }
  .pp-footer-col a { line-height: 2.6; }
  .pp-rule-wrap { padding: 0 20px; }
  .pp-btn { width: 100%; }
}
