:root {
  --ink: #111316;
  --ink-soft: #23272a;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --muted: #61666b;
  --line: #ded8cc;
  --teal: #0d8b8f;
  --teal-dark: #086468;
  --amber: #d89335;
  --rose: #bd3f6f;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  transition: top 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(17, 19, 22, 0.62);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 19, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(216, 147, 53, 0.16);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--amber);
  color: #1d1305;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.nav-toggle svg {
  width: 23px;
  height: 23px;
}

.hero {
  position: relative;
  min-height: 86svh;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media {
  z-index: -3;
  background-image: url("assets/changhua-ktv-hero.png");
  background-size: cover;
  background-position: center right;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.92) 0%, rgba(9, 11, 14, 0.74) 38%, rgba(9, 11, 14, 0.3) 72%, rgba(9, 11, 14, 0.58) 100%),
    linear-gradient(0deg, rgba(9, 11, 14, 0.65), rgba(9, 11, 14, 0.06) 48%);
}

.hero-inner,
.section-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 110px 0 54px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-weight: 800;
  font-size: 0.86rem;
}

.hero h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 900;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.2rem;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--amber);
  color: #1c1204;
  box-shadow: 0 12px 30px rgba(216, 147, 53, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e3a14a;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.section-light .btn-secondary,
.contact-section .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-large {
  min-height: 54px;
  padding: 0 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.92rem;
}

.notice-band {
  background: var(--teal-dark);
  color: var(--white);
}

.notice-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.notice-inner svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: #8fe5de;
}

.notice-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--paper);
}

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

.section-warm {
  background: #f0e2cf;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.split h2,
.contact-inner h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.2;
}

.section-heading p:last-child,
.split p,
.contact-inner p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-ink .split p,
.section-ink .proof-list p {
  color: rgba(255, 255, 255, 0.78);
}

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

.feature-card,
.price-card,
.timeline article,
.job-panel,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(17, 19, 22, 0.06);
}

.feature-card {
  min-height: 228px;
  padding: 24px;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
  margin-bottom: 18px;
}

.feature-card h3,
.price-card h3,
.timeline h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.feature-card p,
.price-card p,
.timeline p,
.job-panel li,
details p {
  color: var(--muted);
}

.feature-card p,
.timeline p {
  margin: 0;
}

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

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(13, 139, 143, 0.22);
  color: #8fe5de;
  font-weight: 900;
}

.proof-list p {
  margin: 3px 0 0;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 26px;
}

.price-featured {
  border-color: rgba(13, 139, 143, 0.36);
  box-shadow: var(--shadow);
}

.price-top {
  min-height: 84px;
}

.price-top p {
  margin: 0;
}

.price-card strong {
  display: block;
  margin: 10px 0 18px;
  color: var(--teal-dark);
  font-size: 1.7rem;
  line-height: 1.2;
}

.price-card ul,
.job-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.price-card li,
.job-panel li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
}

.price-card li::before,
.job-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--rose);
  outline: none;
}

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

.timeline article {
  min-height: 220px;
  padding: 24px;
  position: relative;
}

.timeline span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--amber);
  font-weight: 900;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

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

details {
  padding: 0 20px;
}

summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 900;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper);
  color: var(--teal-dark);
  flex: 0 0 auto;
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -4px 0 18px;
}

.job-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.job-panel li {
  color: rgba(255, 255, 255, 0.78);
}

.job-panel .btn {
  margin-top: 24px;
}

.contact-section {
  padding: 78px 0;
  background: var(--surface);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.86fr);
  gap: 44px;
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.copy-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.copy-button svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  padding: 28px 0;
  background: #0d0f11;
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-inner p {
  margin: 0;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: grid;
  gap: 10px;
}

.floating-cta a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1c1204;
  background: var(--amber);
  box-shadow: 0 14px 36px rgba(17, 19, 22, 0.2);
}

.floating-cta a:last-child {
  color: var(--white);
  background: var(--teal);
}

.floating-cta svg {
  width: 23px;
  height: 23px;
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .hero-inner {
    min-height: 82svh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 11, 14, 0.94) 0%, rgba(9, 11, 14, 0.82) 48%, rgba(9, 11, 14, 0.48) 100%),
      linear-gradient(0deg, rgba(9, 11, 14, 0.62), rgba(9, 11, 14, 0.1) 45%);
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .feature-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid,
  .split,
  .faq-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-inner,
  .section-inner {
    width: min(100% - 28px, 1140px);
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero,
  .hero-inner {
    min-height: 80svh;
  }

  .hero-inner {
    padding-top: 96px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .copy-button {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    font-size: 0.86rem;
  }

  .notice-inner {
    align-items: flex-start;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .split h2,
  .contact-inner h2 {
    font-size: 1.9rem;
  }

  .feature-grid,
  .price-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    display: grid;
  }

  .floating-cta {
    right: 12px;
    bottom: 12px;
  }

  .floating-cta a {
    width: 46px;
    height: 46px;
  }
}
