:root {
  --ink: #321f27;
  --muted: #715c62;
  --paper: rgba(255, 250, 244, 0.78);
  --cream: #fff9f2;
  --coral: #ff735c;
  --rose: #ffc0b2;
  --teal: #3eb8ac;
  --blue: #4a7dff;
  --plum: #5e3458;
  --line: rgba(50, 31, 39, 0.13);
  --shadow: 0 30px 90px rgba(91, 46, 53, 0.13);
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --serif: "Noto Serif TC", "Songti TC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(74, 125, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 82% 16%, rgba(255, 115, 92, 0.23), transparent 30rem),
    linear-gradient(135deg, #fff8ef 0%, #fef1ed 46%, #effaf7 100%);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: 1;
  height: 34vh;
  background: linear-gradient(to top, rgba(255, 249, 242, 0.78), transparent);
  pointer-events: none;
}

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

#signal-field,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#signal-field {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.grain {
  z-index: 1;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(50, 31, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(50, 31, 39, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 82%);
}

.site-header,
main {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 82px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-width: 180px;
}

.brand span {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
}

nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex: 1;
  color: rgba(50, 31, 39, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.header-action,
.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.header-action,
.primary-action {
  background: linear-gradient(135deg, var(--coral), #ff9f72);
  color: #fff;
  box-shadow: 0 16px 38px rgba(255, 115, 92, 0.28);
}

.header-action {
  padding: 0 18px;
}

.primary-action {
  min-width: 168px;
  padding: 0 22px;
}

.ghost-action {
  min-width: 150px;
  padding: 0 20px;
  border: 1px solid rgba(50, 31, 39, 0.14);
  background: rgba(255, 250, 244, 0.58);
  color: var(--plum);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.98fr);
  gap: 42px;
  min-height: calc(100vh - 112px);
  padding: 54px 0 72px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px -18px 38px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.52), rgba(255, 255, 255, 0.26)),
    radial-gradient(circle at 86% 18%, rgba(62, 184, 172, 0.18), transparent 28rem);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(13px);
}

.kicker,
.section-label span {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-line {
  max-width: 520px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(113, 92, 98, 0.9);
  font-size: 16px;
  font-weight: 600;
}

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

.hero-stage {
  position: relative;
  min-height: 560px;
  perspective: 1000px;
}

.hero-stage img {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: min(430px, 82vw);
  height: 540px;
  object-fit: cover;
  object-position: 48% 50%;
  border-radius: 34px;
  box-shadow:
    0 34px 100px rgba(50, 31, 39, 0.18),
    0 0 0 9px rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) rotateY(-9deg) rotateX(4deg);
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(62, 184, 172, 0.38);
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: rotate-orbit 18s linear infinite;
}

.orbit-one {
  z-index: 1;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-20deg);
}

.orbit-two {
  z-index: 3;
  width: 390px;
  height: 390px;
  border-color: rgba(255, 115, 92, 0.42);
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(36deg);
  animation-duration: 12s;
  animation-direction: reverse;
}

.live-card {
  position: absolute;
  right: 2%;
  bottom: 72px;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: min(230px, 48vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.7);
  box-shadow: 0 20px 60px rgba(50, 31, 39, 0.14);
  backdrop-filter: blur(16px);
}

.live-card span,
.live-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.live-card strong {
  font-size: 18px;
}

.signal-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(790px, 100%);
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.62);
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.numbers,
.collab,
.fit,
.flow,
.faq,
.contact {
  padding: 72px 0;
}

.section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-label p,
.data-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.08;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(50, 31, 39, 0.09);
  box-shadow: var(--shadow);
}

.metric-grid article,
.module-grid article {
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: blur(14px);
}

.metric-grid article {
  min-height: 160px;
  padding: 28px 22px;
}

.metric-grid span,
.module-grid p {
  color: var(--muted);
  font-size: 14px;
}

.metric-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.metric-grid article:last-child strong {
  font-size: clamp(20px, 2vw, 28px);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-grid article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 26px;
  box-shadow: 0 22px 66px rgba(50, 31, 39, 0.1);
}

.data-note {
  margin-top: 18px;
}

.data-note.center {
  max-width: none;
  text-align: center;
}

.fit-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  align-items: stretch;
}

.fit-stack {
  display: grid;
  gap: 14px;
}

.fit-stack article,
.category-panel,
.faq-layout article,
.faq-layout aside,
.contact-grid article {
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.68);
  box-shadow: 0 18px 56px rgba(50, 31, 39, 0.08);
  backdrop-filter: blur(14px);
}

.fit-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 16px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
}

.fit-stack img {
  grid-row: span 2;
  width: 50px;
  height: 50px;
}

.fit-stack strong {
  font-size: 18px;
}

.fit-stack span,
.category-panel p,
.faq-layout p,
.contact p {
  color: var(--muted);
}

.category-panel {
  padding: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.category-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
}

.module-grid img {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  min-height: 126px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.68);
  box-shadow: 0 16px 48px rgba(50, 31, 39, 0.08);
  backdrop-filter: blur(12px);
}

.flow li span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.flow li strong {
  font-size: 17px;
}

.flow li p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 16px;
}

.faq-layout article,
.faq-layout aside {
  min-height: 220px;
  padding: 28px;
}

.faq-layout aside p {
  margin: 12px 0 0;
  padding-left: 20px;
  position: relative;
  font-weight: 800;
}

.faq-layout aside p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.contact {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 32px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 115, 92, 0.28), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 82% 20%, rgba(62, 184, 172, 0.24), transparent 22rem);
  box-shadow: var(--shadow);
}

.contact > div:first-child {
  padding: 36px 36px 10px;
}

.contact > div:first-child > span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 36px 32px;
}

.contact-grid article {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.contact-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-grid strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.contact-grid a {
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
}

.copyright {
  margin: 0;
  padding: 0 36px 30px;
  color: rgba(113, 92, 98, 0.78);
  font-size: 12px;
}

.reveal-block {
  opacity: 0;
  transform: translateY(54px) scale(0.985);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

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

.metric-grid article,
.module-grid article,
.fit-stack article,
.category-grid span,
.flow li,
.faq-layout > *,
.contact-grid article,
.signal-strip span {
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.78, 0.18, 1),
    box-shadow 220ms ease;
}

.reveal-block:not(.is-visible) .metric-grid article,
.reveal-block:not(.is-visible) .module-grid article,
.reveal-block:not(.is-visible) .fit-stack article,
.reveal-block:not(.is-visible) .category-grid span,
.reveal-block:not(.is-visible) .flow li,
.reveal-block:not(.is-visible) .faq-layout > *,
.reveal-block:not(.is-visible) .contact-grid article,
.reveal-block:not(.is-visible) .signal-strip span {
  opacity: 0;
  transform: translateY(26px);
}

.module-grid article:hover,
.contact-grid article:hover,
.fit-stack article:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 76px rgba(50, 31, 39, 0.13);
}

.reveal-block.is-visible .metric-grid article:nth-child(2),
.reveal-block.is-visible .module-grid article:nth-child(2),
.reveal-block.is-visible .fit-stack article:nth-child(2),
.reveal-block.is-visible .category-grid span:nth-child(2),
.reveal-block.is-visible .flow li:nth-child(2),
.reveal-block.is-visible .faq-layout > :nth-child(2),
.reveal-block.is-visible .contact-grid article:nth-child(2),
.reveal-block.is-visible .signal-strip span:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-block.is-visible .metric-grid article:nth-child(3),
.reveal-block.is-visible .module-grid article:nth-child(3),
.reveal-block.is-visible .fit-stack article:nth-child(3),
.reveal-block.is-visible .category-grid span:nth-child(3),
.reveal-block.is-visible .flow li:nth-child(3),
.reveal-block.is-visible .faq-layout > :nth-child(3),
.reveal-block.is-visible .contact-grid article:nth-child(3),
.reveal-block.is-visible .signal-strip span:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-block.is-visible .metric-grid article:nth-child(4),
.reveal-block.is-visible .module-grid article:nth-child(4),
.reveal-block.is-visible .category-grid span:nth-child(4),
.reveal-block.is-visible .flow li:nth-child(4),
.reveal-block.is-visible .signal-strip span:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-block.is-visible .metric-grid article:nth-child(5),
.reveal-block.is-visible .category-grid span:nth-child(5),
.reveal-block.is-visible .flow li:nth-child(5) {
  transition-delay: 320ms;
}

.reveal-block.is-visible .metric-grid article:nth-child(6),
.reveal-block.is-visible .category-grid span:nth-child(6) {
  transition-delay: 400ms;
}

.reveal-block.is-visible .category-grid span:nth-child(7) {
  transition-delay: 480ms;
}

.reveal-block.is-visible .category-grid span:nth-child(8) {
  transition-delay: 560ms;
}

@keyframes rotate-orbit {
  to {
    rotate: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit,
  .reveal-block,
  .metric-grid article,
  .module-grid article,
  .fit-stack article,
  .category-grid span,
  .flow li,
  .faq-layout > *,
  .contact-grid article,
  .signal-strip span {
    animation: none;
    transition: none;
  }

  .reveal-block,
  .reveal-block:not(.is-visible) .metric-grid article,
  .reveal-block:not(.is-visible) .module-grid article,
  .reveal-block:not(.is-visible) .fit-stack article,
  .reveal-block:not(.is-visible) .category-grid span,
  .reveal-block:not(.is-visible) .flow li,
  .reveal-block:not(.is-visible) .faq-layout > *,
  .reveal-block:not(.is-visible) .contact-grid article,
  .reveal-block:not(.is-visible) .signal-strip span {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
    gap: 20px;
  }

  .hero-stage {
    min-height: 455px;
  }

  .hero-stage img {
    width: min(370px, 78vw);
    height: 445px;
  }

  .live-card {
    right: 6%;
    bottom: 28px;
  }

  .signal-strip,
  .metric-grid,
  .module-grid,
  .fit-layout,
  .faq-layout,
  .contact-grid,
  .flow ol {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    position: static;
    margin-top: 10px;
  }

  .section-label {
    display: grid;
    align-items: start;
  }

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

@media (max-width: 560px) {
  .site-header,
  main {
    width: min(100% - 26px, 1180px);
  }

  .brand span {
    font-size: 23px;
  }

  .brand strong {
    font-size: 16px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero::before {
    inset: 4px -6px 20px;
    border-radius: 26px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-line {
    font-size: 18px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-stage img {
    width: min(330px, 82vw);
    height: 405px;
    border-radius: 26px;
  }

  .orbit-one {
    width: 370px;
    height: 370px;
  }

  .orbit-two {
    width: 270px;
    height: 270px;
  }

  .live-card {
    right: 0;
    bottom: 34px;
  }
}
