/* ═══════════════════════════════════════════════════════════════════════════
   KP Astrology Pro — Astronomical Deep-Space Theme
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --space-black:    #06090F;
  --space-navy:     #0B1224;
  --nebula-dark:    #111B33;
  --nebula-mid:     #1A2744;
  --star-blue:      #4FC3F7;
  --star-cyan:      #00E5FF;
  --nebula-purple:  #B388FF;
  --solar-gold:     #FFD54F;
  --earth-green:    #69F0AE;
  --lucky-green:    #00C853;
  --lucky-green-glow: rgba(0, 200, 83, 0.25);
  --mars-red:       #FF5252;
  --moon-white:     #E8EAF6;
  --glass-bg:       rgba(17, 27, 51, 0.7);
  --glass-border:   rgba(79, 195, 247, 0.15);
  --text-dim:       rgba(232, 234, 246, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Skip Link (Accessibility) ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--solar-gold);
  color: var(--space-black);
  padding: 0.8rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--space-black);
  color: var(--moon-white);
  min-height: 100vh;
  overflow-x: hidden;
}

#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Offer Banner ───────────────────────────────────────────────────────── */

.offer-banner {
  position: relative;
  background: linear-gradient(90deg, #1a0a2e 0%, #2d1b4e 40%, #1a0a2e 100%);
  border-bottom: 1px solid rgba(218,165,32,0.3);
  z-index: 101;
}
.offer-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 40px 8px 16px;
  text-decoration: none;
  color: #fff;
  font-size: 0.82rem;
}
.offer-banner-link:hover { text-decoration: none; }
.offer-banner-link:hover .offer-cta { text-decoration: underline; }
.offer-pulse {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: offerPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes offerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.offer-text { color: #eee; }
.offer-text strong { color: var(--solar-gold); }
.offer-cta {
  color: var(--solar-gold);
  font-weight: 600;
  flex-shrink: 0;
}
.offer-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.offer-close:hover { color: #fff; }
@media (max-width: 480px) {
  .offer-banner-link { font-size: 0.72rem; gap: 6px; padding: 6px 32px 6px 10px; }
  .offer-cta { display: none; }
}
@media print { .offer-banner { display: none !important; } }

/* ── Navigation ──────────────────────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background: rgba(11, 18, 36, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: 'Cinzel', serif;
}

.brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--solar-gold), var(--star-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: var(--moon-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.nav-active { color: var(--star-blue); }

.nav-user {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.nav-logout { color: var(--mars-red); }

/* ── Main Content ────────────────────────────────────────────────────────── */

.main-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ── Glass Card ──────────────────────────────────────────────────────────── */

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.glass-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
  box-shadow: 0 0 30px rgba(79, 195, 247, 0.08);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--star-blue), var(--nebula-purple));
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--star-cyan), var(--star-blue));
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
}

.btn-green {
  background: linear-gradient(135deg, var(--lucky-green), #00E676);
  color: #06090F;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--lucky-green-glow);
}

.btn-green:hover {
  background: linear-gradient(135deg, #00E676, var(--earth-green));
  box-shadow: 0 6px 25px rgba(0, 200, 83, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--nebula-mid);
  color: var(--moon-white);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--nebula-dark);
  border-color: var(--star-blue);
}

.btn-danger {
  background: rgba(255, 82, 82, 0.2);
  color: var(--mars-red);
  border: 1px solid rgba(255, 82, 82, 0.3);
}

.btn-danger:hover {
  background: rgba(255, 82, 82, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--star-blue);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.btn-outline:hover {
  border-color: var(--star-blue);
  background: rgba(79, 195, 247, 0.1);
}

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-glow { box-shadow: 0 0 15px rgba(79, 195, 247, 0.2); }

/* ── Hero Section ────────────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--solar-gold), var(--star-cyan), var(--nebula-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.3rem;
  -webkit-text-fill-color: initial;
  color: var(--solar-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 650px;
  margin: 0 auto 1.2rem;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 1.2rem 1rem;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1rem;
  color: var(--star-blue);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.hero-cta { margin-top: 1rem; }

.hero-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* ── Sections (spacing between all landing page blocks) ─────────────────── */

.section {
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.section + .section {
  border-top: 1px solid rgba(79, 195, 247, 0.06);
}

.testimonials-section { padding: 1.5rem 1rem; }
.newsletter-section { padding: 1.5rem 1rem; }
.cta-section { padding: 1.5rem 1rem; }

/* ── How It Works ────────────────────────────────────────────────────────── */

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  text-align: center;
  color: var(--solar-gold);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.step { text-align: center; padding: 0.8rem 0.8rem; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--star-blue), var(--nebula-purple));
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step h3 { color: var(--star-cyan); margin-bottom: 0.3rem; font-size: 0.95rem; }
.step p { color: var(--text-dim); line-height: 1.5; font-size: 0.85rem; }

/* ── Auth Section ────────────────────────────────────────────────────────── */

.auth-section {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2rem;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.auth-tab {
  flex: 1;
  padding: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s;
}

.auth-tab.active {
  color: var(--star-blue);
  border-bottom: 2px solid var(--star-blue);
}

.auth-form h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.auth-desc { color: var(--text-dim); margin-bottom: 1.5rem; font-size: 0.9rem; }

/* ── Forms ────────────────────────────────────────────────────────────────── */

.form-section {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.form-card {
  width: 100%;
  max-width: 700px;
  padding: 2rem;
}

.form-card h2 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  margin-bottom: 0.3rem;
}

.form-desc {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.profile-warning {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.profile-warning-icon {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.profile-warning strong {
  color: var(--solar-gold);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--star-blue);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(6, 9, 15, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--moon-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--star-blue);
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.15);
}

.form-input::placeholder { color: var(--text-dim); }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.form-help { color: var(--text-dim); font-size: 0.78rem; margin-top: 0.3rem; display: block; }
.form-note { color: var(--text-dim); font-size: 0.82rem; text-align: center; margin-top: 0.8rem; }

.quick-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.quick-cities label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-right: 0.3rem;
}

/* ── Alerts ──────────────────────────────────────────────────────────────── */

.alert {
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: var(--mars-red);
}

.alert-success {
  background: rgba(105, 240, 174, 0.15);
  border: 1px solid rgba(105, 240, 174, 0.3);
  color: var(--earth-green);
}

.hidden { display: none !important; }

/* ── Dashboard ───────────────────────────────────────────────────────────── */

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dash-header h1 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
}

/* ── Plan Bar ──────────────────────────────────────────────────────────── */

.plan-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.plan-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.plan-badge {
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-badge-free {
  background: rgba(255,255,255,0.08);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.15);
}

.plan-badge-pro {
  background: linear-gradient(135deg, var(--star-blue), var(--nebula-purple));
  color: white;
}

.plan-badge-astrologer {
  background: linear-gradient(135deg, var(--solar-gold), #ff8c00);
  color: #0b1224;
}

.plan-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.plan-stat {
  font-size: 0.85rem;
  color: var(--moon-white);
}

.plan-stat strong {
  color: var(--star-cyan);
}

.plan-stat-sep {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.plan-active-label {
  font-size: 0.78rem;
  color: var(--earth-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-limit-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.3);
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.plan-limit-warning strong {
  color: var(--moon-white);
}

.profile-count {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--star-cyan);
  margin-bottom: 1rem;
}

.section-subtitle-text {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 1.2rem;
  text-align: center;
  line-height: 1.7;
}

/* ── Currency Notice ───────────────────────────────────────────────────── */

.currency-notice {
  max-width: 520px;
  margin: -1rem auto 2rem;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.2);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}

.currency-notice strong {
  color: var(--star-cyan);
}

.currency-usd-toggle {
  color: var(--star-blue);
  font-weight: 500;
}

.currency-usd-toggle:hover {
  color: var(--star-cyan);
}

.dash-section { margin-bottom: 2.5rem; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;
}

.profile-card-header h3 {
  font-size: 1.1rem;
  color: var(--solar-gold);
  margin-bottom: 0.2rem;
}

.profile-city { color: var(--text-dim); font-size: 0.82rem; }

.profile-card-body { margin: 1rem 0; }

.profile-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}

.profile-detail .label { color: var(--text-dim); }

.profile-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.empty-state {
  text-align: center;
  padding: 2.5rem;
  color: var(--text-dim);
}

.empty-state p { margin-bottom: 1rem; }

/* ── Predictions List ────────────────────────────────────────────────────── */

.predictions-list { display: flex; flex-direction: column; gap: 0.6rem; }

.prediction-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr 1.2fr 0.3fr;
  align-items: center;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--moon-white);
  font-size: 0.88rem;
  transition: background 0.3s;
}

.prediction-row:hover { background: rgba(79, 195, 247, 0.08); }

.pred-name { color: var(--solar-gold); font-weight: 600; }
.pred-provider { color: var(--nebula-purple); }
.pred-created { color: var(--text-dim); font-size: 0.8rem; }
.pred-arrow { color: var(--star-blue); font-size: 1.2rem; }

/* ── Chart Section ───────────────────────────────────────────────────────── */

.chart-header {
  text-align: center;
  margin-bottom: 2rem;
}

.chart-header h1 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
}

.chart-meta { color: var(--text-dim); margin: 0.5rem 0 1rem; font-size: 0.9rem; }

.chart-block {
  margin-bottom: 1.5rem;
}

.chart-block h2 {
  font-size: 1.15rem;
  color: var(--star-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.chart-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.chart-label { color: var(--text-dim); }

.highlight-row { font-size: 1.05rem; }

.planet-tag {
  color: var(--star-blue);
  font-weight: 600;
}

.sub-lord {
  color: var(--solar-gold) !important;
}

/* ── Planet Table ────────────────────────────────────────────────────────── */

.planet-table-wrap { overflow-x: auto; }

.planet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.planet-table th {
  text-align: left;
  padding: 0.7rem 0.8rem;
  color: var(--star-cyan);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}

.planet-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.planet-name { color: var(--solar-gold); font-weight: 600; }
.house-num { color: var(--nebula-purple); font-weight: 600; }

/* ── Dasha Display ───────────────────────────────────────────────────────── */

.dasha-current { margin-bottom: 1.5rem; }

.dasha-current h2 {
  font-size: 1.1rem;
  color: var(--star-cyan);
  margin-bottom: 1rem;
}

.dasha-lords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.dasha-lord {
  text-align: center;
  padding: 0.8rem 1rem;
  background: rgba(6, 9, 15, 0.5);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.dasha-level {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.dasha-planet {
  display: block;
  font-size: 1.2rem;
  color: var(--solar-gold);
  font-weight: 700;
}

.dasha-dates {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.dasha-separator {
  color: var(--star-blue);
  font-size: 1.3rem;
}

.dasha-maha-block { margin-bottom: 1.5rem; }

.dasha-maha-title {
  font-size: 1rem;
  color: var(--solar-gold);
  margin-bottom: 0.6rem;
}

.dasha-range { color: var(--text-dim); font-weight: 400; font-size: 0.85rem; }

.antar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.antar-chip {
  padding: 0.5rem 0.8rem;
  background: rgba(6, 9, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.8rem;
}

.antar-planet { color: var(--star-blue); font-weight: 600; }
.antar-dates { color: var(--text-dim); display: block; font-size: 0.72rem; margin-top: 0.2rem; }

/* ── Dasha Summary (compact) ─────────────────────────────────────────────── */

.dasha-summary { margin-bottom: 1.5rem; }
.dasha-summary h3 { color: var(--star-cyan); margin-bottom: 0.8rem; font-size: 1rem; }

.dasha-lords.compact {
  gap: 0.5rem;
}

.dasha-chip {
  padding: 0.5rem 1rem;
  background: rgba(6, 9, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--solar-gold);
}

/* ── Prediction Display ──────────────────────────────────────────────────── */

.prediction-section { max-width: 900px; margin: 0 auto; }

.prediction-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.prediction-header h1 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.6rem;
}

.prediction-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.8rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.prediction-body {
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.prediction-text {
  line-height: 1.9;
  font-size: 1rem;
  color: var(--moon-white);
}

.prediction-text h2.pred-heading,
.prediction-text h3.pred-heading {
  color: var(--solar-gold);
  margin: 1.8rem 0 0.8rem;
  font-family: 'Cinzel', serif;
}

.prediction-text h2.pred-heading { font-size: 1.3rem; }
.prediction-text h3.pred-heading { font-size: 1.1rem; color: var(--star-cyan); }

.prediction-text strong { color: var(--star-blue); }

.prediction-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Feature 1: Traffic Light Executive Summary ────────────────────────── */

.traffic-light-panel {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.tl-header { text-align: center; margin-bottom: 1.2rem; }
.tl-title { font-family: 'Cinzel', serif; color: var(--solar-gold); font-size: 1.2rem; margin-bottom: 0.3rem; }
.tl-subtitle { color: var(--text-dim); font-size: 0.85rem; }

.tl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}

.tl-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.tl-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.tl-green  { background: rgba(0, 200, 83, 0.08); border: 1px solid rgba(0, 200, 83, 0.3); }
.tl-yellow { background: rgba(255, 213, 79, 0.08); border: 1px solid rgba(255, 213, 79, 0.3); }
.tl-red    { background: rgba(255, 82, 82, 0.08); border: 1px solid rgba(255, 82, 82, 0.3); }

.tl-signal-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.tl-green .tl-signal-dot  { background: #00C853; color: #00C853; }
.tl-yellow .tl-signal-dot { background: #FFD54F; color: #FFD54F; }
.tl-red .tl-signal-dot    { background: #FF5252; color: #FF5252; }

.tl-card-body { flex: 1; min-width: 0; }
.tl-area { color: var(--moon-white); font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.tl-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4px; }
.tl-green .tl-label  { color: #69F0AE; }
.tl-yellow .tl-label { color: #FFD54F; }
.tl-red .tl-label    { color: #FF8A80; }

.tl-pct {
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
  color: var(--moon-white); opacity: 0.7;
}

/* ── Feature 2: Probability Percentage Badge ───────────────────────────── */

.prob-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 8px;
  margin: 0 3px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--pb-color, #00C853);
  background: var(--pb-bg, rgba(0,200,83,0.12));
  border: 1px solid var(--pb-border, rgba(0,200,83,0.4));
  border-radius: 6px;
  letter-spacing: 0.3px;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
}
.prob-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: calc(var(--pb-pct, 50) * 1%);
  background: var(--pb-bg, rgba(0,200,83,0.12));
  border-radius: 5px;
  z-index: 0;
  opacity: 0.5;
}
.prob-badge { z-index: 1; }

/* ── Feature 3: Progressive Disclosure — Annual Report ─────────────────── */

.annual-exec {
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.annual-exec-title {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

/* Year Ratings Grid */
.year-ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.yr-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.yr-icon { font-size: 1.1rem; flex-shrink: 0; width: 24px; text-align: center; }

.yr-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.yr-bar { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

.yr-info { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.yr-label { font-size: 0.7rem; color: var(--text-dim); }
.yr-val { font-size: 0.85rem; font-weight: 700; }

/* Annual TOC */
.annual-toc { margin-top: 0.5rem; }
.annual-toc-title {
  font-size: 0.85rem;
  color: var(--star-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
}

.annual-toc-months {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.toc-month-chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 8px;
  color: var(--star-blue);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.toc-month-chip:hover {
  background: rgba(79, 195, 247, 0.18);
  border-color: rgba(79, 195, 247, 0.4);
  transform: translateY(-1px);
}

.annual-toc-closing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.toc-closing-link {
  color: var(--solar-gold);
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(218, 165, 32, 0.06);
  border: 1px solid rgba(218, 165, 32, 0.15);
  transition: all 0.15s;
}
.toc-closing-link:hover {
  background: rgba(218, 165, 32, 0.15);
  border-color: rgba(218, 165, 32, 0.35);
}

/* Accordion */
.annual-accordion { margin-bottom: 1.5rem; }

.accordion-section {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.03); }

.accordion-title {
  color: var(--solar-gold);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
}

.accordion-chevron {
  color: var(--text-dim);
  font-size: 0.7rem;
  transition: transform 0.25s;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.3rem;
}

.accordion-section.open .accordion-body {
  max-height: 50000px;
  padding: 0 1.3rem 1.3rem;
}

.accordion-section.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-section.open {
  border-color: rgba(218, 165, 32, 0.3);
}

/* ── Responsive: Mobile adjustments ────────────────────────────────────── */
@media (max-width: 600px) {
  .tl-grid { grid-template-columns: 1fr; }
  .year-ratings-grid { grid-template-columns: 1fr 1fr; }
  .annual-toc-months { gap: 0.4rem; }
  .toc-month-chip { padding: 0.35rem 0.7rem; font-size: 0.78rem; }
  .accordion-trigger { padding: 0.8rem 1rem; }
  .accordion-title { font-size: 0.9rem; }
}


/* ── Feature 5: Hindsight Feedback Loop ────────────────────────────────── */

.feedback-panel { padding: 0; overflow: hidden; }
.feedback-inner { padding: 1.5rem; text-align: center; }

.feedback-title {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feedback-subtitle {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.feedback-stars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.star-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s;
  padding: 0 2px;
  line-height: 1;
}
.star-btn:hover,
.star-btn.active {
  color: var(--solar-gold);
  text-shadow: 0 0 12px rgba(255, 213, 79, 0.5);
  transform: scale(1.15);
}
.star-btn:hover ~ .star-btn { color: rgba(255, 255, 255, 0.15); text-shadow: none; transform: none; }

.feedback-labels {
  display: flex;
  justify-content: space-between;
  max-width: 240px;
  margin: 0.4rem auto 0;
  font-size: 0.7rem;
  color: var(--text-dim);
}

@media print { .feedback-panel { display: none !important; } }

/* ── Feature 6: Audio Oracle Player ────────────────────────────────────── */

.audio-oracle {
  margin-bottom: 1.2rem;
  padding: 0;
  overflow: hidden;
  border-left: 3px solid var(--solar-gold);
}

.audio-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
}

.audio-play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--solar-gold);
  background: rgba(218, 165, 32, 0.1);
  color: var(--solar-gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.audio-play-btn:hover {
  background: rgba(218, 165, 32, 0.25);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
}

.audio-right { flex: 1; min-width: 0; }

.audio-title {
  color: var(--moon-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.audio-meta {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
  font-family: 'Inter', monospace;
}

.audio-progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--solar-gold), #FFD54F);
  border-radius: 3px;
  transition: width 0.1s linear;
}

@media (max-width: 600px) {
  .audio-inner { gap: 0.8rem; padding: 0.8rem 1rem; }
  .audio-play-btn { width: 40px; height: 40px; font-size: 0.9rem; }
  .audio-title { font-size: 0.85rem; }
}

@media print { .audio-oracle { display: none !important; } }

/* ── Error Section ───────────────────────────────────────────────────────── */

.error-section {
  display: flex;
  justify-content: center;
  padding-top: 4rem;
}

.error-card {
  text-align: center;
  max-width: 500px;
  padding: 3rem;
}

.error-card h1 {
  font-family: 'Cinzel', serif;
  color: var(--mars-red);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-card p { color: var(--text-dim); margin-bottom: 1.5rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 3rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-sub { margin-top: 0.3rem; font-size: 0.75rem; }

/* ── Mobile Nav Toggle ───────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--moon-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero Badge ─────────────────────────────────────────────────────────── */

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(179, 136, 255, 0.15));
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--star-cyan);
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* ── Stats Bar ──────────────────────────────────────────────────────────── */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 1rem;
  margin: 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stat-item { text-align: center; }

.stat-num {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--solar-gold), var(--star-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

/* ── Reading Preview Grid ───────────────────────────────────────────────── */

.reading-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.reading-preview-item {
  text-align: center;
  padding: 0.8rem 0.6rem;
}

.rp-icon { font-size: 1.3rem; display: block; margin-bottom: 0.3rem; }

.reading-preview-item h3 {
  font-size: 0.9rem;
  color: var(--star-blue);
  margin-bottom: 0.3rem;
}

.reading-preview-item p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Sample + Testimonials side-by-side ─────────────────────────────────── */

.sample-testimonial-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.testimonial-side {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.testimonial-side .testimonial-card {
  padding: 0.8rem 1rem;
}

.testimonial-side .testimonial-text {
  font-size: 0.8rem;
  line-height: 1.5;
}

.testimonial-side .testimonial-stars {
  font-size: 0.75rem;
  margin-bottom: 0.3rem;
}

.testimonial-side .testimonial-name { font-size: 0.8rem; }
.testimonial-side .testimonial-loc { font-size: 0.7rem; }

/* ── Testimonials (standalone fallback) ────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.5rem;
  overflow: hidden;
}

.testimonial-stars {
  color: var(--solar-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--moon-white);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.testimonial-author { display: flex; flex-direction: column; }
.testimonial-name { color: var(--star-blue); font-weight: 600; font-size: 0.9rem; }
.testimonial-loc { color: var(--text-dim); font-size: 0.8rem; margin-top: 0.2rem; }

/* ── CTA Section ────────────────────────────────────────────────────────── */

.cta-section { text-align: center; }

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(17, 27, 51, 0.7) 100%);
  box-shadow: 0 0 30px var(--lucky-green-glow), inset 0 1px 0 rgba(105, 240, 174, 0.1);
}

.cta-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--solar-gold);
  margin-bottom: 0.8rem;
}

.cta-card p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ── Page Hero (inner pages) ────────────────────────────────────────────── */

.page-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.page-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--solar-gold), var(--star-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── About Page ─────────────────────────────────────────────────────────── */

.about-content { max-width: 900px; margin: 0 auto; }

.about-block {
  margin-bottom: 1.5rem;
  padding: 1.8rem;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about-block h2 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-block p {
  color: var(--moon-white);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.about-feature { text-align: center; }
.about-icon { font-size: 2rem; display: block; margin-bottom: 0.6rem; }

.about-feature h3 {
  color: var(--star-blue);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Comparison Table */
.comparison-table-wrap { overflow-x: auto; margin-top: 1rem; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  text-align: left;
  padding: 0.8rem;
  color: var(--star-cyan);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--moon-white);
}

.comparison-table tr td:last-child {
  color: var(--solar-gold);
  font-weight: 600;
}

/* ── Pricing Page ───────────────────────────────────────────────────────── */

.pricing-section { max-width: 1200px; margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.pricing-featured {
  border-color: var(--lucky-green);
  box-shadow: 0 0 40px var(--lucky-green-glow);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--lucky-green), var(--earth-green));
  color: #06090F;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px var(--lucky-green-glow);
}

.pricing-header h3 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.2rem;
  color: var(--text-dim);
  vertical-align: top;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--moon-white);
  font-family: 'Cinzel', serif;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li.included::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--earth-green);
  font-weight: 700;
}

.pricing-features li.excluded {
  color: var(--text-dim);
  text-decoration: line-through;
  opacity: 0.5;
}

.pricing-features li.excluded::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.addon-callout {
  margin-top: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 2rem;
}

.addon-callout h3 {
  color: var(--solar-gold);
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.addon-callout p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.addon-callout p strong {
  color: var(--star-blue);
}

.mini-faq p {
  color: var(--moon-white);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.mini-faq p strong { color: var(--star-blue); }

/* ── FAQ Page ───────────────────────────────────────────────────────────── */

.faq-section { max-width: 800px; margin: 0 auto; }

.faq-category { margin-bottom: 1.5rem; }
.faq-category:last-child { margin-bottom: 0; }

.faq-cat-title {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 0.8rem;
  padding: 0;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--moon-white);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-toggle {
  font-size: 1.3rem;
  color: var(--star-blue);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ── Contact Page ───────────────────────────────────────────────────────── */

.contact-section { max-width: 1000px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-wrap {
  padding: 2rem;
}

.contact-form-wrap h2 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  padding: 1.5rem;
}

.contact-info-card h3 {
  color: var(--star-cyan);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon { font-size: 1.3rem; flex-shrink: 0; }

.contact-method strong {
  display: block;
  color: var(--moon-white);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-method p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
}

/* ── Legal Pages ────────────────────────────────────────────────────────── */

.legal-content { max-width: 800px; margin: 0 auto; }

.legal-card {
  padding: 2.5rem;
}

.legal-card h2 {
  font-size: 1.1rem;
  color: var(--star-cyan);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p {
  color: var(--moon-white);
  line-height: 1.8;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.legal-card strong { color: var(--star-blue); }

/* ── Footer Grid ────────────────────────────────────────────────────────── */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--solar-gold);
  font-size: 0.95rem;
  font-family: 'Cinzel', serif;
  margin-bottom: 0.8rem;
}

.footer-col p {
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--star-blue); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  text-align: center;
}

/* ── Trust Badges ──────────────────────────────────────────────────────── */

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  background: rgba(255,255,255,0.03);
}

.trust-icon { font-size: 1rem; }

/* ── Coupon Redemption ─────────────────────────────────────────────────── */

.coupon-section {
  margin-top: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 2rem 2.5rem;
}

.coupon-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.coupon-icon {
  font-size: 1.3rem;
}

.coupon-header h3 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.1rem;
  margin: 0;
}

.coupon-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.coupon-input-wrap {
  display: flex;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto;
}

.coupon-input {
  flex: 1;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.coupon-btn {
  white-space: nowrap;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.coupon-msg {
  font-size: 0.85rem;
  margin-top: 0.8rem;
  min-height: 1.2em;
}

/* ── Sample Reading Preview ────────────────────────────────────────────── */

.sample-reading {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.8rem;
}

.sample-reading-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.sample-badge {
  background: linear-gradient(135deg, var(--star-blue), var(--nebula-purple));
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.sample-meta-item {
  color: var(--text-dim);
  font-size: 0.8rem;
  padding-left: 1rem;
  border-left: 1px solid var(--glass-border);
}

.sample-meta-item strong {
  color: var(--moon-white);
}

.sample-reading-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sample-section {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sample-section:last-child {
  border-bottom: none;
}

.sample-section-num {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nebula-purple);
  opacity: 0.6;
  min-width: 28px;
  padding-top: 2px;
}

.sample-section-content h3 {
  font-family: 'Cinzel', serif;
  color: var(--star-cyan);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.sample-section-content p {
  color: var(--moon-white);
  font-size: 0.88rem;
  line-height: 1.75;
  opacity: 0.85;
}

.sample-blur {
  position: relative;
  margin-top: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.sample-blur-overlay p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.sample-blur-overlay p strong {
  color: var(--moon-white);
}

/* ── Newsletter ────────────────────────────────────────────────────────── */

.newsletter-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.8rem;
  text-align: center;
}

.newsletter-content h2 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.newsletter-content p {
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
}

.newsletter-btn {
  white-space: nowrap;
}

.newsletter-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.8rem;
}

/* ── Blog Grid ─────────────────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(79, 195, 247, 0.1);
}

.blog-tag {
  display: inline-block;
  background: rgba(79, 195, 247, 0.12);
  color: var(--star-blue);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.blog-card h2 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-card h3 {
  color: var(--star-cyan);
  font-size: 0.95rem;
  margin: 1rem 0 0.5rem;
}

.blog-card p {
  color: var(--moon-white);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.blog-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--glass-border);
}

.blog-read-time {
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ── Social Share Buttons ──────────────────────────────────────────────── */

.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.share-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: inherit;
}

.share-btn:hover { opacity: 0.85; }

.share-twitter { background: #1da1f2; }
.share-facebook { background: #4267B2; }
.share-whatsapp { background: #25D366; color: white; }
.share-copy {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--moon-white);
}

/* ── Cookie Consent Banner ─────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(11, 18, 36, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
}

.cookie-inner {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ── Back to Top ───────────────────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.15);
  border: 1px solid rgba(79, 195, 247, 0.3);
  color: var(--star-blue);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: background 0.3s, transform 0.3s;
}

.back-to-top:hover {
  background: rgba(79, 195, 247, 0.3);
  transform: translateY(-3px);
}

/* ── Email Capture / Lead Popup ────────────────────────────────────────── */


/* ── Activity Ticker ───────────────────────────────────────────────────── */

.activity-ticker {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  background: rgba(11, 18, 36, 0.95);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  max-width: 340px;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--earth-green);
  flex-shrink: 0;
  animation: tickerPulse 1.5s infinite;
}

.ticker-text {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.4;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes tickerSlideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tickerSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}

/* ── Enhanced Error Page ───────────────────────────────────────────────── */

.error-section {
  text-align: center;
  padding: 3rem 0;
}

.error-card {
  max-width: 550px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.error-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.error-card h1 {
  font-family: 'Cinzel', serif;
  color: var(--solar-gold);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.error-message {
  color: var(--mars-red);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.error-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.error-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-suggestions {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
}

.error-suggestions p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.error-suggestions a {
  display: inline-block;
  color: var(--star-blue);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  margin: 0.2rem;
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: 4px;
  transition: background 0.3s;
}

.error-suggestions a:hover {
  background: rgba(79,195,247,0.1);
}

/* ── Print Styles ────────────────────────────────────────────────────────── */

@media print {
  #starfield, .navbar, .footer, .prediction-actions { display: none !important; }
  body { background: white; color: #222; }
  .glass-card { background: white; border: 1px solid #ddd; }
  .prediction-text { color: #222; }
  .prediction-text strong { color: #1a237e; }
  .prediction-header h1 { color: #1a237e; -webkit-text-fill-color: initial; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-featured { transform: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .pricing-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 18, 36, 0.97);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    gap: 0.3rem;
  }

  .nav-links.open { display: flex; }

  .nav-links .nav-link {
    padding: 0.6rem 0;
    font-size: 0.95rem;
  }

  .nav-user { padding: 0.6rem 0; }

  .navbar { padding: 0.6rem 1rem; }
  .hero { padding: 2rem 0.5rem 1.5rem; }
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.4rem 1rem; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.2rem; }
  .main-content { padding: 1rem 0.5rem; }
  .section { padding: 2rem 0.5rem; }
  .section-title { font-size: 1.5rem; margin-bottom: 1rem; }
  .section-subtitle-text { font-size: 1rem; margin-bottom: 1.2rem; }
  .prediction-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .dasha-lords { flex-direction: column; }
  .prediction-body { padding: 1.5rem; }
  .stats-bar { gap: 1.5rem; flex-wrap: wrap; padding: 1.2rem 0.5rem; }
  .stat-num { font-size: 1.5rem; }
  .pricing-featured { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .pricing-card { padding: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-title { font-size: 1.7rem; }
  .newsletter-input-wrap { flex-direction: column; }
  .newsletter-card { padding: 1.5rem 1.2rem; }
  .sample-reading { padding: 1.2rem; }
  .sample-reading-header { flex-direction: column; align-items: flex-start; }
  .sample-meta-item { border-left: none; padding-left: 0; }
  .sample-section-num { display: none; }
  .trust-badges { gap: 0.8rem; }
  .cookie-inner { text-align: center; justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-block { padding: 1.2rem; margin-bottom: 1rem; }
  .about-block h2 { font-size: 1.1rem; }
  .faq-question { padding: 1rem 1.2rem; font-size: 0.88rem; }
  .faq-item.open .faq-answer { padding: 0 1.2rem 1.2rem; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .sample-testimonial-row { grid-template-columns: 1fr; }
  .testimonial-card { padding: 1.5rem; }
  .cta-card { padding: 1.5rem 1.2rem; }
  .activity-ticker { left: 0.8rem; right: 0.8rem; max-width: none; bottom: 1rem; }
  .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.2rem; }
  .exit-popup-card { padding: 2rem 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .reading-preview-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .plan-stats-grid { grid-template-columns: 1fr; }
  .greeting-text { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-features { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.7rem; }
  .section { padding: 1.8rem 0.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card-actions { flex-direction: column; }
  .prediction-meta { flex-direction: column; gap: 0.5rem; }
  .stats-bar { gap: 1rem; padding: 1rem 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .reading-preview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.2rem 1rem; }
  .sample-reading { padding: 1.2rem; }
  .sample-blur { padding: 1.5rem 1rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta-wrap { flex-direction: column; gap: 0.8rem; }
  .hero-cta-wrap .btn { width: 100%; text-align: center; }
  .prediction-row { flex-direction: column; gap: 8px; }
  .pred-badge { align-self: flex-start; }
  .greeting-text { font-size: 1rem; }
}

/* ── Ultra-small mobile (375px and below) ───────────────────────────────── */

@media (max-width: 400px) {
  .navbar { padding: 0.6rem 0.75rem; }
  .brand-text { font-size: 0.9rem; }
  .section { padding: 1.5rem 0.5rem; }
  .hero-title { font-size: 1.5rem; }
  .hero-badge { font-size: 0.62rem; padding: 4px 10px; }
  .stats-bar { gap: 0.6rem; padding: 0.8rem 0.3rem; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.6rem; }
  .glass-card { padding: 1rem 0.8rem; }
  .form-card { padding: 1.2rem 0.8rem; }
  .pricing-card { padding: 1.2rem 1rem; }
  .pricing-grid { gap: 1rem; }
  .contact-grid { gap: 1rem; }

  /* Tables: compact for small screens */
  .planet-table { font-size: 0.72rem; }
  .planet-table th { padding: 0.4rem 0.35rem; font-size: 0.65rem; letter-spacing: 0; }
  .planet-table td { padding: 0.35rem 0.35rem; }
}
