/* ============================================================
   數據煉金 Data Gold — 全域樣式
   ============================================================ */

/* --- CSS 變數 --- */
:root {
  --navy-950: #06162d;
  --navy-900: #081f3d;
  --navy-800: #0b2a52;

  --blue-700: #0755c9;
  --blue-600: #0875df;
  --blue-500: #18a7f2;
  --blue-400: #38bdf8;

  --blue-100: #ddeeff;
  --blue-50: #f1f8ff;

  --gold-600: #c99100;
  --gold-500: #e2a900;
  --gold-400: #f4c430;
  --gold-100: #fff3c4;

  --white: #ffffff;
  --surface: #f8fbff;
  --border: #dce8f5;

  --text-primary: #101827;
  --text-secondary: #4b5c73;
  --text-muted: #718096;

  --success: #16875b;
  --error: #d14343;

  --header-height: 86px;
  --container-max: 1200px;
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(6, 22, 45, 0.06);
  --shadow-md: 0 8px 24px rgba(6, 22, 45, 0.08);
  --shadow-lg: 0 16px 40px rgba(6, 22, 45, 0.1);
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* --- 容器 --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- 區塊 --- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- 品牌 Logo --- */
.brand-link {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-logo {
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
}

.footer-logo {
  width: min(170px, 100%);
  height: auto;
}

.brand-fallback {
  display: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-700);
  white-space: nowrap;
}

.brand-link.logo-failed .brand-logo {
  display: none;
}

.brand-link.logo-failed .brand-fallback {
  display: block;
}

.site-footer .brand-link.logo-failed .brand-fallback {
  color: var(--white);
}

/* --- 按鈕 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 48px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #0755c9 0%, #0875df 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(7, 85, 201, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 85, 201, 0.4);
}

.btn-outline {
  background: var(--white);
  color: var(--blue-700);
  border: 2px solid var(--blue-100);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 15px;
  min-height: 44px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

.text-gold {
  color: var(--gold-400);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav-link:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 漢堡選單 */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.hamburger-btn:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(24, 167, 242, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(7, 85, 201, 0.05) 0%, transparent 60%),
    var(--white);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 3px at 15% 25%, rgba(7, 85, 201, 0.12) 0%, transparent 100%),
    radial-gradient(circle 2px at 85% 15%, rgba(56, 189, 248, 0.15) 0%, transparent 100%),
    radial-gradient(circle 2px at 75% 70%, rgba(7, 85, 201, 0.1) 0%, transparent 100%),
    radial-gradient(circle 3px at 30% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 100%),
    radial-gradient(circle 2px at 55% 40%, rgba(7, 85, 201, 0.08) 0%, transparent 100%);
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  color: var(--text-primary);
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(90deg, #0755c9 0%, #0875df 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  max-width: 540px;
}

.hero-note {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
}

/* Hero 產品示意圖 */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 0.85;
  background: linear-gradient(145deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.mockup-envelope {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 100px;
}

.envelope-flap {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 30px solid var(--blue-400);
  opacity: 0.7;
}

.envelope-body {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  padding: 12px;
  border-radius: 0 0 8px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mockup-document {
  position: absolute;
  top: 48px;
  right: 32px;
  width: 120px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 12px;
  box-shadow: var(--shadow-md);
}

.doc-header {
  height: 8px;
  background: var(--blue-100);
  border-radius: 4px;
  margin-bottom: 10px;
}

.doc-line {
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  margin-bottom: 6px;
}

.doc-line.short {
  width: 60%;
}

.doc-badge {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
}

.mockup-magnifier {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-600);
  box-shadow: var(--shadow-md);
}

.mockup-filters {
  position: absolute;
  bottom: 100px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.filter-tag.gold {
  border-color: var(--gold-400);
  color: var(--gold-600);
}

.filter-tag.gold i {
  color: var(--gold-500);
}

.mockup-chart {
  position: absolute;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.chart-bar {
  width: 12px;
  background: var(--blue-100);
  border-radius: 3px 3px 0 0;
  transition: height var(--transition);
}

.chart-bar.active {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
}

.mockup-check {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--success);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  box-shadow: var(--shadow-sm);
}

.mockup-check i {
  font-size: 16px;
}

/* ============================================================
   服務介紹
   ============================================================ */
.section-service {
  position: relative;
  overflow: hidden;
}

.service-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(24, 167, 242, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(7, 85, 201, 0.06) 0%, transparent 55%),
    var(--white);
  pointer-events: none;
}

.section-service .container {
  position: relative;
}

.service-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.service-pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border: 1px solid var(--blue-100);
  border-radius: 20px;
  font-size: 28px;
  color: var(--blue-600);
  box-shadow: 0 6px 20px rgba(7, 85, 201, 0.12);
}

.service-pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.service-pillar-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   核心功能
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.feature-card:nth-child(1) { grid-column: 1 / 3; }
.feature-card:nth-child(2) { grid-column: 3 / 5; }
.feature-card:nth-child(3) { grid-column: 5 / 7; }
.feature-card:nth-child(4) { grid-column: 2 / 4; }
.feature-card:nth-child(5) { grid-column: 4 / 6; }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: 12px;
  font-size: 22px;
  color: var(--blue-600);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   使用流程
   ============================================================ */
.process-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 0;
  border-top: 2px dashed var(--blue-100);
}

.process-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0755c9 0%, #0875df 100%);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.process-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   價格方案
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  border: 2px solid var(--blue-600);
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(7, 85, 201, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(201, 145, 0, 0.3);
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  font-size: 15px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-savings-slot {
  min-height: 52px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.pricing-savings {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  padding: 10px 14px;
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  width: 100%;
}

.pricing-savings strong {
  color: var(--gold-600);
  font-weight: 700;
}

.pricing-features {
  flex: 1;
  margin: 12px 0 28px;
}

.pricing-card .btn-block {
  margin-top: auto;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.pricing-features li i {
  color: var(--blue-600);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   寄送與會員期限說明
   ============================================================ */
.info-block {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.info-block-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-align: center;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.info-list li i {
  color: var(--blue-600);
  font-size: 8px;
  margin-top: 10px;
  flex-shrink: 0;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-item:first-child {
  border-radius: var(--radius-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: var(--white);
  transition: background var(--transition);
}

.faq-trigger:hover {
  background: var(--blue-50);
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--blue-600);
  transition: transform var(--transition);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   最終 CTA
   ============================================================ */
.cta-section {
  padding: 52px 0;
  background: linear-gradient(180deg, #082d5b 0%, #071e3d 100%);
}

.cta-inner {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: none;
  transition: background var(--transition), transform var(--transition);
}

.cta-btn:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
  box-shadow: none;
}

.cta-btn:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #061a33;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-main {
  width: 100%;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 156px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  flex: 0 0 auto;
}

.footer-nav-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  width: 100%;
}

.footer-nav-title-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--blue-400);
  flex-shrink: 0;
}

.footer-nav-title-icon--gold {
  color: var(--gold-400);
}

.footer-menu-list {
  margin-bottom: 0;
  width: 100%;
}

.footer-menu-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 10px 0;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.footer-menu-row:hover {
  background: rgba(7, 85, 201, 0.12);
}

.footer-menu-row:hover .footer-menu-row-text {
  color: var(--white);
}

.footer-menu-row:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: -2px;
  border-radius: 4px;
}

.footer-menu-row-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.footer-menu-row-icon--blue {
  color: var(--blue-400);
}

.footer-menu-row-icon--gold {
  color: var(--gold-400);
}

.footer-menu-row-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

/* 會員專區 */

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  margin: 0;
}

/* ============================================================
   返回頂部
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0755c9 0%, #0875df 100%);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
}

/* ============================================================
   Toast
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toast-in 0.35s ease;
  border-left: 4px solid var(--blue-600);
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-error {
  border-left-color: var(--error);
}

.toast.toast-info {
  border-left-color: var(--blue-600);
}

.toast-icon {
  flex-shrink: 0;
  font-size: 18px;
  margin-top: 2px;
}

.toast-info .toast-icon { color: var(--blue-600); }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--error); }

.toast-body {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.toast-close:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.toast-close:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
}

.toast.toast-out {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ============================================================
   響應式 — 平板 (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(n) {
    grid-column: auto;
  }

  .service-pillars {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-columns {
    gap: clamp(62px, 13vw, 125px);
  }
}

/* ============================================================
   響應式 — 手機 (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 80px 0;
  }

  .header-logo {
    height: 40px;
    width: auto;
    max-width: min(200px, 52vw);
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    flex: none;
    justify-content: flex-start;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
  }

  .hamburger-btn {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding-left: 20px;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 0 0 40px 0;
  }

  .process-step:not(:last-child)::after {
    top: 56px;
    left: 27px;
    width: 0;
    height: calc(100% - 56px);
    border-top: none;
    border-left: 2px dashed var(--blue-100);
  }

  .process-number {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .pricing-card:last-child {
    max-width: none;
  }

  .cta-section {
    padding: 44px 0;
  }

  .cta-title {
    font-size: 22px;
  }

  .cta-subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .footer-container {
    padding: 40px 20px 24px;
  }

  .footer-columns {
    gap: clamp(42px, 10vw, 83px);
  }

  .footer-menu-row {
    min-height: 48px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .info-block {
    padding: 32px 24px;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    align-items: center;
  }

  .toast {
    width: 100%;
    max-width: 480px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ============================================================
   響應式 — 小螢幕 (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 26px;
  }

  .btn {
    min-height: 48px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .price-amount {
    font-size: 30px;
  }
}
