:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #1e293b;
  --muted: #64748b;
  --tint: #f5f7fb;
  --line: #e6e9ef;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { letter-spacing: -0.4px; }

/* ── header ── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto; padding: 20px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: var(--muted); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--blue); }

/* ── hero ── */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: 56px 32px 84px;
  display: flex; align-items: center; gap: 56px;
}
.hero-text { flex: 1; }
.hero h1 { font-size: 2.9rem; line-height: 1.22; }
.lead { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 30em; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { flex: 0 0 auto; }
.hero-art img { filter: drop-shadow(0 20px 38px rgba(37, 99, 235, 0.30)); }

/* ── buttons ── */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: var(--blue); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); }

/* ── sections ── */
.band { width: 100%; }
.band-tint { background: var(--tint); }
.section { max-width: var(--wrap); margin: 0 auto; padding: 76px 32px; }
.section h2 { font-size: 2rem; text-align: center; }

/* ── feature grid ── */
.grid { margin-top: 46px; display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09); }
.card .ico { font-size: 1.9rem; line-height: 1; }
.card h3 { margin-top: 14px; font-size: 1.16rem; }
.card p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }

/* ── why ── */
.why h3 { font-size: 1.12rem; color: var(--blue); }
.why p { margin-top: 6px; color: var(--muted); font-size: 0.96rem; }
.audience {
  margin-top: 44px; text-align: center; color: var(--muted);
  font-size: 0.98rem;
}

/* ── cta ── */
.cta { text-align: center; }
.cta p { margin-top: 10px; color: var(--muted); }
.cta .btn { margin-top: 26px; }

/* ── footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center; padding: 28px;
  color: var(--muted); font-size: 0.9rem;
}

/* ── hero eyebrow / note ── */
.eyebrow {
  display: inline-block;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-header nav a.nav-active { color: var(--blue); font-weight: 600; }

/* ── pricing page ── */
.pricing-hero { text-align: center; padding-top: 56px; padding-bottom: 36px; }
.pricing-hero h1 { font-size: 2.6rem; line-height: 1.25; margin-top: 8px; }
.lead-center {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36em;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 12px;
}

.price-card {
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 18px;
  padding: 38px 36px;
  max-width: 520px;
  margin: 38px auto 0;
  text-align: center;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.14);
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
}
.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1.3rem;
}
.price-new {
  color: var(--blue);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.price-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-includes {
  margin: 28px 0 28px;
  text-align: left;
}
.price-includes li {
  padding: 6px 0 6px 28px;
  color: var(--ink);
  position: relative;
  list-style: none;
  font-size: 0.97rem;
}
.price-includes li::before {
  content: "✓";
  color: var(--blue);
  position: absolute;
  left: 4px;
  font-weight: bold;
  font-size: 1.1rem;
}
.btn-big {
  display: block;
  margin: 0 auto;
  width: fit-content;
  padding: 14px 38px;
  font-size: 1.04rem;
}
.refund-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── 加值服務表格 ── */
.svc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 36px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.svc-table th, .svc-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.svc-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--tint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.svc-table tbody tr:last-child td { border-bottom: none; }
.svc-table tbody tr:hover { background: rgba(37, 99, 235, 0.03); }
.svc-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

/* ── 方案比較表（買斷 vs 月租）── */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px auto 0;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.plan-table th, .plan-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  text-align: center;
}
.plan-table thead th {
  background: var(--tint);
  font-size: 1.05rem;
  color: var(--ink);
}
.plan-table thead th:last-child { color: var(--blue); }
.plan-table tbody th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td { border-bottom: none; }
.plan-table td strong { color: var(--blue); font-size: 1.15rem; }
.plan-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}
.plan-cta { text-align: center; margin-top: 34px; }
.plan-includes-intro { text-align: center; color: var(--muted); margin-top: 44px; font-size: 0.98rem; }

/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  padding-right: 30px;
  position: relative;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ── responsive ── */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-hero h1 { font-size: 2.1rem; }
  .price-new { font-size: 2.4rem; }
}
@media (max-width: 620px) {
  .site-header { padding: 16px 20px; }
  .site-header nav { gap: 14px; font-size: 0.92rem; }
  .hero { flex-direction: column-reverse; text-align: center; padding: 36px 20px 64px; gap: 28px; }
  .hero h1 { font-size: 2.2rem; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art img { width: 130px; height: 130px; }
  .section { padding: 56px 20px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .price-card { padding: 32px 22px; }
  .svc-table th, .svc-table td { padding: 12px 12px; font-size: 0.9rem; }
}
