.bx-chevron-down:before {
  content: "";
}

h3 {
  font-size: 1.17em;
  font-weight: 700;
}

a {
  color: #545454;
}

body {
  background: #181e24;
  color: #fff;
  font-family: "Noto Sans TC", Arial, sans-serif;
  padding-bottom: 60px;
}

.sub-text div {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Mobile Version */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  .sub-text div {
    font-size: 0.8rem;
  }
}

.faq-q {
  font-weight: bold;
  color: #fff;
  background: #39404a;
  border-radius: 8px 8px 0 0;
  padding: 0.7em 1em 0.2em 1em;
  margin-bottom: 0;
}

.faq-a {
  background: #232b35;
  border-radius: 0 0 8px 8px;
  padding: 0.4em 1em 1em 1em;
  margin-bottom: 1em;
}

.pricing-card .btn {
  position: absolute;
  right: 1.5em;
  bottom: 1.2em;
}

.addon-desc {
  font-size: 0.95rem;
  color: #b0b4ba;
}

/* Responsive */
@media (max-width: 767px) {
  .pricing-card,
  .guarantee-section,
  .addon-card {
    padding: 1em !important;
  }

  .pricing-card .btn {
    position: static;
    display: block;
    margin-top: 1em;
  }
}

.section-title {
  padding-top: 20px;
  font-size: 2rem;
  font-weight: bold;
  color: #ffe27a;
  text-align: center;
  text-shadow: 1px 1px 8px rgba(255, 226, 122, 0.6);
  margin-bottom: 2rem;
}

.guarantee-section {
  background: linear-gradient(145deg, #1a1d23, #23272e);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.guarantee-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.guarantee-item {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.guarantee-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #36c3f4;
  font-size: 1.5rem;
}

.guarantee-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.guarantee-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Mobile Version */
@media (max-width: 768px) {
  .guarantee-content {
    flex-direction: column;
    text-align: center;
  }

  .guarantee-list {
    margin-bottom: 2rem;
  }

  .guarantee-item {
    font-size: 1rem;
    padding-left: 2rem;
  }

  .guarantee-item::before {
    font-size: 1.2rem;
  }

  .guarantee-image img {
    max-height: 200px;
  }
}

.highlight-text {
  color: #e0d9cd;
  font-size: 1rem;
  line-height: 1.6;
}

.stat-table {
  background: #232b35;
  border-radius: 8px;
  overflow: hidden;
}

.stat-table th,
.stat-table td {
  color: #fff;
  text-align: center;
}

.performance-metrics .metric-box {
  background: #232b35;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.performance-metrics .metric-box .metric-value {
  font-size: 2rem;
  font-weight: bold;
  color: #36c3f4;
}

.performance-metrics .metric-box .metric-label {
  font-size: 0.95rem;
  color: #e0d9cd;
}

/* Mobile Version */
@media (max-width: 768px) {
  .section-title {
    padding-top: 20px;
    font-size: 2.8rem;
  }

  .highlight-text {
    font-size: 0.95rem;
  }

  .performance-metrics .metric-box {
    padding: 0.8rem;
  }

  .performance-metrics .metric-box .metric-value {
    font-size: 1.8rem;
  }

  .performance-metrics .metric-box .metric-label {
    font-size: 0.85rem;
  }
}

.showcase-gallery {
  margin-top: 2rem;
}

.pricing-card {
  background: linear-gradient(145deg, #23272e, #1a1e24);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);s
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* --- 新增/修改以下屬性 --- */
  display: flex; /* 啟用 Flexbox 佈局 */
  flex-direction: column; /* 讓子元素垂直排列 */
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
}

.pricing-card ul {
    flex-grow: 1; /* <<--- 這是關鍵！ */
    list-style: none;
    padding: 0;
    margin: 1.5rem 0; /* 增加與價格和標題之間的距離 */
    text-align: left; /* 列表內容靠左對齊通常更易讀 */
    padding-left: 1.5rem; /* 讓列表稍微內縮 */
}

.pricing-card ul li {
    color: #e0d9cd;
    margin-bottom: 0.8rem;
    position: relative; /* 為了 ::before 偽元素 */
    padding-left: 1.4rem; /* 為圖示留出空間 */
    line-height: 1.5;
}

/* 為列表項目前面加上勾勾圖示，增加質感 */
.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #36c3f4; /* 藍色強調色 */
    font-weight: bold;
}

/* 按鈕容器，確保它在 flex 佈局的末端 */
.pricing-card .btn-buy-ads {
    margin-top: auto; /* 將按鈕推到卡片底部 */
}

/* 確保 Bootstrap 的 row/col 啟用 flex 等高 */
.row.d-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.d-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.addon-card {
  background: #23272e;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.addon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.addon-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffe27a;
}

.btn-danger,
.btn-outline-light {
  font-size: 0.9rem;
  font-weight: bold;
}

/* Mobile Version */
@media (max-width: 768px) {
  .addon-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .addon-card .text-right {
    align-self: flex-end;
    margin-top: 1rem;
  }
}


.hero-title-dark {
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffe27a;
  letter-spacing: 0.05em;
  text-shadow: 1.5px 1.5px 14px rgba(255, 226, 122, 0.1);
}

.highlight-dark {
  color: #ffe27a;
  background: linear-gradient(90deg, #ffe27a 50%, #36c3f4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-lead-dark {
  font-size: 1.35rem;
  color: #36c3f4;
  font-weight: 600;
  text-shadow: 1px 1px 8px rgba(54, 195, 244, 0.12);
  margin-bottom: 0.8rem;
}

.cta-highlight-dark {
  color: #e04c4c;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.sub-text-dark {
  font-size: 1.04rem;
  color: #e0d9cd;
  background: rgba(35, 39, 46, 0.85);
  border-radius: 10px;
  padding: 1rem 1rem 0.7rem 1rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.sub-text-note-dark {
  font-size: 0.96rem;
  color: #b5b5b5;
  margin-top: 0.4rem;
}

.hero-hr-dark {
  border-color: #23272e;
  background: #23272e;
  height: 2px;
  opacity: 0.85;
}

.ads-result-section-dark {
  background: linear-gradient(100deg, #23272e 80%, #181e24 100%);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
  max-width: 700px;
  margin: 0 auto 0 auto;
  color: #e0d9cd;
}

.ads-result-title-dark {
  font-size: 1.45rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ads-result-highlight-dark {
  color: #36c3f4;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ads-result-paragraph-dark {
  font-size: 1.08rem;
  color: #e0d9cd;
}

.ads-result-subtext-dark {
  color: #ffe27a;
  font-size: 1.01rem;
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}

@media (max-width: 767.98px) {

  .hero-title-dark {
    font-size: 1.45rem;
  }

  .hero-lead-dark {
    font-size: 1rem;
  }

  .cta-highlight-dark {
    font-size: 1.05rem;
  }

  .sub-text-dark {
    font-size: 0.95rem;
    padding: 0.7rem 0.5rem 0.5rem 0.5rem;
  }

  .ads-result-section-dark {
    padding: 1.2rem 0.4rem 1.1rem 0.4rem;
    border-radius: 14px;
  }

  .ads-result-title-dark {
    font-size: 1.07rem;
  }

  .ads-result-paragraph-dark {
    font-size: 0.97rem;
  }

  .ads-result-subtext-dark {
    font-size: 0.92rem;
  }
}

/* --- tk-ad-service.php - Interactive Button Redesign --- */

/* 按鈕上下浮動動畫 (如果您的 main.css 或此檔案中尚未定義) */
@keyframes buttonFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ---------------------------------- */
/* 1. 主要購買按鈕樣式 (.btn-buy-ads) */
/* ---------------------------------- */

.btn-buy-ads {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    background: linear-gradient(135deg, #e04c4c, #7f3f98); /* 紅紫色漸層 */
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(224, 76, 76, 0.25);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-buy-ads:hover {
    color: #fff;
    box-shadow: 0 10px 25px rgba(224, 76, 76, 0.4);
    transform: translateY(-4px) scale(1.05);
}
.btn-buy-ads .fa {
    margin-right: 8px;
}


/* 光影掠過效果 */
.btn-buy-ads::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: rotate(45deg) translateX(-150%);
  transition: transform 0s ease-in-out;
}

.btn-buy-ads:hover::after {
  transform: rotate(45deg) translateX(150%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ------------------------------------ */
/* 2. 次要加購按鈕樣式 (.btn-addon-ads) */
/* ------------------------------------ */

.btn-addon-ads {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  background-color: transparent;
  color: #36c3f4; /* 強調藍色 */
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border: 2px solid #36c3f4; /* 藍色線框 */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-addon-ads:hover {
  background-color: #36c3f4; /* 滑鼠移過時填滿藍色 */
  color: #181e24; /* 文字變為深色 */
  box-shadow: 0 4px 15px rgba(54, 195, 244, 0.25);
  transform: translateY(-2px);
}

.btn-addon-ads .fa {
  margin-right: 6px;
}


/* 新的價格方案卡片主體 */
.pricing-card-ads {
    background: linear-gradient(145deg, #23272e, #1a1e24);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 2rem 1.5rem;
    width: 100%; /* 確保填滿 col-* 容器 */
    
    /* 使用 Flexbox 讓 header, body, footer 正確排列並讓 footer 置底 */
    display: flex;
    flex-direction: column;
}

/* 卡片頭部：方案名稱和價格 */
.pricing-card-header-ads {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pricing-card-name-ads {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffe27a; /* 黃色強調色 */
    margin-bottom: 0.5rem;
}
.pricing-card-price-ads {
    font-size: 1.2rem;
    color: #e0d9cd;
}

/* 卡片主體：服務內容列表 */
.pricing-card-body-ads {
    padding: 1.5rem 0;
    flex-grow: 1; /* 關鍵：讓此區塊自動伸展，將 footer 推到底部 */
}
.pricing-features-list-ads {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pricing-features-list-ads li {
    color: #c0c8d3;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}
/* 列表項目前面的勾勾圖示 */
.pricing-features-list-ads li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #36c3f4; /* 藍色強調色 */
    font-weight: bold;
    font-size: 1.1rem;
}

/* 卡片底部：按鈕 */
.pricing-card-footer-ads {
    text-align: center;
    margin-top: auto; /* 將 footer 推到 flex 容器的底部 */
    padding-top: 1rem;
}


.hero-content-wrapper-ads {
    max-width: 750px; /* 控制內容最大寬度 */
}

.hero-title-ads {
    font-size: 2.8rem; /* 主標題大小 */
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-title-ads .highlight-yellow { /* 為標題中的高亮文字設定樣式 */
    color: #ffe27a;
    text-shadow: 0 2px 15px rgba(255, 226, 122, 0.4);
}

.hero-subtitle-ads {
    font-size: 1.3rem;
    font-weight: 500;
    color: #36c3f4; /* 藍色強調色 */
    text-shadow: 1px 1px 8px rgba(54, 195, 244, 0.2);
}

.hero-guarantee-box-ads {
    display: inline-block; /* 讓寬度由內容決定 */
    background: rgba(224, 76, 76, 0.15); /* 使用紅色調，但用半透明背景，不那麼刺眼 */
    border: 1px solid rgba(224, 76, 76, 0.6);
    color: #ffc2c2; /* 淺紅色文字 */
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* 膠囊形狀 */
    transition: all 0.3s ease;
}

.hero-guarantee-box-ads:hover {
    background: rgba(224, 76, 76, 0.3);
    border-color: rgba(224, 76, 76, 1);
    color: #fff;
    transform: scale(1.05);
}

.hero-guarantee-box-ads .fa-shield { /* Font Awesome 盾牌圖示 */
    margin-right: 10px;
    color: #ffc2c2;
}

.hero-guarantee-box-ads strong { /* 「全額退費」文字加粗並變色 */
    color: #fff;
    font-weight: 800;
}

.hero-description-ads {
    font-size: 1.1rem;
    color: #e0d9cd;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-note-ads {
    font-size: 0.85rem;
    color: #868e96; /* 較暗的灰色 */
    font-style: italic;
}

/* 讓下方的成果區塊與新的 Hero 區塊有足夠間距 */
.ads-result-section-dark {
    margin-top: 3rem;
}


/* --- 響應式調整 --- */
@media (max-width: 768px) {
    .hero-title-ads { font-size: 2rem; }
    .hero-subtitle-ads { font-size: 1.1rem; }
    .hero-guarantee-box-ads { font-size: 1rem; padding: 0.6rem 1.2rem; }
    .hero-description-ads { font-size: 1rem; }
}