[hidden] { display: none !important; }

:root {
  --ink: #07050c;
  --ink-2: #0d0914;
  --surface: #151020;
  --surface-2: #1d1429;
  --cream: #fff9f2;
  --muted: #cfc5d5;
  --gold: #e1bf75;
  --gold-soft: #f7e6b7;
  --pink: #ff64af;
  --pink-deep: #a71563;
  --lav: #caa7ff;
  --line: rgba(241, 215, 157, .22);
  --shadow: 0 34px 100px rgba(0, 0, 0, .52);
}

html { font-size: 17px; }

body {
  background:
    radial-gradient(circle at 82% 5%, rgba(155, 65, 226, .24), transparent 32%),
    radial-gradient(circle at 7% 44%, rgba(204, 36, 112, .13), transparent 31%),
    linear-gradient(155deg, #07050c 0%, #100817 48%, #08060e 100%);
}

body::before {
  z-index: -1;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  background-size: 64px 64px, 64px 64px, 120px 120px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.site-header {
  padding-block: 18px;
  background: rgba(7, 5, 12, .72);
  border-bottom-color: rgba(241, 215, 157, .16);
  box-shadow: 0 12px 42px rgba(0,0,0,.18);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: rgba(241, 215, 157, .65);
  box-shadow: inset 0 0 18px rgba(225,191,117,.1), 0 0 30px rgba(197,105,255,.12);
}

.brand-lockup strong { font-size: 16px; }
.brand-lockup small { font-size: 11px; }
nav a, .site-footer a { font-size: 14px; }

.hero {
  min-height: 810px;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(38px, 6vw, 92px);
  padding-block: 110px 100px;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1.22;
  letter-spacing: .012em;
  text-wrap: balance;
  line-break: strict;
  background: linear-gradient(120deg, #fff 5%, #fff8ed 48%, #e6c880 84%);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.28));
}

.eyebrow { font-size: 14px; letter-spacing: .31em; }

.hero-lede {
  max-width: 680px;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.85;
  color: #ded4e2;
}

.button {
  min-height: 56px;
  padding-inline: 27px;
  font-size: 15px;
  letter-spacing: .035em;
}

.button.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #901050 0%, #d52c83 48%, #ff76bb 100%);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 16px 46px rgba(196, 31, 113, .38), inset 0 1px rgba(255,255,255,.22);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.34) 46%, transparent 68%);
  transform: translateX(-130%);
  animation: luxe-sheen 5.5s ease-in-out infinite;
}

@keyframes luxe-sheen { 0%, 58% { transform: translateX(-130%); } 82%, 100% { transform: translateX(130%); } }

.trust-row { font-size: 14px; color: #d2c8d7; }

.hero-visual {
  min-height: 570px;
  isolation: isolate;
  border: 1px solid rgba(240, 214, 157, .13);
  border-radius: 48% 48% 24px 24px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,105,199,.16), transparent 30%),
    linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.008));
  box-shadow: inset 0 0 90px rgba(197,118,255,.06), 0 44px 110px rgba(0,0,0,.35);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff5cf;
  box-shadow: 48px 67px #d8b5ff, -76px 114px #fff, 132px 180px #ff88c5, -142px 225px #d8b5ff, 90px 310px #fff;
  opacity: .65;
  animation: star-breathe 3.8s ease-in-out infinite alternate;
}

.hero-visual::before { top: 58px; left: 22%; transform: scale(.25); }
.hero-visual::after { right: 18%; bottom: 90px; transform: scale(.18) rotate(90deg); animation-delay: -1.8s; }
@keyframes star-breathe { to { opacity: .18; filter: blur(2px); } }

.energy-halo {
  position: absolute;
  width: min(76%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,232,.3) 0, rgba(170,74,225,.16) 27%, transparent 67%);
  filter: blur(9px);
  animation: halo-pulse 4.2s ease-in-out infinite;
}
@keyframes halo-pulse { 50% { transform: scale(1.14); opacity: .65; } }

#crystalStage {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  cursor: grab;
  touch-action: none;
  outline: none;
  filter: drop-shadow(0 38px 45px rgba(220, 80, 210, .25));
}

#crystalStage:active { cursor: grabbing; }
#crystalStage:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }

.orbit { z-index: 1; border-color: rgba(240, 214, 157, .23); }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 330px; height: 330px; border-style: dashed; }

.crystal-caption {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 26px;
  text-align: right;
}
.crystal-caption span,
.crystal-caption strong { display: block; }
.crystal-caption span { color: rgba(255,255,255,.45); font: 10px/1.6 "Noto Sans TC", sans-serif; letter-spacing: .2em; }
.crystal-caption strong { color: var(--gold-soft); font: 600 11px/1.6 "Cormorant Garamond", serif; letter-spacing: .18em; }

.interaction-hint {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(240,214,157,.22);
  border-radius: 999px;
  background: rgba(8,5,13,.5);
  color: #d6ccd9;
  font-size: 11px;
  backdrop-filter: blur(12px);
}
.interaction-hint span { color: var(--gold); margin-right: 5px; }

.assessment, .services, .booking { padding-block: 135px; }
.section-heading { margin-bottom: 50px; }
.section-heading h2, .booking h2 { font-size: clamp(38px, 4.2vw, 58px); }
.section-heading > p,
.booking-intro > p:not(.eyebrow) { font-size: 18px; line-height: 1.9; color: #d4cad8; }

.mode-tabs,
.assessment-workspace,
.service-card,
.booking-form {
  border-color: rgba(240,214,157,.2);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
}

.mode-tab { padding: 29px 30px; }
.mode-tab strong { font-size: 18px; }
.mode-tab small { font-size: 13px; }
.mode-tab.active { background: linear-gradient(135deg, rgba(222, 52, 137, .2), rgba(135, 71, 206, .11)); }

.assessment-workspace {
  min-height: 600px;
  background:
    radial-gradient(circle at 82% 20%, rgba(144,65,205,.12), transparent 33%),
    linear-gradient(145deg, #181020, #0d0913);
}
.assessment-input, .result-card { padding: 52px; }
.mode-panel h3, .result-card h3 { font-size: 34px; }
.mode-panel > p:not(.step-label) { font-size: 16px; line-height: 1.85; }
.field > span, .privacy-note strong { font-size: 14px; }
.field input, .field select, .field textarea { padding: 15px 16px; font-size: 16px; }
.choice-button { padding: 15px 16px; font-size: 15px; }
.choice-button small { font-size: 12px; }
.result-placeholder { font-size: 16px; }

.result-gem {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
  filter: saturate(1.15) drop-shadow(0 22px 28px rgba(216,81,204,.28));
}
.result-gem.has-image { background: #110b18; }
.result-gem.has-image::before,
.result-gem.has-image::after { z-index: 2; }
.result-gem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result-gem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.7) 42%, transparent 60%);
  mix-blend-mode: screen;
  transform: translateZ(10px);
}
.result-gem::after {
  content: "";
  position: absolute;
  inset: 15% 25%;
  border-left: 1px solid rgba(255,255,255,.5);
  border-right: 1px solid rgba(255,255,255,.18);
  transform: translateZ(18px) rotate(12deg);
}
.result-section p, .result-section li { font-size: 15px; line-height: 1.85; color: #e1d8e4; }
.result-section strong { font-size: 14px; }
.tag { padding: 7px 12px; font-size: 13px; }

.certificate-card {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(212,87,196,.18), transparent 28%);
}
.certificate-card::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(225,191,117,.2);
  border-radius: 14px;
  pointer-events: none;
}
.certificate-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.certificate-top h2 { margin: 3px 0 0; font: 600 25px/1.3 "Noto Serif TC", serif; letter-spacing: .12em; }
.certificate-en { margin: 0; color: var(--gold); font: 600 10px/1.5 "Cormorant Garamond", serif; letter-spacing: .26em; }
.certificate-seal { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 auto; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); box-shadow: inset 0 0 18px rgba(225,191,117,.12); }
.certificate-meta { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0 22px; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .08em; }
.certificate-benefits ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; list-style: none; counter-reset: benefits; }
.certificate-benefits li { position: relative; counter-increment: benefits; padding: 13px 13px 13px 42px; border: 1px solid rgba(225,191,117,.13); border-radius: 10px; background: rgba(255,255,255,.025); }
.certificate-benefits li::before { content: counter(benefits, decimal-leading-zero); position: absolute; left: 13px; top: 13px; color: var(--gold); font: 600 11px/1.85 "Cormorant Garamond", serif; }
.supporting-crystal { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 13px 15px; border-left: 2px solid var(--gold); background: rgba(225,191,117,.07); }
.supporting-crystal span { color: var(--muted); font-size: 12px; }
.supporting-crystal strong { margin: 0; color: var(--gold-soft); text-align: right; }
.certificate-foot { display: flex; justify-content: space-between; gap: 20px; margin: 22px 0 20px; padding-top: 18px; border-top: 1px solid var(--line); color: rgba(255,255,255,.42); }
.certificate-foot span { color: var(--gold); font: 600 10px/1.6 "Cormorant Garamond", serif; letter-spacing: .2em; white-space: nowrap; }
.certificate-foot p { max-width: 340px; margin: 0; font-size: 9px; text-align: right; }

.service-grid { gap: 24px; }
.service-card {
  min-height: 350px;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 0, rgba(164,84,220,.12), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.018));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(240,214,157,.48); box-shadow: 0 34px 90px rgba(0,0,0,.5), 0 0 46px rgba(154,73,215,.12); }
.service-card.featured { transform: translateY(-12px); background: linear-gradient(145deg, rgba(207,45,132,.16), rgba(121,66,175,.08)); }
.service-card.featured:hover { transform: translateY(-18px); }
.service-card h3 { font-size: 29px; }
.service-card p { font-size: 16px; line-height: 1.9; }
.service-badge { font-size: 12px; }

.booking-form { padding: 38px; background: linear-gradient(145deg, rgba(31,22,43,.96), rgba(15,10,21,.96)); }
.privacy-note p, .consent, .form-hint { font-size: 14px; line-height: 1.8; }

@media (prefers-reduced-motion: reduce) {
  #crystalStage, .energy-halo, .button.primary::after, .hero-visual::before, .hero-visual::after { animation: none !important; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-block: 80px; }
  .hero-visual, #crystalStage { min-height: 500px; }
  .assessment, .services, .booking { padding-block: 100px; }
}

@media (max-width: 620px) {
  html { font-size: 16px; }
  .hero { padding-top: 64px; gap: 42px; }
  .hero h1 { font-size: 42px; line-height: 1.28; }
  .hero-lede { font-size: 19px; }
  .hero-visual { min-height: 440px; border-radius: 48% 48% 18px 18px; }
  #crystalStage { min-height: 440px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 250px; height: 250px; }
  .crystal-caption { right: 16px; bottom: 18px; }
  .crystal-caption span { display: none; }
  .interaction-hint { left: 14px; bottom: 14px; }
  .assessment, .services, .booking { padding-block: 84px; }
  .section-heading > p, .booking-intro > p:not(.eyebrow) { font-size: 17px; }
  .assessment-input, .result-card { padding: 32px 22px; }
  .mode-panel h3 { font-size: 29px; }
  .booking-form { padding: 26px 18px; }
  .certificate-top h2 { font-size: 21px; }
  .certificate-meta, .certificate-foot { flex-direction: column; }
  .certificate-benefits ol { grid-template-columns: 1fr; }
  .certificate-foot p { text-align: left; }
}

@media print {
  body { background: #fff !important; color: #211527 !important; }
  body * { visibility: hidden !important; }
  #resultCard, #resultCard * { visibility: visible !important; }
  #resultCard { position: absolute; inset: 0 auto auto 0; width: 100%; max-height: none; overflow: visible; border: 1px solid #b8954f; background: #fff !important; color: #211527 !important; box-shadow: none; }
  #resultCard .result-actions { display: none !important; }
  #resultCard p, #resultCard li, #resultCard .result-en, #resultCard .supporting-crystal span { color: #4d4251 !important; }
  #resultCard strong, #resultCard h2, #resultCard h3 { color: #211527 !important; }
  #resultCard .certificate-benefits li { border-color: #d8c8a4; background: #faf7f1; }
  #resultCard .certificate-foot, #resultCard .certificate-meta { color: #706575 !important; }
}
