:root {
  --bg: #080808;
  --surface: #12100e;
  --surface-soft: #1b1712;
  --text: #f7f0e5;
  --muted: #b8ad9d;
  --gold: #d6a84f;
  --gold-soft: #f3d18a;
  --teal: #42c7bf;
  --red: #c8554a;
  --line: rgba(247, 240, 229, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--gold);
  color: #17110a;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  background: rgba(214, 168, 79, 0.12);
  font-weight: 900;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 10px 0;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero {
  min-height: 92vh;
}

.page-hero {
  min-height: 68vh;
  padding-bottom: 56px;
}

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

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.72) 38%, rgba(8, 8, 8, 0.2) 72%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.88));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 110px);
  padding-top: 88px;
}

.page-hero .hero-inner {
  width: min(880px, calc(100% - 36px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 9vw, 104px);
  line-height: 1;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-copy,
.section-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-copy {
  max-width: 650px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
  color: var(--text);
}

.hero-meta span {
  border-left: 3px solid var(--gold);
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-actions,
.footer-links,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 136px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #17110a;
}

.button-secondary {
  border-color: rgba(247, 240, 229, 0.36);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 56px);
  background: var(--bg);
}

.section:nth-of-type(odd) {
  background: #0d0b09;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.price-panel,
.job-panel,
.notice-panel,
.process-list,
.info-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.16), rgba(66, 199, 191, 0.08)),
    var(--surface);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.price-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-weight: 800;
}

.price-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
}

.price-panel p,
.feature-card p,
.job-panel,
.notice-panel,
.faq-list p,
.site-footer p,
.info-panel p,
.news-card p,
.table-wrap td,
.check-list li,
.keyword-line {
  color: var(--muted);
  line-height: 1.8;
}

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

.feature-card,
.news-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
}

.feature-card:nth-child(2),
.news-card:nth-child(2) {
  border-color: rgba(66, 199, 191, 0.36);
}

.feature-card:nth-child(3),
.news-card:nth-child(3) {
  border-color: rgba(200, 85, 74, 0.36);
}

.feature-card a,
.news-card a {
  color: var(--gold-soft);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.contact-row span {
  color: var(--muted);
}

.contact-row strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.job-panel ul,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-panel ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
  color: var(--text);
}

.job-panel li,
.check-list li {
  padding: 14px 16px;
  border: 1px solid rgba(214, 168, 79, 0.28);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.job-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-list span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(214, 168, 79, 0.42);
  color: var(--gold-soft);
  font-weight: 900;
}

.process-list strong,
.notice-panel h3 {
  color: var(--text);
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.notice-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--gold-soft);
  font-size: 14px;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.keyword-line {
  margin-top: 16px;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.news-date {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 56px) 110px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  color: var(--gold-soft);
  font-weight: 800;
}

.floating-cta,
.back-top {
  position: fixed;
  z-index: 60;
  right: 18px;
  border: 1px solid rgba(247, 240, 229, 0.32);
  background: rgba(8, 8, 8, 0.86);
  color: var(--text);
  box-shadow: var(--shadow);
}

.floating-cta {
  bottom: 22px;
  display: inline-grid;
  place-items: center;
  min-width: 96px;
  height: 48px;
  padding: 0 18px;
  color: #17110a;
  background: var(--gold);
  font-weight: 900;
}

.back-top {
  bottom: 84px;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 14px 18px 18px;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 88vh;
  }

  .page-hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.58)),
      linear-gradient(180deg, rgba(8, 8, 8, 0.15), rgba(8, 8, 8, 0.9));
  }

  .hero-inner {
    margin: 0 auto;
    padding-top: 84px;
  }

  .split,
  .feature-grid,
  .card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .news-card {
    min-height: auto;
  }

  .footer-inner,
  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-row strong {
    text-align: left;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .brand-text {
    max-width: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions,
  .footer-links,
  .card-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .job-panel ul {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: 18px;
    right: 18px;
    width: auto;
  }
}
