* { box-sizing: border-box; }
:root {
  --bg: #0D0F18; --surface: #13151F; --surface2: #1A1D2E;
  --border: #252840; --text: #E8EAF2; --muted: #8890AB;
  --dim: #596078; --brand: #ffde59; --green: #2ECC71;
  --on-brand: #0b0b0b;
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Segoe UI", sans-serif; line-height: 1.72; }
a { color: var(--brand); }
.nav { border-bottom: 1px solid var(--border); background: rgba(13,15,24,.94); position: sticky; top: 0; z-index: 3; backdrop-filter: blur(12px); }
.nav-inner, .wrap { width: min(1120px, calc(100vw - 40px)); margin: 0 auto; }
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 22px; font-weight: 900; }
.logo { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: #111; font-size: 10px; font-weight: 950; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 800; }
.nav-cta { background: var(--brand); color: var(--on-brand) !important; padding: 9px 14px; border-radius: 10px; }
.hero { padding: 70px 0 42px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 42px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 900; margin-bottom: 12px; }
h1 { margin: 0; font-size: 48px; line-height: 1.12; letter-spacing: 0; }
h1 em { color: var(--brand); font-style: normal; }
.lead { color: var(--muted); font-size: 19px; margin: 18px 0 0; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { border: 1px solid var(--border); background: var(--surface2); color: var(--text); text-decoration: none; cursor: pointer; font: inherit; font-weight: 900; border-radius: 12px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; }
.btn.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.panel { background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: 0 24px 70px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.06); }
.panel-title { font-size: 20px; font-weight: 950; margin-bottom: 10px; }
.muted { color: var(--muted); }
.tool-grid { display: grid; gap: 12px; }
textarea { width: 100%; min-height: 180px; border: none; border-radius: 14px; background: rgba(255,255,255,.04); color: var(--text); outline: none; resize: vertical; padding: 14px 16px; font: inherit; line-height: 1.75; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
textarea:focus { box-shadow: inset 0 0 0 1px rgba(255,222,89,.55), 0 0 0 3px rgba(255,222,89,.12); }
.drop-card { min-height: 270px; border: 2px dashed rgba(255,222,89,.34); border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(255,222,89,.045); }
.drop-card strong { color: #fff; font-size: 24px; display: block; margin-bottom: 8px; }
.drop-icon { font-size: 46px; color: var(--brand); margin-bottom: 8px; }
.example { display: grid; gap: 10px; margin-top: 16px; }
.example-row { background: rgba(255,255,255,.035); border-radius: 14px; padding: 12px 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.example-row .label { color: var(--dim); font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.example-row b { color: var(--green); }
.section { padding: 48px 0; }
.section h2 { font-size: 31px; line-height: 1.25; margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.card { background: var(--surface); border-radius: 16px; padding: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps { display: grid; gap: 12px; margin-top: 22px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; background: var(--surface); border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--brand); background: rgba(255,222,89,.14); font-weight: 950; }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
details { background: var(--surface); border-radius: 16px; padding: 16px 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
summary { cursor: pointer; font-weight: 950; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { white-space: pre-wrap; margin: 0; color: var(--muted); font-size: 14px; }
.footer { padding: 34px 0 50px; color: var(--dim); text-align: center; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .cards, .faq-grid { grid-template-columns: 1fr; }
}
