/* AstroKaal — premium gold-on-black brand site */

:root {
  --gold:        #D4AF37;
  --gold-bright: #FFD700;
  --gold-pale:   #F5E6B8;
  --gold-deep:   #B8960C;
  --black:       #000;
  --black-soft:  #0a0a0a;
  --black-card:  #111;
  --text:        #f5f5f5;
  --text-muted:  #a8a8a8;
  --text-dim:    #6e6e6e;
  --border:      rgba(212, 175, 55, 0.20);
  --border-soft: rgba(255, 255, 255, 0.06);

  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-text:    "SF Pro Text",    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-serif:   Georgia, "Times New Roman", serif;

  --max-content: 1180px;
  --pad-x: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Cosmic atmosphere ===== */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% -10%, rgba(212, 175, 55, 0.20), transparent 55%),
    radial-gradient(circle at 80% 110%, rgba(255, 215, 0, 0.10), transparent 60%),
    #000;
}
.cosmic-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 32% 70%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(2px 2px at 65% 35%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 48% 92%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 8% 55%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,0.5), transparent 60%);
  background-size: 100% 100%;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--pad-x);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-brand img {
  width: 38px; height: 38px;
  border-radius: 8px;
}
.nav-brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold-bright);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex; gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a {
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--gold-pale); }
.nav-cta {
  background: var(--gold);
  color: #000;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: transform 160ms ease, background 160ms ease;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(60px, 11vw, 130px) var(--pad-x) clamp(60px, 8vw, 120px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-logo {
  width: clamp(220px, 38vw, 420px);
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.3));
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 auto;
  max-width: 14ch;
  line-height: 1.05;
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--text-muted);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(255, 215, 0, 0.45);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.hero-meta {
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ===== Section frame ===== */
section.band {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  position: relative;
}
.container {
  max-width: var(--max-content);
  margin: 0 auto;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.headline {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 18ch;
}
.headline-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 60ch;
}
.lede-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Feature grid ===== */
.grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 28px);
  margin-top: clamp(60px, 8vw, 96px);
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(20,20,20,0.85), rgba(8,8,8,0.85));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px 28px;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 280ms ease, box-shadow 280ms ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 280ms ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 22px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--gold-pale);
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ===== Two-up split section ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-art {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.split-art img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 0 80px rgba(212, 175, 55, 0.25));
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > :first-child { order: 0; }
}

/* ===== Pricing card ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.price-tile {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
}
.price-tile-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.price-tile-value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.price-tile-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ===== Footer ===== */
footer {
  padding: 80px var(--pad-x) 56px;
  border-top: 1px solid var(--border-soft);
  background: #000;
}
.footer-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img {
  width: 80px;
  margin-bottom: 14px;
}
.footer-brand .name {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold-bright);
  font-weight: 700;
}
.footer-brand p {
  color: var(--text-muted);
  margin: 8px 0 0;
  font-size: 14px;
  max-width: 32ch;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a {
  color: var(--text-muted);
  transition: color 140ms ease;
}
.footer-col a:hover { color: var(--gold-pale); }
.footer-bottom {
  max-width: var(--max-content);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ===== Long-form content (privacy, terms, etc.) ===== */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--pad-x);
}
.doc h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 12px;
}
.doc .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
  letter-spacing: 1px;
}
.doc h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-pale);
  margin: 56px 0 14px;
  letter-spacing: -0.005em;
}
.doc h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin: 28px 0 8px;
}
.doc p, .doc li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--gold-bright); border-bottom: 1px dotted var(--gold); }
.doc a:hover { color: #fff; }
.doc code {
  background: var(--black-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--gold-pale);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.doc th, .doc td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
}
.doc th { color: var(--gold); font-weight: 600; }
.callout {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 22px 0;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  padding-left: 48px;
  position: relative;
  margin-bottom: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Misc ===== */
.kbd {
  font-family: Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--gold-pale);
}
::selection { background: rgba(212, 175, 55, 0.55); color: #000; }
