/* ============================
   AYATIQUE — GLOBAL STYLES
   Gold/Islamic dark theme
   ============================ */

:root {
  color-scheme: dark;
  --bg: #161310;
  --bg-card: #211d17;
  --text: #f4f0e8;
  --text-muted: #9ca3af;
  --gold: #D4840E;
  --gold-bright: #FFC149;
  --gold-light: #E8C872;
  --gold-dim: rgba(212, 132, 14, 0.5);
  --green-verified: #22c55e;
  --border-width: 2px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

html, body { margin: 0; }

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

button, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

body.app-body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* ============================
   WELCOME PAGE (Page 1)
   ============================ */

.welcome-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: #0d0b08;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d0b08;
}

.welcome-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.15);
  transform-origin: center;
}

.welcome-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 75% 60% at 50% 50%, rgba(13, 11, 8, 0.55) 0%, rgba(13, 11, 8, 0.3) 55%, rgba(13, 11, 8, 0.7) 100%);
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.75rem;
  padding: 2rem 1.5rem;
  width: 100%;
}

.welcome-moon {
  width: 134px;
  height: 134px;
}

.welcome-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.welcome-title-sub {
  font-size: 20px;
  line-height: 24px;
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

.welcome-title-main {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.welcome-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.welcome-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: trustRowFadeIn 1s ease-out 0.3s both;
}

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

.welcome-trust-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.welcome-laurel {
  flex-shrink: 0;
  width: 24px;
  height: auto;
  opacity: 0.95;
  display: block;
}

.welcome-trust-label {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.85;
}

.welcome-stars {
  display: flex;
  gap: 0.35rem;
}

.welcome-stars svg {
  width: 20px;
  height: 20px;
}

.welcome-star-item {
  opacity: 0;
  animation: starFadeIn 0.5s ease-out forwards;
}

@keyframes starFadeIn {
  from {
    opacity: 0;
    filter: brightness(0.3);
  }
  to {
    opacity: 1;
    filter: brightness(1);
  }
}

.welcome-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.welcome-cta {
  /* inherits from .cta-gold */
}

.welcome-footer-text {
  font-size: 0.78rem;
  color: var(--text);
  text-align: center;
  margin: 0;
  opacity: 0.85;
}

.welcome-footer-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================
   SOCIAL PROOF PAGE (Page 2)
   ============================ */

.social-proof-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg);
}

.social-proof-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  text-align: center;
}

.social-proof-image {
  width: 280px;
  max-width: 100%;
}

.social-proof-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.social-proof-title {
  font-size: 22px;
  font-weight: 400;
  color: #e0e4dc;
  margin: 0;
  line-height: 28px;
}

.social-proof-title span {
  color: inherit;
}

.social-proof-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(212, 132, 14, 0.12);
  border: none;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}

.social-proof-footer {
  width: 100%;
  max-width: 400px;
}

/* ============================
   GOLD CTA BUTTON
   ============================ */

.cta-gold {
  display: block;
  width: 100%;
  max-width: 327px;
  height: 52px;
  min-height: 52px;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #EFC979 0%, #D4A65A 100%);
  color: #1a1207;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px rgba(212, 132, 14, 0.22);
  text-align: center;
}

.cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 132, 14, 0.35);
}

.cta-gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================
   PROGRESS BAR
   ============================ */

.progress-bar-container {
  position: fixed;
  top: 25px;
  left: 12px;
  right: 12px;
  z-index: 50;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.progress-bar-fill {
  height: 100%;
  background: #e6c26c;
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ============================
   AGE SECTION (Question Pages 3-5, 7-8, 11)
   ============================ */

.age-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 15px 40px;
  background: var(--bg);
}

.age-card {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.age-question {
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.age-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.age-option-btn {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid #4d4639;
  padding: 16px 16px;
  background: #161310;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.15px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: left;
  opacity: 0;
  animation: fadeSlideIn 0.4s ease forwards;
}

.age-option-btn:nth-child(1) { animation-delay: 0.1s; }
.age-option-btn:nth-child(2) { animation-delay: 0.2s; }
.age-option-btn:nth-child(3) { animation-delay: 0.3s; }
.age-option-btn:nth-child(4) { animation-delay: 0.4s; }
.age-option-btn:nth-child(5) { animation-delay: 0.5s; }
.age-option-btn:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-option-btn:hover {
  background: rgba(212, 132, 14, 0.1);
  border-color: var(--gold);
}

.age-option-btn:active {
  transform: scale(0.98);
}

.age-option-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================
   TOPICS / MULTI-SELECT (Pages 12-13)
   ============================ */

.topics-page {
  font-family: 'DM Sans', Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 60px 20px 1.5rem;
  background: var(--bg);
}

.topics-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.topics-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.topics-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.topics-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.topic-option {
  font-family: 'DM Sans', Helvetica, sans-serif;
  width: 100%;
  border-radius: 16px;
  border: 1.5px solid #4d4639;
  padding: 18px 24px;
  background: transparent;
  opacity: 0;
  animation: fadeSlideIn 0.4s ease forwards;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topic-option:nth-child(1) { animation-delay: 0.1s; }
.topic-option:nth-child(2) { animation-delay: 0.2s; }
.topic-option:nth-child(3) { animation-delay: 0.3s; }
.topic-option:nth-child(4) { animation-delay: 0.4s; }
.topic-option:nth-child(5) { animation-delay: 0.5s; }
.topic-option:nth-child(6) { animation-delay: 0.6s; }

.topic-option:hover {
  background: transparent;
  border-color: #4d4639;
}

.topic-option.selected {
  background: #2e2921;
  border-color: transparent;
}

.topic-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid #4d4639;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.topic-option.selected .topic-checkbox {
  background: #e6c26c;
  border-color: transparent;
}

.topic-checkbox-check {
  width: 12px;
  height: 8px;
  border-left: 2.5px solid #1a1207;
  border-bottom: 2.5px solid #1a1207;
  transform: rotate(-45deg);
  display: none;
}

.topic-option.selected .topic-checkbox-check {
  display: block;
}

.topics-footer {
  padding-top: 0.5rem;
}

/* ============================
   WHOLETHING / YES-NO (Page 9)
   ============================ */

.wholething-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px 2rem;
  background: var(--bg);
}

.wholething-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  max-width: 440px;
}

.wholething-question {
  font-weight: 400;
  font-size: 22px;
  line-height: 28px;
  color: var(--text);
  margin: 0;
}

.wholething-image {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wholething-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wholething-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
}

.wholething-btn {
  flex: 1;
  border-radius: 16px;
  border: 1.5px solid #4d4639;
  height: 100px;
  font-size: 1.1rem;
  font-weight: 600;
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.wholething-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 132, 14, 0.08);
}

.wholething-btn.active {
  background: var(--gold);
  color: #1a1207;
  border-color: var(--gold);
}

.wholething-btn .emoji {
  font-size: 2rem;
}

/* ============================
   IMAGE LANDING CARD (Pages 6, 10)
   ============================ */

.image-landing-page {
  font-family: 'DM Sans', Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 1.5rem 1.5rem;
  background: var(--bg);
}

.image-landing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  text-align: center;
  max-width: 440px;
}

.image-landing-circle {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(212, 132, 14, 0.15);
}

.image-landing-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-landing-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #e0e4dc;
  margin: 0;
  line-height: 1.4;
}

.image-landing-title .gold {
  color: #e6c26c;
}

.image-landing-description {
  font-size: 21px;
  font-weight: 400;
  line-height: 28px;
  color: #e0e4dc;
  margin: 0;
}

.image-landing-footer {
  width: 100%;
  max-width: 400px;
}

/* ============================
   BENEFITS CARD (Page 14)
   ============================ */

.benefits-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  padding: 0rem 1.5rem 1.5rem;
  background: var(--bg);
}

.benefits-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 440px;
  width: 100%;
}

.benefits-image-wrap {
  position: relative;
  width: 200px;
  height: 200px;
}

.benefits-image-bg {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright) 0%, transparent 70%);
  opacity: 0.3;
}

.benefits-image {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.benefits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-title {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

.benefits-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.benefit-text {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.benefits-footer {
  width: 100%;
  max-width: 400px;
  padding-top: 1rem;
  flex-shrink: 0;
}

/* ============================
   STORY SECTION (Pages 15-17)
   ============================ */

.story-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px 2rem;
  background: var(--bg);
}

.story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 440px;
  width: 100%;
}

.story-question {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 0;
  line-height: 1.35;
}

.story-media {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.story-media img,
.story-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.story-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  text-align: center;
  margin: 0;
}

.story-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
}

/* ============================
   LOADING PLAN SECTION (Animation)
   ============================ */

.loading-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.loading-page,
.loading-page *,
.loading-overlay,
.loading-overlay * {
  font-weight: 400 !important;
}

.loading-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin: 0 0 2rem;
  line-height: 1.4;
}

.loading-progress-list {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.loading-progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loading-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loading-progress-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.loading-progress-label.inactive {
  color: var(--text-muted);
}

.loading-progress-pct {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.loading-progress-pct.inactive {
  color: var(--text-muted);
}

.loading-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.loading-progress-fill {
  height: 100%;
  background: #e6c26c;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.loading-review-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
}

.loading-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.loading-review-author {
  display: flex;
  flex-direction: column;
}

.loading-review-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.loading-review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.loading-review-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.loading-review-stars {
  display: flex;
  gap: 2px;
}

.loading-review-star {
  width: 20px;
  height: 20px;
  background: var(--green-verified);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-review-star svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.loading-review-verified {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-verified);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.loading-review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Loading overlay for yes/no questions */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  animation: fadeIn 0.4s ease;
}

.loading-overlay-prompt {
  font-size: 0.85rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  text-align: center;
}

.loading-overlay-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 380px;
  line-height: 1.4;
}

.loading-overlay-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  margin-bottom: 2rem;
}

/* ============================
   GROWTH CHART (Last before plans)
   ============================ */

.growth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 1.5rem 1.5rem;
  background: var(--bg);
}

.growth-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.growth-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.growth-title .gold {
  color: var(--gold-bright);
}

.growth-chart {
  width: 120%;
  max-width: 720px;
  position: relative;
  max-height: 0;
  opacity: 0;
  overflow: visible;
  transition: max-height 0.45s ease-out, opacity 0.3s ease-out;
}

.growth-chart.is-visible {
  max-height: 480px;
  opacity: 1;
}

.growth-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.growth-label {
  position: absolute;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.growth-badge {
  position: absolute;
  top: -4%;
  left: 30%;
  background: rgba(44, 39, 32, 0.95);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  animation: growthBadgeIn 0.4s ease-out 2s forwards;
}

@keyframes growthBadgeIn {
  to {
    opacity: 1;
  }
}

.growth-disclaimer {
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0;
}

.growth-footer {
  width: 100%;
  max-width: 400px;
}

/* ============================
   PLANS SECTION
   ============================ */

.plans-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.plans-banner {
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.plans-banner-text {
  display: flex;
  flex-direction: column;
  color: #1a1207;
  font-weight: 600;
}

.plans-banner-label { font-size: 0.85rem; }
.plans-banner-timer { font-size: 1.75rem; letter-spacing: 0.04em; }

.plans-banner-cta {
  border: none;
  background: #1a1207;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.plans-banner-cta:hover { transform: translateY(-2px); }

.plans-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 1.5rem;
  align-items: center;
}

.plans-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

.plans-heading .gold { color: var(--gold-bright); }

.plans-cards {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.plan-card {
  width: 100%;
  border-radius: 24px;
  padding: 1.75rem;
  border: 2px solid transparent;
  background: var(--bg-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
}

.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212, 132, 14, 0.15) 0%, rgba(212, 132, 14, 0.05) 100%);
}

.plan-card:not(.featured) {
  opacity: 0.7;
  transform: scale(0.97);
}

.plan-tag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1a1207;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.plan-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
  background: transparent;
  position: relative;
  flex-shrink: 0;
}

.plan-radio::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.plan-card.featured .plan-radio::after { opacity: 1; }

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.plan-prices {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 4px;
}

.plan-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.plan-right {
  text-align: right;
}

.plan-daily {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.plan-per-day {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.plan-offer-bar {
  margin-top: 1rem;
  background: #df4f4f;
  border-radius: 16px;
  padding: 12px 0;
  text-align: center;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.plans-continue-cta {
  width: 100%;
  max-width: 500px;
}

.plans-footer-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.plans-footer-note strong {
  color: var(--text);
  display: block;
  margin-top: 4px;
}

/* Reviews in plans */
.plans-reviews {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.plans-reviews h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.plans-review-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plans-review-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.plans-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.plans-review-stars svg {
  width: 20px;
  height: 20px;
}

.plans-review-quote {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.plans-review-author {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}

/* Platform ratings */
.plans-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.plans-platform-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.plans-platform-rating {
  font-size: 2rem;
  font-weight: 700;
}

.plans-platform-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.plans-platform-stars svg { width: 18px; height: 18px; }

.plans-platform-reviews {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Advantages */
.plans-advantages {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.plans-advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
}

.plans-advantage-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plans-advantage-check::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2.5px solid #1a1207;
  border-bottom: 2.5px solid #1a1207;
  transform: rotate(-45deg);
}

.plans-advantage-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 4px;
}

.plans-advantage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Guarantee */
.plans-guarantee {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.plans-guarantee h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.plans-guarantee p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ */
.plans-faq {
  width: 100%;
  max-width: 500px;
}

.plans-faq-heading {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.plans-faq-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.plans-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.plans-faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.plans-faq-chevron::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--text-muted);
  transition: transform 0.2s ease;
}

.plans-faq-chevron.open::after {
  transform: rotate(180deg);
}

.plans-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.plans-faq-card.open .plans-faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.75rem;
}

/* ============================
   WELCOME COOKIE BANNER
   ============================ */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #1a1610;
  border-top: 1px solid rgba(212, 132, 14, 0.15);
  animation: cookieSlideUp 0.4s ease-out;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text);
  opacity: 0.85;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-okay {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  background: linear-gradient(180deg, #EFC979 0%, #D4A65A 100%);
  color: #1a1207;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.cookie-banner-okay:hover { transform: translateY(-1px); }

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============================
   SOCIAL PROOF ORBITAL ANIMATION
   ============================ */

.social-proof-orbit {
  width: 230px;
  height: 230px;
  max-width: 90vw;
  max-height: 90vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-proof-orbit-rings {
  position: absolute;
  inset: 0;
  animation: orbitRotate 40s linear infinite;
}

.social-proof-orbit-rings circle {
  fill: none;
  stroke: rgba(212, 132, 14, 0.5);
  stroke-width: 1.2;
  stroke-dasharray: 3 6;
}

.social-proof-orbit-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  animation: orbitFloat 6s ease-in-out infinite;
}

.social-proof-orbit-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.social-proof-pill .pill-icon {
  color: var(--gold-bright);
  font-size: 1.25rem;
  line-height: 1;
}

/* ============================
   LOADING TESTIMONIAL EMOJI
   ============================ */

.loading-review-reactions {
  display: inline-flex;
  gap: 2px;
  margin-left: 4px;
  font-size: 1rem;
  vertical-align: middle;
}

/* ============================
   ANIMATIONS
   ============================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 640px) {
  .welcome-title-main { font-size: 2.2rem; }
  .social-proof-title { font-size: 22px; }
  .age-question { font-size: 22px; }
  .wholething-image { width: 230px; height: 230px; }
  .story-media { max-width: 280px; }
}

/* ============================
   PAYMENT WALL (new /onboarding/plans)
   ============================ */

.paywall-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem 1.5rem;
  color: #fff;
}

.paywall-stack {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.paywall-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-align: center;
  line-height: 1.35;
  letter-spacing: -0.24px;
}

.paywall-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

.paywall-benefit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 8px;
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  font-weight: 400;
}

.paywall-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.paywall-plan {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #1f1b15;
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.paywall-plan.selected {
  background: #ffffff;
  color: #121212;
  border-color: #ffffff;
  padding-right: 48px;
}

.paywall-plan-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paywall-plan-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paywall-plan-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

.paywall-plan-subline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paywall-plan-old {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  opacity: 0.85;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.paywall-plan-tag {
  background: #82f79b;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 6px;
  line-height: 1.4;
}

.paywall-plan-right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.paywall-plan-price {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  opacity: 0.85;
}

.paywall-plan.selected .paywall-plan-price {
  opacity: 0.7;
}

.paywall-plan-check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #3a2c14;
  box-shadow: 0 1px 2px rgba(58, 44, 20, 0.25);
  position: absolute;
  top: 14px;
  right: 16px;
  flex-shrink: 0;
}

.paywall-plan-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 6.5px;
  width: 9px;
  height: 4.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.paywall-card-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.paywall-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  opacity: 0.85;
}

.paywall-card-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.9fr;
  gap: 4px;
}

.paywall-input {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  height: 48px;
  font-size: 14px;
  line-height: 114%;
  color: #2d2e8f;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-weight: 500;
  letter-spacing: -0.2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.paywall-input::placeholder {
  color: #2d2e8f;
  opacity: 1;
  font-weight: 500;
}

.paywall-input:focus {
  box-shadow: 0 0 0 2px rgba(45, 46, 143, 0.3);
}

.paywall-input-card {
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='2' y='5' width='20' height='14' rx='2.5' stroke='%23a8b4c8' stroke-width='1.5'/%3E%3Crect x='2.5' y='9' width='19' height='2.5' fill='%23a8b4c8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 20px 20px;
}

.paywall-input-full {
  width: 100%;
}

.paywall-cta {
  appearance: none;
  border: none;
  background: #e6c26c;
  color: #211e1c;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  padding: 0 16px;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 8px;
  letter-spacing: 0.1px;
}

.paywall-cta:hover {
  filter: brightness(1.04);
}

.paywall-cta:disabled,
.paywall-cta[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

.paywall-cta:disabled:hover,
.paywall-cta[aria-disabled='true']:hover {
  filter: none;
}

.paywall-guarantee {
  text-align: center;
  font-size: 12px;
  color: #fff;
  opacity: 0.85;
  margin: 0;
  font-weight: 500;
}

.paywall-legal {
  font-size: 10px;
  color: #fff;
  opacity: 0.6;
  line-height: 1.4;
  margin: 4px 0 0;
  text-align: center;
  font-weight: 300;
}

.paywall-legal-link {
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
}

@media (max-width: 420px) {
  .paywall-benefit { font-size: 11px; padding: 10px 6px; }
  .paywall-card-row { grid-template-columns: 1.6fr 1fr 0.9fr; }
}

/* Payment method toggle (plansone) */
.paywall-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  margin-top: 4px;
}

.paywall-method {
  appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.7;
  transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.paywall-method:hover {
  opacity: 1;
}

.paywall-method.active {
  background: #ffffff;
  color: #121212;
  opacity: 1;
}

.paywall-paypal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.paywall-paypal-note {
  font-size: 12px;
  color: #fff;
  opacity: 0.7;
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.4;
}
