/* 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;
  }
}

/* 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 */
.deep-upsell-card {
  background: linear-gradient(135deg, #2a0b35 0%, #150928 50%, #0d071d 100%);
  border: 2px solid #ec4899;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 0 50px rgba(236, 72, 153, 0.25);
  margin: 50px 0;
}

.upsell-badge {
  display: inline-block;
  background: #ec4899;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.upsell-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin: 15px 0;
}

.upsell-features {
  list-style: none;
  max-width: 500px;
  margin: 25px auto;
  text-align: left;
}

.upsell-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

/* 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); }
}
