:root {
  --eclipse: #07070a;
  --eclipse-soft: #101018;
  --surface: #16121c;
  --surface-lift: #1e1828;
  --lunar: #c8c4d6;
  --lunar-bright: #ebe8f2;
  --violet: #7a5f8f;
  --violet-mute: #5c476c;
  --crimson: #b85a6a;
  --crimson-soft: #8f4452;
  --halo: rgba(184, 90, 106, 0.18);
  --halo-violet: rgba(122, 95, 143, 0.28);
  --line: rgba(200, 196, 214, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", "Noto Sans TC", sans-serif;
  --radius: 2px;
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lunar);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--halo-violet), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, var(--halo), transparent 50%),
    var(--eclipse);
  min-height: 100vh;
}

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

a {
  color: var(--lunar-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #e8b4bc;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--lunar-bright);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--lunar-bright);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--lunar);
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 1px;
  background: var(--lunar);
  margin: 0.28rem 0;
}

/* Buttons — bloom */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-bloom {
  color: var(--lunar-bright);
  background: var(--crimson-soft);
  box-shadow:
    0 0 0 1px rgba(184, 90, 106, 0.45),
    0 0 0 6px rgba(184, 90, 106, 0.12),
    0 0 0 14px rgba(122, 95, 143, 0.08);
}

.btn-bloom:hover {
  transform: scale(1.03);
  box-shadow:
    0 0 0 1px rgba(184, 90, 106, 0.7),
    0 0 0 10px rgba(184, 90, 106, 0.16),
    0 0 0 22px rgba(122, 95, 143, 0.1);
  color: #fff;
}

.btn-ghost {
  color: var(--lunar);
  background: transparent;
  border: 1px solid var(--line);
}

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

/* Hero — full-bleed atmospheric */
.hero-eclipse {
  position: relative;
  min-height: min(88vh, 780px);
  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;
  filter: brightness(0.38) saturate(0.7);
}

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

.hero-eclipse__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.5rem;
}

.hero-eclipse__brand {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--lunar-bright);
  margin: 0 0 0.4rem;
  letter-spacing: 0.03em;
  animation: bloom-in 1.1s ease both;
}

.hero-eclipse__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #d4a0aa;
  margin: 0 0 1.25rem;
  max-width: 22em;
  animation: bloom-in 1.1s ease 0.15s both;
}

.hero-eclipse__support {
  max-width: 34em;
  color: var(--lunar);
  margin-bottom: 1.75rem;
  animation: bloom-in 1.1s ease 0.28s both;
}

.hero-eclipse__cta {
  animation: bloom-in 1.1s ease 0.4s both;
}

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

.halo-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 0 40px var(--halo-violet);
  padding: 1.5rem 1.6rem;
}

.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section-head {
  max-width: 38em;
  margin-bottom: 2rem;
}

.section-head p {
  color: #a8a3b8;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.6rem;
  font-family: var(--sans);
}

/* Offer strip — not a card grid of SaaS features */
.offer-focus {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.offer-focus__visual {
  position: relative;
}

.offer-focus__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.75);
  box-shadow: 0 0 0 1px var(--line), 0 0 60px var(--halo);
}

.offer-focus__meta {
  font-size: 0.9rem;
  color: #a8a3b8;
  margin-top: 0.75rem;
}

.service-list {
  display: grid;
  gap: 1.25rem;
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.service-row:hover {
  background: rgba(30, 24, 40, 0.55);
}

.service-row img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  filter: brightness(0.8);
}

.service-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.service-row p {
  margin: 0;
  color: #a8a3b8;
  font-size: 0.95rem;
}

.service-row__price {
  font-family: var(--serif);
  color: #d4a0aa;
  white-space: nowrap;
}

.quote-rail {
  display: grid;
  gap: 1.5rem;
}

.quote-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.quote-block blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--lunar-bright);
  line-height: 1.45;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.9rem;
  color: #a8a3b8;
}

.quote-block .soft-note {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--violet);
}

.blog-peek {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-peek article {
  display: grid;
  gap: 0.75rem;
}

.blog-peek a {
  text-decoration: none;
}

.blog-peek img {
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: brightness(0.72);
}

.blog-peek h3 {
  font-size: 1.2rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-hero p {
  max-width: 40em;
  color: #a8a3b8;
}

.prose {
  max-width: 42em;
}

.prose h2 {
  margin-top: 2rem;
}

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

.prose li {
  margin-bottom: 0.4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: inset 0 0 40px rgba(122, 95, 143, 0.08);
}

.price-tier.is-hot {
  box-shadow:
    inset 0 0 40px rgba(184, 90, 106, 0.12),
    0 0 0 1px rgba(184, 90, 106, 0.35);
}

.price-tier .amount {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--lunar-bright);
  margin: 0.4rem 0 0.2rem;
}

.price-tier .note {
  font-size: 0.88rem;
  color: #a8a3b8;
  margin-bottom: 1rem;
}

.price-tier ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lunar);
}

.checklist-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 0 1.4rem 3.5rem;
  border-bottom: 1px solid var(--line);
}

.checklist-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.4rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--crimson);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--lunar-bright);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--eclipse-soft);
  border: 1px solid var(--line);
  color: var(--lunar-bright);
  font: inherit;
  border-radius: var(--radius);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: block;
  min-height: 1.2em;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #e08a96;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
}

.form-status--ok {
  border-color: var(--violet);
  color: var(--lunar-bright);
}

.form-status--error {
  border-color: var(--crimson);
  color: #e08a96;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: 0 0 50px var(--halo-violet);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.detail-hero img {
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.78);
  box-shadow: 0 0 50px var(--halo);
}

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

.includes li {
  padding-left: 1.2rem;
  position: relative;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 4px rgba(184, 90, 106, 0.2);
}

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(10, 8, 14, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--lunar-bright);
  margin: 0 0 0.35rem;
}

.footer-tag {
  color: #a8a3b8;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-legal a {
  text-decoration: none;
  color: var(--lunar);
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #7a7588;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(16, 12, 22, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  padding: 1rem 0;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.not-found {
  text-align: center;
  padding: 6rem 0;
}

.not-found h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 860px) {
  .offer-focus,
  .detail-hero,
  .contact-layout,
  .blog-peek,
  .grid-3,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row img {
    width: 100%;
    height: 160px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 7, 10, 0.98);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
  }

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

  .header-inner {
    position: relative;
  }
}
