/* ========================================
   NutriMin 毛孩高端餐 - 卓卓&阿B開團導購頁面
   ======================================== */

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

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFFFF;
  --sand: #EDE8DF;
  --terracotta: #C4614A;
  --terracotta-dark: #A8432E;
  --terracotta-light: #E8816B;
  --gold: #C9A84C;
  --gold-dark: #A8872E;
  --forest: #3D6B4F;
  --navy: #2C3E50;
  --text: #2A2420;
  --text-muted: #7A6E66;
  --text-light: #B0A898;
  --border: #E8E0D4;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 8px 40px rgba(60, 40, 20, 0.12);
  --shadow-card: 0 4px 24px rgba(60, 40, 20, 0.08);
  --shadow-btn: 0 6px 24px rgba(196, 97, 74, 0.45);
  --max-w: 840px;
  --max-w-sm: 640px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== FLOATING SIDEBAR ===== */
.float-sidebar {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.float-btn svg {
  width: 22px;
  height: 22px;
}

.float-btn.line { background: #06C755; }
.float-btn.cart {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
}

/* ===== STICKY HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(60, 40, 20, 0.1);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 3px;
  font-weight: 500;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--terracotta);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 12, 6, 0.72) 0%,
    rgba(20, 12, 6, 0.45) 55%,
    rgba(20, 12, 6, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 100px 40px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.25);
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: #F5D98A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle-tag {
  display: inline-block;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid #E8B84B;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.gradient-text {
  background: linear-gradient(135deg, #F5D98A, #E8B84B, #CCA44C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  z-index: 10;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(196, 97, 74, 0.55);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: 2px solid var(--terracotta);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

/* ===== HERO CTA ===== */
.hero-cta {
  padding: 18px 44px;
  font-size: 16px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 20px;
}

.trust-icon {
  font-size: 18px;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* ===== SECTION COMMON ===== */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 40px;
}

/* ===== PAIN SECTION ===== */
.pain-section {
  padding: 80px 0;
  background: var(--warm-white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pain-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pain-emoji {
  font-size: 36px;
  margin-bottom: 12px;
}

.pain-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FEATURE SECTION ===== */
.feature-section {
  padding: 80px 0;
  background: var(--cream);
}

/* ===== 機能保健延伸資料 ===== */
.func-data-wrap {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.func-block {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.func-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.func-block-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.func-block-sub {
  font-size: 14px;
  color: var(--primary);
  background: rgba(205, 140, 70, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* 五格圖示卡片 */
.func-nutrient-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.func-nutrient-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.func-nutrient-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.func-nutrient-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.func-nutrient-name {
  font-size: 13px;
  font-weight: 800;
  color: #6B3F1F;
  margin-bottom: 8px;
  line-height: 1.3;
}

.func-nutrient-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

/* 資料表格 */
.func-table-wrap {
  overflow-x: auto;
}

.func-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.func-table thead tr {
  background: linear-gradient(135deg, #E8B84B, #CCA44C);
}

.func-table thead th {
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

.func-table tbody tr {
  border-bottom: 1px solid #f0e8dc;
  transition: background 0.15s;
}

.func-table tbody tr:last-child {
  border-bottom: none;
}

.func-table tbody tr:hover {
  background: #fdf8f2;
}

.func-table tbody td {
  padding: 14px 16px;
  color: var(--text-dark);
  vertical-align: top;
  line-height: 1.6;
}

.func-table tbody td:first-child {
  font-weight: 700;
  color: #6B3F1F;
  white-space: nowrap;
  min-width: 120px;
}

.func-table tbody td small {
  font-size: 11px;
  color: #999;
  font-weight: 400;
}



.feature-block {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.feature-block:last-of-type {
  margin-bottom: 0;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-img-wrap {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.feature-img-wrap:hover .feature-img {
  transform: scale(1.04);
}

.feature-text {
  flex: 1;
}

.feature-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.feature-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
}

/* ===== PRODUCT SECTION ===== */
.product-section {
  padding: 80px 0;
  background: var(--warm-white);
}

.product-showcase {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.product-img-wrap {
  flex: 1;
  position: relative;
}

.product-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.product-badge-wrap {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-badge {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(4px);
}

.product-specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-row.no-border {
  border-bottom: none;
  padding: 8px 0;
}

.spec-visual-banner {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.spec-row:first-child {
  padding-top: 0;
}

.spec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
}

.spec-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ===== PLANS SECTION ===== */
.plans-section {
  padding: 80px 0 100px;
  background: var(--cream);
}

.plans-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -28px;
  margin-bottom: 36px;
}

/* Plan Tabs */
.plan-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.plan-tab {
  padding: 10px 22px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.plan-tab:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.plan-tab.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 97, 74, 0.3);
}

/* Plan Cards */
.plan-cards-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.plan-card {
  display: none;
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border);
  position: relative;
  transition: box-shadow 0.3s;
  flex-direction: row;
}

.plan-card.active {
  display: flex;
}

.plan-card:hover {
  box-shadow: var(--shadow);
}

.plan-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  z-index: 5;
}

.plan-badge-top.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.plan-img-wrap {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s;
}

.plan-card:hover .plan-img {
  transform: scale(1.04);
}

.plan-info {
  flex: 1;
  padding: 28px 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-tag-line {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.85;
}

.plan-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--text);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.plan-price-ori {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.plan-price-main {
  font-size: 14px;
  font-weight: 900;
  color: var(--terracotta);
}

.plan-price-main span {
  font-size: 28px;
}

.plan-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-refund {
  font-size: 12px;
  color: var(--forest);
  font-weight: 600;
  background: rgba(61, 107, 79, 0.08);
  border: 1px solid rgba(61, 107, 79, 0.2);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  margin-bottom: 16px;
  display: inline-block;
}

.save-tag {
  display: inline-block;
  background: #FFF0EC;
  border: 1px solid rgba(196, 97, 74, 0.3);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
}

.plan-cta {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 14.5px;
}

/* ===== ADD-ON SECTION ===== */
.addon-section {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.addon-header {
  background: linear-gradient(135deg, #F0EDE8, #E8E3D8);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.addon-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--terracotta);
  background: rgba(196, 97, 74, 0.1);
  border: 1px solid rgba(196, 97, 74, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
}

.addon-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.addon-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.addon-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.addon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-info {
  flex: 1;
}

.addon-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.addon-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.addon-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.addon-ori {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
}

.addon-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--terracotta);
}

.addon-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 13px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
  padding: 80px 0;
  background: var(--warm-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* 見證照片卡 */
.photo-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.photo-testimonial-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.photo-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.photo-testimonial-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(100, 60, 20, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.photo-testimonial-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.photo-testimonial-body {
  padding: 18px 18px 20px;
}

.photo-testimonial-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: italic;
  margin: 10px 0 16px;
}



.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.author-cat {
  font-size: 11.5px;
  color: var(--text-light);
}

/* ===== EXPERT SECTION ===== */
.expert-section {
  padding: 80px 0;
  background: var(--cream);
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .expert-grid {
    grid-template-columns: 1fr;
  }
}

.expert-card {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.expert-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.expert-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.expert-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.expert-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 0;
  background: var(--cream);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--warm-white);
}

.faq-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  padding-right: 48px;
  transition: background 0.2s;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--cream);
}

.faq-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--terracotta);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 6px;
  flex-shrink: 0;
}

.faq-a {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding-top: 0;
  padding-left: 34px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 12px;
}

.faq-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* ===== FINAL CTA ===== */
.final-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #2C2018 0%, #3D2A1A 50%, #2C2018 100%);
  text-align: center;
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

.final-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.final-cta-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.final-cta-title span {
  background: linear-gradient(135deg, #F5D98A, #E8B84B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.final-cta-btn {
  padding: 20px 52px;
  font-size: 17px;
  box-shadow: 0 8px 32px rgba(196, 97, 74, 0.55);
}

.final-guarantees {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.final-guarantees span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1A1209;
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand .logo-main {
  color: #fff;
  font-size: 20px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-info {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
}

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.cart-toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 18px;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-nav { display: none; }

  .hero-content {
    padding: 100px 24px 80px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 12px;
  }

  .trust-divider { display: none; }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    gap: 28px;
  }

  .feature-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  .feature-img-wrap {
    width: 100%;
    max-width: 100%;
  }

  .product-showcase {
    flex-direction: column;
    gap: 24px;
  }

  .product-img-wrap {
    width: 100%;
  }

  .product-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
  }

  .plan-card.active {
    flex-direction: column;
  }

  .photo-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photo-testimonial-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
  }

  .plan-img-wrap {
    width: 100%;
    height: 240px;
  }

  .plan-info {
    padding: 24px;
  }

  .plan-cta {
    align-self: stretch;
    text-align: center;
  }

  .addon-card {
    flex-wrap: wrap;
  }

  .addon-btn {
    width: 100%;
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-btn {
    padding: 18px 40px;
    font-size: 15px;
  }

  .final-guarantees {
    gap: 12px;
  }
}

@media (min-width: 640px) {
  .plan-cards-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== 手機版專屬優化 ===== */
@media (max-width: 480px) {

  /* 浮動按鈕移到左下角，避免遮擋右側內容 */
  .float-sidebar {
    right: auto;
    left: 16px;
    bottom: 24px;
    flex-direction: row;
    gap: 12px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }

  /* 方案標籤縮小 */
  .plan-tab {
    font-size: 13px;
    padding: 8px 12px;
  }

  /* Hero 標題縮小一點 */
  .hero-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  /* FAQ padding 縮小 */
  .faq-item {
    padding: 16px 18px;
  }

  /* 規格表手機版文字縮小 */
  .spec-label, .spec-val {
    font-size: 13px;
  }
}
