:root {
  --eclipse: #07060a;
  --eclipse-deep: #0e0c12;
  --surface: #14111a;
  --surface-lift: #1c1724;
  --halo: rgba(200, 196, 212, 0.12);
  --lunar: #c8c4d4;
  --lunar-bright: #e8e4ef;
  --violet: #7a5f8c;
  --violet-soft: #9a7fad;
  --crimson: #a84d5e;
  --crimson-soft: #c46b7a;
  --text: #d8d4e0;
  --muted: #9a95a8;
  --radius: 2px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Noto Sans TC", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(122, 95, 140, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, rgba(168, 77, 94, 0.08), transparent 50%),
    var(--eclipse);
}

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

a {
  color: var(--lunar-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--crimson-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--halo);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lunar-bright);
  text-decoration: none;
}

.brand:hover {
  color: var(--violet-soft);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--lunar-bright);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--halo);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--lunar);
  margin: 0 auto;
  position: relative;
}

.nav-toggle__bar::before {
  position: absolute;
  top: -5px;
  left: 0;
}

.nav-toggle__bar::after {
  position: absolute;
  top: 5px;
  left: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--eclipse-deep);
    border-bottom: 1px solid var(--halo);
    padding: 1rem 1.25rem 1.5rem;
  }

  .site-nav.is-open {
    display: block;
    animation: bloom-in 0.35s ease;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }
}

@keyframes bloom-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes rise-soft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.35s ease, background 0.25s ease;
}

.btn--bloom {
  color: var(--lunar-bright);
  background: radial-gradient(circle at 50% 50%, var(--crimson) 0%, #6e2f3c 55%, #3a1822 100%);
  box-shadow:
    0 0 0 1px rgba(200, 196, 212, 0.15),
    0 0 24px rgba(168, 77, 94, 0.35),
    0 0 48px rgba(122, 95, 140, 0.2);
}

.btn--bloom::before,
.btn--bloom::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(200, 196, 212, 0.2);
  pointer-events: none;
  animation: halo-pulse 4s ease-in-out infinite;
}

.btn--bloom::after {
  inset: -12px;
  border-color: rgba(122, 95, 140, 0.15);
  animation-delay: 1.2s;
}

.btn--bloom:hover {
  transform: scale(1.02);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(232, 228, 239, 0.25),
    0 0 32px rgba(168, 77, 94, 0.5),
    0 0 64px rgba(122, 95, 140, 0.3);
}

.btn--ghost {
  color: var(--lunar);
  background: transparent;
  border: 1px solid rgba(200, 196, 212, 0.35);
}

.btn--ghost:hover {
  border-color: var(--violet-soft);
  color: var(--lunar-bright);
  text-decoration: none;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section--narrow {
  max-width: 720px;
}

.section__label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--lunar-bright);
  margin: 0 0 1rem;
}

.section__lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0 0 2rem;
}

/* Hero — editorial full-bleed, brand-dominant, single CTA */
.hero-eclipse {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-eclipse__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-eclipse__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.38) saturate(0.75);
}

.hero-eclipse__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.55) 0%, rgba(7, 6, 10, 0.35) 40%, rgba(7, 6, 10, 0.92) 100%),
    radial-gradient(circle at 70% 40%, rgba(122, 95, 140, 0.25), transparent 45%);
  z-index: 1;
}

.hero-eclipse__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 4rem;
  animation: rise-soft 0.9s ease both;
}

.hero-eclipse__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--lunar-bright);
  margin: 0 0 1.25rem;
  text-shadow: 0 0 60px rgba(122, 95, 140, 0.35);
}

.hero-eclipse__line {
  display: block;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), var(--violet), transparent);
  margin-bottom: 1.25rem;
  animation: halo-pulse 3.5s ease-in-out infinite;
}

.hero-eclipse__tag {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin: 0 0 0.75rem;
}

.hero-eclipse__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--lunar);
  max-width: 28rem;
  margin: 0 0 2rem;
  line-height: 1.45;
}

.halo-panel {
  background: var(--surface);
  border: 1px solid var(--halo);
  box-shadow: 0 0 40px rgba(122, 95, 140, 0.08), inset 0 1px 0 rgba(232, 228, 239, 0.04);
  padding: 1.75rem;
  position: relative;
}

.halo-panel::before {
  content: "";
  position: absolute;
  inset: auto 15% -1px 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-soft), transparent);
  opacity: 0.6;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.offer-grid a {
  text-decoration: none;
  color: inherit;
}

.offer-grid h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--lunar-bright);
  margin: 0.85rem 0 0.4rem;
}

.offer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.offer-grid .meta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--crimson-soft);
}

.offer-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
}

.evidence {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .evidence {
    grid-template-columns: repeat(3, 1fr);
  }
}

.evidence blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--surface-lift);
  border-left: 2px solid var(--crimson);
}

.evidence p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--lunar);
  margin: 0 0 1rem;
}

.evidence cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero {
  padding: 4rem 1.25rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  color: var(--lunar-bright);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.page-hero p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--lunar-bright);
  margin: 2.5rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-left: 1.2rem;
}

.split-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-feature {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.split-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05);
  box-shadow: 0 0 80px rgba(122, 95, 140, 0.15);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background: var(--surface);
  border: 1px solid var(--halo);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--crimson-soft);
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-card {
  display: grid;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--halo);
  padding-bottom: 2rem;
}

@media (min-width: 720px) {
  .blog-card {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
}

.blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
  color: var(--lunar-bright);
}

.blog-card .date {
  font-size: 0.85rem;
  color: var(--violet-soft);
  letter-spacing: 0.06em;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 560px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--lunar-bright);
  background: var(--eclipse-deep);
  border: 1px solid rgba(200, 196, 212, 0.22);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--violet-soft);
  box-shadow: 0 0 0 3px rgba(122, 95, 140, 0.25);
}

.field-error {
  color: var(--crimson-soft);
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--halo);
}

.form-status--success {
  border-color: rgba(122, 95, 140, 0.5);
  color: var(--lunar-bright);
  background: rgba(122, 95, 140, 0.12);
}

.form-status--error {
  border-color: rgba(168, 77, 94, 0.5);
  color: var(--crimson-soft);
  background: rgba(168, 77, 94, 0.1);
}

.price-table {
  display: grid;
  gap: 1rem;
}

.price-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--halo);
}

@media (min-width: 640px) {
  .price-row {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    align-items: center;
  }
}

.price-row strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--lunar-bright);
  font-weight: 600;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--halo);
  background: var(--eclipse-deep);
  padding: 3rem 1.25rem 2rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lunar-bright);
  margin: 0 0 0.35rem;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__legal a {
  text-decoration: none;
  color: var(--muted);
}

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--halo);
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(14, 12, 18, 0.96);
  border-top: 1px solid rgba(122, 95, 140, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  padding: 1rem 1.25rem;
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__inner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--lunar);
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
}

.cookie-banner__error {
  max-width: var(--max);
  margin: 0.5rem auto 0;
  color: var(--crimson-soft);
  font-size: 0.9rem;
}

.script-error {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--surface);
  border: 1px solid var(--crimson);
  padding: 0.75rem 1rem;
  color: var(--crimson-soft);
  z-index: 60;
  font-size: 0.9rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  margin: 0;
  color: var(--lunar-bright);
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.includes li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px rgba(168, 77, 94, 0.6);
}

.cta-band {
  margin: 2rem 0 0;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(122, 95, 140, 0.2), transparent 65%),
    var(--surface);
  border: 1px solid var(--halo);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--lunar-bright);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}
