:root {
  --navy: #12203c;
  --navy-2: #1b2b4b;
  --red: #cc1e2c;
  --sky: #e8eef8;
  --text: #12203c;
  --muted: #5b6578;
  --line: #e4e8f0;
  --white: #fff;
  --max: 1120px;
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang HK", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: #f7f8fb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(247, 248, 251, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 32, 60, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #111;
  border-radius: 10px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--navy);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.eyebrow.light {
  color: #f3b4b8;
}

.hero h1,
.intro h2,
.how h2,
.download h2,
.legal h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lede,
.intro p {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(18, 32, 60, 0.18);
  aspect-ratio: 4 / 3;
  background: #163a66;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1.04);
}

.stats {
  max-width: var(--max);
  margin: 8px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.stat strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.intro,
.how,
.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 24px;
}

.how {
  padding-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
}

.step {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.download {
  max-width: var(--max);
  margin: 32px auto 64px;
  padding: 42px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #12203c, #1e3460);
  color: var(--white);
  border-radius: 32px;
}

.download p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.store-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge img {
  height: 44px;
  width: auto;
}

.qr-panel {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.qr-panel figure {
  margin: 0;
  text-align: center;
}

.qr-box {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  background: var(--white);
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-empty {
  background:
    repeating-linear-gradient(
      45deg,
      #f3f4f8,
      #f3f4f8 8px,
      #fff 8px,
      #fff 16px
    );
  display: grid;
  place-items: center;
}

.is-empty::after {
  content: "即將上架";
  font-size: 11px;
  color: #8a93a6;
  font-weight: 700;
}

.qr-panel figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 32px 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #111;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--navy);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--navy);
}

.legal {
  padding-bottom: 80px;
}

.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.85;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

@media (max-width: 860px) {
  .hero,
  .download,
  .cards,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-frame {
    max-width: 520px;
    margin: 0 auto;
  }

  .download {
    margin: 24px 16px 40px;
    padding: 28px 22px;
  }

  .qr-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }
}
