/* =========================================================
   6.5 Bento Grid — Apple-style 大小拼接
   ========================================================= */
.bento-section { padding: 80px 0; background: var(--soft); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-cell {
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.bento-cell-big {
  grid-column: span 2;
  grid-row: span 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--card) 0%, color-mix(in srgb, var(--coral) 6%, var(--card)) 100%);
}
.bento-cell-wide { grid-column: span 2; }
.bento-cell-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.bento-stat {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--coral-text);
  margin-bottom: 8px;
}
.bento-cell-dark .bento-stat { color: var(--coral); }
.bento-stat span {
  font-size: 0.4em;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}
.bento-stat-small {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin: 12px 0 6px;
}
.bento-stat-small span { font-size: 0.5em; color: var(--muted); font-weight: 500; }
.bento-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.bento-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.5;
}
.bento-icon {
  font-size: 22px;
  margin-bottom: 4px;
}
.bento-streak {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.streak-day {
  flex: 1;
  text-align: center;
  font-size: 11px;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}
.streak-day.active {
  background: var(--coral);
  color: #fff;
  font-weight: 600;
}
.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin: 12px 0 8px;
}
.bento-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--coral) 0%, color-mix(in srgb, var(--coral) 50%, transparent) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
@media (max-width: 880px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell-big, .bento-cell-wide { grid-column: span 2; }
  .bento-cell-big { grid-row: auto; }
}

/* =========================================================
   7. How It Works — 三步流程
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 6px solid var(--bg);
}
.step h4 {
  font-size: 19px;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 280px;
  margin: 0 auto;
}

/* =========================================================
   8. Testimonial — 客戶評價
   ========================================================= */
.testimonial {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -40px; left: 5%;
  font-family: var(--font-display);
  font-size: 360px;
  color: rgba(255,107,71,0.15);
  line-height: 1;
  pointer-events: none;
}
.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.3;
  font-style: italic;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.testimonial blockquote em { color: var(--coral); font-style: italic; }
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB199 0%, #FF6B47 100%);
}
.testimonial-author-text { text-align: left; }
.testimonial-author-text strong { font-weight: 600; display: block; }
.testimonial-author-text span { color: rgba(255,255,255,0.55); font-size: 14px; }

/* =========================================================
   9. Pricing — 訂閱方案
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--coral-text);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-tier {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.price-card.featured .price-tier { color: rgba(255,255,255,0.55); }
.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span { font-size: 16px; color: var(--muted); font-weight: 400; }
.price-card.featured .price-amount span { color: rgba(255,255,255,0.55); }
.price-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.price-card.featured .price-desc { color: rgba(255,255,255,0.7); }
.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.price-features li {
  padding: 8px 0;
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-features li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 700;
}
.price-card.featured .price-features li::before { color: var(--coral); }
.price-card .btn { width: 100%; justify-content: center; }

/* =========================================================
   10. FAQ — 常見問題（accordion）
   ========================================================= */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 26px;
  color: var(--muted);
  font-weight: 300;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--coral); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  padding: 0;
}
.faq-item.open .faq-a {
  padding: 0 0 22px;
  /* max-height 由 JS 用 scrollHeight 設定，免長答案被 cut */
}

/* =========================================================
   11. Final CTA — 結尾轉換大區
   ========================================================= */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,107,71,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--soft) 100%);
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

/* =========================================================
   12. Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 6px 0; }
.footer-grid ul a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

