/* ===========================================================
   ASTROLOGY SERVICES PAGE — astro.css
   Crystal Aid
   =========================================================== */

/* ── Hero ─────────────────────────────────────────────────── */
.astro-hero {
  position: relative;
  background: #0d0a18;
  padding: var(--space-9) 0 var(--space-8);
  overflow: hidden;
  text-align: center;
}
.astro-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(184,134,75,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(90,50,160,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(30,15,60,0.8) 0%, transparent 60%);
  pointer-events: none;
}
/* Star field dots */
.astro-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 25%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 45%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 30%, rgba(255,255,255,0.3) 0%, transparent 100%);
}

.eyebrow-pill {
  display: inline-block;
  background: rgba(184,134,75,0.15);
  border: 1px solid rgba(184,134,75,0.4);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: var(--space-5);
}
.astro-hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.astro-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}
.astro-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-6);
}
.ahs { text-align: center; }
.ahs span { display: block; font-size: 20px; font-weight: 700; color: var(--gold); }
.ahs small { font-size: 11px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); letter-spacing: 0.04em; }
.ahs-div { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
@media (max-width: 560px) {
  .astro-hero-stats { flex-direction: column; gap: var(--space-3); }
  .ahs-div { width: 48px; height: 1px; }
}

/* ── Section ──────────────────────────────────────────────── */
.astro-section { padding: var(--space-8) 0; }
.astro-section-dark {
  background: #0d0a18;
  padding: var(--space-8) 0;
}

.astro-section-head {
  text-align: center;
  margin-bottom: var(--space-7);
}
.astro-section-head.light h2,
.astro-section-dark .astro-section-head h2 { color: #fff; }
.astro-section-head.light p,
.astro-section-dark .astro-section-head p  { color: rgba(255,255,255,0.6); }
.astro-section-head h2 { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: var(--space-2); }
.astro-section-head p  { font-size: 15px; color: var(--ink-soft); }

.astro-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: var(--space-3);
}
.astro-badge.free { background: #e8f7ed; color: #3a7a4a; border: 1px solid #b8dfc4; }
.astro-badge.paid { background: rgba(184,134,75,0.15); color: var(--gold); border: 1px solid rgba(184,134,75,0.4); }

/* ── Cards Grid ───────────────────────────────────────────── */
.astro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .astro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .astro-grid { grid-template-columns: 1fr; } }

.astro-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}
.astro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lifted); }

.free-card {
  background: var(--cream);
  border: 1px solid var(--line);
}
.paid-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,134,75,0.3);
}

.astro-card-icon {
  font-size: 40px;
  line-height: 1;
  padding: var(--space-5) var(--space-5) var(--space-3);
}
.astro-card-body {
  padding: 0 var(--space-5) var(--space-4);
  flex: 1;
}
.astro-card-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: #e8f7ed;
  color: #3a7a4a;
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: var(--space-2);
}
.astro-price-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(184,134,75,0.1);
  border: 1px solid rgba(184,134,75,0.3);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: var(--space-2);
}
.astro-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--ink);
}
.paid-card h3 { color: #fff; }
.astro-card-hi {
  font-size: 12.5px;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  margin-bottom: var(--space-2);
}
.paid-card .astro-card-hi { color: var(--gold); }
.astro-card-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.paid-card .astro-card-desc { color: rgba(255,255,255,0.55); }

.astro-card-btn {
  width: 100%;
  border: none;
  padding: 13px var(--space-5);
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s var(--ease-soft);
  letter-spacing: 0.01em;
}
.free-btn {
  background: var(--parchment);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.free-btn:hover { background: var(--gold-pale); color: var(--gold-deep); }
.paid-btn {
  background: linear-gradient(135deg, #B8864B, #96673A);
  color: var(--cream);
}
.paid-btn:hover { opacity: 0.88; }

/* ── How It Works ─────────────────────────────────────────── */
.astro-how {
  background: var(--parchment);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.astro-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.astro-step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  max-width: 240px;
  text-align: center;
}
.astro-step-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.astro-step h4 { font-size: 16px; margin-bottom: var(--space-2); }
.astro-step p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.astro-step-arrow {
  font-size: 24px;
  color: var(--line);
  font-weight: 300;
}
@media (max-width: 700px) { .astro-step-arrow { display: none; } }

/* ── Modal ────────────────────────────────────────────────── */
.astro-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,10,24,0.75);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  backdrop-filter: blur(4px);
}
.astro-modal {
  background: var(--cream);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}
.astro-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.astro-modal-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-bottom: 1px solid var(--line);
}
.modal-icon { font-size: 36px; }
.astro-modal-head h3 { font-size: 20px; margin-bottom: 4px; }
.astro-modal-head p  { font-size: 13px; color: var(--ink-soft); margin: 0; }

.astro-modal-form { padding: var(--space-5); }

.modal-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: var(--space-3);
}
.mf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 480px) { .mf-row { grid-template-columns: 1fr; } }
.mf-field {
  margin-bottom: var(--space-4);
}
.mf-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.mf-field label span { color: var(--error); }
.mf-field input,
.mf-field textarea {
  width: 100%;
  background: var(--parchment);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: var(--font-body);
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.mf-field input:focus,
.mf-field textarea:focus { border-color: var(--gold); outline: none; }
.mf-field textarea { resize: vertical; min-height: 80px; }

.astro-errors {
  margin: 0 var(--space-5) var(--space-3);
  background: #fdf0f0;
  border: 1px solid #e8c0c0;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: 13px;
  color: var(--error);
}
.astro-errors p { margin: 2px 0; }

.astro-paid-notice {
  background: rgba(184,134,75,0.08);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  font-size: 13.5px;
  color: var(--gold-deep);
  font-weight: 500;
}
.astro-paid-notice small { display: block; color: var(--ink-soft); font-weight: 400; margin-top: 4px; font-size: 12.5px; }

.astro-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a1225, #2d1b4e);
  color: var(--bone-on-dark);
  border: none;
  padding: 14px var(--space-5);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.2s;
}
.astro-submit-btn:hover { opacity: 0.85; }
.astro-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Result inside modal */
#modal-result {
  padding: var(--space-5);
  border-top: 1px solid var(--line);
}
.modal-success-paid {
  text-align: center;
  padding: var(--space-6) var(--space-5);
}
.modal-success-paid .big-check { font-size: 48px; margin-bottom: var(--space-3); }
.modal-success-paid h3 { font-size: 20px; margin-bottom: var(--space-3); }
.modal-success-paid p { color: var(--ink-soft); font-size: 14px; margin-bottom: var(--space-5); }
