:root {
  --bg: #0a0e14;
  --bg-elevated: #121820;
  --bg-soft: #f3eee6;
  --ink: #10141c;
  --ink-muted: #5a6170;
  --cream: #f7f2ea;
  --gold: #c9a24a;
  --gold-bright: #e0bc62;
  --navy: #152033;
  --line: rgba(201, 162, 74, 0.28);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(8, 10, 16, 0.28);
  --font-display: "Bebas Neue", "Sora", sans-serif;
  --font-body: "Sora", "Noto Sans", "Noto Sans TC", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.lang-zh-tw,
body.lang-ne {
  font-family: "Noto Sans TC", "Noto Sans", "Sora", sans-serif;
}

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

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

ul {
  margin: 0;
  padding-left: 1.15rem;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.92), rgba(10, 14, 20, 0.72));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  white-space: nowrap;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background:
    radial-gradient(circle at 35% 35%, var(--gold-bright), transparent 45%),
    linear-gradient(145deg, #2a3344, #0f141c);
}

.nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.82rem;
}

.nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

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

.lang-switch {
  display: flex;
  gap: 0.35rem;
}

.lang-switch a {
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  text-align: center;
  font-size: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  opacity: 0.75;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.55) 42%, rgba(8, 10, 14, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.75) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 8.5rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.tagline {
  max-width: 28rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #14110a;
}

.btn-primary:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section.dark {
  background: var(--bg);
  color: var(--white);
}

.section.dark .eyebrow {
  color: var(--gold-bright);
}

.section.dark .lead,
.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 18ch;
}

.section-note {
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.lead {
  max-width: 46rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.promise {
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 162, 74, 0.16), transparent 42%),
    linear-gradient(180deg, #ebe4d8, var(--cream));
}

.promise .section-head h2 {
  max-width: 22ch;
}

.pillar {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(16, 20, 28, 0.12);
}

.pillar h3 {
  font-size: 1.05rem;
}

.exp-block {
  margin-top: 3.5rem;
}

.exp-block h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.65rem;
}

.exp-block .exp-copy {
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.exp-block.split-lite {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.experience .lead,
.experience .process-card p,
.experience .exp-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.experience .process-card h3 {
  color: #fff;
}

.formats {
  background: linear-gradient(180deg, #f0ebe2, var(--cream));
}

.trust {
  background: #f6f1e8;
}

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.deploy-card figure,
.platform-media,
.split-media,
.graphics-grid figure,
.process-card figure,
.admin-card img,
.tech-card img {
  overflow: hidden;
  border-radius: 2px;
}

.deploy-card img,
.platform-media img,
.split-media img,
.graphics-grid img,
.process-card img {
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease);
}

.deploy-card:hover img,
.platform:hover img,
.split-media:hover img,
.graphics-grid figure:hover img {
  transform: scale(1.03);
}

.deploy-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.place {
  display: inline-block;
  margin: 1rem 0 0.5rem;
  padding: 0.35rem 0.7rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.place-gold {
  background: var(--gold);
  color: #1a150c;
}

.platform-list {
  display: grid;
  gap: 2.5rem;
}

.platform {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(16, 20, 28, 0.1);
}

.platform:nth-child(even) .platform-copy {
  order: 2;
}

.type {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform h3 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
}

.space {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.mobile-nft {
  background: linear-gradient(180deg, #ece5d9, #e4ddd0);
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.phone-row figure {
  text-align: center;
}

.phone-row img {
  margin-inline: auto;
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
  transition: transform 0.45s var(--ease);
}

.phone-row figure:hover img {
  transform: translateY(-8px);
}

.phone-row figcaption {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
}

.graphics-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.graphics-grid figure:first-child {
  grid-row: span 1;
}

.graphics-grid img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.point-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  list-style: none;
  padding: 0;
}

.point-row li {
  padding: 1rem;
  background: rgba(16, 20, 28, 0.04);
  border-left: 3px solid var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tech-card {
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.tech-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.footnote {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.adv-card {
  padding: 1.75rem 1.35rem;
  border: 1px solid rgba(201, 162, 74, 0.28);
  background: linear-gradient(160deg, rgba(201, 162, 74, 0.08), transparent 55%);
}

.adv-card .num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-card .tag {
  margin: 0.9rem 0 0.25rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.loop-note {
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid rgba(16, 20, 28, 0.1);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(16, 20, 28, 0.08);
  vertical-align: top;
}

th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.admin-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.admin-card {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(16, 20, 28, 0.06);
}

.admin-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.closing {
  background:
    linear-gradient(135deg, #10151d 0%, #1a2433 48%, #2a2114 100%);
  color: #fff;
}

.closing .eyebrow {
  color: var(--gold-bright);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.closing-points {
  list-style: none;
  padding: 0;
}

.closing-points li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.closing-points strong {
  color: var(--gold-bright);
}

.closing-points span {
  color: rgba(255, 255, 255, 0.75);
}

.contact-panel {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 74, 0.35);
}

.brand-mini {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.company {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-link {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-bright);
}

.contact-panel .btn {
  margin-top: 1.25rem;
  width: 100%;
}

.site-footer {
  padding: 1.25rem 1.5rem 2rem;
  background: #080b10;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 20, 0.97);
    padding: 0.5rem 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: block;
  }

  .lang-switch {
    margin-left: auto;
  }

  .overview-grid,
  .pillar-row,
  .deploy-grid,
  .platform,
  .phone-row,
  .split,
  .exp-block.split-lite,
  .graphics-grid,
  .point-row,
  .tech-grid,
  .adv-grid,
  .process-grid,
  .admin-features,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .platform:nth-child(even) .platform-copy {
    order: 0;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .phone-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    padding-bottom: 4rem;
  }
}

@media (max-width: 560px) {
  .phone-row {
    grid-template-columns: 1fr 1fr;
  }

  .brand {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .site-header {
    padding-inline: 1rem;
  }
}
