/* LancerPad Marketing Site — lancerpad.com */

:root {
  --bg-dark: #0b1120;
  --bg-hero: #0f172a;
  --bg-card: #1e293b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #f8fafc;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-soft: rgba(99, 102, 241, 0.12);
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --border: rgba(148, 163, 184, 0.2);
  --border-light: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.16);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.container--narrow { width: min(720px, calc(100% - 2.5rem)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 8px 24px var(--accent-glow); }
.btn--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn--sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}
.nav__logo { border-radius: 8px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__menu a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__menu a:not(.btn):hover { color: var(--text-inverse); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: var(--bg-hero);
  color: var(--text-inverse);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__orb--1 {
  width: 500px; height: 500px;
  top: -200px; right: -100px;
  background: rgba(99, 102, 241, 0.25);
}
.hero__orb--2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  background: rgba(139, 92, 246, 0.2);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
}
.badge__dot {
  width: 8px; height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 32rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
}
.waitlist-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--text-inverse);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.waitlist-form input::placeholder { color: #64748b; }
.waitlist-form input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.waitlist-form--centered {
  margin-inline: auto;
  justify-content: center;
}

.hero__note {
  margin: 0.875rem 0 2.5rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__stat strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.hero__stat span {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Product preview mockup */
.preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.preview__chrome {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.preview__chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.preview__body { display: flex; min-height: 280px; }
.preview__sidebar {
  width: 56px;
  padding: 16px 10px;
  background: rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.preview__logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gradient);
  margin-bottom: 8px;
}
.preview__nav-item {
  width: 32px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}
.preview__nav-item--active { background: var(--accent); width: 36px; }
.preview__main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.preview__header {
  height: 12px; width: 40%;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.preview__cards { display: flex; gap: 8px; }
.preview__card {
  flex: 1; height: 48px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.preview__board { display: flex; gap: 8px; flex: 1; }
.preview__column {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preview__task {
  height: 24px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.3);
}
.preview__task--short { width: 70%; background: rgba(139, 92, 246, 0.25); }

/* Trust bar */
.trust {
  padding: 2.5rem 0;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust__inner { text-align: center; }
.trust p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.trust__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.trust__tags span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Sections */
.section { padding: 5.5rem 0; }
.section--light { background: var(--bg-light); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.section__header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}
.benefit__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.benefit p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}
.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}
.step__num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}
.step h3 {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing__card {
  position: relative;
  padding: 2rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.pricing__card--featured {
  background: var(--bg-hero);
  color: var(--text-inverse);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 48px var(--accent-glow);
  transform: scale(1.03);
}
.pricing__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.875rem;
  background: var(--gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.pricing__price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.pricing__card--featured .pricing__price { color: #c7d2fe; }
.pricing__desc {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing__card--featured .pricing__desc { color: var(--text-muted); }
.pricing__card ul { display: grid; gap: 0.625rem; }
.pricing__card li {
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}
.pricing__card--featured li { color: #cbd5e1; }
.pricing__card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing__card--featured li::before { color: #a5b4fc; }

/* CTA */
.cta {
  padding: 5rem 0;
  background: var(--bg-hero);
  color: var(--text-inverse);
  text-align: center;
}
.cta__inner { max-width: 560px; }
.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.cta p {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 4rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand p {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  max-width: 260px;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__links h4 {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-inverse);
}
.footer__links a {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text-inverse); }
.footer__links a[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__coming-soon {
  color: #6366f1;
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 1rem 1.5rem;
  background: var(--bg-hero);
  color: var(--text-inverse);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { order: -1; max-width: 480px; margin-inline: auto; }
  .benefits, .features, .pricing { grid-template-columns: 1fr; }
  .pricing__card--featured { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu a:not(.btn) {
    display: block;
    padding: 0.875rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__menu .btn { width: 100%; margin-top: 0.5rem; }
  .waitlist-form { flex-direction: column; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
