/* Astro Gaadi — shared site styles */

:root {
  --bg: #0b0e1a;
  --bg-alt: #12162a;
  --surface: #171c33;
  --surface-2: #1e2440;
  --border: #2a3157;
  --text: #e9ecf5;
  --text-dim: #a9b0cc;
  --gold: #f3b53a;
  --gold-soft: #f3b53a22;
  --saffron: #ff7a45;
  --success: #3ac97a;
  --max-width: 1120px;
  --radius: 14px;
  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% -10%, #1c234a 0%, var(--bg) 55%) fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--text-dim); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #14101a;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at center, #f3b53a1f 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid #f3b53a44;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--text);
  margin-bottom: 0.5em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #14101a;
  box-shadow: 0 10px 30px -12px #f3b53a88;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  height: 380px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-visual .orbit {
  position: absolute;
  border: 1px dashed #ffffff22;
  border-radius: 50%;
}

.orbit-1 { width: 220px; height: 220px; }
.orbit-2 { width: 320px; height: 320px; }

.hero-visual .car-emoji {
  font-size: 5.5rem;
  filter: drop-shadow(0 20px 30px #f3b53a55);
  z-index: 2;
}

.hero-visual .zodiac {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.85;
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head .eyebrow { margin-bottom: 14px; }

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #f3b53a55;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--text);
}

.card p { margin: 0; font-size: 0.95rem; }

.how-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.how-steps .step {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.how-steps .step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: #14101a;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial p.quote {
  font-size: 1.02rem;
  color: var(--text);
  font-style: italic;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #14101a;
}

.who strong { font-size: 0.92rem; color: var(--text); }
.who span { font-size: 0.8rem; color: var(--text-dim); }

.cta-banner {
  background: linear-gradient(135deg, #1c1430, #2a1a3a);
  border: 1px solid #f3b53a33;
  border-radius: 24px;
  padding: 56px;
  text-align: center;
}

.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.disclaimer-note {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover { color: var(--gold); }

.footer-brand p { font-size: 0.9rem; max-width: 32ch; }

.footer-contact li {
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
}

.footer-bottom a:hover { color: var(--gold); }

/* ---------- Legal / policy pages ---------- */

.legal-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border);
}

.legal-hero .eyebrow { margin-bottom: 16px; }

.legal-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

.legal-hero .updated {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0 96px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.legal-toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  font-size: 0.86rem;
  color: var(--text-dim);
}

.legal-toc a:hover { color: var(--gold); }

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 2.2em;
  padding-top: 0.4em;
  border-top: 1px solid var(--border);
}

.legal-content section:first-of-type h2 { margin-top: 0; border-top: none; padding-top: 0; }

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 1.6em;
}

.legal-content p, .legal-content li { color: var(--text-dim); font-size: 0.96rem; }

.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.legal-content strong { color: var(--text); }

.contact-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
}

.contact-block li { list-style: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 280px; order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 22px; }
  .legal-content { padding: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
