:root {
  --ink: #141712;
  --muted: #5d6458;
  --line: #d9dfd2;
  --surface: #f7f8f2;
  --surface-strong: #ffffff;
  --accent: #1d6f5f;
  --accent-strong: #0f4c42;
  --gold: #c59b3d;
  --coal: #20251e;
  --shadow: 0 24px 70px rgba(28, 38, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  inset: 14px 22px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(247, 248, 242, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(29, 38, 23, 0.12);
  overflow: hidden;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 214px;
}

.brand-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--accent-strong);
  font-weight: 900;
}

.brand-mark strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.brand-mark small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
  color: #30372d;
  font-size: 0.86rem;
  font-weight: 700;
}

.desktop-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--accent);
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions {
  flex: 0 0 auto;
  min-width: 0;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.system-notice {
  position: relative;
  z-index: 4;
  max-width: 1180px;
  margin: 112px auto -72px;
  padding: 14px 18px;
  border: 1px solid rgba(29, 111, 95, 0.24);
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(20, 23, 18, 0.08);
}

.ghost-link,
.primary-link,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.ghost-link {
  padding: 0 14px;
  color: var(--accent-strong);
}

.collapse-panel {
  margin: 0 0 22px;
  border: 1px solid rgba(20, 23, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(20, 23, 18, 0.07);
  overflow: hidden;
}

.collapse-panel > summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.collapse-panel > summary::-webkit-details-marker {
  display: none;
}

.collapse-indicator {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(29, 111, 95, 0.2);
  border-radius: 8px;
  color: var(--accent-strong);
  background: rgba(29, 111, 95, 0.07);
  font-style: normal;
}

.collapse-indicator::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

.collapse-panel[open] > summary .collapse-indicator::before {
  content: "-";
}

.collapse-body {
  padding: 0 18px 18px;
}

.language-switcher .ghost-link {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  font-size: 0.76rem;
}

.language-switcher .ghost-link.active {
  border-color: rgba(29, 111, 95, 0.2);
  background: rgba(29, 111, 95, 0.08);
}

.primary-link,
.primary-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--accent-strong);
  box-shadow: 0 14px 28px rgba(15, 76, 66, 0.2);
}

.secondary-cta {
  padding: 0 18px;
  border: 1px solid rgba(20, 23, 18, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

.secondary-cta.dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px 7vw 84px;
  background:
    linear-gradient(90deg, rgba(247, 248, 242, 0.98) 0%, rgba(247, 248, 242, 0.88) 42%, rgba(247, 248, 242, 0.16) 100%),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.enterprise-hero {
  background:
    linear-gradient(90deg, rgba(247, 248, 242, 0.99) 0%, rgba(247, 248, 242, 0.9) 43%, rgba(247, 248, 242, 0.24) 100%),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=82") center right / cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 1;
  font-weight: 900;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #293126;
  font-size: 1.18rem;
  line-height: 1.72;
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(20, 23, 18, 0.13);
  border-radius: 8px;
  color: #2d3529;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 23, 18, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 18, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, black 52%, black 100%);
}

.hero-panel {
  position: absolute;
  right: 7vw;
  width: min(320px, 28vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 76, 66, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: float-panel 4.8s ease-in-out infinite;
}

.hero-panel span,
.hero-panel small {
  display: block;
  opacity: 0.78;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 900;
}

.panel-a {
  top: 24%;
}

.panel-b {
  top: 48%;
  right: 14vw;
  background: rgba(32, 37, 30, 0.78);
  animation-delay: 600ms;
}

.panel-c {
  top: 67%;
  background: rgba(197, 155, 61, 0.82);
  animation-delay: 1100ms;
}

.platform-band,
.experience-section,
.admin-preview,
.site-footer,
.commercial-seo-section,
.partner-showcase,
.points-safety-note {
  padding: 96px 7vw;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2,
.admin-preview h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.04;
  font-weight: 900;
}

.section-heading p,
.admin-preview p,
.desktop-story p,
.platform-flow p,
.commercial-feature-grid p,
.partner-showcase p {
  color: var(--muted);
  line-height: 1.75;
}

.commercial-seo-section,
.partner-showcase {
  background: #ffffff;
}

.commercial-feature-grid,
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.commercial-feature-grid article,
.partner-logo-card,
.partner-empty-state {
  min-height: 210px;
  padding: 28px;
  background: #fff;
}

.commercial-feature-grid span {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.commercial-feature-grid h3,
.partner-logo-card strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 1.25rem;
}

.partner-logo-card {
  display: grid;
  align-content: start;
  gap: 8px;
  transition: background 180ms ease, transform 180ms ease;
}

.partner-logo-card:hover {
  background: #fbfcf7;
  transform: translateY(-2px);
}

.partner-logo-card img,
.partner-logo-fallback {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(20, 23, 18, 0.1);
  border-radius: 8px;
  object-fit: contain;
  background: #f7f8f2;
}

.partner-logo-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent-strong);
  font-size: 1.5rem;
  font-weight: 900;
}

.partner-logo-card small {
  color: var(--accent);
  font-weight: 900;
}

.partner-empty-state {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  text-align: center;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.platform-flow article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface-strong);
  transition: transform 220ms ease, background 220ms ease;
}

.platform-flow article:hover {
  transform: translateY(-4px);
  background: #fbfcf7;
}

.platform-flow h3,
.desktop-story h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
}

.source-flow article {
  min-height: 230px;
}

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

.module-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.module-label.sponsored {
  background: #6c6443;
}

.module-label.ai {
  background: #214e7b;
}

.module-label.event {
  background: #8b4c35;
}

.module-label.shop {
  background: #46643d;
}

.module-label.points {
  background: var(--gold);
}

.module-label.member {
  background: var(--coal);
}

.experience-section {
  background: #eef2e8;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 56px;
  align-items: center;
}

.desktop-story ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.desktop-story li {
  padding: 14px 0;
  border-top: 1px solid rgba(20, 23, 18, 0.14);
  font-weight: 800;
}

.mobile-story {
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(340px, 100%);
  padding: 18px;
  border: 10px solid #1b1f18;
  border-radius: 28px;
  background: #fbfcf7;
  box-shadow: var(--shadow);
}

.phone-top {
  margin-bottom: 16px;
  font-weight: 900;
}

.phone-balance {
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent-strong);
}

.phone-balance span,
.phone-balance strong {
  display: block;
}

.phone-balance strong {
  margin-top: 6px;
  font-size: 2rem;
}

.phone-action {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3c4438;
  font-weight: 800;
}

.phone-action.active {
  border-color: rgba(29, 111, 95, 0.32);
  background: rgba(29, 111, 95, 0.09);
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.phone-tabs span {
  padding: 8px 4px;
  border-radius: 8px;
  background: #eef2e8;
}

.admin-preview {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  background: var(--coal);
}

.admin-preview p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.final-business-cta .conversion-actions {
  justify-content: flex-end;
  min-width: min(420px, 100%);
}

.points-safety-note {
  background: #ffffff;
}

.points-safety-note p {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

.site-footer {
  padding-bottom: 120px;
  color: rgba(255, 255, 255, 0.78);
  background: #11140f;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 44px;
}

.footer-inner p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  max-width: 520px;
  font-weight: 800;
}

.footer-contact span {
  width: 100%;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  text-align: right;
  text-transform: uppercase;
}

.footer-contact a {
  color: #fff;
}

.content-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  width: min(1180px, calc(100% - 44px));
  margin: -18px auto 32px;
  padding: 16px;
  border: 1px solid rgba(20, 28, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(20, 28, 45, 0.08);
}

.mission-shell .content-filters {
  width: 100%;
  margin: 0 0 24px;
}

.content-filters label {
  display: grid;
  flex: 1 1 180px;
  min-width: min(100%, 180px);
  gap: 7px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 900;
}

.content-filters select {
  min-height: 42px;
  width: 100%;
  border: 1px solid rgba(20, 28, 45, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  color: #111827;
  background: #ffffff;
  font: inherit;
  font-weight: 800;
}

.content-filters button {
  flex: 0 0 auto;
  border: 1px solid rgba(20, 23, 18, 0.16);
  cursor: pointer;
}

.block-explorer-shell {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 132px 0 92px;
}

.block-explorer-hero,
.block-summary-grid article,
.block-filter-bar,
.block-table-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 23, 18, 0.08);
}

.block-explorer-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 34px;
}

.block-explorer-hero h1 {
  max-width: 860px;
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 0.98;
}

.block-explorer-hero p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
}

.block-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.block-summary-grid article {
  padding: 20px;
}

.block-summary-grid span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.block-summary-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
}

.block-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  margin-bottom: 16px;
}

.block-filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.block-filter-bar input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.block-table-panel {
  overflow: hidden;
}

.block-table-scroll {
  overflow-x: auto;
}

.block-table-panel table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.block-table-panel th,
.block-table-panel td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.block-table-panel th {
  color: #334155;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.block-table-panel td {
  color: #17201a;
  font-weight: 750;
}

.block-table-panel td span,
.block-table-panel td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.block-table-panel code {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.block-table-panel .positive {
  color: #0f7a55;
}

.block-table-panel .negative {
  color: #b42318;
}

.mobile-bottom-nav {
  display: none;
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-panel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 760px) {
  .content-filters {
    display: grid;
    width: calc(100% - 32px);
    margin: -18px auto 24px;
    padding: 14px;
  }

  .mission-shell .content-filters {
    width: 100%;
    margin: 0 0 20px;
  }

  .content-filters label,
  .content-filters button {
    width: 100%;
  }

  .block-explorer-shell {
    width: calc(100% - 32px);
    padding: 104px 0 72px;
  }

  .block-explorer-hero,
  .block-filter-bar {
    grid-template-columns: 1fr;
    display: grid;
    padding: 20px;
  }

  .block-summary-grid {
    grid-template-columns: 1fr;
  }
}
