/* ==========================================
   UniGo 跨境代購 - 全新設計系統
   專注於淘寶/1688代購的專業平台
   ========================================== */

/* CSS Variables - 全域配色系統 */
:root {
  /* 品牌色彩 */
  --primary-dark: #0f172a;
  /* 深午夜藍 - Header/Footer背景 */
  --primary-blue: #3b82f6;
  /* 亮海藍 - 主視覺/連結/品牌色 */
  --accent-gold: #f59e0b;
  /* 琥珀金 - CTA按鈕/強調元素 */

  /* 背景色系 */
  --bg-main: #f8fafc;
  /* 極淺灰藍 - 全站背景，營造透氣感 */
  --bg-card: #ffffff;
  /* 純白 - 內容卡片背景 */
  --bg-hover: #f1f5f9;
  /* 淺灰藍 - Hover狀態背景 */

  /* 文字色彩 */
  --text-main: #334155;
  /* 深灰 - 主要內文 */
  --text-light: #64748b;
  /* 中灰 - 次要文字 */
  --text-white: #ffffff;
  /* 白色文字 */

  /* 邊框與分隔 */
  --border-color: #e2e8f0;
  /* 邊框顏色 */

  /* 陰影系統 */
  --shadow-card:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-button: 0 4px 15px rgba(59, 130, 246, 0.3);

  /* 間距系統 */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 0.75rem;
  /* 12px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */

  /* 圓角系統 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 轉場動畫 */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* 字體系統 */
  --font-base:
    "Noto Sans TC", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================
   基礎樣式重置
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-main);
  letter-spacing: 0.02em;
}

/* ==========================================
   統一導覽列 (Sticky Header)
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

.site-header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 0 var(--spacing-lg);
  }
}

/* Logo 區域 */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-brand {
  font-size: 1.25rem;
  font-weight: 900;
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent-gold);
}

/* 導覽選單 */
nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  padding: var(--spacing-xs) 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
}

/* 行動版選單按鈕 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
}

/* 行動版選單 */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--spacing-lg);
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    /* Ensure mobile menu is above the floating line button and back to top button */
  }

  nav ul.active {
    right: 0;
  }

  nav a {
    width: 100%;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a::after {
    display: none;
  }
}

/* ==========================================
   Hero Section (首頁橫幅)
   ========================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  color: var(--text-white);
  padding: var(--spacing-3xl) var(--spacing-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 內頁輕量 Hero（縮短高度） */
.hero-section-slim {
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: var(--spacing-2xl);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: inline-flex;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
}

/* ==========================================
   卡片式設計系統
   ========================================== */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem var(--spacing-xl) var(--spacing-xl);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  border: 1px solid var(--border-color);
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* 卡片上方彩色強調邊線 */
.card-accent-blue {
  border-top-color: var(--primary-blue);
}

.card-accent-gold {
  border-top-color: var(--accent-gold);
}

.card-accent-green {
  border-top-color: #10B981;
}

.card-accent-purple {
  border-top-color: #8B5CF6;
}

/* 有icon的卡片（短內容展示卡）自動置中 */
.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Icon 色彩變體 */
.card-accent-blue .card-icon {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.card-accent-gold .card-icon {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.card-accent-green .card-icon {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.card-accent-purple .card-icon {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--spacing-md);
  text-align: center;
  width: 100%;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.card-content {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
  width: 100%;
  letter-spacing: 0.03em;
}

/* 卡片內多段落間距 */
.card-content p {
  margin-bottom: 0.75rem;
}

.card-content p:last-child {
  margin-bottom: 0;
}

/* 長內容卡片（步驟、FAQ等）回歸靠左對齊 */
.card-left {
  align-items: flex-start;
  text-align: left;
}

.card-left .card-title {
  text-align: left;
}

/* 卡片底部按鈕推到最下方並置中 */
.card .btn {
  margin-top: auto;
  align-self: center;
}

/* 卡片內列表對齊 */
.card-content ul {
  padding-left: 1.5rem;
  margin: 0;
  text-align: left;
}

/* ==========================================
   按鈕系統
   ========================================== */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  text-align: center;
}

/* 主按鈕 - 金色漸層 */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #fbbf24 100%);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* 次按鈕 - 藍色填充 */
.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-button);
}

.btn-secondary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* 邊框按鈕 */
.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 大型 CTA 按鈕 */
.btn-lg {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

/* ==========================================
   排版與網格系統
   ========================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

.section {
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-alt {
  background-color: white;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary-dark);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.section-subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/* 網格布局 */
.grid {
  display: grid;
  gap: var(--spacing-lg);
  align-items: stretch;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* 長文容器（用於條款、隱私等頁面） */
.content-narrow {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 長文容器內的卡片自動靠左 */
.content-narrow .card {
  align-items: flex-start;
  text-align: left;
}

.content-narrow .card-title {
  text-align: left;
}

/* ==========================================
   統一 Footer
   ========================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.footer-social a {
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer 聯絡資訊 SVG 小圖示 */
.footer-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
  opacity: 0.75;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ==========================================
   輔助類別
   ========================================== */
.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

/* 淡入動畫 */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* CTA 卡片樣式 */
.cta-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  color: white;
  padding: 3rem;
  text-align: center;
}

.cta-card .section-title {
  color: white;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* 警示卡片 */
.warning-card {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  text-align: center;
  padding: 3rem;
  border: none;
  border-top: none;
}

.warning-card .card-title {
  color: #FEF2F2;
  font-size: 1.5rem;
}

.warning-card .card-content,
.warning-card .card-content p {
  color: rgba(255, 255, 255, 0.95);
}

.warning-card .card-content p strong {
  color: #ffffff;
}

/* 聯絡卡片內按鈕置中 */
.card.text-center .btn {
  display: inline-block;
  margin-top: auto;
}

/* ==========================================
   浮動 LINE 按鈕
   ========================================== */
.floating-line-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06C755 0%, #04B34F 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  transition: var(--transition-base);
  animation: floatingPulse 2s ease-in-out infinite;
}

.floating-line-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 199, 85, 0.55);
}

.floating-line-btn .tooltip-text {
  position: absolute;
  right: 72px;
  background: var(--primary-dark);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-line-btn:hover .tooltip-text {
  opacity: 1;
}

@keyframes floatingPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(6, 199, 85, 0.6);
  }
}

/* ==========================================
   回到頂部按鈕
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a5f 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.45);
  transition: var(--transition-base);
  opacity: 0;
  pointer-events: none;
  border: none;
  cursor: pointer;
  animation: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  animation: backTopPulse 2s ease-in-out infinite;
}

.back-to-top:hover {
  transform: scale(1.1) translateY(-2px);
  background: linear-gradient(135deg, #1e3a5f 0%, var(--primary-blue) 100%);
  color: white;
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.55);
}

@keyframes backTopPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.45);
  }

  50% {
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.65);
  }
}

/* ==========================================
   手機版 Hero 微調
   ========================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.625rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .floating-line-btn {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
  }

  .back-to-top {
    width: 52px;
    height: 52px;
    right: 5.5rem;
    bottom: 1.25rem;
    font-size: 1.5rem;
  }
}

/* ==========================================
   運費試算工具
   ========================================== */
.calculator-card {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  border: 2px solid var(--primary-blue);
}

.calculator-card:hover {
  transform: none;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.calc-row {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  text-align: left;
}

.calc-row label {
  font-weight: 700;
  min-width: 110px;
  color: var(--text-main);
  line-height: 1.4;
}

.calc-row select,
.calc-row input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-family: var(--font-base);
  background: var(--bg-hover);
  color: var(--primary-dark);
  transition: var(--transition-base);
}

.calc-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25em;
  padding-right: 3rem;
  cursor: pointer;
}

.select-indicator {
  display: none;
  /* using background-image instead */
}

.calc-row select:focus,
.calc-row input:focus {
  outline: none;
  background: white;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* 響應式：手機版改為上下排列 */
@media (max-width: 600px) {
  .calc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
}

.calc-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #F59E0B 100%);
  color: var(--primary-dark);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-base);
  width: 100%;
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
  margin-top: var(--spacing-sm);
}

.calc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.calc-result {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-blue);
  box-shadow: var(--shadow-card);
  display: none;
}

.calc-result.show {
  display: block;
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-result-title {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.calc-result-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin: var(--spacing-sm) 0;
}

.calc-result-detail {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .calc-row {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-row label {
    min-width: auto;
  }
}

/* ==========================================
   運費卡片標題顏色
   ========================================== */
.shipping-title-air {
  color: var(--primary-blue);
}

.shipping-title-sea {
  color: var(--accent-gold);
}

/* ==========================================
   手風琴 FAQ（Accordion）
   ========================================== */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.accordion-item {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-base);
  gap: var(--spacing-md);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.accordion-header:hover {
  background-color: var(--bg-hover);
  color: var(--primary-blue);
}

.accordion-header.open {
  color: var(--primary-blue);
  background-color: #EFF6FF;
}

.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.accordion-header.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--primary-blue);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body.open {
  max-height: 800px;
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.accordion-content a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.accordion-content a:hover {
  text-decoration: underline;
}

.accordion-warning {
  color: #DC2626;
  font-weight: 600;
}

/* ==========================================
   客戶好評 / 見證區
   ========================================== */
.testimonial-card {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--spacing-md);
  color: white;
  font-weight: 700;
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.9rem;
}

.testimonial-tag {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Utility Classes */
.text-danger {
  color: #DC2626 !important;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.text-dark {
  color: var(--primary-dark) !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.max-w-md {
  max-width: 600px !important;
  margin: 0 auto !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.line-height-lg {
  line-height: 2 !important;
}

.text-light {
  color: var(--text-light) !important;
}

.text-xs {
  font-size: 0.8rem !important;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}