/* Funnel Hero */
.funnel-hero {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.hero-avatar-wrap {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px dashed rgba(236, 72, 153, 0.6);
  animation: spinSlow 30s linear infinite;
}

.hero-avatar-core {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #2e1065 0%, #09081a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  border: 2px solid var(--border-glow);
}

.hero-symbol {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent-gold);
  text-shadow: 0 0 15px var(--accent-gold-glow);
}

.hero-archetype-pill {
  display: inline-block;
  background: rgba(109, 40, 217, 0.4);
  border: 1px solid var(--border-cosmic);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #d8b4fe;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.6rem;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Funnel Form Box */
.funnel-box {
  background: var(--bg-card);
  border: 1px solid var(--border-cosmic);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-top: 30px;
  margin-bottom: 60px;
}

.step-header {
  text-align: center;
  margin-bottom: 30px;
}

.step-indicator {
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-question {
  font-size: 1.5rem;
  color: var(--text-bright);
}

/* Life Area Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.option-card {
  position: relative;
  background: rgba(14, 13, 33, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.option-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-purple);
  transform: translateY(-2px);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card.selected,
.option-card:has(input[type="radio"]:checked) {
  border-color: var(--accent-pink);
  background: rgba(30, 27, 75, 0.8);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Form Controls */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: rgba(14, 13, 33, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-bright);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Birthplace: country list and town suggestions */
select.form-input option {
  background: #0e0d21;
  color: var(--text-bright);
}

.place-field {
  position: relative;
}

.place-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
  background: rgba(14, 13, 33, 0.98);
  border: 1px solid var(--border-cosmic);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.place-suggestions [role="option"] {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-bright);
}

.place-suggestions [role="option"]:hover,
.place-suggestions [role="option"][aria-selected="true"] {
  background: rgba(139, 92, 246, 0.25);
}

.place-region {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: right;
}

.place-empty {
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.place-hint {
  display: block;
  font-size: 0.82rem;
  color: #a78bfa;
  margin-top: 6px;
}

/* Which Sun sign the birth date gives, when it is not the page's: read, not a warning */
.sun-notice {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Captcha Challenge Box */
.captcha-box {
  background: rgba(46, 16, 101, 0.25);
  border: 1px dashed var(--border-cosmic);
  border-radius: 16px;
  padding: 20px;
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.captcha-question {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e9d5ff;
}

.captcha-input {
  width: 120px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Consent Checkbox */
.consent-box {
  background: rgba(14, 13, 33, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 25px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.consent-box input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-pink);
  cursor: pointer;
}

.consent-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-text a {
  color: var(--primary-purple);
  text-decoration: underline;
}

/* Analysis Results */
.result-header {
  text-align: center;
  margin-bottom: 40px;
}

.alignment-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.alignment-score-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  box-shadow: 0 0 30px var(--accent-gold-glow);
  margin-bottom: 8px;
}

.result-card {
  background: rgba(19, 18, 43, 0.8);
  border-radius: 18px;
  border: 1px solid var(--border-cosmic);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
}

.card-asset::before { background: #10b981; }
.card-caution::before { background: #ef4444; }
.card-evolution::before { background: #8b5cf6; }
.card-timing::before { background: #f59e0b; }

.result-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.result-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e2e8f0;
}

/* Deep Upsell Section */
/* Book offer */
.book-offer {
  max-width: 680px; margin: 50px auto; padding: 32px 28px; text-align: left;
  background: rgba(19, 18, 43, .92); border: 1px solid rgba(245, 158, 11, .35); border-radius: 20px;
}
.offer-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.offer-pill { font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #cbd5e1; }
.offer-pill-accent { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
.offer-title { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.3; color: var(--text-bright); margin: 0 0 10px; }
.offer-teaser { font-size: 1.05rem; line-height: 1.6; font-style: italic; color: #e2d9f3; margin: 0 0 22px; }
.offer-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; }
.offer-cover { margin: 0; }
.offer-cover img { display: block; width: 150px; height: auto; border-radius: 6px; border: 1px solid rgba(245, 158, 11, .3); }
.offer-cover figcaption { font-size: .8rem; color: var(--text-muted); margin-top: 6px; text-align: center; }
.offer-inside h3 { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #f5d78e; margin: 0 0 10px; }
.offer-inside ul { list-style: none; margin: 0; padding: 0; }
.offer-inside li { position: relative; padding: 6px 0 6px 22px; line-height: 1.5; font-size: .95rem; color: #e2e8f0; }
.offer-inside li::before { content: "\2726"; position: absolute; left: 0; color: var(--accent-gold); }
.offer-note { margin: 20px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .88rem; color: #cbd5e1; }
.offer-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: .85rem; line-height: 1.5; color: #cbd5e1; cursor: pointer; }
.offer-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-gold); }
.offer-consent-error { margin: 8px 0 0; font-size: .85rem; color: #fca5a5; }
.offer-buy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.offer-price { display: flex; flex-direction: column; }
.offer-amount { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--accent-gold); }
.offer-terms { font-size: .8rem; color: var(--text-muted); }
/* A "before" price, an end date and a countdown appear only when the schedule makes them true */
.offer-was { font-size: .85rem; color: var(--text-muted); }
.offer-was s { color: #cbd5e1; }
.offer-until { margin-top: 4px; font-size: .82rem; color: #fcd34d; }
.offer-countdown { font-size: .8rem; font-weight: 600; color: #fbbf24; font-variant-numeric: tabular-nums; }
.offer-delivery { margin: 14px 0 0; font-size: .85rem; color: #cbd5e1; }
.offer-sample { margin-top: 14px; }
.offer-sample summary { cursor: pointer; font-size: .9rem; color: #c4b5fd; }
.offer-sample img { display: block; width: 100%; max-width: 560px; height: auto; margin: 12px auto 6px; border-radius: 6px; }
.offer-sample p { margin: 0; text-align: center; font-size: .8rem; color: var(--text-muted); }
.offer-disclaimer { margin: 16px 0 0; font-size: .78rem; color: var(--text-muted); }
@media (max-width: 560px) {
  .book-offer { padding: 24px 18px; }
  .offer-body { grid-template-columns: 1fr; }
  .offer-cover { width: 150px; margin: 0 auto; }
  .offer-buy .btn-cosmic-gold { width: 100%; }
}

/* Modal Checkout */
.checkout-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.checkout-modal.active {
  display: flex;
}

.modal-content {
  background: #14122d;
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  width: 95%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

/* Stripe Form Elements */
.stripe-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.stripe-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 91, 255, 0.15);
  border: 1px solid rgba(99, 91, 255, 0.3);
  color: #a5b4fc;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stripe-card-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  text-align: left;
}

.stripe-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stripe-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stripe-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.stripe-row {
  display: flex;
  gap: 12px;
}

.stripe-row .stripe-field {
  flex: 1;
}

.btn-stripe-pay {
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-stripe-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-stripe-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Cosmic resonance: band, personal cycles and the breakdown behind the score --- */
.resonance-caption { margin-top: 12px; text-align: center; }
.resonance-band { font-weight: 700; letter-spacing: .02em; color: #e2e8f0; margin: 0; }
.resonance-band.band-high { color: #34d399; }
.resonance-band.band-medium { color: #fbbf24; }
.resonance-band.band-low { color: #93c5fd; }
.resonance-hint { color: #cbd5e1; font-size: .92rem; margin: 4px 0 0; }
.resonance-cycle { color: #a5b4fc; font-size: .85rem; margin: 6px 0 0; letter-spacing: .02em; }
.resonance-breakdown {
  max-width: 560px; margin: 18px auto 0; text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 16px 18px;
}
.resonance-breakdown h3 { font-size: .95rem; margin: 0 0 10px; color: #f5d78e; }
.resonance-breakdown ul { list-style: none; margin: 0; padding: 0; }
.resonance-breakdown li {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  border-top: 1px solid rgba(255,255,255,.07); font-size: .9rem; color: #e2e8f0;
}
.resonance-breakdown li:first-child { border-top: 0; }
.resonance-breakdown .pts { flex: 0 0 auto; color: #34d399; font-variant-numeric: tabular-nums; font-weight: 600; }
.resonance-method { font-size: .78rem; color: #94a3b8; margin: 10px 0 0; }

