:root {
  --bg: #f9f6f0;
  --bg-soft: #ebf1f5;
  --surface: #ffffff;
  --text: #2c3e50;
  --muted: #64748b;
  --line: #e4dfd5;
  --gold: #d97706;
  --gold-dark: #b45309;
  --leaf: #8a4b16;
  --green: #2f6f5e;
  --sky: #2b6f9f;
  --shadow: 0 18px 50px rgba(138, 75, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

a .icon,
button .icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.1);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a:hover .icon,
a:focus-visible .icon,
button:hover .icon,
button:focus-visible .icon {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(180, 83, 9, 0.26);
  transform: translateY(-1px);
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--gold-dark);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 246, 240, 0.94);
  border-bottom: 1px solid rgba(180, 83, 9, 0.16);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--gold-dark);
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.18);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px 8px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #334155;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--gold-dark);
  border-color: rgba(217, 119, 6, 0.74);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  outline: none;
}

.nav-menu .nav-cta,
.primary-btn {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.24);
  border-radius: 999px;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(180, 83, 9, 0.3);
}

.nav-menu .nav-cta .icon,
.primary-btn .icon {
  color: var(--gold-dark);
  background: #fff;
}

.nav-menu .nav-cta:hover .icon,
.nav-menu .nav-cta:focus-visible .icon,
.primary-btn:hover .icon,
.primary-btn:focus-visible .icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 8px 18px rgba(44, 62, 80, 0.18);
}

.nav-menu .nav-cta:hover .icon,
.nav-menu .nav-cta:focus-visible .icon {
  color: var(--gold-dark);
  background: #fff;
  box-shadow: none;
  transform: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(180, 83, 9, 0.25);
  background: var(--surface);
  color: var(--gold-dark);
  padding: 8px 13px 8px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: inline-block;
}

.menu-toggle[aria-expanded="true"] span {
  font-size: 0;
}

.menu-toggle[aria-expanded="true"] span::after {
  content: "关闭";
  font-size: 14px;
}

.section,
.section-band,
.quick-links,
.cta-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 44px 0 34px;
}

.hero-media {
  position: relative;
  transition: transform 220ms ease;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -12px -12px 20px;
  background: rgba(217, 119, 6, 0.18);
  border-radius: 8px;
  transition: transform 220ms ease, background-color 220ms ease;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.42), transparent 82%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18%);
  transition: opacity 220ms ease, transform 420ms ease;
}

.hero-media img {
  position: relative;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(180, 83, 9, 0.18);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-media:hover {
  transform: translateY(-4px);
}

.hero-media:hover::before {
  transform: translate(8px, 6px);
  background: rgba(217, 119, 6, 0.26);
}

.hero-media:hover::after {
  opacity: 1;
  transform: translateX(18%);
}

.hero-media:hover img {
  transform: scale(1.018);
  border-color: rgba(217, 119, 6, 0.42);
  box-shadow: 0 26px 70px rgba(138, 75, 22, 0.22);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  color: #263b50;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 68px);
  max-width: 10em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 20px;
}

.hero-subtitle {
  margin-top: 20px;
  max-width: 650px;
  color: #40556c;
  font-size: 18px;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 22px 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.primary-btn:hover,
.primary-btn:focus-visible,
.secondary-btn:hover,
.secondary-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(180, 83, 9, 0.22);
}

.secondary-btn {
  border: 1px solid rgba(44, 62, 80, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
  color: var(--gold-dark);
  background: #fff;
  outline: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(180, 83, 9, 0.15);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 26px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px 12px 12px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(180, 83, 9, 0.14);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  color: var(--gold-dark);
  border-color: rgba(217, 119, 6, 0.34);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(44, 62, 80, 0.12);
  outline: none;
}

.section {
  padding: 72px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: var(--bg-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 12px;
  color: #52657a;
  font-size: 17px;
}

.media-text {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.media-text figure,
.sticky-figure,
.content-card,
.feature-list article,
.steps article,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(180, 83, 9, 0.13);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(44, 62, 80, 0.07);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.media-text figure:hover,
.sticky-figure:hover,
.content-card:hover,
.feature-list article:hover,
.steps article:hover,
.faq-list details:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 119, 6, 0.38);
  box-shadow: 0 22px 52px rgba(44, 62, 80, 0.13);
}

.media-text figure,
.sticky-figure {
  padding: 12px;
}

.media-text img,
.sticky-figure img,
.content-card img,
.slide img {
  border-radius: 6px;
  transition: transform 260ms ease, filter 260ms ease;
}

.media-text figure:hover img,
.sticky-figure:hover img,
.content-card:hover img,
.slide:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.03);
}

.copy-block {
  display: grid;
  gap: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  overflow: hidden;
  position: relative;
}

.content-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--sky));
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 200ms ease, transform 200ms ease;
}

.content-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.content-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.content-card h3,
.content-card p {
  padding-left: 18px;
  padding-right: 18px;
}

.content-card h3 {
  padding-top: 18px;
}

.content-card p {
  padding-top: 10px;
  padding-bottom: 20px;
  color: #52657a;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: start;
}

.sticky-figure {
  position: sticky;
  top: 96px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  position: relative;
  padding: 22px 22px 22px 78px;
  overflow: hidden;
}

.steps article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--green));
  opacity: 0;
  transition: opacity 180ms ease;
}

.steps article:hover::after {
  opacity: 1;
}

.step-num {
  position: absolute;
  left: 18px;
  top: 20px;
  color: var(--gold-dark);
  font-weight: 900;
}

.steps p,
.feature-list p,
.timeline span,
.faq-list p,
.cta-section p,
.site-footer p {
  color: #52657a;
}

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

.feature-list article {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.feature-list article::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -46px;
  bottom: -46px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.09);
  transform: scale(0.7);
  transition: transform 220ms ease, background-color 220ms ease;
}

.feature-list article:hover::after {
  transform: scale(1);
  background: rgba(47, 111, 94, 0.11);
}

.feature-list article::before {
  content: "";
  display: block;
  width: 36px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.gallery-section {
  padding-bottom: 36px;
}

.slider {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(180, 83, 9, 0.13);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.slides {
  display: grid;
}

.slide {
  display: none;
  grid-area: 1 / 1;
  padding: 14px;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(44, 62, 80, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: var(--gold-dark);
  box-shadow: 0 14px 34px rgba(44, 62, 80, 0.22);
  outline: none;
}

.slider-btn .icon {
  width: 30px;
  height: 30px;
  padding: 5px;
  background: transparent;
  stroke-width: 2.4;
}

.slider-btn.prev {
  left: 22px;
}

.slider-btn.next {
  right: 22px;
}

.timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: update;
}

.timeline li {
  counter-increment: update;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid rgba(180, 83, 9, 0.13);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.timeline li:hover {
  transform: translateX(6px);
  border-color: rgba(217, 119, 6, 0.34);
  background: linear-gradient(90deg, rgba(217, 119, 6, 0.08), #fff 34%);
  box-shadow: 0 16px 36px rgba(44, 62, 80, 0.1);
}

.timeline li::before {
  content: counter(update);
  width: 30px;
  height: 30px;
  grid-row: 1;
  align-self: center;
  display: none;
  color: #fff;
  background: var(--gold);
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: 900;
}

.timeline time {
  color: var(--gold-dark);
  font-weight: 900;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.faq-list details::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 180ms ease;
}

.faq-list details:hover::before,
.faq-list details[open]::before {
  opacity: 1;
}

.faq-list summary {
  cursor: pointer;
  color: #263b50;
  font-weight: 900;
}

.faq-list p {
  margin-top: 10px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 60px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #2f6f5e, #b45309);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-section h2,
.cta-section p,
.cta-section .eyebrow {
  color: #fff;
}

.cta-section .primary-btn {
  flex: 0 0 auto;
  background: #fff;
  color: var(--gold-dark);
}

.cta-section .primary-btn .icon {
  color: #fff;
  background: var(--gold);
}

.cta-section .primary-btn:hover .icon,
.cta-section .primary-btn:focus-visible .icon {
  background: var(--gold-dark);
}

.friend-links {
  width: 100%;
  margin: 0;
  padding: 58px max(16px, calc((100% - 1180px) / 2));
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(217, 119, 6, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(249, 246, 240, 0.95), rgba(217, 119, 6, 0.11), rgba(249, 246, 240, 0.95));
  border-top: 1px solid rgba(180, 83, 9, 0.16);
  border-bottom: 1px solid rgba(180, 83, 9, 0.16);
}

.friend-links h2 {
  color: #263b50;
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #263b50;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(44, 62, 80, 0.08);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  color: var(--gold-dark);
  background: #fff;
  border-color: rgba(217, 119, 6, 0.58);
  box-shadow: 0 16px 36px rgba(180, 83, 9, 0.16);
  transform: translateY(-3px);
  outline: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 44px;
  border-top: 1px solid rgba(180, 83, 9, 0.16);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-dark);
  font-weight: 900;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: rgba(217, 119, 6, 0.08);
  outline: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--surface);
    border: 1px solid rgba(180, 83, 9, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    text-align: center;
  }

  .hero,
  .media-text,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .content-grid,
  .feature-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .sticky-figure {
    position: static;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .section,
  .section-band {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 24px;
  }

  .hero-stats,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .steps article {
    padding: 20px;
  }

  .step-num {
    position: static;
    display: inline-block;
    margin-bottom: 4px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .cta-section,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
