@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700;900&family=Noto+Sans+TC:wght@400;600;700;900&display=swap");

:root {
  --bg: #090b0e;
  --panel: #11161b;
  --panel-raised: #151b21;
  --line: #2a333b;
  --line-strong: #3b4941;
  --text: #f4f7f5;
  --muted: #a4afa9;
  --green: #56f28f;
  --green-hover: #70f5a1;
  --green-soft: rgba(86, 242, 143, .1);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans", "Noto Sans TC", "Segoe UI", sans-serif;
  line-height: 1.65;
}
html[lang="zh-Hant"] body { font-family: "Noto Sans TC", "Noto Sans", "Microsoft JhengHei UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(9, 11, 14, .88);
  backdrop-filter: blur(18px);
}
.topbar-inner { min-height: 68px; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 900; }
.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(86, 242, 143, .2);
}
.brand-name { white-space: nowrap; }
.back-link { color: #c3ccc7; font-size: 14px; font-weight: 700; }
.back-link:hover { color: #fff; }
.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #465248;
  border-radius: 9px;
  background: #11161b;
}
.language-switch button {
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #aeb8b2;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.language-switch button.active { color: #06140b; background: var(--green); }
.currency-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #465248;
  border-radius: 9px;
  background: #11161b;
}
.currency-switch button {
  min-width: 48px;
  height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  color: #aeb8b2;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.currency-switch button.active { color: #06140b; background: var(--green); }

.download-main { padding: 92px 0 80px; }
.page-head { max-width: 800px; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.intro { max-width: 700px; margin: 0; color: var(--muted); font-size: 18px; }
.offer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.offer-price { display: inline-flex; align-items: baseline; gap: 10px; color: var(--green); font-size: 25px; font-weight: 900; }
.offer-price small { color: #86918b; font-size: 14px; font-weight: 600; }

.sandbox-checkout-panel {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(260px, .8fr);
  align-items: center;
  gap: 18px 24px;
  margin: -18px 0 32px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 184, 77, .5);
  border-radius: 14px;
  background: rgba(255, 184, 77, .075);
}
.sandbox-checkout-panel[hidden] { display: none; }
.sandbox-badge {
  padding: 7px 10px;
  border: 1px solid rgba(255, 184, 77, .6);
  border-radius: 7px;
  color: #ffc46b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}
.sandbox-checkout-copy strong { display: block; font-size: 18px; }
.sandbox-checkout-copy p,
.sandbox-email-help { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.sandbox-email-field { display: grid; gap: 7px; color: #dbe2de; font-size: 13px; font-weight: 700; }
.sandbox-email-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #465248;
  border-radius: 8px;
  color: var(--text);
  background: #090d10;
  font: inherit;
  outline: none;
}
.sandbox-email-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(86, 242, 143, .12); }
.sandbox-email-help { grid-column: 2 / -1; }
.sandbox-mode .action-button[aria-disabled="true"] { opacity: .65; pointer-events: none; }

.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.platform-card {
  min-width: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-raised); }
.platform-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(86, 242, 143, .32);
  border-radius: 14px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}
.windows-mark {
  width: 25px;
  height: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  transform: skewY(-4deg);
}
.windows-mark i { display: block; background: currentColor; }
.platform-label { margin: 0 0 6px; color: #839089; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.platform-card h2 { margin: 0 0 13px; font-size: 30px; line-height: 1.2; font-weight: 900; }
.platform-description { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.platform-card .action-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 9px;
  color: #06140b;
  background: var(--green);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.platform-card .action-button:hover { transform: translateY(-2px); background: var(--green-hover); }

.helper-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #27312c;
  border-radius: 12px;
  background: #0e1412;
}
.helper-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(86, 242, 143, .35);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}
.helper-box strong { display: block; margin-bottom: 3px; }
.helper-box p { margin: 0; color: var(--muted); font-size: 14px; }
.link-status { min-height: 28px; margin: 18px 2px 0; color: var(--green); font-size: 14px; font-weight: 700; }

.page-footer { border-top: 1px solid rgba(255, 255, 255, .07); color: #7f8b84; font-size: 13px; }
.page-footer .wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-footer a:hover { color: #fff; }

@media (max-width: 860px) {
  .download-main { padding-top: 70px; }
  .sandbox-checkout-panel { grid-template-columns: auto 1fr; }
  .sandbox-email-field, .sandbox-email-help { grid-column: 1 / -1; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 300px; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .topbar-inner { min-height: 62px; gap: 10px; }
  .brand-name, .back-link { display: none; }
  .brand-logo { width: 36px; height: 36px; }
  .download-main { padding: 56px 0 60px; }
  .page-head { margin-bottom: 34px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .intro { font-size: 16px; }
  .sandbox-checkout-panel { grid-template-columns: 1fr; padding: 20px; }
  .sandbox-badge { justify-self: start; }
  .platform-card { min-height: 0; padding: 24px; }
  .page-footer .wrap { min-height: 84px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
}
