/* ============================================
   SATURN RETURN CALCULATOR — SITE STYLESHEET
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night: #0a0a12;
  --deep: #12121e;
  --surface: #1a1a2e;
  --card: #1f1f35;
  --border: #2e2e50;
  --gold: #c9a84c;
  --gold2: #e8c97a;
  --text: #e8e8f0;
  --muted: #7788aa;
  --accent: #7c6fcd;
  --accent-light: #b8b0ff;
  --green: #1d9e75;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Star background */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(1px 1px at 8% 12%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 48% 7%, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 70% 22%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 86% 10%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 33% 68%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 58% 52%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 78% 78%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 13% 86%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 90% 62%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 43% 28%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 65% 88%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 4% 52%, rgba(255,255,255,.25), transparent),
    radial-gradient(1.5px 1.5px at 93% 38%, rgba(255,255,255,.45), transparent);
}

main, header, footer, section { position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 6vw, 60px); }
h1 em { font-style: italic; color: var(--gold2); }
h2 { font-size: clamp(24px, 4vw, 36px); color: var(--gold2); margin-bottom: 16px; }
h3 { font-size: clamp(18px, 3vw, 24px); }

a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; display: block; margin-bottom: 12px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,18,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav {
  max-width: 760px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 400; font-size: 15px;
}
.logo-icon { font-size: 22px; color: var(--gold); }
.nav-links {
  list-style: none; display: flex; gap: 28px;
}
.nav-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 72px 24px 56px;
}
.hero-inner { max-width: 580px; margin: 0 auto; }
.saturn-orbit { margin: 0 auto 28px; animation: float 6s ease-in-out infinite; width: 90px; height: 90px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-sub {
  font-size: 15px; color: var(--muted); line-height: 1.8;
  max-width: 460px; margin: 16px auto 32px;
}
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; color: var(--gold2);
}
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: .05em; }

/* ============================================
   TOOL / FORM
   ============================================ */
.tool-section { padding: 0 0 48px; }

.form-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: var(--gold2); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.field { margin-bottom: 22px; }
label {
  display: block;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 400;
}
.optional-tag { opacity: .5; font-size: 10px; }
.field-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }

input, select {
  width: 100%;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
input:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.4) sepia(1) hue-rotate(10deg); cursor: pointer; }

.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.calc-btn {
  width: 100%;
  background: linear-gradient(135deg, #a07820, #c9a84c, #e8c97a, #c9a84c, #a07820);
  background-size: 300% 300%;
  border: none; border-radius: var(--radius-md);
  color: #1a1200;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 18px; cursor: pointer; margin-top: 8px;
  transition: opacity .2s, transform .15s;
  animation: shimmer 4s ease infinite;
}
.calc-btn:hover { opacity: .9; transform: translateY(-2px); }
.calc-btn:active { transform: translateY(0); }
.calc-btn:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ============================================
   RESULT
   ============================================ */
.result { display: none; animation: fadeUp .6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.result-hero {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; text-align: center;
  margin-bottom: 16px; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.result-hero::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 70%);
  pointer-events: none;
}
.result-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.result-age {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px; font-weight: 300;
  color: var(--gold2); line-height: 1; margin-bottom: 6px;
}
.result-age span { font-size: 24px; color: var(--muted); }
.result-label { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius-sm); padding: 10px 20px;
  font-size: 13px; margin-bottom: 24px;
}
.status-active { background: rgba(201,168,76,.15); border: 0.5px solid var(--gold); color: var(--gold2); }
.status-upcoming { background: rgba(124,111,205,.15); border: 0.5px solid var(--accent); color: var(--accent-light); }
.status-past { background: rgba(136,153,187,.1); border: 0.5px solid var(--border); color: var(--muted); }

.result-dates { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.date-chip {
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 18px; font-size: 13px; text-align: center;
}
.date-chip strong {
  color: var(--gold); display: block; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; font-weight: 400;
}
.saturn-sign-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(124,111,205,.08));
  border: 0.5px solid var(--gold); border-radius: 30px;
  padding: 10px 24px;
  font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold2);
}
.age-bar-wrap { background: var(--surface); border-radius: 4px; height: 4px; margin: 22px 0 6px; overflow: hidden; }
.age-bar { height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 4px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.age-bar-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.info-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-md); padding: 22px;
}
.info-card-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.info-card-value { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; color: var(--text); margin-bottom: 4px; display: block; }
.info-card-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }

.interp-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 16px;
}
.interp-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; color: var(--gold2); margin-bottom: 18px; }
.interp-card p { font-size: 14px; line-height: 1.85; color: #bbc8dd; margin-bottom: 14px; }
.interp-card p:last-child { margin-bottom: 0; }

.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.theme-chip {
  background: rgba(124,111,205,.12); border: 0.5px solid rgba(124,111,205,.4);
  color: var(--accent-light); border-radius: 20px; padding: 5px 14px; font-size: 12px;
}
.phases { display: grid; gap: 12px; margin-top: 8px; }
.phase {
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: var(--radius-md); padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
}
.phase-num {
  width: 30px; height: 30px; border-radius: 50%;
  border: 0.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--gold);
  flex-shrink: 0;
}
.phase h4 { font-size: 13px; font-weight: 500; color: var(--gold2); margin-bottom: 5px; font-family: 'DM Sans', sans-serif; }
.phase p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.famous-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.famous-card {
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
}
.famous-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
.famous-detail { font-size: 12px; color: var(--muted); line-height: 1.5; }

.blog-link-card {
  background: rgba(124,111,205,.06); border: 0.5px solid rgba(124,111,205,.3);
  border-radius: var(--radius-md); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.blog-link-card p { font-size: 14px; color: var(--muted); }
.blog-link-card a { color: var(--accent-light); font-size: 14px; white-space: nowrap; }

/* ============================================
   EXPLAINER SECTION
   ============================================ */
.explainer-section { padding: 0 0 48px; }
.explainer-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.explainer-card p { font-size: 14px; line-height: 1.85; color: #bbc8dd; margin-bottom: 14px; }
.explainer-card p:last-child { margin-bottom: 0; }
.explainer-card strong { color: var(--text); font-weight: 500; }
.explainer-card a { color: var(--gold); }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { padding: 0 0 48px; }
.faq-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 0.5px solid var(--border); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ============================================
   BLOG CTA
   ============================================ */
.blog-cta-section { padding: 0 0 64px; }
.blog-cta-card {
  background: linear-gradient(135deg, rgba(201,168,76,.06), rgba(124,111,205,.06));
  border: 0.5px solid rgba(201,168,76,.3);
  border-radius: var(--radius-lg); padding: 48px; text-align: center;
}
.blog-cta-card p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; max-width: 460px; margin-left: auto; margin-right: auto; }
.blog-cta-btn {
  display: inline-block;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold2); border-radius: var(--radius-md);
  padding: 14px 32px; font-size: 14px; font-weight: 400;
  letter-spacing: .04em; transition: background .2s, color .2s;
}
.blog-cta-btn:hover { background: rgba(201,168,76,.1); opacity: 1; }

/* ============================================
   BLOG INDEX PAGE
   ============================================ */
.blog-hero { text-align: center; padding: 64px 24px 48px; }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { font-size: 15px; color: var(--muted); max-width: 460px; margin: 0 auto; }

.blog-grid-section { padding: 0 0 64px; }
.blog-grid { display: grid; gap: 20px; }
.blog-card {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--gold); }
.blog-card-meta { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card h2 { font-size: 24px; color: var(--gold2); margin-bottom: 12px; }
.blog-card h2 a { color: inherit; }
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.read-more { font-size: 13px; color: var(--gold); }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.blog-tag {
  background: var(--surface); border: 0.5px solid var(--border);
  color: var(--muted); border-radius: 20px; padding: 3px 12px; font-size: 11px;
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.post-hero { padding: 64px 24px 48px; text-align: center; }
.post-hero h1 { max-width: 680px; margin: 0 auto 16px; font-size: clamp(28px, 5vw, 48px); }
.post-meta { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.post-meta span { color: var(--gold); margin: 0 6px; }

.post-content-section { padding: 0 0 64px; }
.post-content {
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
}
.post-content h2 { font-size: 28px; color: var(--gold2); margin: 32px 0 14px; }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { font-size: 20px; color: var(--text); margin: 24px 0 10px; }
.post-content p { font-size: 15px; line-height: 1.9; color: #bbc8dd; margin-bottom: 16px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { font-size: 15px; line-height: 1.85; color: #bbc8dd; margin-bottom: 6px; }
.post-content strong { color: var(--text); font-weight: 500; }
.post-content a { color: var(--gold); }
.post-content blockquote {
  border-left: 2px solid var(--gold); margin: 24px 0;
  padding: 16px 24px;
  background: rgba(201,168,76,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.post-content blockquote p { color: var(--gold2); font-style: italic; margin-bottom: 0; }

.placeholder-notice {
  background: rgba(124,111,205,.08); border: 0.5px dashed rgba(124,111,205,.4);
  border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 24px;
  font-size: 13px; color: var(--accent-light); line-height: 1.6;
}

.post-cta {
  background: linear-gradient(135deg, rgba(201,168,76,.06), rgba(124,111,205,.06));
  border: 0.5px solid rgba(201,168,76,.3);
  border-radius: var(--radius-lg); padding: 36px; text-align: center; margin-top: 40px;
}
.post-cta h3 { font-size: 26px; color: var(--gold2); margin-bottom: 10px; }
.post-cta p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.post-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #a07820, #c9a84c, #e8c97a);
  color: #1a1200; border: none; border-radius: var(--radius-md);
  padding: 14px 32px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  letter-spacing: .04em; transition: opacity .2s, transform .15s;
}
.post-cta-btn:hover { opacity: .9; transform: translateY(-2px); color: #1a1200; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 36px 0;
  position: relative; z-index: 1;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { color: var(--gold); font-size: 15px; font-weight: 400; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 13px; color: var(--muted); }
.footer-nav a:hover { color: var(--text); opacity: 1; }
.footer-note { font-size: 12px; color: var(--muted); max-width: 480px; line-height: 1.6; opacity: .7; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .fields-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .famous-card-grid { grid-template-columns: 1fr; }
  .form-card, .explainer-card, .faq-card, .blog-cta-card, .post-content { padding: 24px; }
  .result-hero { padding: 28px 20px; }
  .result-age { font-size: 60px; }
  .hero { padding: 48px 20px 40px; }
  .nav-links { gap: 16px; }
  .blog-link-card { flex-direction: column; gap: 8px; }
}

@media (max-width: 400px) {
  .hero-stats { gap: 20px; }
  .result-dates { flex-direction: column; align-items: center; }
}
