/* =========================================================
   Destiny Revival Jax — New Covenant Intensive
   Palette
   --bg        #08081C  page background (near-black navy)
   --surface   #100F2E  panels
   --surface-2 #17153E  raised panels
   --indigo    #3D2E9E  glow / gradient tone
   --gold      #FFDE59  light accent (use sparingly)
   ========================================================= */

:root {
  --bg: #08081C;
  --surface: #100F2E;
  --surface-2: #17153E;
  --indigo: #3D2E9E;
  --gold: #FFDE59;
  --text: #F2F1FA;
  --muted: #9C9BBE;
  --line: rgba(255, 255, 255, 0.08);

  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1060px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.tick {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 222, 89, 0.5);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}

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

.muted-line { color: var(--muted); font-weight: 500; }

.gold { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-gold {
  background: var(--gold);
  color: #14122B;
  padding: 16px 38px;
  box-shadow: 0 0 0 rgba(255, 222, 89, 0);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 222, 89, 0.28);
}

.btn-gold:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-lg { padding: 18px 48px; font-size: 17px; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 8, 28, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

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

.header-logo { height: 30px; width: auto; }

.header-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  padding-bottom: 2px;
}

.header-cta:hover { border-color: var(--gold); }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 24px 90px;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 112%, rgba(61, 46, 158, 0.55), transparent 65%),
    radial-gradient(ellipse 55% 35% at 50% 118%, rgba(255, 222, 89, 0.10), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(23, 21, 62, 0.9), transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 760px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 9vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-with {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 22px;
}

.hero-with strong { color: var(--text); font-weight: 500; }

.hero-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 580px;
  margin: 40px auto 34px;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 40px;
}

.hero-meta li:not(:last-child)::after {
  content: "·";
  margin-left: 26px;
  color: var(--line);
}

.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.85;
}

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

.section { padding: 110px 0; }

.why { border-top: 1px solid var(--line); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 56px;
}

.why-item {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 12px;
}

.why-item p { color: var(--muted); font-size: 16px; }

/* ---------- Speaker ---------- */

.speaker { background: linear-gradient(180deg, transparent, rgba(16, 15, 46, 0.6), transparent); }

.speaker-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.speaker-photo img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.speaker-body p { color: var(--muted); margin-bottom: 18px; max-width: 520px; }

/* ---------- Schedule ---------- */

.timeline {
  list-style: none;
  margin-top: 56px;
  position: relative;
  max-width: 640px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 187px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 54px 1fr;
  align-items: start;
  padding: 22px 0;
}

.time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  padding-top: 3px;
  text-align: right;
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--muted);
  justify-self: center;
  margin-top: 7px;
  position: relative;
  z-index: 1;
}

.gold-item .timeline-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 222, 89, 0.6);
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.timeline-body p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Registration ---------- */

.register-panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.panel-mark {
  width: 36px;
  height: auto;
  margin: 0 auto 36px;
  display: block;
  opacity: 0.9;
}

.register-lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 38px;
}

.register-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 54px;
  letter-spacing: -0.02em;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 222, 89, 0.25);
}

.price-per {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.register-details {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin-bottom: 44px;
  font-size: 15px;
  color: var(--text);
}

.register-details .gold { margin-right: 8px; }

.register-fine {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- Pursuit ---------- */

.pursuit { border-top: 1px solid var(--line); }

.pursuit-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
}

.pursuit-image img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.pursuit-body p { color: var(--muted); margin-bottom: 16px; max-width: 500px; }

.pursuit-body strong { color: var(--text); }

.pursuit-open { font-size: 15px; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 24px 72px;
  text-align: center;
}

.footer-icon { width: 40px; margin: 0 auto 18px; opacity: 0.9; }

.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* ---------- Modal ---------- */

.modal-overlay[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 18, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open { opacity: 1; }

.modal {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 40px 44px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(14px);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 10px;
}

.modal-sub { color: var(--muted); font-size: 15px; margin-bottom: 30px; }

.qr-placeholder {
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  border: 1.5px dashed rgba(255, 222, 89, 0.5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.modal-fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .modal, .modal-overlay { transition: none; }
}

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

@media (max-width: 880px) {
  .speaker-grid,
  .pursuit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .speaker-photo { max-width: 340px; margin: 0 auto; }
  .pursuit-image { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }

  .why-grid { grid-template-columns: 1fr; gap: 8px; }
  .why-item { padding: 26px 0; }

  .timeline::before { left: 4px; top: 12px; }

  .timeline-item {
    grid-template-columns: 32px 1fr;
    padding: 18px 0;
  }

  .time {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-top: 0;
    margin-bottom: 4px;
    color: var(--gold);
    opacity: 0.8;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: start;
    margin-top: 4px;
  }

  .timeline-body { grid-column: 2; }

  .register-panel { padding: 56px 24px; border-radius: 22px; }

  .hero-meta li:not(:last-child)::after { display: none; }

  .header-logo { height: 24px; }
}

/* ---------- Registration form (modal) ---------- */

.reg-form { text-align: left; }

.field { display: block; margin-bottom: 16px; }

.field span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.field em { text-transform: none; font-style: normal; opacity: 0.7; }

.field input,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.field select option { background: var(--surface-2); color: var(--text); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(255, 222, 89, 0.6);
}

.btn-block { display: block; width: 100%; margin: 24px 0 18px; padding: 16px; }

.form-error {
  color: #FF9C9C;
  font-size: 14px;
  margin: 4px 0 0;
  text-align: center;
}

/* ---------- Zelle payment step ---------- */

.zelle-hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

.zelle-copy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  margin-bottom: 12px;
}

.zelle-copy:hover { border-color: rgba(255, 222, 89, 0.5); }

.copy-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.zelle-name {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- Real Zelle QR + link button ---------- */

.zelle-qr {
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: block;
}

.zelle-link-btn {
  display: block;
  margin: 0 auto 20px;
  max-width: 300px;
  padding: 14px 28px;
  font-size: 15px;
  text-align: center;
}
