/* ---------------------------------------------------
   Nightshift Leads - brand variables
--------------------------------------------------- */
:root {
  --nsl-navy: #0b1330;
  --nsl-navy-light: #16244d;
  --nsl-navy-lighter: #1f2f60;
  --nsl-gold: #c9a24b;
  --nsl-gold-light: #e4c880;
  --nsl-steel: #5b7aa6;
  --nsl-cream: #f5f1e6;
  --nsl-ink: #0a0f22;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1140px;
}

/* ---------------------------------------------------
   Reset / base
--------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nsl-navy);
  color: var(--nsl-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--nsl-cream);
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: rgba(245, 241, 230, 0.78); }

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

ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--nsl-gold);
  color: var(--nsl-ink);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--nsl-gold-light), var(--nsl-gold));
  color: var(--nsl-ink);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 75, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--nsl-cream);
  border: 1px solid rgba(245, 241, 230, 0.3);
}
.btn-ghost:hover { border-color: var(--nsl-gold); color: var(--nsl-gold-light); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ---------------------------------------------------
   Header / nav
--------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 19, 48, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: 38px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--nsl-cream);
}
.brand-name em { font-style: normal; color: var(--nsl-gold); }

.nav-collapse {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav {
  display: flex;
  gap: 28px;
}
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(245, 241, 230, 0.75);
  transition: color 0.15s ease;
}
.primary-nav a:hover { color: var(--nsl-gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(245, 241, 230, 0.3);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--nsl-cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 140px;
  background: radial-gradient(ellipse at top, var(--nsl-navy-lighter) 0%, var(--nsl-navy) 65%);
}

.starfield {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(245,241,230,0.7), transparent),
    radial-gradient(1px 1px at 25% 55%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 15%, rgba(228,200,128,0.8), transparent),
    radial-gradient(1px 1px at 55% 40%, rgba(245,241,230,0.6), transparent),
    radial-gradient(1px 1px at 70% 25%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(228,200,128,0.7), transparent),
    radial-gradient(1px 1px at 95% 10%, rgba(245,241,230,0.6), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(245,241,230,0.4), transparent),
    radial-gradient(1px 1px at 60% 75%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1.5px 1.5px at 33% 85%, rgba(228,200,128,0.6), transparent),
    radial-gradient(1px 1px at 5% 45%, rgba(245,241,230,0.6), transparent),
    radial-gradient(1px 1px at 20% 10%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(245,241,230,0.4), transparent),
    radial-gradient(1.5px 1.5px at 45% 90%, rgba(228,200,128,0.7), transparent),
    radial-gradient(1px 1px at 50% 5%, rgba(245,241,230,0.6), transparent),
    radial-gradient(1px 1px at 65% 50%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1px 1px at 75% 85%, rgba(245,241,230,0.4), transparent),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(228,200,128,0.8), transparent),
    radial-gradient(1px 1px at 90% 75%, rgba(245,241,230,0.5), transparent),
    radial-gradient(1px 1px at 98% 40%, rgba(245,241,230,0.6), transparent);
  background-repeat: repeat;
  background-size: 100% 100%;
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nsl-gold-light);
  margin-bottom: 20px;
}

.hero-sub { font-size: 1.1rem; max-width: 640px; }
.hero-sub em { color: var(--nsl-gold-light); font-style: normal; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.horizon {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--nsl-navy) 85%);
}
.horizon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nsl-gold) 50%, transparent);
  opacity: 0.6;
}

/* ---------------------------------------------------
   States marquee
--------------------------------------------------- */
.states-band {
  overflow: hidden;
  background: var(--nsl-ink);
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.states-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 14px;
  animation: scroll-states 140s linear infinite;
}

.states-band:hover .states-track { animation-play-state: paused; }

.state {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: rgba(245, 241, 230, 0.8);
}

.state-dot {
  color: var(--nsl-gold);
  font-size: 0.8rem;
}

@keyframes scroll-states {
  from { transform: translateX(0); }
  to { transform: translateX(-33.3333%); }
}

@media (prefers-reduced-motion: reduce) {
  .states-track { animation: none; }
}

/* ---------------------------------------------------
   Sections (shared)
--------------------------------------------------- */
.section { padding: 96px 0; border-top: 1px solid rgba(201, 162, 75, 0.1); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nsl-steel);
  margin-bottom: 14px;
}

.section h2 { max-width: 780px; margin-bottom: 48px; }

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  background: var(--nsl-navy-light);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: 16px;
  padding: 28px;
}
.problem-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--nsl-gold);
  margin-bottom: 12px;
}
.problem-card p { margin-bottom: 0; font-size: 0.95rem; }

/* How it works */
.steps { display: flex; flex-direction: column; gap: 32px; counter-reset: step; }
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.12);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--nsl-ink);
  background: linear-gradient(135deg, var(--nsl-gold-light), var(--nsl-gold));
}
.step h3 { margin-bottom: 6px; }
.step p { margin-bottom: 0; }

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card {
  background: linear-gradient(160deg, var(--nsl-navy-light), var(--nsl-navy));
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: 16px;
  padding: 26px 28px;
}
.why-card h3 { color: var(--nsl-gold-light); }
.why-card p { margin-bottom: 0; font-size: 0.95rem; }

/* Stats */
.stats { padding-top: 72px; padding-bottom: 72px; background: var(--nsl-navy-light); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--nsl-gold);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(245, 241, 230, 0.65);
}

/* Fit */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fit-col {
  border-radius: 16px;
  padding: 30px 32px;
  border: 1px solid rgba(201, 162, 75, 0.15);
}
.fit-yes { background: linear-gradient(160deg, rgba(201,162,75,0.12), transparent); }
.fit-no { background: var(--nsl-navy-light); }
.fit-col h3 { margin-bottom: 18px; }
.fit-col li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: rgba(245, 241, 230, 0.8);
}
.fit-yes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--nsl-gold);
  font-weight: 700;
}
.fit-no li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: var(--nsl-steel);
  font-weight: 700;
}

/* FAQ / accordion */
.accordion { max-width: 760px; }
.accordion-item {
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--nsl-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
}
.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--nsl-gold);
  transition: transform 0.2s ease;
}
.accordion-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.accordion-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: scaleY(0); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel p { padding: 0 4px 22px; margin: 0; font-size: 0.95rem; }

/* Booking */
.booking-widget {
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--nsl-cream);
  border: 1px solid rgba(201, 162, 75, 0.2);
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 0;
  background: radial-gradient(ellipse at bottom, var(--nsl-navy-lighter) 0%, var(--nsl-navy) 70%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.final-cta h2 { margin-left: auto; margin-right: auto; }
.final-cta .btn { margin-top: 12px; }

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  padding: 48px 0 28px;
  background: var(--nsl-ink);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: rgba(245, 241, 230, 0.7); }
.footer-nav a:hover { color: var(--nsl-gold-light); }
.footer-contact { margin: 0; font-size: 0.9rem; color: rgba(245, 241, 230, 0.6); }
.footer-legal {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 230, 0.08);
  font-size: 0.8rem;
  color: rgba(245, 241, 230, 0.45);
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 760px) {
  .nav-collapse { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nsl-navy);
    padding: 20px 24px 28px;
    gap: 20px;
    border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  }
  .site-header.nav-open .primary-nav {
    flex-direction: column;
    gap: 16px;
  }

  .hero { padding: 80px 0 100px; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .step { flex-direction: row; }
}
