@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=DM+Sans:wght@300;400;500;700&display=swap");

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  --accent-gold: #d4af37;
  --accent-gold-light: #f0d060;
  --accent-gold-dark: #b8960c;
  --gradient-hero: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --max-width: 1180px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.zu-funnel-body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
}

a:hover {
  color: var(--accent-gold-light);
}

.zu-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.zu-content {
  min-height: 100vh;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: var(--accent-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nav a:hover {
  color: #fff;
}

.nav-primary {
  background: #ffe600;
  color: #000;
  font-weight: 800;
  border-radius: 10px;
  padding: 9px 14px;
}

.nav-primary:hover {
  color: #000;
  background: #e6cf00;
}

/* Force readable header colors on dark funnel pages (override Astra link colors). */
body.zu-funnel-body .header,
body.zu-funnel-body .header * {
  color: #e5e7eb;
}

body.zu-funnel-body .header .logo {
  color: #ffffff !important;
}

body.zu-funnel-body .header .logo span {
  color: var(--accent-gold) !important;
}

body.zu-funnel-body .header .nav a {
  color: #cbd5e1 !important;
}

body.zu-funnel-body .header .nav a:hover {
  color: #ffffff !important;
}

body.zu-funnel-body .header .nav a.nav-primary {
  color: #111111 !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
}

.nav-icon {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffe600;
  color: #000;
}

.btn-primary:hover {
  color: #000;
  background: #e6cf00;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .25);
  color: var(--text-secondary);
}

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

.footer {
  background: #0b0b10;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 0;
  margin-top: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-logo span {
  color: var(--accent-gold);
}

.footer-tagline,
.footer-copy {
  color: var(--text-muted);
  font-size: .85rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: .9rem;
}

.text-center {
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-secondary);
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    background: rgba(10, 10, 15, .98);
    display: none;
    flex-direction: column;
    padding: 20px;
  }

  .nav.is-active {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
