/* =========================================================
   TWPOS 官網 — 全站樣式
   設計：保留紅色品牌色，現代化排版，繁中標題用思源宋體
   ========================================================= */

:root {
  /* 品牌色 */
  --brand: #c8102e;          /* 主紅 */
  --brand-deep: #8b0a1f;     /* 深紅，懸停 */
  --brand-soft: #fdf2f3;     /* 極淡紅，背景 */
  --accent: #f5b800;         /* 金黃點綴 */
  --accent-cool: #5fd1ff;    /* 科技感冷色點綴 */

  /* 中性色 */
  --ink: #1a1a1a;            /* 主文字 */
  --ink-soft: #555;          /* 副文字 */
  --line: #e5e5e5;           /* 線條 */
  --bg: #ffffff;
  --bg-warm: #faf7f2;        /* 暖白底，有溫度感 */
  --bg-dark: #1a1a1a;

  /* 字體 */
  --font-display: "Noto Serif TC", "Source Han Serif TC", "PingFang TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* 尺寸 */
  --container: 1200px;
  --radius: 18px;
  --shadow-sm: 0 10px 30px rgba(14, 22, 40, .08);
  --shadow-md: 0 22px 60px rgba(10, 16, 28, .14);
  --shadow-glow: 0 0 0 1px rgba(95, 209, 255, .14), 0 26px 80px rgba(95, 209, 255, .10);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; color-scheme: light; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-deep); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- 容器 ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- 標題 ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

/* ---- 全站頂部公告條 ---- */
.topbar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--accent); }
.topbar-tags { display: flex; gap: 16px; }
.topbar-tags span::before { content: "▸ "; color: var(--brand); }

/* ---- 導覽列 ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 40px rgba(12, 19, 33, .06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  min-width: 0;
}
.nav-logo { flex-shrink: 0; min-width: 168px; }
.nav-logo img { height: 52px; width: auto; flex-shrink: 0; }
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 16px 24px;
  display: block;
  position: relative;
}
.nav-menu a:hover { color: var(--brand); }
.nav-menu a.active { color: var(--brand); }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--brand); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #df2444 100%);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(200, 16, 46, .26);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.nav-cta:hover { color: #fff !important; transform: translateY(-1px); box-shadow: 0 20px 40px rgba(200, 16, 46, .32); filter: brightness(1.02); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; font-size: 24px; }

/* ---- Hero 區 ---- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #09111d 0%, #2c1416 55%, #10192a 100%);
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(95, 209, 255, .18) 0%, transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(200, 16, 46, .20) 0%, transparent 26%),
    radial-gradient(circle at 70% 78%, rgba(245, 184, 0, .10) 0%, transparent 22%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,10,18,.82) 0%, rgba(8,12,22,.48) 54%, rgba(8,12,22,.22) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding: 112px 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  max-width: 720px;
}
.hero h1 .accent { color: var(--brand); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-top: 34px;
}
.hero-trust-item {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 100%);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
}
.hero-trust-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.hero-trust-item span {
  display: block;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.6;
}

/* ---- 按鈕 ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease, filter .25s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #e12648 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(200, 16, 46, .24);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 24px 44px rgba(200, 16, 46, .30); filter: brightness(1.02); }
.btn-outline {
  border-color: rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.03);
}
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost {
  color: var(--brand);
  border-color: rgba(200,16,46,.22);
  background: rgba(200,16,46,.04);
}
.btn-ghost:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(200,16,46,.18); }

/* ---- 區塊通用 ---- */
section { padding: 108px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--brand);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---- 數據條 ---- */
.stats {
  background: var(--bg-warm);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}
.stat-num sup { font-size: .5em; vertical-align: top; }
.stat-label {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .1em;
}

/* ---- 特色卡片 ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: linear-gradient(180deg, #fff 0%, #fff9fa 100%);
  border: 1px solid rgba(17, 24, 39, .08);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: all .3s;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.feature:hover {
  border-color: rgba(95, 209, 255, .4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--brand);
}
.feature h3 { margin-bottom: 12px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ---- 雙欄圖文 ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-img {
  background: var(--bg-warm);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--brand);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.split-text h2 { margin-bottom: 24px; }
.split-text p { color: var(--ink-soft); margin-bottom: 16px; }
.split-list { margin-top: 24px; }
.split-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.split-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

/* ---- 麵包屑 ---- */
.breadcrumb {
  background: var(--bg-warm);
  padding: 24px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ---- 頁首區 (內頁) ---- */
.page-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1416 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200,16,46,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245,184,0,.12) 0%, transparent 50%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .4em;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-header h1 { color: #fff; overflow-wrap: break-word; word-break: normal; }
.page-header p {
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}

/* ---- 頁尾 ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  letter-spacing: .1em;
}
.footer-logo { background: #fff; padding: 12px 16px; border-radius: var(--radius); display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 36px; }
.footer-about p { font-size: 14px; line-height: 1.8; }
.footer-links li, .footer-contact li {
  padding: 6px 0;
  font-size: 14px;
}
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--brand); }
.footer-contact .label { color: rgba(255,255,255,.5); font-size: 12px; display: block; margin-top: 8px; }
.footer-contact .value { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---- 表單 ---- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group label .req { color: var(--brand); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:64px; align-items:start; }
.hp-field { position:absolute; left:-9999px; opacity:0; pointer-events:none; }

/* ---- 方案卡 ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.plan-card {
  background: linear-gradient(180deg, #fff 0%, #fff9fa 100%);
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan-card.featured {
  border-color: rgba(95, 209, 255, .34);
  position: relative;
  box-shadow: var(--shadow-glow);
}
.plan-card.featured::before {
  content: "推薦方案";
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.plan-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-card .plan-desc { color: var(--ink-soft); margin-bottom: 24px; min-height: 50px; }
.plan-card ul { margin-bottom: 28px; flex: 1; }
.plan-card ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
}
.plan-card ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.module-item {
  background: linear-gradient(180deg, #fff 0%, #fff9fa 100%);
  border: 1px solid rgba(17, 24, 39, .08);
  padding: 28px;
  border-radius: var(--radius);
  transition: all .25s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.module-item:hover {
  border-color: rgba(95, 209, 255, .4);
  background: linear-gradient(180deg, #fff 0%, #fff5f7 100%);
  box-shadow: var(--shadow-glow);
}
.module-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--brand);
}
.module-item .tagline {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-style: italic;
}
.module-item ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.module-item ul li:last-child { border: none; }
.module-item ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* ---- CTA 區 ---- */
.cta-band {
  background:
    radial-gradient(circle at 20% 25%, rgba(95,209,255,.18) 0%, transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(245,184,0,.14) 0%, transparent 22%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 68%, #140d18 100%);
  color: #fff;
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 17px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
}
.cta-band .btn-primary:hover { background: var(--bg-warm); }
.cta-band .btn-outline { color: #fff; }

/* ---- Nav mobile / tablet horizontal scroll (8 items) ---- */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 1;
  }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-menu a { padding: 16px 10px; font-size: 13px; white-space: nowrap; }
  .nav-cta { padding: 7px 12px; font-size: 13px; flex-shrink: 0; }
  .nav-logo { flex-shrink: 0; min-width: 140px; }
}

/* ---- 響應式 ---- */

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
  }
  .nav .container { height: 68px; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 88px 0 32px;
    gap: 0;
    box-shadow: -6px 0 32px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .hero { min-height: auto; }
  .hero .container { padding: 80px 20px; }
  .hero p { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-tags { display: none; }
  .page-header { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  section { padding: 64px 0; }
}


/* ---- 聯絡我們 checkbox 響應式 ---- */
@media (max-width: 600px) {
  .form-group div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12px; }
  .nav-logo img { height: 42px; }
  .hero .container { padding: 64px 16px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: .2em; }
  .hero h1 { line-height: 1.2; }
  .hero-trust-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-trust-item { padding: 14px 16px; }
  .page-header { padding: 52px 0; }
  .page-header .eyebrow, .section-head .eyebrow, .split-text .eyebrow { letter-spacing: .2em; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-label { font-size: 12px; letter-spacing: .04em; }
  .feature, .plan-card, .module-item { padding: 24px 20px; }
  .split { gap: 28px; }
  .modules-grid, .plans-grid, .metric-grid, .method-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 18px; }
  .breadcrumb { padding: 16px 0; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .dark-panel-inner { padding: 28px 24px; }
  .check-grid { grid-template-columns: 1fr; }
  .contact-direct li { flex-direction: column; align-items: flex-start; }
}

/* ---- 動畫 ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .8s ease-out backwards; }
.reveal-delay-1 { animation-delay: .15s; }
.reveal-delay-2 { animation-delay: .3s; }
.reveal-delay-3 { animation-delay: .45s; }


/* ---- Hero 背景圖 ---- */
.hero {
  position: relative;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 520px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,26,26,.72) 0%, rgba(26,26,26,.55) 60%, rgba(26,26,26,.35) 100%);
}
.hero .container { position: relative; z-index: 1; }

/* ---- 內頁 banner 背景圖 ---- */
.page-hero {
  background: url('../images/solutions-cover.jpg') center/cover no-repeat;
  position: relative;
  min-height: 280px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,26,26,.7) 0%, rgba(200,16,46,.25) 100%);
}
.page-hero .container { position: relative; z-index: 1; }

/* ---- 特色區塊背景 ---- */
.section-with-image {
  background: url('../images/features-cover.jpg') center/cover no-repeat;
  position: relative;
}
.section-with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250,247,242,.88);
}
.section-with-image .container { position: relative; z-index: 1; }

/* ---- 深色背景區塊 ---- */
.bg-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1010 100%);
}

/* ---- 暖色背景加強 ---- */
.bg-warm {
  background: linear-gradient(180deg, #faf7f2 0%, #f5efe8 100%);
}

/* ---- 卡片hover ---- */
.plan-card:hover, .feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ---- About / Contact 強化區塊 ---- */
.page-header .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.dark-panel {
  background:
    radial-gradient(circle at top left, rgba(245,184,0,.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(200,16,46,.28), transparent 46%),
    linear-gradient(135deg, #111 0%, #241012 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-md);
}
.dark-panel-inner {
  height: 100%;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dark-panel .kicker {
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--accent);
  margin-bottom: 20px;
}
.dark-panel h3 {
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 16px;
}
.dark-panel p {
  color: rgba(255,255,255,.78);
}
.micro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.micro-points span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.04);
  font-size: 13px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.metric-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(200,16,46,.08);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--brand);
  margin-bottom: 18px;
}
.metric-value span {
  font-size: .62em;
}
.metric-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.metric-card p {
  font-size: 14px;
  color: var(--ink-soft);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}
.method-step {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 18px;
}
.method-card h3 {
  margin-bottom: 12px;
}
.method-card p {
  color: var(--ink-soft);
  font-size: 15px;
}
.statement-band {
  padding: 52px 0;
  background: linear-gradient(135deg, #151515 0%, #280f12 100%);
  text-align: center;
}
.statement-band p {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
}
.contact-panel {
  padding-top: 10px;
}
.contact-panel > .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--brand);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.contact-panel h2 {
  margin-bottom: 18px;
}
.contact-panel p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.contact-panel-card {
  background: linear-gradient(180deg, #fff 0%, #f8f5f1 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.contact-panel-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.mini-list {
  display: grid;
  gap: 10px;
}
.mini-list li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
}
.mini-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}
.contact-direct {
  display: grid;
  gap: 10px;
}
.contact-direct li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.contact-direct li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-direct span {
  color: var(--ink-soft);
  font-size: 14px;
}
.contact-direct a {
  font-weight: 700;
}
.form-section-title {
  margin: 28px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--brand);
  font-weight: 700;
}
.form-section-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.check-grid input {
  width: auto;
  accent-color: var(--brand);
}
