@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css");
:root {
  --primary: #1e73ff;
  --primary-dark: #0050d4;
  --primary-light: #4a95ff;
  --accent: #ffb400;
  --hero-accent: #fff26b;
  --yellow: #fff46b;
  --golden-yellow: #ffe26b;
  --danger: #e63946;
  --dark: #0f1b3d;
  --dark-2: #182a5a;
  --dark-3: #0b1432;
  --text: #1f2937;
  --text-soft: #5b6b85;
  --text-light-soft: #8592a9;
  --bg: rgba(248,250,252,0.85); /*#f8fafc*/
  --bg-soft: #edf2f7;
  --bg-light-blue: #e3f3ff;
  --bg-zebra-gray: #fafafa;
  --border: #e2e8f0;
  --border-color: #e0e0e0;
  --gradient-blue: linear-gradient(135deg, #1E73FF 0%, #0050D4 100%);
  --gradient-light-blue: linear-gradient(135deg, #e8f2ff, #c9deff);
  --shadow-sm: 0 2px 6px rgba(15,27,61,.06);
  --shadow-md: 0 8px 24px rgba(15,27,61,.10);
  --shadow-lg: 0 20px 50px rgba(15,27,61,.18);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', 'Inter', Arial, Helvetica,"微軟正黑體","Microsoft JhengHei", simhei, sans-serif;
  font-size: 1rem;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 158px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--text-soft); line-height: 1.42; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px 60px; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.white-text-shadow {text-shadow: 0 2px 4px rgba(255,255,255,.95); }

/* ============ Fade-in Animations ============ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; font-weight: 700; font-size: 1.125rem;
  border-radius: 999px; transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn-primary { background: var(--gradient-blue); color: #fff; }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 28px rgba(30,115,255,.45); }
.btn-accent { background: linear-gradient(135deg, #FFB400 0%, #FF8A00 100%); color: #1a1a1a; box-shadow: 0 8px 20px rgba(255,180,0,.35); }
.btn-accent:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 28px rgba(255,180,0,.5); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 20px rgba(255,255,255,.25); }
.btn-light:hover { transform: translateY(-2px) scale(1.03); background: #f8fafc; }
.rounded-gradient-border {
  border: 2px solid transparent;
  border-radius: 12px;
  background: 
    linear-gradient(#fff, #fff) padding-box, 
    linear-gradient(to right, #41c3ff, #2bffae) border-box;
}


/* SVG icon 圖 */
.svg-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-top: -0.125rem;
  }
  /* Why */
  .icon-newspaper {
    background-image: url("../img/icons/news-broadcast.svg");
  }
  .icon-update-alt {
    background-image: url("../img/icons/update-alt.svg");
  }
  .icon-ai-teacher {
    background-image: url("../img/icons/ai-teacher.svg");
  }
  .icon-chart-line-up {
    background-image: url("../img/icons/chart-line-up.svg");
  }
  .icon-travel-earth {
    background-image: url("../img/icons/travel-earth.svg");
  }
  .icon-newspaper, .icon-update-alt, .icon-ai-teacher, .icon-chart-line-up, .icon-travel-earth {
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(42%) saturate(100%) invert(32%) sepia(85%) saturate(1478%) hue-rotate(198deg) brightness(100%) contrast(90%);
  }
  /* Stats */
  .icon-certificate {
    background-image: url("../img/icons/certificate.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: saturate(100%) invert(44%) sepia(100%) saturate(2878%) hue-rotate(28deg) brightness(100%) contrast(100%);
  }
  .icon-award-success {
    background-image: url("../img/icons/award-success.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: saturate(100%) invert(44%) sepia(100%) saturate(2878%) hue-rotate(28deg) brightness(100%) contrast(100%);
  }
  .icon-thumbs-up {
    background-image: url("../img/icons/thumbs-up.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: saturate(100%) invert(44%) sepia(100%) saturate(2878%) hue-rotate(28deg) brightness(100%) contrast(100%);
  }
  .icon-dart-target {
    background-image: url("../img/icons/dart-target.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: saturate(100%) invert(44%) sepia(100%) saturate(2878%) hue-rotate(28deg) brightness(100%) contrast(100%);
  }
  /* Form */
  .icon-bolt-fill {
    background-image: url("../img/icons/bolt-fill.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(38%) sepia(30%) saturate(100%) hue-rotate(172deg) brightness(118%) contrast(119%);
  }
  .icon-rocket-sharp {
    background-image: url("../img/icons/rocket-sharp.svg");
  }
  .icon-eye {
    background-image: url("../img/icons/eye.svg");
  }
  .icon-award {
    background-image: url("../img/icons/award.svg");
  }
  .icon-fire {
    background-image: url("../img/icons/fire.svg");
  }
  .icon-lock-open {
    background-image: url("../img/icons/lock-open.svg");
  }
  .icon-rocket-sharp, .icon-eye, .icon-award, .icon-fire, .icon-lock-open {
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(38%) sepia(30%) saturate(100%) hue-rotate(172deg) brightness(118%) contrast(119%);
  }
  .icon-time {
    background-image: url("../img/icons/time.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(100%) sepia(100%);
  }
  .icon-security-verified {
    background-image: url("../img/icons/security-verified.svg");
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(48%) sepia(79%) saturate(100%) hue-rotate(172deg) brightness(118%) contrast(119%);
  }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(242, 245, 255, 0.10), rgba(31, 35, 49, 0.05)),
              url("../img/hero/hero_bg.jpg") center/cover no-repeat;
  color: var(--dark-2);
  padding: 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; left: -10%; right: 0;
  height: 36%; background: var(--gradient-blue);
  transform: skewY(-6deg); z-index: 1; box-shadow: 0 20px 60px rgba(0,80,212,.35);
}
.hero::before { top: 142px; opacity: 0.00; }
.hero::after { top: auto; bottom: 98px; transform: skewY(6deg); opacity: .10; }
.hero .hero-wrap { position: relative; margin: 0px 0 0px; padding: 0; background: url("../img/hero/hero-Plus_phone.webp") center center no-repeat; background-size: auto; z-index: 2; }
.hero .container { display: flex; padding: 0px 0px 118px; z-index: 2; flex-wrap: nowrap;       /* 兩欄 */
  min-height: 100vh; 
  min-height: 100dvh;   /* 手機端防遮擋 */
  align-items: center;
  justify-content: space-between; /* 左右分開 */}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 56px); font-weight: 900; line-height: 1.18;
  letter-spacing: -.2px;  margin: 0 0px 18px 15px;
  text-shadow: 0 4px 18px rgba(255,255,255,.95);
}
.hero h1 .accent { color: var(--primary);/*color: var(--hero-accent);*/ font-size: 128%; }
.hero p.lead { font-size: clamp(0.8125rem, 2vw, 1.1875rem); color: var(--text); font-weight: 500; text-align: justify; opacity: .95; margin: 5px 25px 15px; padding-left: 1rem; padding-right: 1rem; }
.hero-image {
  flex: 1;  /* 左邊佔一半 */
  display: flex;
  justify-content: flex-end;
}
.hero-image img {
  /*max-width: 100%;
  height: auto;*/
  max-width: 280px;
  height: 259px;
  padding: 0px 25px 40px 15px;
}
.hero-text {
  flex: 1;   /* 右邊佔一半 */
  margin-top: 68px;
  padding-left: 10px; 
  text-align: center;
}
.hero-text img {
  max-width: 200px;
  height: 185px;
  padding: 0;
  display: none;
}

.hero-text .btn { display: inline-block; margin: 5px 10px; }
.hero-text .btn i.svg-icon { filter: invert(100%) sepia(100%); }
.hero-text .btn .arrow {
  display: inline-block;
  margin-left: 10px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-4px) rotate(45deg);
   transition: all 0.2s ease;
}
/* 滑鼠懸停時的視覺回饋 */
.btn:hover .arrow {
  transform: translateY(-2px) rotate(45deg);
}

@media (min-width: 768px) and (max-width: 849.98px) {
  .hero-image {
    flex: 0 0 50%;
  }
  .hero-text {
    flex: 0 0 50%;
  }
}
@media (max-width: 767.98px) {
  .hero { background: url("../img/hero/hero_bg-sm.jpg") center/cover no-repeat; padding: 0px; }
  .hero .hero-wrap { background: url("../img/hero/hero-Plus_phone-sm.webp") center 30% no-repeat; background-size: auto; }
  .hero .container {
    flex-direction: column; /* 改成上下排列 */
    text-align: center;
    padding: 0;
  }
  /*.hero-image img {
    order: 2;
  }*/
  .hero-image img {
    max-width: 200px;
    height: 185px;
    padding: 0;
    display: none;
  }
  .hero-text {
    flex: 2;
    padding-left: 0px;
    /*min-width: inherit;
    order: 1;*/
  }
  .hero-text img {
    display: inline-block;
  }
}

/* ============ Feature ============ */
.feature {
  position: relative; overflow: hidden;
  background: linear-gradient(rgba(8,20,55,.35), rgba(8,20,55,.55)),
              url("../img/features/feature_bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 0;
}
.feature::before, .feature::after {
  content: ""; position: absolute; left: 0; right: -10%;
  height: 36%; background: var(--gradient-blue);
  transform: skewY(-6deg); z-index: 1; box-shadow: 0 20px 60px rgba(0,80,212,.35);
}
.feature::before { top: 180px; opacity: 0.90; }
.feature::after { top: auto; bottom: 0px; transform: skewY(6deg); opacity: .35; }
.feature .feature-wrap { position: relative; margin: 0px 0 0px; padding: 0; background: url("../img/features/feature_bg.webp") center 4% no-repeat; background-size: contain; z-index: 2; }
.feature .container { position: relative; padding: 98px 2% 40px 2%; height: calc(100vh - 0px); z-index: 2; display: flex; flex-wrap: wrap; align-content: center; }
.feature h2 {
  font-size: clamp(38px, 5.2vw, 56px); font-weight: 900; line-height: 1.18;
  letter-spacing: -.2px;  margin: 0 0px 18px 15px;
  text-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.feature h2 .accent { color: var(--hero-accent); font-size: 128%; }
.feature p.lead { font-size: clamp(0.8125rem, 2vw, 1.1875rem); color: var(--bg); font-weight: 500; text-align: justify; opacity: .95; margin-left: 15px; margin-right: 15px; }
.feature-bullets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 28px; }
.feature-bullet {
  background: rgba(232,242,255,1.0); color: var(--text);
  padding: 22px 8px 10px 16px; border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; gap: 4px; flex-wrap: wrap; grid-template-columns: repeat(2, 1fr); align-items: center; justify-content: left;
}
.feature-bullet:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.22); }
.feature-bullet .icon {
  width: 50px; height: 50px; border-radius: 12px;
  font-size: 1.25rem; color: var(--primary);
  background: var(--gradient-light-blue);
  margin: 0 5px;
  display: grid; place-items: center; flex-shrink: 0;
}
.feature-bullet h3 { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--dark); }


.feature-warning {
  background: rgba(255, 232, 232, .85); 
  background-size: contain; color: #7a1a1a;
  width: 100%; margin: 0; padding: 22px 14px; border-radius: 14px;
  display: flex; gap: 10px; align-items: flex-start;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.feature-warning .warn-icon { font-size: 1.75rem; color: var(--danger); flex-shrink: 0; margin-left: 4px; }
.feature-warning strong { color: var(--danger); display: block; margin-bottom: 8px; font-size: clamp(1.125rem, 2vw, 1.5rem); }
/*.feature-warning p { line-height: 1.6; }*/
.feature-cta-wrap { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.blob {
  background:black;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,0,0,1);
  margin: 2px;
  height: 68px;
  width: 68px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pulse-black 2s infinite;
}
.blob::before {
  content: "！";
  color: #fff;
  font-weight: 900;
  font-size: 3rem;
  font-family: 'Noto Sans TC', 'Inter', Arial, Helvetica, sans-serif;
  margin-top: -4px;
  line-height: 1;
}
.blob.red {
  background: var(--danger);
  animation:pulse-red 2s infinite;
}
@keyframes pulse-red {
  0% {
    box-shadow:0 0 0 0 rgba(255,82,82,0.7)
  }
  70% {
    box-shadow:0 0 0 12px rgba(255,82,82,0)
  }
  100% {
    box-shadow:0 0 0 0 rgba(255,82,82,0)
  }
}

/* ============ Section base ============ */
section { padding: 80px 0 0;   /* 假設表單高度 150px，我們設定 160px，滑動定位時標題才不會被大表單擋住 */scroll-margin-top: 175px; }
.section-title {
  text-align: center; margin-bottom: 16px;
  font-size: clamp(1.75rem, 5.4vw, 3.125rem); font-weight: 900; color: var(--dark);
  letter-spacing: -.1px;
}
.section-title .hl { color: var(--primary); }
.section-title span.d-block { font-size: 90%; font-weight: 700; }
.section-eyebrow {
  text-align: center; display: inline-block; margin: 0 auto 16px;
  padding: 6px 16px; border-radius: 999px;
  background: #e8f2ff; color: var(--primary);
  font-weight: 700; font-size: 0.875rem; letter-spacing: .2px;
}
.eyebrow-wrap { text-align: center; margin-bottom: 14px; }
.section-sub { font-size: clamp(1rem, 3.4vw, 1.1875rem); text-align: center; color: var(--text-soft); max-width: 700px; margin: 0 auto 50px; padding-left: 1rem; padding-right: 1rem; }
section.compare { padding-top: 0px !important; } /* Why底圖 */

/* ============ Benefits Section ============ */
.benefits { background: #fff url("../img/features/benefits_bg.jpg") center/cover no-repeat; }
.benefits .feature-row {
  display: grid; gap: 18px; margin-top: 40px;
}
.feature-card {
  display: grid; grid-template-columns: 98px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; margin: 0 42px; padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c8d8f5; }
.feature-card .ic {
  width: 100px; height: 100px; margin-left: auto; margin-right: auto;
  border-radius: 16px; background: var(--gradient-light-blue);
  color: var(--primary); display: grid; place-items: center;
}
.feature-card h3 { font-size: 1.1875rem; color: var(--dark); margin-bottom: 8px; }

/* ==========================================================================
   蛻變計畫 Plan /  Why continue 認證
   ========================================================================== */
/* ============ 30-day plan ============ */
.plan { background: var(--bg-soft) url("../img/features/plan_bg.jpg") top/100% no-repeat; }
.plan-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px;
}
.plan-card {
  background: #fff; border-radius: 18px; padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative; overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-card .day-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: #e8f2ff; color: var(--primary);
  font-weight: 500; font-size: 0.875rem; margin-bottom: 12px;
}
.plan-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 10px; }
.plan-card h4 { font-weight: 700; line-height: 1.15; }
.plan-card.featured {
  background: var(--gradient-blue);
  color: #fff; box-shadow: 0 16px 36px rgba(30,115,255,.35);
}
.plan-card.featured .day-tag { background: rgba(255,255,255,.2); color: #fff; }
.plan-card.featured h3, .plan-card.featured p { color: #fff; }
.plan-card.featured p { background: linear-gradient(#0050D4, #0050D4) padding-box, linear-gradient(to right, #41c3ff, #2bffae) border-box; }
.plan-card p { margin-top: 0.5rem; padding: 0.25rem 0.5rem;}

/* ============ Why continue (dark section) ============ */
.why {
  background: linear-gradient(135deg, #0F1B3D 0%, #182A5A 60%, #0B1432 100%);
  color: #fff;
  padding-top: 40px;
}
.why .section-title { color: #fff; }
.why .section-title .accent { color: var(--golden-yellow); }
.why .section-sub { font-size: 1.1875rem; color: rgba(255,255,255,.7); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px;
}
.why-item { text-align: center; padding: 24px 12px; }
.why-item .num {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,115,255,.25), rgba(74,149,255,.15));
  border: 1px solid rgba(74,149,255,.35);
  color: #4A95FF; font-size: 1.625rem;
}
.why-item .num i.svg-icon { width: 42px; height: 42px; }
.why-item h3 { font-size: 1.125rem; margin-bottom: 10px; }
.why-item p { color: rgba(255,255,255,.72); }

/* ==========================================================================
   為什麼選空中美語 (比較表Table)  Compare /  Stats 實力證明
   ========================================================================== */
/* ============ Comparison Table ============ */
.compare { background: var(--bg-soft) url("../img/features/compare_bg.jpg") top/contain no-repeat; }
.compare > .container { background: transparent url("../img/features/icon_c1.webp") right top no-repeat; background-size: auto; }
.compare > .container > h2 { padding-top: 8.5rem; padding-right: 20.5%; }

.comparison-table {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 20px;
  color: #333;
}

.table-icon {
  width: 36px;
  height: 36px;
  margin-right: 12px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke-width: 1.75; /* 線條粗細 */
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 紅色圓圈叉叉 */
.icon-cross-circle {
  stroke: #ff7675;
}
/* 藍色圓圈勾勾 */
.icon-check-circle {
  stroke: #1b66c9;
}

/* 手機版 */
.table-header {
  display: none;
}
.table-row {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.table-cell {
  padding: 12px 0;
  font-size: 1rem; 
  line-height: 1.6;
  display: flex;
  align-items: center;
}
.table-cell .table-icon {
  margin-top: 2px; 
}
.table-cell.label {
  font-weight: bold;
  font-size: 1.125rem;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 6px;
  margin-bottom: 6px;
}
.table-cell.negative {
  color: #555;
}
.table-cell.positive {
  color: #1b66c9;
  font-weight: bold;
  background-color: #f4f9ff;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 0 -12px 0;
}

/* 電腦版 */
@media (min-width: 768px) {
  .comparison-table {
    display: grid;
    grid-template-columns: 2.3fr 3.85fr 3.85fr;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: #fff;
    border: 1px solid #e0e0e0;
  }
  .table-row {
    display: contents;
  }
  .table-cell {
    padding: 26px 22px;
    font-size: 1.125rem; 
    line-height: 1.25;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
  }
  /* 電腦版 */
  .table-cell .table-icon {
    margin-top: 0; 
  }
  .table-row:last-child .table-cell {
    border-bottom: none;
  }
  .table-header {
    display: contents;
  }
  .table-header .table-cell {
    font-weight: bold;
    font-size: 1.25rem;
    background-color: #fff;
    color: #444;
    border-bottom: 1px solid #e0e0e0;
  }
  .table-cell.label {
    color: #444;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    padding-bottom: 26px;
  }
  .table-cell.negative {
    color: #555;
  }

  /* 右側藍色區塊 */
  .table-header .target-brand {
    background-color: #e6f2ff;
    color: #1b66c9;
    margin-left: -12px;
  }
  .table-cell.positive {
    background-color: #f4f9ff;
    color: #1b66c9;
    font-weight: bold;
    border-radius: 0; 
    margin-top: 0;
    padding: 26px 22px;
  }
  .table-row:nth-child(3) .table-cell:not(.positive),
  .table-row:nth-child(5) .table-cell:not(.positive) {
    background-color: #fafafa;
  }
  .table-row:nth-child(3) .table-cell.positive,
  .table-row:nth-child(5) .table-cell.positive {
    background-color: #edf5fe;
  }
}

/* ============ Stats ============ */
.stats { background: var(--bg); padding-top: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat-item { padding: 12px; }
.stat-item .icn {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 14px;
  background: linear-gradient(135deg, #FFF4D6, #FFE9A8);
  color: #C58A00; display: grid; place-items: center; font-size: 2rem;
}
.stat-item .icn i.svg-icon { width: 40px; height: 40px; }
.stat-item h3 { font-size: 1.125rem; color: var(--dark); margin-bottom: 6px; }

/* ==========================================================================
   優惠價格  Pricing / Countdown 優惠倒數計時 / Trust 訂閱後盾
   ========================================================================== */
/* ============ Pricing ============ */
.pricing { background: var(--bg-soft) url("../img/features/pricing_bg.jpg") center/cover no-repeat; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px;
}
.price-card {
  background: #fff;
  border-radius: 22px; padding: 34px 30px;
  box-shadow: var(--shadow-md); position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 8px; }
.price-card .price { font-size: 2.625rem; font-weight: 900; color: var(--dark); margin: 14px 0 22px; letter-spacing: -0.3px; position: relative; }
.price-card .price small { font-size: 1rem; color: var(--text-soft); font-weight: 500; }
.price-card .price small.note, .price-card .price small.tooltip { font-size: 0.9375rem; font-weight: 400; width: auto; display: flex; gap: 6px; }
.price-card .price small.note { position: absolute; top: 8px; left: calc(100%/2 + 38px); }
.price-card .price small.tooltip { position: relative; margin-top: 16px; }
.price-card .price .svg-icon { position: absolute; top: -22px; right: 0px; width: 72px; height: 72px; padding: 6px;
  background: var(--bg-soft); border-radius: 50%; border: 2px solid rgba(74,149,255,.25);
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1); }
.price-card .btn { width: 100%; }
.price-card .btn i.svg-icon { filter: invert(100%) sepia(100%); }
.price-card .btn i.svg-icon.black { filter: none; }
.price-card ul { list-style: none; margin-bottom: 26px; }
.price-card ul li { padding: 8px 0; font-size: clamp(1.125px, 4.2vw, 1.25rem); color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.price-card.featured {
  background: var(--gradient-blue); color: #fff; }
.price-card ul li .svg-icon {
  width: 26px;
  height: 26px;
  margin-top: 4px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke-width: 2; /* 線條粗細 */
  stroke-linecap: round;
  stroke-linejoin: round;
  background-color: #16a34a;
  border-radius: 50%;
}
.icon-check { stroke: #fff; }

.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price small { color: rgba(255,255,255,.85); }
.price-card.featured ul li { color: #fff; }
.price-card.featured ul li .svg-icon { background-color: var(--hero-accent); }
.price-card.featured ul li .svg-icon.icon-check { stroke: var(--primary-dark); }
.badge-hot {
  position: absolute; top: -14px; right: 22px;
  background: var(--danger); color: #fff; font-size: 0.8125rem; font-weight: 500;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .3px;
  box-shadow: 0 8px 18px rgba(230,57,70,.4);
}
.badge-hot i.svg-icon { filter: invert(100%) sepia(100%); }

/* ============ Countdown ============ */
.countdown-wrap {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 6px 10px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.countdown-wrap .label { font-size: 0.8125rem; font-weight: 500; opacity: .9; }
.countdown { display: flex; gap: 8px; }
.countdown .cell {
  background: rgba(0,0,0,.25); border-radius: 8px;
  min-width: 44px; padding: 8px 6px; text-align: center; font-weight: 900;
  font-size: 1.25rem; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown .cell small { display: block; font-size: 0.8125rem; font-weight: 500; opacity: .8; margin-top: 4px; letter-spacing: .5px; }

/* ============ Trust ============ */
.trust { background: var(--bg); padding: 60px 0 0; }
.trust h2 { text-align: center; font-size: 1.5rem; color: var(--dark); margin-bottom: 30px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.trust-item { text-align: center; padding: 16px 10px 0; }
.trust-item i img { margin: 0 auto 6px; }
.trust-item h4 { font-size: 1.125rem; color: var(--dark); margin-bottom: 12px; }

/* ============ Footer ============ */
.footer {
  color: #fff;
  background-color: var(--dark-2);
}
.footer.white {
  color: #2c2c2e;
  background-color: #f2f2f2;
}
.footer.white .footer__link {
  color: #3f3f42;
  text-decoration: none;
}
.footer.white .footer__link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer__content {
  padding: 3em 1em;
}

.footer__contact {
  padding-bottom: 1em;
}

.footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0.725em;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .footer__content {
    padding-bottom: 0em;
  }
  .footer__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.footer__list li a {
  color: var(--text-light-soft);
  font-size: 0.875em;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.footer__list li a:hover {
  color: var(--primary);
  text-decoration: none;
}
.footer__list li a i {
  margin-right: 2px;
}

.footer__copyright {
  padding-top: 1em;
}

.footer__four-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}

/* ==========================================================================
   導航選單  Pricing / Form 填單
   ========================================================================== */
/* ============ Sticky CTA / Form ============ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.25);
  z-index: 999;
  padding: 0.75rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* 當離開第一頁後，動態觸發顯示 */
.sticky-cta.activated {
  opacity: 1;
  transform: translateY(0);
}
.combined-container {
  max-width: 1080px;
  margin: 0 auto;
}
    /* 導航選單樣式 */
    .sticky-cta-wrap {
      display: flex;
      justify-content: center;
      gap: 6px;
      width: 100%;
      padding-bottom: 0.75rem;
    }
    .sticky-cta-wrap .btn {
      padding: 6px 14px;
      text-decoration: none;
      border-radius: 20px;
      font-size: 1rem;
      font-weight: 500;
      color: #4a5568;
      background: var(--bg-light-blue);
      transition: all 0.2s ease;
      white-space: nowrap;
    }
    .sticky-cta-wrap .btn.active {
      color: #fff !important;
      background-color: var(--primary);
    }
    .sticky-cta-wrap .btn.active i.svg-icon {
      filter: invert(100%) sepia(100%);
    }
/* Form 填單 */
.sticky-cta-form {
  position: relative;
  margin: 0 auto;
  padding: 1rem 0 0;
  line-height: 1;
  border-top: 1px solid var(--bg-soft);
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-content: center;
  box-sizing: border-box;
  justify-content: center;
}
.sticky-cta-form h2 { font-size: clamp(1.25rem, 5.2vw, 2.125rem); color: var(--dark); }
.sticky-cta-form .form-row-top { position: absolute; top: -36px; width: 330px; display: flex; align-items: center; flex-shrink: 0; }
.sticky-cta-form a.sub { display: flex; gap: 0px; align-items: center; }
.sticky-cta-form a.sub img { width: 38px; height: 38px; }
.sticky-cta-form a.sub span{ text-align: center; background-color: #fff; }
.sticky-cta-form .sub span.badge { background-color: var(--yellow); padding: 0.125rem 0.75rem; border-radius: 1rem; margin-top: 10px; margin-right: 4px; width: auto; }
.sticky-cta-form .sub { color: var(--text-soft); font-size: 0.9375rem; margin-top: 0.5rem; }
.sticky-cta-form .btn { border-radius: 12px; border: 0; }
.sticky-cta-form .accent { color: var(--primary); font-size: 105%; }
.form-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-input-group {
  display: flex;
  width: 100%;
  gap: 10px;
}
.form-input-group input {
  flex: 1;
  padding: 16px 15px;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-size: 1.125rem;
  font-family: Arial, Helvetica,"微軟正黑體","Microsoft JhengHei", simhei, sans-serif;
  color: #04204c;
  outline: none;
}
.form-input-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30,115,255,.12); }

    @media (min-width: 992px) {
      .form-row {
        flex-direction: row;
        justify-content: space-between;
      }
      .form-title-text {
        text-align: left;
        flex-shrink: 0;
      }
      .form-input-group {
        flex-grow: 1;
        justify-content: flex-end;
      }
      .sticky-cta-form { 
        justify-content: left;
      }
    }
    @media (max-width: 767.98px) {
      .sticky-cta-wrap {
          justify-content: center;
          overflow-x: visible;
          flex-wrap: wrap;
      }
      /* 移除手機版隱藏捲軸 */
      .sticky-cta-wrap::-webkit-scrollbar {
          display: none; 
      }
      .sticky-cta-wrap .btn {
          flex: 0 0 calc(50% - 4px); 
          width: calc(50% - 4px);
          font-size: 0.875rem;
          padding: 8px 4px;
          text-align: center;
          white-space: normal;    /* 允許在極小螢幕上進行文字自動折行 */
      }
      .form-input-group {
          flex-direction: column;
          gap: 8px;
      }
      .form-input-group input, .sticky-cta-form .btn {
          width: 100%;
          text-align: center;
      }
    }



/* ============ RWD ============ */
@media (max-width: 991.98px) {
  .feature-bullet { justify-content: center; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .compare > .container > h2 { padding-top: 4.5rem; }
  body { padding-bottom: 11.5rem; }
}
@media (max-width: 767.98px) {
  .feature .container { height: auto !important; }
  .feature .feature-wrap { background-position: center 6%; background-size: contain; }
  .feature-bullets { grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .feature-warning { background-position: left top; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 34px 20px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 64px 0 0; scroll-margin-top: 180px !important; /* 確保滑動時標題不被表單蓋住 */ }
  body { padding-bottom: 13.5rem; }

  /* ============ 毛玻璃特效 ============ */
  .sticky-cta {
    background-color: rgba(255, 255, 255, 0.93) !important; 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
  }
  .sticky-cta button {
    padding: 12px 15px !important;
  }
}
@media (max-width: 639.98px) {
  p { font-size: 0.9375rem; line-height: 1.42; }
  .plan-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(1, 1fr); }
  .checkout .card { margin: 0 1rem; }
  .hero h1 { font-size: 1.8125rem; }
  .feature h2 { font-size: 1.8125rem; }
  .feature-card { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 439.98px) {
  .btn { padding: 16px 18px; }
  .feature-bullets { grid-template-columns: 1fr; }
  .feature-bullet { gap: 5px; grid-template-columns: repeat(2, 1fr); padding-top: 8px; }
  .feature-card { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}