:root {
  --bg: #17110c;
  --panel: #261712;
  --panel-light: #352217;
  --gold: #d9b15f;
  --gold-soft: #f3d98d;
  --mist: #f3efe3;
  --muted: #c9bca5;
  --green: #4dd48c;
  --border: rgba(243, 239, 227, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mist);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(217, 177, 95, 0.18), transparent 28%),
    linear-gradient(135deg, #17110c 0%, #25150f 48%, #0d1611 100%);
  line-height: 1.7;
}

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

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(23, 17, 12, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--bg);
  background: var(--gold);
  border-radius: 50%;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: 88vh;
  padding: 72px clamp(20px, 6vw, 88px) 56px;
  overflow: hidden;
}

/* 這一層是首頁中央的魔法光環，不需要圖片也能營造主視覺。 */
.hero-aura {
  position: absolute;
  right: clamp(40px, 12vw, 160px);
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 177, 95, 0.45);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 20deg, rgba(217, 177, 95, 0.18) 0 8deg, transparent 8deg 18deg),
    radial-gradient(circle, rgba(77, 212, 140, 0.18), transparent 58%);
  filter: drop-shadow(0 0 36px rgba(217, 177, 95, 0.28));
  animation: spin 24s linear infinite;
}

.hero-content,
.sigil-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.3;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

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

.primary-button,
.secondary-button,
.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-button,
.line-button {
  color: #16120d;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 40px rgba(217, 177, 95, 0.24);
}

.secondary-button {
  color: var(--gold-soft);
  border: 1px solid var(--border);
  background: rgba(243, 239, 227, 0.06);
}

.sigil-panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(38, 23, 18, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.sigil {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--gold-soft);
  font-size: 42px;
  border: 1px solid rgba(217, 177, 95, 0.5);
  border-radius: 50%;
}

.sigil-panel p,
.sigil-panel span,
.service-card p,
.contact p,
footer {
  color: var(--muted);
}

.sigil-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mist);
  font-size: 30px;
}

.section {
  padding: 76px clamp(20px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 560px);
  gap: clamp(24px, 5vw, 64px);
  background: rgba(13, 22, 17, 0.48);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(217, 177, 95, 0.08), transparent 45%),
    var(--panel);
}

.card-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.proof {
  background: rgba(243, 239, 227, 0.05);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.stats div {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(23, 17, 12, 0.42);
}

.stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.line-button {
  min-width: 180px;
  background: linear-gradient(135deg, #7df5aa, var(--green));
}

footer {
  padding: 26px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 780px) {
  .top-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro,
  .service-grid,
  .stats,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-aura {
    right: -110px;
    width: 360px;
    opacity: 0.55;
  }

  .sigil-panel {
    max-width: 420px;
  }

  .contact {
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

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