:root {
  --brand: #9B7ED8;
  --brand-light: #B89DE8;
  --brand-soft: #F0EBF8;
  --brand-dark: #7B5CB8;
  --gold: #D4A574;
  --gold-light: #F8F0E8;
  --bg: #0C0B14;
  --bg-warm: #12111E;
  --bg-section: #0F0E1A;
  --text: #E8E4F0;
  --text-secondary: #A09AB8;
  --text-light: #6E6888;
  --border: #2A2640;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(10, 8, 20, 0.3);
  --shadow-md: 0 4px 20px rgba(10, 8, 20, 0.4);
  --shadow-lg: 0 12px 40px rgba(10, 8, 20, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --glow-brand: rgba(155, 126, 216, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(12, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(155, 126, 216, 0.1);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: white;
  font-weight: 700;
  box-shadow: 0 0 20px var(--glow-brand);
}

.logo-text {
  font-family: 'Cinzel', 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--brand);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--glow-brand);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 24px 80px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-star {
  position: absolute;
  border-radius: 50%;
  background: var(--brand-light);
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: italic;
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, var(--brand-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 440px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-brand);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand-light);
  transform: translateY(-1px);
}

/* Hero Card */
.hero-visual { position: relative; }

.hero-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.card-avatars { display: flex; }

.card-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.card-avatar:first-child { background: rgba(155,126,216,0.15); margin-right: -12px; z-index: 1; }
.card-avatar:last-child { background: rgba(212,165,116,0.15); }

.card-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 700;
}

.compatibility-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.score-number {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.score-label {
  font-size: 14px;
  color: var(--text-light);
}

.score-bar {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  margin-bottom: 20px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.card-insights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(155,126,216,0.06);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.insight-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.insight-icon.bazi { background: rgba(155,126,216,0.12); }
.insight-icon.astro { background: rgba(212,165,116,0.12); }

.floating-tag {
  position: absolute;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  animation: float 3s ease-in-out infinite;
  color: var(--text-secondary);
}

.floating-tag.top-right { top: -12px; right: -16px; }
.floating-tag.bottom-left { bottom: -10px; left: -16px; animation-delay: -1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.8; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 48px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

.trust-item span { font-size: 20px; }

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 100px 24px;
  background: var(--bg-section);
}

.philosophy-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 16px;
}

.philosophy h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.philosophy p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
}

/* ===== CORE FEATURES (Sync/Flow/Connect) ===== */
.core-features {
  padding: 100px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.core-features-header {
  text-align: center;
  margin-bottom: 64px;
}

.core-features-header h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.core-features-header p {
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 300;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.core-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.core-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(40px);
}

.core-card[data-accent="violet"]::before { background: var(--brand); }
.core-card[data-accent="amber"]::before { background: var(--gold); }
.core-card[data-accent="cyan"]::before { background: #6EC5D4; }

.core-card:hover::before { opacity: 0.12; }

.core-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 126, 216, 0.2);
}

.core-icon {
  font-size: 28px;
  color: var(--brand-light);
  margin-bottom: 16px;
}

.core-tag {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.core-card h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.core-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-header h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.features-header p {
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(155,126,216,0.1);
  border-color: rgba(155, 126, 216, 0.2);
}

.feature-emoji {
  width: 48px; height: 48px;
  background: rgba(155,126,216,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-section), #0A091A);
}

.how-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-header .section-eyebrow { color: var(--gold); }

.how-header h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.how-step { text-align: center; }

.step-number {
  font-family: 'Cinzel', serif;
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(155,126,216,0.3), rgba(155,126,216,0.05));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.how-step h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-quote {
  font-size: 36px;
  color: rgba(155,126,216,0.2);
  font-family: 'Cinzel', serif;
  line-height: 1;
  margin-bottom: 4px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(155,126,216,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.author-name { font-weight: 600; font-size: 14px; }
.author-detail { color: var(--text-light); font-size: 12px; }

/* ===== DEMO FORM ===== */
.demo-section {
  padding: 100px 24px;
  background: var(--bg-section);
}

.demo-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.demo-inner h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.demo-inner > p {
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 300;
  margin-bottom: 40px;
}

.demo-form {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.demo-form h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.demo-form > p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--glow-brand);
}

.form-group input::placeholder { color: var(--text-light); }
.form-group select option { background: var(--bg-warm); color: var(--text); }

.divider-label {
  text-align: center;
  padding: 12px 0;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}

.divider-label::before,
.divider-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.divider-label::before { left: 0; }
.divider-label::after { right: 0; }

.btn-demo {
  width: 100%;
  padding: 16px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 8px;
}

.btn-demo:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--glow-brand);
}

.btn-demo:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
}

/* ===== RESULT MODAL ===== */
.result-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(12, 11, 20, 0.7);
  backdrop-filter: blur(12px);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.result-overlay.active { display: flex; }

.result-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.result-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-light);
  cursor: pointer;
}

.result-score-section {
  text-align: center;
  margin-bottom: 28px;
}

.result-names {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.result-score-big {
  font-family: 'Cinzel', serif;
  font-size: 72px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.result-score-label {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 4px;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.result-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(155,126,216,0.06);
  border-radius: var(--radius-sm);
}

.result-detail-label { font-size: 14px; font-weight: 500; }

.result-detail-score {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-light);
}

.result-teaser {
  background: rgba(212,165,116,0.08);
  border: 1px solid rgba(212,165,116,0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.result-teaser p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ===== RESULT ACTIONS ===== */
.result-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.btn-action {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action:hover {
  border-color: var(--brand);
  background: rgba(155,126,216,0.06);
}

.btn-share {
  border-color: var(--brand);
  color: var(--brand-light);
}

.btn-share:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-pdf {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-pdf:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ===== REPORT SECTIONS ===== */
.report-section {
  background: rgba(155,126,216,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
}

.report-section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--brand-light);
}

.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.report-list li {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 12px;
  position: relative;
}

.report-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.report-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pillar-person {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.pillar-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.pillar-data {
  font-family: 'Noto Serif TC', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text);
}

.pillar-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.pillar-vs {
  font-size: 20px;
  color: var(--brand);
  font-weight: 700;
}

.report-astro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.astro-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(155,126,216,0.04);
  border-radius: 8px;
  font-size: 13px;
}

.astro-label {
  color: var(--text-light);
  font-weight: 500;
}

.report-strengths { border-color: rgba(155,126,216,0.2); }
.report-challenges { border-color: rgba(212,165,116,0.2); }
.report-advice { border-color: rgba(110,197,212,0.2); }

.score-mini-bar {
  width: 100%;
  height: 4px;
  background: rgba(155,126,216,0.1);
  border-radius: 2px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.score-mini-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transition: width 0.8s ease;
}

.email-capture-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.email-capture-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}

.email-capture-row input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--glow-brand);
}

.btn-email-submit {
  padding: 12px 24px;
  background: var(--brand);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-email-submit:hover {
  background: var(--brand-dark);
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 120px 24px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.final-cta h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left { font-size: 14px; color: var(--text-light); }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brand-light); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .features-grid, .how-steps, .testimonial-grid, .core-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .floating-tag { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 120px 24px 60px; }
  .demo-form { padding: 28px 20px; }
  .result-card { padding: 32px 24px; }
}