:root {
  --bg: #000000;
  --ink: #ffffff;
  --brand: #000000;
  --brand-soft: #171717;
  --accent: #10f0b5;
  --card: rgba(23, 23, 23, 0.6);
  --line: rgba(255, 255, 255, 0.08);
  --muted: rgba(255, 255, 255, 0.65);
  --white: #ffffff;
  --glass: rgba(23, 23, 23, 0.9);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Readex Pro", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #000; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, .btn { font-family: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
h1, h2, h3, .serif {
  font-family: "Readex Pro", "Noto Sans TC", "PingFang TC", sans-serif;
  font-weight: 600;
}
h1, h2 { letter-spacing: -0.03em; line-height: 1.15; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0 8px;
  background: transparent;
}
.header-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: block;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong { font-size: 14px; font-weight: 600; }
.logo-text small { font-size: 11px; color: var(--muted); }
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { transform: translateY(-1px); }

.hero {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(36px, 5vw, 62px); margin: 12px 0 18px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-bullets { margin: 28px 0 0; padding: 0; list-style: none; }
.hero-bullets li {
  padding-left: 22px;
  position: relative;
  margin: 8px 0;
}
.hero-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card-img {
  width: min(100%, 320px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}
.qr-box {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  width: 196px;
  margin: 0 auto 14px;
}
.qr-box svg { width: 100%; height: auto; }
.qr-caption { text-align: center; color: var(--muted); font-size: 13px; }
.only-desktop { display: block; }
.only-mobile { display: none; }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 12px; }
.lead { color: var(--muted); max-width: 62ch; }

.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; color: var(--ink); }
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 240, 181, 0.16);
  color: var(--accent);
  margin-bottom: 10px;
}

.scene-link { text-decoration: none; display: block; height: 100%; }
.scene-link:hover { border-color: var(--accent); }

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
.compare th {
  background: rgba(16, 240, 181, 0.1);
  color: var(--accent);
  font-weight: 700;
}
.compare tr:last-child td { border-bottom: 0; }

.fee-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fee-row strong { font-size: 20px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; }
.step-n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 18px;
  margin: 10px 0;
}
.faq-item[open] { border-color: rgba(255, 255, 255, 0.18); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

.tldr {
  background: rgba(16, 240, 181, 0.08);
  border: 1px solid rgba(16, 240, 181, 0.22);
  border-radius: 24px;
  padding: 28px;
}
.tldr h2 { font-size: 22px; margin: 0 0 12px; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin: 8px 0; }

.citations { padding-left: 20px; }
.citations a { color: var(--accent); }

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 240, 181, 0.18), rgba(16, 240, 181, 0.04));
  color: var(--ink);
  border: 1px solid rgba(16, 240, 181, 0.22);
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -48px;
  width: 180px;
  height: 180px;
  background: #10f0b5;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.16;
}
.cta-band p { color: var(--muted); }
.cta-band .btn-accent { justify-self: end; position: relative; }

.guide-body { max-width: 740px; }
.guide-body h2 { margin-top: 36px; }
.guide-body p { font-size: 17px; }
.meta-line { color: var(--muted); font-size: 14px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 120px;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { margin-bottom: 28px; max-width: 62ch; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer a { color: var(--ink); }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.trust li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.legal { margin-top: 24px; max-width: 80ch; }

.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
}
.sticky-cta .btn {
  width: 100%;
  box-shadow: var(--shadow);
  background: #fff;
  color: #000;
}

.breadcrumbs { font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.breadcrumbs a { color: var(--muted); }

@media (max-width: 900px) {
  .hero, .grid-3, .grid-2, .steps, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .only-desktop { display: none; }
  .only-mobile { display: flex; }
  .sticky-cta { display: block; }
  .hero { padding-top: 36px; }
  .cta-band { padding: 28px; }
  .compare { display: block; overflow-x: auto; }
  .header-row { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
