:root {
  --bg: #0b0f19;
  --card: #121826;
  --card-hover: #182136;
  --border: #1f2937;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --green: #34d399;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
  background: radial-gradient(circle at top, #131c31 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.75;
  padding: 0 16px 80px;
}
.nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }
.container { max-width: 900px; margin: 0 auto; }
.article-container { max-width: 740px; margin: 0 auto; padding-top: 36px; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
header.hero { text-align: center; padding: 52px 0 40px; }
h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.25;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 30%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
  margin: 0 auto 30px;
}
.cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f19;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(56, 189, 248, 0.42); }
.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.math-bar {
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.stat strong { display: block; font-size: 1.6rem; color: var(--green); }
.stat span { font-size: 0.88rem; color: var(--muted); }
section { margin-top: 64px; }
h2 { font-size: 1.65rem; margin-bottom: 22px; text-align: center; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #e0f2fe; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .meta { font-size: 0.8rem; color: var(--accent); margin-bottom: 8px; font-weight: 600; }
.calc-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  max-width: 680px;
  margin: 0 auto;
}
.calc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}
.calc-row label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.calc-row input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-result {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 1.05rem;
}
.calc-result strong { color: var(--green); font-size: 1.35rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-box.featured {
  background: linear-gradient(180deg, rgba(56,189,248,0.12) 0%, var(--card) 100%);
  border-color: rgba(56, 189, 248, 0.5);
}
.price { font-size: 2.6rem; font-weight: 800; margin: 10px 0; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
ul.checklist {
  list-style: none;
  text-align: left;
  margin: 18px 0 26px;
}
ul.checklist li { margin-bottom: 10px; padding-left: 24px; position: relative; color: #e5e7eb; font-size: 0.94rem; }
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq-item h4 { margin-bottom: 6px; color: #fff; }
.faq-item p { color: var(--muted); font-size: 0.94rem; }
/* Article styles */
.prose h1 { font-size: clamp(1.7rem, 4vw, 2.35rem); text-align: left; }
.prose h2 { text-align: left; font-size: 1.4rem; margin: 36px 0 14px; color: #e0f2fe; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 10px; color: #bae6fd; }
.prose p { margin-bottom: 16px; color: #d1d5db; font-size: 1.03rem; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #d1d5db; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  background: rgba(56,189,248,0.06);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: #e5e7eb;
}
.article-cta {
  margin-top: 44px;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(129,140,248,0.14));
  border: 1px solid rgba(56,189,248,0.4);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.article-cta h3 { margin: 0 0 10px; color: #fff; font-size: 1.3rem; }
.article-cta p { color: var(--muted); margin-bottom: 20px; }
footer {
  text-align: center;
  margin-top: 72px;
  color: var(--muted);
  font-size: 0.85rem;
}
