/* ================================================================
   OCCULT KKOUPLE — Dosha Test Shared Stylesheet
   File: dosha-assets/style.css
   Used by: dosha-test.php, dosha-result.php,
            dosha-payment.php, dosha-success.php
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
  /* Core palette */
  --bg-deep:        #1a0533;
  --bg-dark:        #0d0020;
  --bg-mid:         #200a3e;

  /* Accents */
  --gold:           #f4a236;
  --gold-dim:       #c47e20;
  --gold-muted:     #c9a96e;
  --gold-pale:      rgba(244,162,54,0.12);
  --gold-glow:      rgba(244,162,54,0.30);

  /* Dosha colours */
  --vata-color:     #f4a236;
  --pitta-color:    #e84545;
  --kapha-color:    #6c5ce7;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: #d4c5e2;
  --text-muted:     rgba(255,255,255,0.50);
  --text-dim:       rgba(255,255,255,0.32);

  /* Cards & surfaces */
  --card-bg:        rgba(255,255,255,0.05);
  --card-bg-hover:  rgba(255,255,255,0.08);
  --card-border:    rgba(244,162,54,0.28);
  --card-border-dim:rgba(244,162,54,0.14);
  --surface:        rgba(255,255,255,0.038);

  /* Inputs */
  --input-bg:       rgba(255,255,255,0.07);
  --input-border:   rgba(244,162,54,0.28);
  --input-focus-bg: rgba(244,162,54,0.07);

  /* Functional */
  --success:        #25d366;
  --success-dim:    #128c3e;
  --danger:         #e84545;
  --danger-dim:     #b02020;

  /* Layout */
  --max-content:    760px;
  --max-form:       680px;
  --radius-xl:      20px;
  --radius-lg:      14px;
  --radius-md:      10px;
  --radius-sm:      6px;
  --radius-pill:    99px;

  /* Motion */
  --ease:           cubic-bezier(.4,0,.2,1);
  --ease-bounce:    cubic-bezier(.34,1.56,.64,1);
  --dur-fast:       0.18s;
  --dur-mid:        0.32s;
  --dur-slow:       0.50s;
}

/* ──────────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  color: var(--text-primary);
  font-family: 'Raleway', 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text selection */
::selection {
  background: var(--gold);
  color: var(--bg-deep);
}
::-moz-selection {
  background: var(--gold);
  color: var(--bg-deep);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: rgba(244,162,54,0.35);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: opacity var(--dur-fast) ease; }
a:hover { opacity: 0.80; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ──────────────────────────────────────────────────────────────
   3. ATMOSPHERIC BACKGROUND LAYERS
   ────────────────────────────────────────────────────────────── */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Colour nebula gradients */
.bg-atmosphere::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(110,30,200,0.32) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 72%, rgba(190,55,30,0.20) 0%, transparent 48%),
    radial-gradient(ellipse at 50% 5%,  rgba(244,162,54,0.12) 0%, transparent 40%);
}

/* Star-field dots */
.bg-atmosphere::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.75) 0%, transparent 100%),
    radial-gradient(1px 1px at 38% 52%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 13%, rgba(244,162,54,0.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 83% 38%, rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(1px 1px at 23% 78%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 83%, rgba(244,162,54,0.65) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 68%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 4%  57%, rgba(255,255,255,0.40) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 42%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 47% 28%, rgba(244,162,54,0.45) 0%, transparent 100%);
}

/* Page content sits above atmosphere */
.page-wrap,
.page-content {
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────────────────────────
   4. LAYOUT WRAPPERS
   ────────────────────────────────────────────────────────────── */
.page-wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 18px 100px;
}

.page-wrap--wide {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 18px 100px;
}

.page-wrap--narrow {
  max-width: var(--max-form);
  margin: 0 auto;
  padding: 0 18px 100px;
}

.page-wrap--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   5. TOP BAR / LOGO
   ────────────────────────────────────────────────────────────── */
.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0 0;
}

.logo {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.78;
  text-decoration: none;
  transition: opacity var(--dur-fast) ease;
}
.logo:hover { opacity: 1; }

/* ──────────────────────────────────────────────────────────────
   6. TYPOGRAPHY
   ────────────────────────────────────────────────────────────── */
.font-cinzel { font-family: 'Cinzel', Georgia, serif; }
.font-raleway { font-family: 'Raleway', 'Segoe UI', sans-serif; }

.eyebrow {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.82;
  margin-bottom: 12px;
}

h1, .h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  background: linear-gradient(140deg, #fff 25%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

h2, .h2 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.15rem, 3.2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.28;
}

h3, .h3 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(0.95rem, 2.4vw, 1.12rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.text-muted {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
}

.text-gold   { color: var(--gold); }
.text-center { text-align: center; }

.section-heading {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.0rem, 2.8vw, 1.2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ──────────────────────────────────────────────────────────────
   7. BADGE & PILL COMPONENTS
   ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.badge--free {
  background: rgba(244,162,54,0.16);
  border: 1px solid rgba(244,162,54,0.38);
  color: var(--gold);
}

.badge--locked {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--text-muted);
}

.badge--new {
  background: rgba(37,211,102,0.16);
  border: 1px solid rgba(37,211,102,0.35);
  color: #7ef5a8;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  background: rgba(244,162,54,0.10);
  border: 1px solid rgba(244,162,54,0.22);
  color: rgba(255,255,255,0.80);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────────────────────
   8. ORNAMENT DIVIDER
   ────────────────────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
  margin: 28px auto;
  opacity: 0.35;
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.ornament-sym {
  font-size: 0.82rem;
  color: var(--gold);
}

/* ──────────────────────────────────────────────────────────────
   9. CARD COMPONENTS
   ────────────────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 0 0 1px rgba(244,162,54,0.06),
    0 20px 60px rgba(0,0,0,0.44);
}

.card--sm { padding: 20px 22px; }
.card--lg { padding: 42px 40px; }

.card--glow {
  box-shadow:
    inset 0 0 0 1px rgba(244,162,54,0.08),
    0 0 60px var(--gold-glow),
    0 20px 60px rgba(0,0,0,0.44);
}

.card--accent {
  background: linear-gradient(145deg, rgba(244,162,54,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(244,162,54,0.32);
}

/* ──────────────────────────────────────────────────────────────
   10. PROGRESS BAR — dosha-test.php
   ────────────────────────────────────────────────────────────── */
.progress-bar-track {
  width: 100%;
  max-width: 700px;
  margin: 36px auto 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(244,162,54,0.13);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: var(--radius-pill);
  transition: width var(--dur-slow) var(--ease);
  box-shadow: 0 0 12px rgba(244,162,54,0.55);
  width: 0%;
  animation: progressFill 0.5s var(--ease) forwards;
}

/* ──────────────────────────────────────────────────────────────
   11. QUIZ PAGE HEADER
   ────────────────────────────────────────────────────────────── */
.quiz-header {
  text-align: center;
  margin-top: 38px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ──────────────────────────────────────────────────────────────
   12. QUESTION CARD — dosha-test.php
   ────────────────────────────────────────────────────────────── */
.card-container {
  width: 100%;
  max-width: 700px;
  margin: 40px auto 0;
  position: relative;
  min-height: 400px;
}

.question-card {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 42px 40px 38px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 0 0 1px rgba(244,162,54,0.07),
    0 22px 65px rgba(0,0,0,0.48),
    0 0 90px rgba(100,18,170,0.18);
  opacity: 0;
  transform: translateY(26px) scale(0.982);
  pointer-events: none;
  transition:
    opacity  0.40s var(--ease),
    transform 0.40s var(--ease);
}

.question-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.question-card.exit {
  opacity: 0;
  transform: translateY(-26px) scale(0.982);
  transition:
    opacity  0.28s var(--ease),
    transform 0.28s var(--ease);
}

.q-number {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.72;
  margin-bottom: 14px;
}

.q-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.02rem, 2.6vw, 1.24rem);
  font-weight: 600;
  line-height: 1.46;
  color: var(--text-primary);
  margin-bottom: 30px;
}

/* ──────────────────────────────────────────────────────────────
   13. ANSWER OPTION BUTTONS — dosha-test.php
   ────────────────────────────────────────────────────────────── */
.options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.option-btn {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(244,162,54,0.18);
  border-radius: var(--radius-lg);
  padding: 15px 20px;
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.91rem;
  font-weight: 400;
  line-height: 1.52;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition:
    background   var(--dur-mid) ease,
    border-color var(--dur-mid) ease,
    transform    var(--dur-fast) ease,
    box-shadow   var(--dur-mid) ease;
}

.option-btn:hover {
  background: rgba(244,162,54,0.09);
  border-color: rgba(244,162,54,0.55);
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 0 22px rgba(244,162,54,0.10);
}

.option-btn:active {
  transform: translateX(6px) scale(0.978);
}

.option-btn.selected {
  background: rgba(244,162,54,0.16);
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(244,162,54,0.22);
}

.option-btn:disabled {
  pointer-events: none;
}

.option-label {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(244,162,54,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2px;
  transition:
    background    var(--dur-mid) ease,
    border-color  var(--dur-mid) ease,
    color         var(--dur-mid) ease;
}

.option-btn.selected .option-label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}

.option-text { flex: 1; }

/* ──────────────────────────────────────────────────────────────
   14. SCORE BAR CHART — dosha-result.php
   ────────────────────────────────────────────────────────────── */
.score-chart {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(244,162,54,0.05),
    0 16px 50px rgba(0,0,0,0.40);
}

.score-chart-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.72;
  margin-bottom: 20px;
  text-align: center;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bar-row:last-child { margin-bottom: 0; }

.bar-label {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.70rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 52px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.bar-track {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  width: 0%;
  transition: width 1.2s var(--ease);
}

.bar-fill.vata-bar {
  background: linear-gradient(90deg, #c47e20, var(--vata-color));
  box-shadow: 0 0 10px rgba(244,162,54,0.55);
}
.bar-fill.pitta-bar {
  background: linear-gradient(90deg, #b02020, var(--pitta-color));
  box-shadow: 0 0 10px rgba(232,69,69,0.55);
}
.bar-fill.kapha-bar {
  background: linear-gradient(90deg, #4a3ab0, var(--kapha-color));
  box-shadow: 0 0 10px rgba(108,92,231,0.55);
}

.bar-pct {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.70rem;
  color: var(--text-muted);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   15. FREE PREVIEW CARD — dosha-result.php
   ────────────────────────────────────────────────────────────── */
.free-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.free-description {
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(244,162,54,0.12);
}

.free-sub-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.80;
  margin-bottom: 12px;
}

.trait-list,
.warning-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}

.trait-list li {
  font-size: 0.91rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  padding-left: 4px;
}

.warning-list { margin-bottom: 0; }
.warning-list li {
  font-size: 0.91rem;
  line-height: 1.6;
  color: rgba(255,180,100,0.92);
  padding-left: 4px;
}

.free-divider {
  height: 1px;
  background: rgba(244,162,54,0.12);
  margin: 4px 0 22px;
}

/* ──────────────────────────────────────────────────────────────
   16. LOCKED / BLURRED SECTION — dosha-result.php
   ────────────────────────────────────────────────────────────── */
.locked-section { position: relative; }

.locked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.locked-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border-dim);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.locked-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0.60;
}

.locked-item-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.70rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

.locked-item-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.70rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 300;
}

/* Overlay on locked grid */
.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}

.lock-icon {
  font-size: 2.6rem;
  filter: drop-shadow(0 0 16px var(--gold-glow));
  animation: lockPulse 2.5s ease-in-out infinite;
}

.lock-overlay-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(0.92rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 2px 22px rgba(0,0,0,0.85);
  max-width: 280px;
}

.lock-overlay-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}

/* ──────────────────────────────────────────────────────────────
   17. CTA SECTION — dosha-result.php
   ────────────────────────────────────────────────────────────── */
.cta-section { text-align: center; margin-top: 48px; }

.cta-card {
  background: linear-gradient(145deg, rgba(244,162,54,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(244,162,54,0.32);
  border-radius: var(--radius-xl);
  padding: 44px 34px 40px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px rgba(244,162,54,0.07),
    0 0 60px rgba(244,162,54,0.08),
    0 22px 65px rgba(0,0,0,0.45);
}

.cta-eyebrow {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.82;
  margin-bottom: 14px;
}

.cta-headline {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.28;
  background: linear-gradient(135deg, #fff 25%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.cta-body {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.76;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 28px;
}

.whats-inside {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.inside-tag {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(244,162,54,0.10);
  border: 1px solid rgba(244,162,54,0.22);
  color: rgba(255,255,255,0.80);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.price-original {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.0rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.60;
}

.price-current {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(244,162,54,0.50);
}

.price-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 300;
}

.cta-trust {
  margin-top: 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.cta-trust span { color: var(--gold); opacity: 0.82; }

/* ──────────────────────────────────────────────────────────────
   18. BUTTONS
   ────────────────────────────────────────────────────────────── */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 36px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform    var(--dur-fast) ease,
    box-shadow   var(--dur-mid) ease;
  position: relative;
  overflow: hidden;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

/* Shimmer sweep effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%        { left: -100%; }
  60%, 100% { left:  160%; }
}

/* Gold CTA button */
.btn--cta {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  box-shadow:
    0 0 0 1px rgba(244,162,54,0.38),
    0 0 30px rgba(244,162,54,0.28),
    0 8px 28px rgba(0,0,0,0.44);
  animation: pulseGlow 2.8s ease-in-out infinite;
}
.btn--cta:hover {
  box-shadow:
    0 0 0 1px rgba(244,162,54,0.60),
    0 0 55px rgba(244,162,54,0.50),
    0 12px 38px rgba(0,0,0,0.50);
}

/* Gold outline button */
.btn--outline {
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(244,162,54,0.45);
  box-shadow: 0 0 18px rgba(244,162,54,0.08);
}
.btn--outline:hover {
  background: rgba(244,162,54,0.10);
  border-color: var(--gold);
}

/* WhatsApp button */
.btn--whatsapp {
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--success-dim), var(--success));
  box-shadow:
    0 0 22px rgba(37,211,102,0.22),
    0 6px 22px rgba(0,0,0,0.40);
}
.btn--whatsapp:hover {
  box-shadow:
    0 0 40px rgba(37,211,102,0.40),
    0 10px 30px rgba(0,0,0,0.45);
}

/* Download button */
.btn--download {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  animation: pulseGlow 2.6s ease-in-out infinite;
}

/* Danger/error button */
.btn--danger {
  color: #fff;
  background: linear-gradient(135deg, var(--danger-dim), var(--danger));
}

/* Full width variant */
.btn--full { width: 100%; }

/* Disabled state */
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
  animation: none;
}

/* ──────────────────────────────────────────────────────────────
   19. PAYMENT FORM — dosha-payment.php
   ────────────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 38px;
  align-items: start;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.80;
}

.field-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.91rem;
  font-weight: 400;
  outline: none;
  -webkit-appearance: none;
  transition:
    border-color var(--dur-mid) ease,
    background   var(--dur-mid) ease,
    box-shadow   var(--dur-mid) ease;
}

.field-input::placeholder { color: rgba(255,255,255,0.26); }

.field-input:focus {
  border-color: var(--gold);
  background: var(--input-focus-bg);
  box-shadow: 0 0 0 3px rgba(244,162,54,0.14);
}

.field-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(232,69,69,0.16);
}

.field-error {
  font-size: 0.76rem;
  color: #e87070;
  font-weight: 400;
  display: none;
}
.field-error.show { display: block; }

/* Order summary card specifics */
.dosha-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.dosha-badge-emoji { font-size: 1.55rem; }
.dosha-badge-name {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}
.dosha-badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 300;
}

.report-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.report-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.44;
}
.report-item-icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }
.report-item-title { color: rgba(255,255,255,0.88); font-weight: 500; display: block; }
.report-item-sub   { color: var(--text-muted); font-size: 0.75rem; font-weight: 300; }

.price-divider {
  height: 1px;
  background: rgba(244,162,54,0.14);
  margin-bottom: 16px;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.price-total-label {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.90rem;
  color: var(--text-primary);
}
.price-total-val {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(244,162,54,0.45);
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,162,54,0.16);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.70rem;
  color: var(--text-muted);
}
.trust-badge-icon { font-size: 0.82rem; }

/* Alert messages */
.alert {
  display: none;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 0.87rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.alert.show  { display: block; }
.alert-error {
  background: rgba(232,69,69,0.12);
  border: 1px solid rgba(232,69,69,0.36);
  color: #f09090;
}
.alert-success {
  background: rgba(37,211,102,0.10);
  border: 1px solid rgba(37,211,102,0.32);
  color: #7ef5a8;
}

.secure-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.secure-note span { color: var(--gold); opacity: 0.82; }

/* ──────────────────────────────────────────────────────────────
   20. SUCCESS PAGE — dosha-success.php
   ────────────────────────────────────────────────────────────── */
.hero { text-align: center; margin-top: 48px; }

.check-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.3rem;
  box-shadow:
    0 0 38px var(--gold-glow),
    inset 0 0 20px rgba(244,162,54,0.14);
  animation: ringPulse 2.5s ease-in-out infinite;
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.75rem, 5.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  background: linear-gradient(135deg, #fff 18%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.76;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto;
}

.dosha-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  margin: 20px auto 0;
}

.dosha-pill-emoji { font-size: 1.35rem; }
.dosha-pill-name  {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.07em;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
}

.action-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.40);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.action-icon    { font-size: 2.1rem; }
.action-title   { font-family: 'Cinzel', Georgia, serif; font-size: 0.95rem; font-weight: 600; }
.action-desc    { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

.email-notice {
  margin-top: 30px;
  background: rgba(244,162,54,0.07);
  border: 1px solid rgba(244,162,54,0.22);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 0.88rem;
  line-height: 1.70;
  color: rgba(255,255,255,0.76);
}
.email-notice strong { color: var(--gold); }

.payment-details {
  margin-top: 24px;
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────────────────────
   21. OVERLAYS & MODALS
   ────────────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13,0,32,0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.50s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

.overlay-spin {
  font-size: 2.9rem;
  animation: spin 1.8s linear infinite;
}

.overlay-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.0rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-align: center;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────
   22. RESULT HERO — dosha-result.php
   ────────────────────────────────────────────────────────────── */
.result-hero { text-align: center; }

.dosha-emoji-hero {
  font-size: clamp(2.8rem, 9vw, 4.5rem);
  display: block;
  margin-bottom: 14px;
  animation: floatGlyph 4s ease-in-out infinite;
}

.dosha-name-hero {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #fff 18%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1.1;
}

.dosha-tagline-hero {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.80rem, 2.2vw, 0.94rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 36px;
}

/* ──────────────────────────────────────────────────────────────
   23. FOOTER
   ────────────────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 24px 18px 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.7;
  border-top: 1px solid rgba(244,162,54,0.10);
  margin-top: 60px;
}
.site-footer a { color: rgba(244,162,54,0.60); }
.site-footer a:hover { color: var(--gold); }

.disclaimer {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.70;
  text-align: center;
  max-width: 600px;
  margin: 16px auto 0;
}

/* ──────────────────────────────────────────────────────────────
   24. UTILITY CLASSES
   ────────────────────────────────────────────────────────────── */
.mt-0  { margin-top:  0    !important; }
.mt-8  { margin-top:  8px  !important; }
.mt-16 { margin-top: 16px  !important; }
.mt-24 { margin-top: 24px  !important; }
.mt-32 { margin-top: 32px  !important; }
.mt-48 { margin-top: 48px  !important; }
.mb-0  { margin-bottom:  0   !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }

.hidden         { display: none !important; }
.invisible      { visibility: hidden !important; }
.pointer        { cursor: pointer; }
.no-select      { user-select: none; }
.w-full         { width: 100%; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }
.flex-col       { flex-direction: column; }
.gap-8          { gap: 8px; }
.gap-12         { gap: 12px; }
.gap-16         { gap: 16px; }

/* ──────────────────────────────────────────────────────────────
   25. ANIMATIONS & KEYFRAMES
   ────────────────────────────────────────────────────────────── */

/* Fade in from below */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeIn 0.55s var(--ease) both;
}
.animate-fade-in--delay-1 { animation-delay: 0.10s; }
.animate-fade-in--delay-2 { animation-delay: 0.22s; }
.animate-fade-in--delay-3 { animation-delay: 0.34s; }
.animate-fade-in--delay-4 { animation-delay: 0.46s; }

/* Pulsing gold glow — CTAs, lock icon */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(244,162,54,0.36),
      0 0 28px rgba(244,162,54,0.24),
      0 8px 28px rgba(0,0,0,0.44);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(244,162,54,0.64),
      0 0 55px rgba(244,162,54,0.50),
      0 8px 28px rgba(0,0,0,0.44);
  }
}

/* Lock icon pulse */
@keyframes lockPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px var(--gold-glow));
  }
  50% {
    transform: scale(1.09);
    filter: drop-shadow(0 0 26px var(--gold-glow));
  }
}

/* Floating emoji */
@keyframes floatGlyph {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* Ring pulse — success page check ring */
@keyframes ringPulse {
  0%, 100% {
    box-shadow:
      0 0 28px var(--gold-glow),
      inset 0 0 14px rgba(244,162,54,0.12);
  }
  50% {
    box-shadow:
      0 0 55px var(--gold-glow),
      inset 0 0 28px rgba(244,162,54,0.24);
  }
}

/* Spin — processing overlays */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Progress fill animation */
@keyframes progressFill {
  from { width: 0%; }
  to   { width: var(--target-width, 100%); }
}

/* CSS-only floating stars — success page */
@keyframes starFloat1 {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
@keyframes starFloat2 {
  0%   { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-100vh) rotate(-360deg) scale(1.2); opacity: 0; }
}

/* CSS confetti stars — inject these via success page if desired */
.css-star {
  position: fixed;
  bottom: -20px;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 100;
  animation: starFloat1 4s ease-in forwards;
}
.css-star:nth-child(2n)   { animation-name: starFloat2; animation-duration: 5.5s; }
.css-star:nth-child(3n)   { animation-delay: 0.4s; }
.css-star:nth-child(4n)   { animation-delay: 0.8s; }
.css-star:nth-child(5n)   { animation-delay: 1.2s; }
.css-star:nth-child(6n)   { animation-delay: 1.6s; }
.css-star:nth-child(7n)   { animation-delay: 2.0s; }
.css-star:nth-child(8n)   { animation-delay: 2.4s; }
.css-star:nth-child(odd)  { left: calc(10% + (var(--n, 1) * 9%)); }
.css-star:nth-child(even) { left: calc(5%  + (var(--n, 1) * 10%)); }

/* ──────────────────────────────────────────────────────────────
   26. RESPONSIVE — MOBILE FIRST
   ────────────────────────────────────────────────────────────── */

/* ── max-width: 480px — Small phones ── */
@media (max-width: 480px) {

  .page-wrap,
  .page-wrap--wide,
  .page-wrap--narrow {
    padding: 0 14px 80px;
  }

  h1, .h1     { font-size: 1.65rem; }
  h2, .h2     { font-size: 1.08rem; }

  .card, .card--lg { padding: 22px 18px; }
  .cta-card        { padding: 28px 18px 26px; }
  .free-card       { padding: 22px 16px; }
  .score-chart     { padding: 20px 16px; }

  .question-card   { padding: 26px 18px 24px; }
  .q-text          { font-size: 0.98rem; }
  .option-btn      { font-size: 0.84rem; padding: 12px 14px; }
  .card-container  { margin-top: 28px; }

  .two-col         { grid-template-columns: 1fr; }
  .action-grid     { grid-template-columns: 1fr; }
  .locked-grid     { grid-template-columns: 1fr 1fr; }

  .btn             { font-size: 0.86rem; padding: 14px 24px; }
  .btn--full       { width: 100%; }

  .trust-badges    { gap: 6px; }
  .trust-badge     { font-size: 0.66rem; padding: 4px 9px; }

  .whats-inside    { gap: 6px; }
  .inside-tag      { font-size: 0.68rem; padding: 4px 10px; }

  .price-current   { font-size: 1.8rem; }

  .check-ring      { width: 74px; height: 74px; font-size: 2rem; }
  .hero-title      { font-size: 1.6rem; }

  .dosha-badge     { padding: 11px 13px; }
  .dosha-pill      { padding: 8px 16px; }

  .action-card     { padding: 20px 16px; }
}

/* ── max-width: 600px — Phones ── */
@media (max-width: 600px) {
  .two-col         { grid-template-columns: 1fr; }
  .action-grid     { grid-template-columns: 1fr; }

  .locked-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .question-card { padding: 28px 20px 26px; }
}

/* ── max-width: 768px — Tablets portrait ── */
@media (max-width: 768px) {

  .page-wrap,
  .page-wrap--wide,
  .page-wrap--narrow {
    padding: 0 16px 90px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .card, .card--lg { padding: 28px 22px; }
  .cta-card        { padding: 34px 22px 30px; }

  .locked-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bar-label { width: 44px; font-size: 0.66rem; }

  .btn { padding: 14px 28px; }
}

/* ── max-width: 1024px — Tablets landscape ── */
@media (max-width: 1024px) {
  .page-wrap--wide { max-width: 820px; }
}

/* ── min-width: 1200px — Large screens ── */
@media (min-width: 1200px) {
  body { font-size: 16.5px; }
}

/* ──────────────────────────────────────────────────────────────
   27. PRINT OVERRIDES
   ────────────────────────────────────────────────────────────── */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }

  .bg-atmosphere,
  .overlay,
  .btn--cta,
  .lock-overlay,
  .locked-section { display: none !important; }

  .card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
  }

  h1, h2, h3 {
    -webkit-text-fill-color: #000 !important;
    background: none !important;
    color: #000 !important;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}

/* ── End of stylesheet ── */