:root {
  --bg: #0F1115;
  --gold: #EDBD76;
  --gold-bright: #FFBE5D;
  --gold-pale: #F1D9B5;
  --gold-soft: rgba(237, 189, 118, 0.6);
  --orange: #F7931A;
  --orange-deep: #EA580C;
  --ink: #1E1E1E;
  --text: #FFFBFB;
  --text-1: #BBBBBB;
  --text-2: #C1C1C1;
  --text-3: #969696;
  --line: #858585;
  --gold-gradient: linear-gradient(90deg, #FFBE5D 0%, #F1D9B5 50%, #FFBE5D 100%);
  --orange-gradient: linear-gradient(90deg, #FFBE5D, #F7931A);
  --font-stack: "Noto Sans TC", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --surface: #15181E;
  --surface-2: #111419;
  --hairline: rgba(237, 189, 118, 0.22);
  --hairline-strong: rgba(237, 189, 118, 0.5);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-deep: 0 20px 52px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 12px 36px rgba(237, 189, 118, 0.18);
  --container: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "◆";
  font-size: 9px;
  color: var(--gold);
}

.section {
  padding: 96px 0;
}

.section--flush-top {
  padding-top: 0;
}

.section--alt {
  background: var(--surface-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

#about,
#features,
#roles,
#download,
#contact {
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 14px 0 14px;
}

.section-head p {
  color: var(--text-1);
  font-size: 16px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn svg {
  flex: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(237, 189, 118, 0.3);
}

.btn-ghost {
  border-color: var(--hairline-strong);
  color: var(--gold);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(237, 189, 118, 0.08);
  transform: translateY(-2px);
}

.btn-disabled {
  background: var(--surface);
  border-color: rgba(237, 189, 118, 0.16);
  color: var(--text-3);
  cursor: not-allowed;
  pointer-events: none;
}

.btn-stack {
  flex-direction: column;
  gap: 2px;
  padding: 12px 26px;
  text-align: left;
}

.btn-stack small {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.06em;
}

.btn-stack strong {
  font-size: 16px;
  line-height: 1.35;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 21, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

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

.brand img {
  height: 27px;
  width: auto;
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.14em;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--text-2);
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--gold-bright);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: right 0.22s ease;
}

.nav a:hover::after {
  right: 0;
}

.header-cta {
  padding: 10px 22px;
  font-size: 14.5px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/img/hero.webp");
  background-size: cover;
  background-position: center 32%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 8%, rgba(237, 189, 118, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(15, 17, 21, 0.32) 0%, rgba(15, 17, 21, 0.78) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(15, 17, 21, 0.82) 0%, rgba(15, 17, 21, 0.28) 62%);
}

.hero-inner {
  min-height: calc(100vh - 72px);
  max-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 96px;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0.01em;
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-desc {
  max-width: 560px;
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 38px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(15, 17, 21, 0.55);
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.chip::before {
  content: "◆";
  color: var(--gold);
  font-size: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 14px 0;
}

.about-copy p {
  color: var(--text-1);
  margin-bottom: 18px;
}

.about-points {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.about-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
}

.about-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 10px;
}

.about-points strong {
  color: var(--text);
  margin-right: 8px;
}

.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-deep);
}

.media-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 17, 21, 0.42) 100%);
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(237, 189, 118, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-deep);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-body {
  padding: 26px 26px 30px;
}

.feature-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-body h3 span {
  color: var(--gold);
  margin-right: 8px;
}

.feature-body p {
  color: var(--text-1);
  font-size: 14.5px;
}

.highlight-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-item {
  background: var(--surface-2);
  border: 1px solid rgba(237, 189, 118, 0.12);
  border-radius: var(--radius-sm);
  padding: 22px 22px 24px;
  transition: border-color 0.2s ease;
}

.highlight-item:hover {
  border-color: var(--hairline);
}

.highlight-item strong {
  display: block;
  color: var(--gold);
  font-size: 15.5px;
  margin-bottom: 7px;
}

.highlight-item span {
  color: var(--text-1);
  font-size: 13.5px;
  line-height: 1.7;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  background: var(--surface);
  border: 1px solid rgba(237, 189, 118, 0.16);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-strong);
}

.role-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(237, 189, 118, 0.1);
  border: 1px solid rgba(237, 189, 118, 0.28);
  color: var(--gold);
  margin-bottom: 20px;
}

.role-card h3 {
  font-size: 18.5px;
  margin-bottom: 14px;
}

.role-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-1);
  font-size: 14px;
  margin-bottom: 9px;
}

.role-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 9px;
}

.download-band {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 18% 20%, rgba(237, 189, 118, 0.1), transparent 42%),
    radial-gradient(circle at 82% 90%, rgba(247, 147, 26, 0.08), transparent 46%),
    linear-gradient(165deg, #16120d 0%, #1d150c 52%, #131007 100%);
  text-align: center;
}

.download-band .container {
  padding-top: 88px;
  padding-bottom: 88px;
}

.download-band h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin: 14px 0 14px;
}

.download-band .lead {
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 40px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.download-note {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 18px;
}

.text-link {
  color: var(--gold);
  font-size: 14.5px;
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.more-link {
  margin-top: 36px;
}

.contact-section {
  text-align: center;
}

.contact-section h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  margin: 14px 0 12px;
}

.contact-section p {
  color: var(--text-1);
  margin-bottom: 30px;
}

.contact-mail {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand img {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-3);
  font-size: 13.5px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-1);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(237, 189, 118, 0.12);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-3);
  font-size: 13px;
}

.page-hero {
  padding: 76px 0 40px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 88% 0%, rgba(237, 189, 118, 0.12), transparent 44%),
    linear-gradient(180deg, #12141a 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  margin: 16px 0 12px;
}

.page-hero p {
  color: var(--text-1);
  max-width: 640px;
}

.download-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-deep);
}

.download-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.download-card .muted {
  color: var(--text-1);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.download-card .download-row {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.spec-list {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(237, 189, 118, 0.14);
  padding-top: 22px;
}

.spec-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 14px;
}

.spec-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 9px;
}

.qr-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
}

.qr-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 12px;
}

.qr-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.qr-card p {
  color: var(--text-3);
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--surface-2);
  border: 1px solid rgba(237, 189, 118, 0.14);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-1);
  font-size: 13.5px;
}

.legal {
  max-width: 800px;
}

.legal h2 {
  font-size: 21px;
  margin: 40px 0 12px;
  color: var(--gold-pale);
}

.legal p,
.legal li {
  color: var(--text-1);
  font-size: 14.5px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 12px 4px;
}

.legal li {
  position: relative;
  padding-left: 20px;
}

.legal li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 8px;
}

.legal .meta {
  color: var(--text-3);
  font-size: 13px;
  border-bottom: 1px solid rgba(237, 189, 118, 0.14);
  padding-bottom: 22px;
}

@media (max-width: 1024px) {
  .feature-grid,
  .roles-grid,
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }

  .header-inner {
    height: 64px;
  }

  .nav {
    display: none;
  }

  .feature-grid,
  .roles-grid,
  .highlight-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 96px 0 72px;
  }

  .download-row .btn {
    flex: 1 1 100%;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
