/* ===================================
   BorderComfy 舒適邊境 - 保固與服務頁樣式
   =================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans TC', 'Jost', Helvetica, sans-serif;
  background: #1a1210;
  color: #fff;
}

a { text-decoration: none; color: inherit; }

/* ===== HOME BUTTON ===== */
.home-btn {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 100;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  transition: background 0.2s;
}
.home-btn:hover { background: rgba(0,0,0,0.6); }
.home-btn svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.85); }

/* ===== HERO ===== */
.hero {
  min-height: 60vh;
  background-image: url('../assets/warranty-hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 720px;
}
.hero-content h1 {
  font-family: 'Jost', 'Noto Sans TC', Helvetica, sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.2;
}
.hero-content p {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.90);
  line-height: 1.9;
  margin-bottom: 32px;
}
.btn-line {
  display: inline-block;
  padding: 12px 32px;
  background: #06C755;
  color: #fff;
  font-family: 'Jost', 'Noto Sans TC', sans-serif;
  font-size: 15px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}
.btn-line:hover { background: #05a848; transform: translateY(-2px); }

/* ===== SECTIONS ===== */
.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section h2 {
  font-family: 'Jost', 'Noto Sans TC', Helvetica, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  color: #D0AC68;
  margin-bottom: 24px;
}
.section p {
  font-size: 16px;
  line-height: 1.9;
  color: #cfc9c3;
  margin-bottom: 16px;
}
.section p:last-child { margin-bottom: 0; }

.divider {
  border: none;
  border-top: 1px solid rgba(208,172,104,0.25);
  max-width: 820px;
  margin: 0 auto;
}

/* 保固區塊 */
.warranty-section {
  background: rgba(255,255,255,0.04);
}
.btn-warranty {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 32px;
  background: #D0AC68;
  color: #272120;
  font-family: 'Jost', 'Noto Sans TC', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}
.btn-warranty:hover { background: #b8944f; transform: translateY(-2px); }

/* 使用說明影片 */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 24px 0;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== 減少動態效果 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
