/* Birth Energy Reading — styles */

:root {
  --ink: #0A1713;
  --ink-2: #0E211B;
  --cream: #F7F1E1;
  --cream-dim: rgba(247, 241, 225, 0.72);
  --cream-faint: rgba(247, 241, 225, 0.45);
  --gold: #E3C36C;
  --gold-deep: #C9A648;
  --line: rgba(227, 195, 108, 0.22);
  --cta: #F4502E;
  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #060d0b;
  font-family: var(--body-font);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

#root { display: flex; justify-content: center; }

.page {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 50% at 80% -5%, rgba(33, 66, 54, 0.55) 0%, rgba(33, 66, 54, 0) 60%),
    radial-gradient(120% 40% at 10% 30%, rgba(20, 46, 38, 0.5) 0%, rgba(20, 46, 38, 0) 65%),
    var(--ink);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  padding-bottom: 8px;
}

.intro-layout { position: relative; z-index: 1; }

/* ---------- starfield ---------- */
.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .star,
  .hero-wheel > svg { animation: none; }
}

/* layers above stars */
.promo-bar, .header, .hero, .section, .footer { position: relative; z-index: 1; }

/* ---------- promo bar ---------- */
.promo-bar {
  background: linear-gradient(90deg, #E8472E, #F4502E);
  color: #FFF4E6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 9px 14px;
}

/* ---------- header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(6, 13, 11, 0.65);
  border-bottom: 1px solid rgba(227, 195, 108, 0.12);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-sub { font-size: 10.5px; color: var(--cream-faint); letter-spacing: 0.02em; }
.header-cta {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: #1A1407;
  font-family: var(--body-font);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.header-cta:hover { filter: brightness(1.08); }
.header-cta:active { transform: scale(0.97); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.pill-gold {
  background: rgba(243, 224, 167, 0.92);
  color: #2A2208;
}

/* ---------- hero ---------- */
.hero { padding: 34px 22px 30px; }
.hero-wheel {
  position: absolute;
  top: -30px;
  right: -84px;
  opacity: 0.85;
  pointer-events: none;
}
.hero-wheel > svg {
  animation: astro-wheel-spin 52s linear infinite;
  transform-origin: center;
  will-change: transform;
}
@keyframes astro-wheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-moon { position: absolute; top: 36px; left: 58px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-title {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.12;
  position: relative;
}
.hero-title-top { font-size: 34px; color: var(--cream); }
.hero-title-main {
  font-size: 42px;
  color: var(--gold);
  text-shadow: 0 2px 24px rgba(227, 195, 108, 0.18);
}
.hero-copy {
  margin: 0 0 24px;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-dim);
  text-wrap: pretty;
  position: relative;
}

.hero-actions { display: flex; align-items: stretch; gap: 14px; margin-bottom: 20px; position: relative; }

.cta {
  border: none;
  cursor: pointer;
  color: #FFF6EC;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(244, 80, 46, 0.32);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { filter: brightness(1.07); box-shadow: 0 10px 28px rgba(244, 80, 46, 0.42); }
.cta:active { transform: scale(0.98); }
.cta:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2) brightness(0.9);
  opacity: 0.72;
}
.cta-block { width: 100%; margin-top: 18px; }
.cta-sm { font-size: 14px; padding: 12px 18px; white-space: nowrap; }

.limited-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--cream);
  border-radius: 10px;
  padding: 10px 14px 12px;
  min-width: 108px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.limited-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6552;
}
.limited-free {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.limited-note {
  font-size: 9.5px;
  font-weight: 700;
  color: #FFF6EC;
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: 3px;
}

.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.hero-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  background: rgba(227, 195, 108, 0.05);
}

/* ---------- sections ---------- */
.section { padding: 26px 18px; }
.section-title {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
}
.section-sub {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--cream-dim);
  text-wrap: pretty;
}

/* ---------- form ---------- */
.form-card {
  background: var(--cream);
  color: #241F12;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.form-title {
  margin: 0 0 6px;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: #1C1708;
}
.form-sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: #6B6552; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #5C563F;
}
.field-hint { display: inline-flex; }
.tag-main {
  background: #1F7A4D;
  color: #F2FBF4;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
}
.input {
  width: 100%;
  font-family: var(--body-font);
  font-size: 14.5px;
  color: #241F12;
  background: #FFFDF6;
  border: 1px solid #DDD3B8;
  border-radius: 8px;
  padding: 11px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: #A39C84; }
.date-input {
  color-scheme: light;
  min-height: 42px;
}
.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.72;
}
.date-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.input:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 166, 72, 0.2);
}
.input-main { border-color: #1F7A4D; }
.input-main:focus { border-color: #1F7A4D; box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.16); }
.input-error { border-color: #C73B3B; }
.input-error:focus { border-color: #C73B3B; box-shadow: 0 0 0 3px rgba(199, 59, 59, 0.15); }
.form-error { margin: 2px 0 10px; font-size: 12.5px; font-weight: 600; color: #B23030; }

.clarity { margin-top: 6px; }
.clarity-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip {
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: #4D4732;
  background: #FFFDF6;
  border: 1px solid #DDD3B8;
  border-radius: 999px;
  padding: 9px 16px;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--gold-deep); }
.chip-on {
  background: #1C1708;
  border-color: #1C1708;
  color: var(--gold);
}
.other-input {
  margin-top: 10px;
}

.trust-line {
  margin: 14px 0 8px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}
.disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: #8A8268;
  text-align: center;
  text-wrap: pretty;
}

.form-success { text-align: center; padding: 36px 24px; }
.form-success .form-sub strong { color: #1C1708; }
.link-btn {
  margin-top: 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: #8A6D1F;
  text-decoration: underline;
}

/* ---------- preview ---------- */
.preview-card {
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 16px;
  background: linear-gradient(110deg, #3A1430 0%, #122B23 70%, #0E211B 100%);
}
.preview-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.preview-title {
  margin: 0;
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}
.preview-sub { margin: 0; font-size: 11.5px; color: var(--cream-faint); }
.preview-wheel { flex-shrink: 0; opacity: 0.9; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 14px 10px;
}
.preview-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #FFFDF6;
  border: 1px solid #EAE2C9;
  border-radius: 10px;
  padding: 12px 12px;
}
.preview-dot {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFDF6;
  font-size: 12px;
  font-weight: 700;
}
.preview-item-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.preview-item-name { font-size: 13.5px; font-weight: 700; color: #241F12; }
.preview-item-q { font-size: 12.5px; font-weight: 500; color: #4D4732; line-height: 1.35; }
.preview-item-d { font-size: 11px; color: #8A8268; line-height: 1.4; }

.takeaways {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 14px 16px;
  background: #FFFDF6;
  border: 1px solid #EAE2C9;
  border-radius: 10px;
  padding: 13px 14px;
}
.takeaways-title { font-size: 13px; font-weight: 700; color: #241F12; }
.takeaways-body { font-size: 12px; line-height: 1.5; color: #6B6552; }

/* ---------- trust ---------- */
.trust-list { display: flex; flex-direction: column; gap: 12px; }
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border-radius: 12px;
  padding: 16px 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.trust-dot {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFDF6;
  font-size: 14px;
  font-weight: 700;
}
.trust-body { display: flex; flex-direction: column; gap: 3px; }
.trust-title { font-size: 15.5px; font-weight: 700; color: #241F12; }
.trust-text { font-size: 12.5px; line-height: 1.55; color: #6B6552; }

/* ---------- footer ---------- */
.footer {
  margin-top: 14px;
  padding: 24px 18px 20px;
  background: rgba(4, 9, 8, 0.8);
  border-top: 1px solid rgba(227, 195, 108, 0.12);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.footer-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.footer-sub { font-size: 11px; color: var(--cream-faint); line-height: 1.4; }
.footer-disclaimer {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--cream-faint);
  text-wrap: pretty;
}

@media (min-width: 900px) {
  body {
    background:
      radial-gradient(70% 80% at 12% 8%, rgba(48, 92, 75, 0.26) 0%, rgba(48, 92, 75, 0) 58%),
      radial-gradient(70% 80% at 86% 12%, rgba(96, 38, 70, 0.2) 0%, rgba(96, 38, 70, 0) 56%),
      #060d0b;
  }

  #root { display: block; }

  .page {
    max-width: none;
    min-height: 100vh;
    overflow: hidden;
    box-shadow: none;
    padding-bottom: 0;
    background:
      radial-gradient(58% 44% at 76% 10%, rgba(54, 95, 79, 0.42) 0%, rgba(54, 95, 79, 0) 65%),
      radial-gradient(50% 42% at 12% 42%, rgba(22, 56, 45, 0.52) 0%, rgba(22, 56, 45, 0) 66%),
      linear-gradient(180deg, #0A1713 0%, #07110E 100%);
  }

  .promo-bar {
    font-size: 14px;
    padding: 10px 24px;
  }

  .header {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 32px;
    background: transparent;
    border-bottom: 1px solid rgba(227, 195, 108, 0.1);
    backdrop-filter: none;
  }

  .brand { gap: 12px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 12px; }
  .header-cta {
    font-size: 14px;
    padding: 11px 18px;
  }

  .intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 44px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 78px 32px 54px;
    align-items: center;
  }

  .hero {
    min-height: 560px;
    padding: 34px 0 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-wheel {
    top: 10px;
    right: -130px;
    opacity: 0.54;
    transform: scale(1.38);
  }

  .hero-moon {
    top: 42px;
    left: 68px;
    transform: scale(1.1);
  }

  .hero-tags {
    margin-bottom: 28px;
    gap: 10px;
  }

  .pill {
    font-size: 12px;
    padding: 7px 14px;
  }

  .hero-title {
    max-width: 680px;
    margin-bottom: 22px;
    gap: 4px;
  }

  .hero-title-top { font-size: 58px; }
  .hero-title-main { font-size: 78px; }

  .hero-copy {
    max-width: 590px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 18px;
    margin-bottom: 22px;
  }

  .cta {
    min-height: 54px;
    font-size: 17px;
    padding: 16px 28px;
  }

  .limited-card {
    min-width: 132px;
    border-radius: 8px;
    padding: 12px 17px 14px;
  }

  .limited-free { font-size: 36px; }
  .limited-note { font-size: 10px; }

  .hero-chip {
    font-size: 12.5px;
    padding: 7px 14px;
  }

  .form-section {
    padding: 0;
    align-self: center;
  }

  .form-card {
    border-radius: 8px;
    padding: 30px;
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.05);
  }

  .form-title { font-size: 32px; }
  .form-sub {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .form-grid {
    gap: 14px;
    margin-bottom: 14px;
  }

  .input {
    min-height: 46px;
    font-size: 15px;
    border-radius: 7px;
  }

  .chip { border-radius: 8px; }
  .cta-block { margin-top: 20px; width: 100%; }

  .section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 32px;
  }

  .preview-section {
    display: grid;
    grid-template-columns: minmax(250px, 0.4fr) minmax(0, 0.6fr);
    gap: 42px;
    align-items: start;
  }

  .section-title {
    font-size: 42px;
    line-height: 1.1;
    max-width: 420px;
  }

  .section-sub {
    max-width: 420px;
    font-size: 16px;
    margin-bottom: 0;
  }

  .preview-card {
    border-radius: 8px;
  }

  .preview-head {
    padding: 24px 26px 22px;
  }

  .preview-title { font-size: 24px; }
  .preview-sub { font-size: 13px; }
  .preview-wheel svg {
    width: 86px;
    height: 86px;
  }

  .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 18px 12px;
  }

  .preview-item {
    min-height: 134px;
    flex-direction: column;
    border-radius: 8px;
    padding: 14px;
  }

  .preview-dot {
    width: 30px;
    height: 30px;
  }

  .preview-item-q { font-size: 13px; }

  .takeaways {
    margin: 6px 18px 18px;
    border-radius: 8px;
    padding: 15px 16px;
  }

  .takeaways-body { font-size: 13px; }

  .trust-section {
    padding-top: 34px;
  }

  .trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
  }

  .trust-card {
    min-height: 150px;
    border-radius: 8px;
    padding: 20px;
  }

  .trust-title { font-size: 17px; }
  .trust-text { font-size: 13px; }

  .footer {
    margin-top: 42px;
    padding: 30px 32px;
  }

  .footer-row,
  .footer-disclaimer {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-row { margin-bottom: 14px; }
  .footer-title { font-size: 28px; }
  .footer-sub { font-size: 13px; }
  .footer-disclaimer { font-size: 11.5px; }
}

@media (min-width: 900px) and (max-width: 1060px) {
  .intro-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 30px;
  }

  .hero-title-top { font-size: 50px; }
  .hero-title-main { font-size: 64px; }
  .hero-copy { font-size: 16.5px; }

  .preview-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title,
  .section-sub {
    max-width: 680px;
  }
}
