:root {
  --bg: #080808;
  --panel: #111111;
  --panel-2: #17130f;
  --ink: #f7f1e5;
  --muted: #c9bdab;
  --line: rgba(226, 188, 112, 0.2);
  --gold: #d9aa54;
  --gold-2: #f3d28a;
  --teal: #2aa7a0;
  --burgundy: #8b2332;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0 0 1rem;
  overflow-wrap: break-word;
}

.skip-link {
  background: var(--gold);
  color: #17100a;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(8, 8, 8, 0.86);
  border-bottom: 1px solid var(--line);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 12;
  backdrop-filter: blur(16px);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 74px;
  padding: 0 1.25rem;
  position: relative;
  width: 100%;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 1 auto;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--gold), #7d5822);
  border-radius: 8px;
  color: #0a0907;
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.2rem;
}

.nav-link,
.dropdown-label {
  border-radius: 8px;
  color: #e8ddcc;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 0.72rem;
  white-space: nowrap;
}

.nav-link:hover,
.dropdown:hover .dropdown-label {
  background: rgba(217, 170, 84, 0.1);
  color: var(--gold-2);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  background: rgba(13, 12, 10, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
  left: 0;
  min-width: 220px;
  opacity: 0;
  padding: 0.45rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  border-radius: 6px;
  color: var(--muted);
  padding: 0.62rem 0.7rem;
}

.dropdown-menu a:hover {
  background: rgba(42, 167, 160, 0.1);
  color: var(--ink);
}

.line-button,
.primary-button,
.secondary-button,
.ghost-button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
}

.line-button,
.primary-button {
  background: #14c55a;
  color: #04150b;
}

.secondary-button {
  background: rgba(217, 170, 84, 0.14);
  border: 1px solid rgba(217, 170, 84, 0.5);
  color: var(--gold-2);
}

.ghost-button {
  background: transparent;
  border: 1px solid rgba(247, 241, 229, 0.28);
  color: var(--ink);
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: none;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.8rem;
}

.hero {
  background-position: center;
  background-size: cover;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero::before,
.page-hero::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.24));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-inner,
.page-hero-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 7rem 1.25rem 4.5rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.22;
  margin: 0;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.lead {
  color: #efe6d8;
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
  max-width: 700px;
  overflow-wrap: anywhere;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.trust-row {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.4rem;
  max-width: 760px;
}

.trust-item {
  border-left: 2px solid var(--gold);
  padding-left: 0.9rem;
}

.trust-item strong {
  display: block;
  font-size: 1.2rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-next {
  border-top: 1px solid var(--line);
  bottom: 0;
  color: var(--muted);
  left: 0;
  padding: 0.9rem 1.25rem;
  position: absolute;
  right: 0;
  z-index: 1;
}

.hero-next span {
  display: block;
  margin: 0 auto;
  max-width: var(--max);
}

.page-hero {
  background: #0d0c0b;
  min-height: 330px;
  position: relative;
}

.page-hero-inner {
  padding-bottom: 3rem;
  padding-top: 4.5rem;
}

.section {
  padding: 5rem 1.25rem;
}

.section.alt {
  background: #0e0d0c;
}

.section.warm {
  background: #17130f;
}

.container {
  margin: 0 auto;
  max-width: var(--max);
  width: 100%;
}

.section-heading {
  max-width: 780px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.03rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.price-card,
.faq-item,
.contact-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 241, 229, 0.1);
  border-radius: 8px;
}

.card {
  padding: 1.25rem;
}

.card p,
.price-card p {
  color: var(--muted);
}

.card-kicker {
  color: var(--gold-2);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.image-band {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 430px;
  margin-top: 2rem;
}

.image-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 310px;
  overflow: hidden;
}

.image-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.step-list,
.check-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.step-list li,
.check-list li {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(217, 170, 84, 0.16);
  border-radius: 8px;
  padding: 1rem;
}

.price-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}

.price-card {
  padding: 1.35rem;
  position: relative;
}

.price-tag {
  color: var(--gold-2);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0.7rem 0;
}

.price-tag small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.badge {
  background: rgba(139, 35, 50, 0.85);
  border-radius: 6px;
  color: #fff6ec;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
}

.note {
  border-left: 3px solid var(--teal);
  color: var(--muted);
  margin-top: 1rem;
  padding: 0.3rem 0 0.3rem 0.9rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-question {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  justify-content: space-between;
  min-height: 58px;
  padding: 1rem;
  text-align: left;
  width: 100%;
}

.faq-question::after {
  color: var(--gold-2);
  content: "+";
  font-size: 1.3rem;
  padding-left: 1rem;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  color: var(--muted);
  display: none;
  padding: 0 1rem 1rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-panel {
  padding: 1.35rem;
}

.contact-line {
  border-bottom: 1px solid rgba(247, 241, 229, 0.1);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 0;
}

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

.site-footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding: 3rem 1.25rem 6rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: var(--max);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a,
.footer-muted {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold-2);
}

.sticky-cta {
  background: rgba(8, 8, 8, 0.9);
  border-top: 1px solid var(--line);
  bottom: 0;
  display: none;
  gap: 0.6rem;
  left: 0;
  padding: 0.65rem;
  position: fixed;
  right: 0;
  z-index: 14;
}

.sticky-cta a {
  flex: 1;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--gold-2);
}

@media (max-width: 980px) {
  .header-inner {
    max-width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    position: absolute;
    right: 1rem;
    top: 15px;
    z-index: 16;
  }

  .site-nav {
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    position: absolute;
    right: 0;
    top: 74px;
  }

  .brand {
    max-width: calc(100% - 92px);
  }

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

  .dropdown-menu {
    border: 0;
    box-shadow: none;
    opacity: 1;
    padding-left: 1rem;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .line-button.nav-cta {
    display: none;
  }

  .hero-copy,
  .lead,
  .section-heading {
    max-width: 100%;
  }

  .grid.three,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: flex;
  }

  .sticky-cta .secondary-button {
    font-size: 0.92rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .hero-inner,
  .page-hero-inner,
  .container {
    max-width: 100%;
  }

  .hero-copy,
  .lead,
  .section-heading {
    width: calc(100vw - 2rem);
  }

  .lead {
    word-break: break-word;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-inner,
  .page-hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .trust-row,
  .grid.two,
  .grid.three,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .ghost-button,
  .line-button {
    width: 100%;
  }

  .brand-sub {
    display: none;
  }
}
