/* LaneBooker marketing site — single stylesheet.
   Brand: violet primary #7C3AED, deep navy text #0f172a, muted #64748b.
   Fonts: Plus Jakarta Sans (headings), Inter (body). */

:root {
  --violet: #7C3AED;
  --violet-600: #6D28D9;
  --violet-50: #F5F3FF;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(124, 58, 237, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

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

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-600); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a.muted { color: var(--muted); }
.nav-links a:hover { color: var(--violet); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
}
.btn-primary:hover { background: var(--violet-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--violet); color: var(--violet); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -200px 40% -200px -200px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.eyebrow {
  display: inline-block;
  background: var(--violet-50);
  color: var(--violet-600);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-inline-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin-top: 16px;
}
.hero-inline-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}
.hero-inline-form input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.hero-fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Hero mockup */
.hero-mockup {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.mockup-header {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.mockup-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e2e8f0;
}
.mockup-dot:nth-child(1) { background: #fb7185; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }
.mockup-title {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.mockup-grid {
  display: grid;
  grid-template-columns: 60px repeat(6, 1fr);
  gap: 4px;
  font-size: 0.7rem;
}
.mockup-time { color: var(--muted); text-align: right; padding: 6px 8px 6px 0; font-weight: 500; }
.mockup-slot {
  background: #f1f5f9;
  border-radius: 6px;
  height: 28px;
}
.mockup-slot.booked {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
}
.mockup-slot.theme {
  background: linear-gradient(135deg, #ec4899 0%, #f59e0b 100%);
  position: relative;
}
.mockup-header-row {
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  padding: 6px 0;
  font-size: 0.72rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}
.section-dark {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head p { font-size: 1.1rem; }

/* ---------- Social proof ---------- */
.social-proof {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.trust-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.trust-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  opacity: 0.75;
}
.quote {
  max-width: 640px;
  font-size: 1.2rem;
  color: var(--ink);
  font-style: italic;
  line-height: 1.5;
}
.quote-attribution {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #ddd6fe;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--violet-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin: 0 auto 40px;
  gap: 4px;
}
.pricing-toggle button {
  padding: 8px 20px;
  border: none;
  background: transparent;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.pricing-toggle button.active {
  background: var(--violet);
  color: #fff;
}
.save-pill {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  font-weight: 700;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.popular {
  border-color: var(--violet);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pricing-capacity {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.pricing-price .amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.pricing-price .period { color: var(--muted); font-size: 0.95rem; }
.pricing-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; min-height: 1em; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 32px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 400;
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease;
  color: var(--muted);
}
.faq-item.open .faq-a {
  padding: 0 24px 20px;
  max-height: 400px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; margin-bottom: 32px; }
.final-cta-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.final-cta-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}
.final-cta-form input:focus { outline: 2px solid rgba(255,255,255,0.6); }
.final-cta-form button {
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.final-cta-form button:hover { background: #020617; }
.success-msg { color: #fff; font-weight: 600; margin-top: 14px; min-height: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--violet); }
.footer-copy { color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
}
.legal h1 { margin-bottom: 8px; }
.legal p { color: var(--ink); }
.legal-meta { color: var(--muted); margin-bottom: 32px; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- Canadian pill ---------- */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  vertical-align: middle;
}
.ca-flag { font-size: 1em; line-height: 1; }
.footer-copy .ca-flag { margin: 0 2px; }

/* ---------- Comparison table ---------- */
.compare-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 720px;
}
.compare-table thead th {
  background: #f1f5f9;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  padding: 18px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table thead th.compare-feat {
  text-align: left;
}
.compare-table thead th.compare-us {
  background: var(--violet);
  color: #fff;
  font-size: 1rem;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 16px;
  background: #fafbfc;
  border-bottom: 1px solid var(--border);
  width: 32%;
}
.compare-table tbody td {
  text-align: center;
  padding: 14px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.compare-table tbody td.compare-us {
  background: var(--violet-50);
  color: var(--ink);
  font-weight: 600;
  border-left: 2px solid var(--violet);
  border-right: 2px solid var(--violet);
}
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}
.compare-table tbody tr:last-child td.compare-us {
  border-bottom: 2px solid var(--violet);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.compare-table .yes {
  color: var(--success);
  font-weight: 800;
  font-size: 1.1rem;
}
.compare-table .no {
  color: #dc2626;
  font-weight: 700;
}
.compare-sources {
  max-width: 760px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .compare-table { font-size: 0.85rem; min-width: 560px; }
  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td { padding: 10px 8px; }
}

/* ============ STAFF PORTAL SHOWCASE ============ */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 960px) { .portal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portal-grid { grid-template-columns: 1fr; } }

.portal-shot {
  margin: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
}
.browser-chrome {
  background: #f3f4f6;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.browser-chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d1d5db;
}
.browser-chrome span:nth-child(1) { background: #f87171; }
.browser-chrome span:nth-child(2) { background: #fbbf24; }
.browser-chrome span:nth-child(3) { background: #34d399; }
.browser-chrome em {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 12px; color: #6b7280;
}
.shot-body {
  padding: 16px;
  min-height: 180px;
  background: #fafafa;
  flex: 1;
}
.portal-shot figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #6b7280;
  border-top: 1px solid #f3f4f6;
  background: #fff;
}

/* Schedule grid */
.shot-schedule { display: flex; flex-direction: column; gap: 4px; }
.shot-row { display: grid; grid-template-columns: 60px repeat(7, 1fr); gap: 3px; align-items: center; }
.lane-label { font-size: 11px; color: #6b7280; font-weight: 600; }
.blk { height: 18px; border-radius: 3px; background: #e5e7eb; display: block; }
.blk.booked { background: #7C3AED; }

/* Reports */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { background: #fff; border-radius: 6px; padding: 8px; border: 1px solid #eef0f2; }
.stat-label { font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-val { font-size: 18px; font-weight: 700; color: #111827; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 4px; }
.bars i { flex: 1; background: linear-gradient(180deg, #7C3AED, #A78BFA); border-radius: 3px 3px 0 0; display: block; }

/* List */
.shot-list { display: flex; flex-direction: column; gap: 8px; }
.list-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 8px; align-items: center; padding: 6px 8px;
  background: #fff; border-radius: 6px; border: 1px solid #eef0f2;
}
.avatar { width: 28px; height: 28px; border-radius: 50%; background: #7C3AED; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.list-main { font-size: 13px; color: #111827; font-weight: 500; }
.list-meta { font-size: 11px; color: #6b7280; }

/* Pricing */
.shot-pricing { display: flex; flex-direction: column; gap: 6px; }
.rule-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px; background: #fff; border-radius: 6px; border: 1px solid #eef0f2; font-size: 12px; }
.rule-tag { background: #ede9fe; color: #7C3AED; padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 11px; }
.rule-tag.alt { background: #fce7f3; color: #db2777; }
.rule-price { font-weight: 700; color: #111827; }

/* Event */
.shot-event { display: flex; flex-direction: column; gap: 10px; }
.event-head { font-size: 20px; font-weight: 700; color: #111827; }
.event-meta { font-size: 13px; color: #6b7280; }
.event-color { width: 100%; height: 8px; border-radius: 4px; }
.event-rules { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #374151; background: #fff; padding: 10px; border-radius: 6px; border: 1px solid #eef0f2; }

/* Detail modal */
.shot-detail { display: flex; flex-direction: column; gap: 8px; background: #fff; padding: 14px; border-radius: 8px; border: 1px solid #eef0f2; }
.detail-title { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.detail-row { display: flex; justify-content: space-between; font-size: 13px; color: #374151; padding: 4px 0; border-bottom: 1px dashed #f3f4f6; }
.detail-row:last-child { border-bottom: none; }
.detail-row strong { color: #111827; font-weight: 600; }
.detail-row .paid { color: #059669; }
