:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #14201e;
  --muted: #66736f;
  --line: #dbe6e3;
  --teal: #0f766e;
  --teal-strong: #0d5f59;
  --blue: #2563eb;
  --amber: #d97706;
  --rose: #be123c;
  --shadow: 0 20px 54px rgba(20, 32, 30, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eaf3f1 0, var(--bg) 360px, #f9fbfb 100%),
    var(--bg);
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
  color: inherit;
}

.watermark {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 30;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: rgba(13, 95, 89, 0.76);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.download-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 44px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  min-height: min(820px, calc(100vh - 88px));
  max-width: 1180px;
  margin: 0 auto;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal-strong);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(20, 32, 30, 0.06);
}

.brand-pill img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

h1 {
  max-width: 760px;
  margin: 24px 0 14px;
  font-size: clamp(46px, 10vw, 104px);
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
}

.primary-link {
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.primary-link:hover {
  background: var(--teal-strong);
}

.secondary-link {
  color: var(--teal-strong);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hint {
  margin-top: 14px;
  font-size: 14px;
}

.phone-preview {
  display: grid;
  justify-items: center;
}

.phone-screen {
  width: min(360px, 82vw);
  aspect-ratio: 9 / 18.8;
  padding: 22px;
  border: 10px solid #12211f;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 245, 0.98));
  box-shadow: var(--shadow);
}

.phone-top {
  width: 82px;
  height: 8px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: #d5dfdc;
}

.balance-card {
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.balance-card span,
.asset-row span {
  display: block;
  opacity: 0.78;
}

.balance-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  letter-spacing: 0;
}

.asset-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.asset-row strong {
  color: var(--teal-strong);
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 170px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: #eef7f5;
}

.mini-chart i {
  display: block;
  min-height: 18px;
  border-radius: 8px 8px 0 0;
  background: var(--rose);
}

.mini-chart i:nth-child(1) { height: 42%; }
.mini-chart i:nth-child(2) { height: 64%; background: var(--amber); }
.mini-chart i:nth-child(3) { height: 36%; }
.mini-chart i:nth-child(4) { height: 78%; background: var(--blue); }
.mini-chart i:nth-child(5) { height: 55%; }
.mini-chart i:nth-child(6) { height: 88%; background: var(--teal); }

.nav-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.nav-dots span {
  height: 8px;
  border-radius: 999px;
  background: #d5dfdc;
}

.nav-dots span:first-child {
  background: var(--teal);
}

.feature-band,
.info-grid {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.feature-band div {
  min-height: 210px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--teal), #2563eb);
  box-shadow: var(--shadow);
}

.feature-band span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  font-weight: 900;
}

.feature-band h2 {
  margin: 28px 0 8px;
  font-size: 26px;
}

.feature-band p {
  color: white;
  font-size: 16px;
  opacity: 0.86;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(20, 32, 30, 0.07);
}

.info-grid h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.info-grid p {
  font-size: 15px;
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eef2f1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 18px 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--teal-strong);
}

@media (max-width: 1080px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero,
  .feature-band,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-preview {
    order: -1;
  }

  .phone-screen {
    width: min(300px, 82vw);
  }

  .actions a {
    flex: 1 1 220px;
  }
}

@media (max-width: 560px) {
  .download-page {
    padding: 14px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
