/* ==========================================================================
   FlowQuiz - Deep Spirituality Check
   Complete Stylesheet
   Design Tokens · Landing · Quiz · Result · Animations · Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Self-hosted Fonts (DSGVO-compliant, no Google Fonts)
   -------------------------------------------------------------------------- */

@font-face { font-family: 'Diavlo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/diavlo-normal.woff2') format('woff2'); }
@font-face { font-family: 'Diavlo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/diavlo-bold.woff2') format('woff2'); }
@font-face { font-family: 'Diavlo'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/diavlo-black.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-semibold.woff2') format('woff2'); }

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colors */
  --ivory:        #FFFFFF;
  --purple:       #0B6623;
  --purple-royal: #0D7A2B;
  --oat:          #F4F7F2;
  --gold:         #C9922C;
  --gold-deep:    #A57518;
  --blush:        #FFFFFF;
  --text:         #1A1220;
  --text-muted:   #6b6157;

  /* Typography */
  --serif: 'Diavlo', Georgia, serif;
  --sans:  'Poppins', -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset + Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */

.header,
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px clamp(16px, 4vw, 32px);
}

.header-logo,
.site-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.header-brand,
.site-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   4. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 24px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.footer a {
  color: var(--text);
  text-decoration: underline;
  margin: 0 8px;
}

.footer a:hover {
  color: var(--gold);
}

.quiz-footer {
  background: transparent;
  color: var(--text-muted);
}

.quiz-footer a {
  color: var(--text-muted);
}

.quiz-footer a:hover {
  color: var(--gold);
}

/* Extra bottom padding on result page footer so sticky CTA doesn't cover it */
.result-page ~ .footer,
.result-page .footer {
  padding-bottom: 72px;
}

/* --------------------------------------------------------------------------
   5. Landing Page
   -------------------------------------------------------------------------- */

.landing-page {
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 8vh, 80px) clamp(20px, 6vw, 40px) 56px;
  gap: 16px;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.landing-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, #F4F7F2 0%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 0;
}

.landing-page > * {
  position: relative;
  z-index: 1;
}

/* Ornament */
.ornament {
  display: block;
  margin: 8px auto 0;
}

/* Headline hierarchy */
.landing-headline-main {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 7vw, 42px);
  text-align: center;
  line-height: 1.2;
  color: var(--purple);
  width: 100%;
  max-width: 600px;
}

.landing-headline-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 5vw, 28px);
  text-align: center;
  color: var(--text);
  line-height: 1.3;
}

/* Gold divider */
.gold-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto;
  border: none;
}

.result-hero .gold-divider {
  margin: 12px auto;
}

/* Body text variants */
.landing-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  line-height: 1.65;
}

.landing-body-muted {
  font-size: 14px;
  color: var(--text-muted);
}

.landing-body-bold {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
}

/* CTA Button - dark text on gold for WCAG AA contrast (4.5:1+) */
.cta-button {
  display: block;
  width: 100%;
  max-width: 360px;
  background: var(--gold);
  color: #1A1220;
  border-radius: 40px;
  padding: 18px 40px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  animation: goldPulse 2s ease-in-out infinite;
}

.cta-button:hover {
  background: var(--gold-deep);
  transform: scale(1.02);
  animation: none;
}

.cta-button:active {
  transform: scale(0.99);
}

@media (min-width: 600px) {
  .cta-button {
    width: auto;
    max-width: none;
    padding: 18px 48px;
    white-space: nowrap;
  }
  .landing-page .cta-button {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }
}

/* Trust bar under CTA */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Testimonials Section */
.testimonials-section {
  background: #F4F7F2;
  padding: 48px clamp(20px, 6vw, 40px);
  max-width: 960px;
  margin: 16px auto;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 56px 48px;
    margin: 32px auto;
  }
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card {
  background: white;
  border: 1px solid #E8E8E4;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonial-quote {
  font-family: var(--sans);
  font-weight: 400;
  font-style: italic;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.testimonial-author {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* FAQ */
.faq {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px clamp(20px, 6vw, 40px) 48px;
}

@media (min-width: 768px) {
  .faq {
    padding: 40px 48px 56px;
  }
}

/* CTA Bottom */
.cta-bottom {
  background: #F4F7F2;
  padding: 40px clamp(20px, 6vw, 40px);
  text-align: center;
  max-width: 680px;
  margin: 16px auto;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .cta-bottom {
    padding: 48px 48px;
    margin: 32px auto;
  }
}

.faq details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 0;
}

.faq details:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq summary {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 200ms ease;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details[open] summary {
  color: var(--gold);
}

.faq p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 8px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   6. Quiz Container
   -------------------------------------------------------------------------- */

.quiz-container {
  background: #FFFFFF;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-left: clamp(20px, 6vw, 40px);
  padding-right: clamp(20px, 6vw, 40px);
  padding-bottom: 40px;
}

/* --------------------------------------------------------------------------
   7. Progress Bar
   -------------------------------------------------------------------------- */

.progress {
  width: 100%;
}

.progress-bar {
  width: 100%;
  height: 3px;
  background: #E8E8E4;
  border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 400ms ease-out;
}

.progress-text {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   8. Question
   -------------------------------------------------------------------------- */

.question {
  width: 100%;
}

.question-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 6vw, 36px);
  color: var(--purple);
  max-width: 600px;
  margin: 32px auto 0;
  text-wrap: pretty;
  line-height: 1.25;
  text-align: center;
}

.question-hint {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. Answer Options
   -------------------------------------------------------------------------- */

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.option {
  background: #F4F7F2;
  border: 1px solid #E0E8E2;
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  text-align: left;
  min-height: 56px;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Only apply hover on devices with a real pointer (prevents sticky hover on touch) */
@media (hover: hover) {
.option:hover {
  border-color: var(--gold);
  background: #FFF9EE;
  transform: scale(1.01);
}
}

.option.selected {
  border-color: var(--gold);
  background: #FFF5E0;
}

.option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.quiz-back {
  display: block;
  margin: 16px auto 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.quiz-back:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   10. Interstitial
   -------------------------------------------------------------------------- */

.interstitial {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 40px 0;
}

.dot-loader {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 1.5s ease-in-out infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

.interstitial-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Email Gate
   -------------------------------------------------------------------------- */

.gate {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.gate-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
}

.gate-archetype {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--purple);
  line-height: 1.2;
}

.gate-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  max-width: 440px;
  line-height: 1.6;
}

.gate-body.gate-body-secondary {
  font-size: 13px;
  color: var(--text-muted);
}

.gate-body.gate-body-tertiary {
  font-size: 14px;
  color: var(--text-muted);
}

.gate-input-wrap {
  width: 100%;
}

.gate-input {
  background: #F4F7F2;
  border: 1px solid #E0E8E2;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px; /* 16px prevents iOS auto-zoom */
  width: 100%;
  transition: border-color 200ms ease;
  outline: none;
  -webkit-appearance: none;
}

.gate-input::placeholder {
  color: #999;
}

.gate-input:focus {
  border-color: var(--gold);
  outline: none;
}

.gate-cta {
  display: block;
  width: 100%;
  max-width: 360px;
  background: var(--gold);
  color: #1A1220;
  border-radius: 40px;
  padding: 18px 40px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  margin-left: auto;
  margin-right: auto;
}

.gate-cta:hover {
  background: var(--gold-deep);
  transform: scale(1.02);
}

.gate-cta:active {
  transform: scale(0.99);
}

.gate-subtext {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.gate-skip {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  transition: color 200ms ease;
}

.gate-skip:hover {
  color: var(--text);
}

.gate-bridge {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 400px;
}

/* --------------------------------------------------------------------------
   12. Result Page
   -------------------------------------------------------------------------- */

.result-page {
  background: var(--ivory);
  min-height: 100dvh;
}

.result-card {
  max-width: 680px;
  margin: 0 auto;
}

/* Hero */
.result-hero {
  background: linear-gradient(135deg, var(--purple), var(--purple-royal));
  border-radius: 16px 16px 0 0;
  padding: 48px 24px;
  text-align: center;
}

.result-badge {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.result-emoji {
  font-size: 52px;
  margin: 16px 0;
  line-height: 1;
}

.result-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 7vw, 40px);
  color: var(--blush);
  line-height: 1.15;
}

.result-tagline {
  font-family: var(--sans);
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* Sections */
.result-section {
  padding: 40px 24px;
  max-width: 620px;
  margin: 0 auto;
}

.result-section.bg-ivory {
  background: var(--ivory);
  max-width: 100%;
}

.result-section.bg-oat {
  background: var(--oat);
  max-width: 100%;
}

.result-section-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.result-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: var(--text);
}

/* Traits list */
.result-traits {
  list-style: none;
  padding: 0;
}

.result-traits li {
  padding: 8px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
}

.result-traits li::before {
  content: '\2726'; /* ✦ */
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--trait-color, #7a5c8a);
}

/* --------------------------------------------------------------------------
   13. Video Placeholder
   -------------------------------------------------------------------------- */

.result-video {
  width: 100%;
  border-radius: 12px;
  background: var(--oat);
  display: block;
}

.video-caption {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   14. Healer Cards
   -------------------------------------------------------------------------- */

.healer-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
}

.healer-card {
  flex: 1;
  min-width: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.healer-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.healer-card-body {
  padding: 16px 20px 20px;
}

.healer-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--oat);
  display: block;
}

.healer-avatar-fallback {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 48px;
  background: linear-gradient(135deg, var(--gold), var(--oat));
  color: var(--text);
}

.healer-method {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.healer-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.healer-text {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-top: 8px;
}

a.healer-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --------------------------------------------------------------------------
   15. Bridge Section
   -------------------------------------------------------------------------- */

.result-bridge {
  padding: 40px 24px;
  /* background set via inline style (archetype color at 5% opacity) */
}

.bridge-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
  /* color set via inline style (archetype color) */
}

.bridge-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 20px;
}

.bridge-cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 200ms ease;
  /* background set via inline style (archetype color) */
}

.bridge-cta:hover {
  opacity: 0.9;
}

.bridge-link {
  display: inline-block;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  margin-top: 12px;
  transition: text-decoration 200ms ease;
}

.bridge-link:hover {
  text-decoration: underline;
}

.bridge-subtext {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Result page email capture */
.result-email-capture {
  background: #F4F7F2;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  max-width: 440px;
  margin: 24px auto 0;
}

.result-email-capture p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.result-email-capture input {
  background: #FFFFFF;
  border: 1px solid #E0E8E2;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  width: 100%;
  margin-bottom: 8px;
  outline: none;
  font-family: var(--sans);
  -webkit-appearance: none;
}

.result-email-capture input::placeholder {
  color: #999;
}

.result-email-capture input:focus {
  border-color: var(--gold);
}

.result-email-capture button {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #1A1220;
  border-radius: 40px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  transition: background 200ms ease;
}

.result-email-capture button:hover {
  background: var(--gold-deep);
}

.result-email-capture .result-email-error {
  color: #e74c3c;
  font-size: 13px;
  margin: 0 0 8px;
  display: none;
}

.result-email-capture .result-email-subtext {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

.bridge-cta-subtext {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   16. Share Section
   -------------------------------------------------------------------------- */

.result-share {
  background: linear-gradient(135deg, var(--purple), var(--purple-royal));
  border-radius: 0 0 16px 16px;
  padding: 32px 24px;
  text-align: center;
}

.share-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  transition: background 200ms ease;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   17. DOI / Notice Page
   -------------------------------------------------------------------------- */

.notice {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 48px 24px;
}

.notice-icon {
  font-size: 48px;
  line-height: 1;
}

.notice-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 36px);
  max-width: 18ch;
  text-wrap: balance;
  line-height: 1.2;
}

.notice-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 38ch;
}

/* --------------------------------------------------------------------------
   17b. Teaser Page (DOI gate)
   -------------------------------------------------------------------------- */

.teaser {
  padding: 32px 20px 48px;
  max-width: 520px;
  margin: 0 auto;
}

.teaser-reveal {
  text-align: center;
  padding: 32px 24px;
  border: 2px solid;
  border-radius: 16px;
  background: var(--ivory);
  margin-bottom: 28px;
}

.teaser-label {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.teaser-emoji {
  font-size: 48px;
  line-height: 1;
  margin: 0 0 12px;
}

.teaser-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.teaser-tagline {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.teaser-preview {
  margin-bottom: 28px;
}

.teaser-preview-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 12px;
}

.teaser-traits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teaser-traits li {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 24px;
  position: relative;
}

.teaser-traits li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.teaser-locked {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  min-height: 120px;
}

.teaser-locked-blur {
  padding: 20px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.teaser-locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: rgba(255,255,255,0.6);
  text-align: center;
  padding: 20px;
}

.teaser-lock-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.teaser-lock-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  max-width: 32ch;
  line-height: 1.5;
  margin: 0;
}

.teaser-cta-section {
  text-align: center;
  padding: 28px 16px;
  background: var(--oat);
  border-radius: 12px;
}

.teaser-cta-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(18px, 4.5vw, 22px);
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 12px;
}

.teaser-cta-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.teaser-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.teaser-provider {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  background: var(--ivory);
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.teaser-provider:hover {
  background: var(--purple);
  color: var(--ivory);
}

.teaser-spam-hint {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   18. Animations
   -------------------------------------------------------------------------- */

@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(201, 146, 44, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(201, 146, 44, 0.15);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.screen-enter {
  animation: fadeInUp 400ms ease both;
}

.slide-enter {
  animation: slideLeft 350ms ease-out both;
}

/* Mobile-collapsible for traits + growth (always visible on desktop) */
.result-expandable {
  margin: 0;
}

.result-expand-toggle {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  cursor: pointer;
  background: none;
  border: none;
  border-top: 1px solid #f0f0ec;
  border-bottom: 1px solid #f0f0ec;
}

.result-expand-content {
  display: none;
}

.result-expand-content.open {
  display: block;
}

/* Desktop: always show content, hide toggle */
@media (min-width: 768px) {
  .result-expand-toggle {
    display: none;
  }
  .result-expand-content {
    display: block !important;
  }
}

/* Guarantee box */
.guarantee-box {
  background: #F4F7F2;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.guarantee-box-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}

.guarantee-box-text {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Sticky CTA bar on result page */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 300ms ease;
}
.sticky-cta.visible {
  transform: translateY(0);
}
.sticky-cta a {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 40px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  color: white;
  text-decoration: none;
  flex: 1;
}
.sticky-avatar {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   19. Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   20. Responsive - Tablet (min-width: 768px)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

  /* Testimonials: horizontal row */
  .testimonials {
    flex-direction: row;
    align-items: stretch;
  }

  .testimonial-card {
    flex: 1;
  }

  /* Healer cards: side by side */
  .healer-cards {
    flex-direction: row;
    align-items: stretch;
  }

  /* Answer options: slightly larger text */
  .option {
    font-size: 16px;
  }

  /* Landing paddings */
  .landing-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Result card */
  .result-card {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .result-hero {
    padding: 56px 40px;
  }

  .result-section {
    padding: 48px 40px;
  }

  .result-bridge {
    padding: 48px 40px;
  }

  .result-share {
    padding: 40px 40px;
  }

  /* Quiz container wider padding */
  .quiz-container {
    padding-bottom: 60px;
  }
}

/* --------------------------------------------------------------------------
   21. Responsive - Wide (min-width: 1280px)
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {

  .landing-body,
  .options,
  .question-text {
    max-width: 680px;
  }

  .result-card {
    max-width: 680px;
  }

  .faq {
    max-width: 680px;
  }

  .result-section {
    max-width: 680px;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /* Full-width bg blocks with constrained content */
  .result-section.bg-ivory,
  .result-section.bg-oat {
    max-width: 100%;
    padding-left: clamp(20px, 6vw, 40px);
    padding-right: clamp(20px, 6vw, 40px);
  }

  .result-section.bg-ivory > *,
  .result-section.bg-oat > * {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}
