﻿:root {
  color-scheme: light;
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #12213f;
  background: #f4f7ff;
  --blue: #3158f5;
  --purple: #7859ff;
  --line: #dce5f5;
  --muted: #66758c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 2%, rgba(97, 116, 255, .18), transparent 34%),
    radial-gradient(circle at 4% 94%, rgba(48, 198, 232, .14), transparent 30%),
    #f4f7ff;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: auto; padding: 28px 0 70px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 10px 30px rgba(82, 66, 255, .28); }
.brand strong { display: block; font-size: 24px; letter-spacing: .24em; }
.brand small { display: block; margin-top: 3px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 10px; }
.button, button {
  appearance: none;
  border: 0;
  border-radius: 13px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.button.secondary, button.secondary { color: #274278; background: #fff; border: 1px solid var(--line); }
.button:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
.hero { padding: 44px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 24px 80px rgba(49,76,137,.12); }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-weight: 900; font-size: 13px; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 64px); line-height: 1.1; letter-spacing: -.05em; }
.lead { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.referral { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 14px; border-radius: 999px; background: #edf2ff; color: #3151b9; font-weight: 800; }
.referral.invalid { color: #9b4d3d; background: #fff0ec; }
.customer-details { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.6fr); gap: 24px; margin-top: 26px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #f9fbff, #f1f5ff); }
.customer-details-copy h2 { margin: 0; font-size: 24px; }
.customer-details-copy > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.email-warning { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; border: 1px solid #f1c982; border-radius: 12px; color: #73541b; background: #fff8e8; font-size: 13px; line-height: 1.55; }
.email-warning strong { color: #9a5b08; }
.customer-fields { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 12px; }
.customer-fields label { margin: 0; align-content: start; }
.customer-fields label small { color: #8a97a9; font-size: 11px; font-weight: 700; }
.customer-details-message { grid-column: 1 / -1; min-height: 20px; margin: -8px 0 0; color: #b44747; font-size: 13px; font-weight: 800; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.plan { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.plan.featured { border: 2px solid #6255ff; box-shadow: 0 18px 44px rgba(74, 69, 220, .14); }
.badge { position: absolute; top: -13px; right: 20px; padding: 7px 12px; border-radius: 999px; color: #fff; background: #ff5f7b; font-size: 13px; font-weight: 900; }
.plan h2 { margin: 0; font-size: 22px; }
.price { margin: 22px 0 4px; font-size: 38px; font-weight: 950; color: #2948db; }
.price small { color: var(--muted); font-size: 14px; }
.list-price { min-height: 24px; color: #8792a6; }
.plan ul { flex: 1; margin: 22px 0; padding-left: 20px; color: #52647f; line-height: 1.9; }
.provider-actions { display: grid; gap: 9px; }
.provider-actions form { margin: 0; }
.provider-actions button { width: 100%; }
.paypal { color: #082c61; background: #ffc439; }
.fine { margin: 22px 0 0; color: #7a879c; font-size: 13px; line-height: 1.7; }
.download-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr); align-items: center; gap: 38px; }
.download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.download-actions span { color: var(--muted); font-size: 14px; }
.download-button { min-width: 220px; padding: 16px 24px; box-shadow: 0 14px 32px rgba(66, 78, 235, .22); }
.download-paused { color: #8b96a8; background: #e7ebf1; box-shadow: none; cursor: not-allowed; user-select: none; }
.download-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(155deg, #f9fbff, #edf2ff); }
.download-card img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 12px 30px rgba(82, 66, 255, .24); }
.download-card h2 { margin: 20px 0 10px; font-size: 22px; }
.download-card ul { margin: 0; padding-left: 20px; color: #52647f; line-height: 2; }
.tool-overview { margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.92); box-shadow: 0 24px 80px rgba(49,76,137,.1); }
.tool-overview-copy { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.tool-overview-copy h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.tool-overview-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.tool-overview-video { overflow: hidden; width: min(100%, 1050px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #071021; box-shadow: 0 20px 48px rgba(7,16,33,.2); }
.tool-overview-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 60px rgba(49,76,137,.1); }
.portal-grid, .summary-grid { display: grid; gap: 16px; }
.portal-grid { grid-template-columns: 1fr 1.5fr; }
.summary-grid { grid-template-columns: repeat(3, 1fr); margin: 22px 0; }
.summary-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #f9fbff; }
.summary-card span { display: block; color: var(--muted); font-size: 13px; }
.summary-card strong { display: block; margin-top: 7px; font-size: 26px; }
label { display: grid; gap: 7px; margin: 14px 0; color: #52647f; font-size: 14px; font-weight: 700; }
input, select { width: 100%; border: 1px solid #ced9ec; border-radius: 12px; padding: 12px 13px; background: #fff; color: #15254a; font: inherit; }
.status { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #edf2ff; color: #3151b9; font-weight: 800; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 10px; border-bottom: 1px solid #e8edf7; text-align: left; white-space: nowrap; }
th { color: #71809a; font-size: 12px; }
[hidden] { display: none !important; }
.message { min-height: 24px; color: #3151b9; font-weight: 700; }
@media (max-width: 850px) {
  .plans, .portal-grid, .summary-grid, .download-hero, .edition-grid, .customer-details, .customer-fields { grid-template-columns: 1fr; }
  .hero { padding: 26px; }
  .tool-overview { padding: 24px; }
  .tool-overview-copy, .edition-heading { display: grid; gap: 10px; }
  .topbar { align-items: flex-start; }
  .nav { flex-direction: column; align-items: stretch; }
}




.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions span { color: var(--muted); font-size: 14px; }
.edition-section { margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 24px 80px rgba(49,76,137,.1); scroll-margin-top: 24px; }
.edition-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.edition-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
.edition-heading > p { max-width: 530px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.edition-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 390px; padding: 28px; border: 1px solid #d9e2f4; border-radius: 24px; background: linear-gradient(155deg, #fff, #f7f9ff); }
.edition-card::after { content: ""; position: absolute; right: -75px; top: -85px; width: 210px; height: 210px; border-radius: 50%; background: rgba(75,90,255,.08); pointer-events: none; }
.edition-mini { background: linear-gradient(155deg, #fff, #f3fbff); border-color: #cce9f3; }
.edition-mini::after { background: rgba(26,190,198,.1); }
.edition-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.edition-topline small { color: var(--muted); font-size: 12px; }
.edition-badge { display: inline-flex; padding: 7px 11px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--purple)); font-size: 12px; font-weight: 900; }
.edition-badge.mini { background: linear-gradient(135deg, #0ba9ba, #36c6a4); }
.edition-card h3 { position: relative; z-index: 1; margin: 22px 0 8px; font-size: 42px; letter-spacing: -.04em; }
.edition-card h3 span { margin-left: 3px; color: #1aa6b7; font-size: 24px; font-weight: 850; }
.edition-card > p:not(.generation-price) { margin: 0; color: var(--muted); line-height: 1.75; }
.edition-card ul { flex: 1; margin: 18px 0 24px; padding-left: 20px; color: #52647f; line-height: 1.9; }
.edition-download { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.edition-download span { color: var(--muted); font-size: 13px; }
.format-download-link { margin-left: auto; padding: 7px 10px; border: 1px solid #b9dde6; border-radius: 9px; color: #168b9b; background: #f4fdff; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.format-download-link:hover { color: #0b6d7a; border-color: #77c6d2; background: #eafcff; }
.mini-button { background: linear-gradient(135deg, #0ba9ba, #35c49e); box-shadow: 0 14px 32px rgba(15,170,174,.2); }
.generation-price { margin: 12px 0 0 !important; color: #748198 !important; font-size: 12px; font-weight: 700; }
.edition-note { margin: 17px 0 0; color: #8591a4; font-size: 12px; text-align: center; }
