/* ===========================================================
   Leasebots — design tokens (dark theme)
   =========================================================== */
:root {
  --color-bg: rgba(8, 9, 11, 0.92);
  --color-bg-alt: rgba(14, 16, 19, 0.92);
  --color-bg-deep: rgba(5, 6, 8, 0.92);
  --color-surface: rgba(19, 21, 25, 0.92);
  --color-surface-2: #1a1d22;
  --color-border: #24272d;
  --color-border-strong: #33373f;

  --color-text: #f4f5f7;
  --color-text-muted: #9aa1ac;
  --color-text-faint: #676d78;
  --color-ink: #04070a;

  --color-emerald-500: #10b981;
  --color-emerald-400: #34d399;
  --color-emerald-tint: rgba(16, 185, 129, 0.14);
  --color-white: #ffffff;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

html { font-size: 15px; }

body {
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  background: #08090b;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('/images/hero-robots.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}

h1 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-emerald-400);
  margin-bottom: 12px;
}

.lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 620px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--color-emerald-500);
  color: var(--color-ink);
}
.btn-primary:hover { background: var(--color-emerald-400); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.28);
  color: var(--color-white);
  background: transparent;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.btn-dark {
  background: var(--color-text);
  color: var(--color-ink);
}
.btn-dark:hover { background: var(--color-white); transform: translateY(-1px); }

.box-info {
  background: #000;
  color: #fff;
  border-color: var(--color-border-strong);
  cursor: default;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-mark { display: block; height: 60px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-text); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--color-bg-deep);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0 32px;
}
.hero h1 { color: var(--color-white); max-width: 520px; }
.hero .lead { color: var(--color-text-muted); font-size: 1.05rem; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; position: relative; }

/* ---------- space-invader button intro ---------- */
.invader-box {
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.invader-box .btn-label { transition: opacity 0.25s ease 0.05s; }
.invader-box .invader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: auto;
  color: var(--color-emerald-400);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s ease;
  pointer-events: none;
}
.invader-box.invader-armed { background: #000; border-color: #000; }
.invader-box.invader-armed .btn-label { opacity: 0; }
.invader-box.invader-armed .invader-icon { opacity: 1; }
.invader-box:not(.invader-armed) .invader-icon { transform: translate(-50%, -50%) scale(0.2); }

.invader-rocket {
  position: absolute;
  bottom: -125px;
  left: 24px;
  width: 22px;
  color: #a78bfa;
  opacity: 0;
  transform: translate(0, 0);
  transition: transform 0.6s cubic-bezier(.45,0,.2,1), opacity 0.25s ease;
  pointer-events: none;
  z-index: 5;
}
.invader-rocket.flying { opacity: 1; }
.rocket-body { display: block; width: 100%; height: auto; }
.rocket-flame {
  width: 6px;
  height: 10px;
  margin: 0 auto;
  background: linear-gradient(#facc15, rgba(250, 204, 21, 0));
  border-radius: 0 0 4px 4px;
  animation: invader-flicker 0.12s steps(2) infinite;
}
.rocket-trail {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 60px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, #facc15 0 4px, transparent 4px 9px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.invader-rocket.flying .rocket-trail { opacity: 0.85; }
@keyframes invader-flicker {
  50% { opacity: 0.55; transform: scaleY(0.75); }
}

.invader-laser {
  position: absolute;
  width: 3px;
  height: 0;
  background: #facc15;
  box-shadow: 0 0 6px 1px rgba(250, 204, 21, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: height 0.15s linear;
}
.invader-laser.firing { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .invader-box, .invader-box .btn-label, .invader-box .invader-icon,
  .invader-rocket, .invader-laser { transition: none !important; }
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 480px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 48px max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  position: relative;
  z-index: 1;
}
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
}

/* Bot-head "visor" frame, echoing the logo mark: rounded green helmet
   with the video standing in for the face/visor (eyes dropped). */
.bot-visor {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--color-emerald-400);
  border-radius: 56px;
  padding: 6px;
  box-shadow: 0 40px 90px -20px rgba(16, 185, 129, 0.35),
              0 25px 60px -10px rgba(0, 0, 0, 0.65);
}
.bot-antenna-stem {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-emerald-400);
}
.bot-antenna-ball {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-emerald-400);
}
.bot-ear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2cm;
  border-radius: 7px;
  background: var(--color-emerald-400);
}
.bot-ear-left { left: -18px; }
.bot-ear-right { right: -18px; }
.bot-visor-window {
  aspect-ratio: 16 / 11;
  border-radius: 50px;
  overflow: hidden;
  background: var(--color-bg-deep);
}
.bot-visor-window video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero h1, .hero .lead { max-width: none; }
  .hero-media { order: -1; padding: 48px 24px 24px; }
  .hero-text { padding: 32px 24px; }
}
.hero-stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--color-emerald-400);
}
.hero-stat span { color: var(--color-text-faint); font-size: 0.82rem; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.trust-strip { padding: 10px 0; }
.why-lease-section { padding-top: 40px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.bg-tint { background: var(--color-bg-alt); }
.bg-navy { background: var(--color-bg-deep); color: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.bg-navy h2, .bg-navy h3 { color: var(--color-white); }
.bg-navy .lead { color: var(--color-text-muted); }

/* ---------- grids/cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-emerald-400);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-border-strong); }
.industry-card:hover { border-color: #f5ebdd; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--color-emerald-tint);
  color: var(--color-emerald-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-text-muted); font-size: 0.88rem; }

/* product cards */
.product-card {
  border: 1px solid var(--color-emerald-400);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--color-border-strong); }
.product-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1c2028, #0a0c0f);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--color-emerald-400); margin-bottom: 6px;
}
.product-body h3 { margin-bottom: 8px; font-size: 1rem; }
.product-body p { color: var(--color-text-muted); font-size: 0.84rem; flex: 1; }
.product-lease-from {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.product-lease-from .badge { flex-shrink: 0; }
.product-lease-from strong { color: var(--color-text); font-size: 0.95rem; }
.product-lease-from small { display: block; color: var(--color-text-faint); font-size: 0.7rem; }

/* steps */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-strong);
  color: var(--color-emerald-400);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* industries pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.84rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--color-emerald-500), var(--color-emerald-400));
  color: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--color-ink); }

/* trust bar */
.trust-bar {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
  align-items: center; padding: 12px 0;
  color: var(--color-white);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.04em;
}

/* footer */
.site-footer {
  background: var(--color-bg-deep);
  color: var(--color-text-faint);
  padding: 64px 0 32px;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--color-white); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 24px;
  font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-logo { color: var(--color-white); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }

/* utility */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-emerald-tint);
  color: var(--color-emerald-400);
  font-size: 0.75rem;
  font-weight: 700;
}

/* breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--color-text-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-text); }

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table tr { border-bottom: 1px solid var(--color-border); }
.spec-table td { padding: 10px 0; font-size: 0.86rem; }
.spec-table td:first-child { color: var(--color-text-muted); width: 40%; }
.spec-table td:last-child { font-weight: 600; color: var(--color-text); }

/* ---------- industry pages ---------- */
a.industry-card { display: flex; flex-direction: column; color: inherit; }
.industry-card .industry-link {
  margin-top: auto; padding-top: 14px;
  color: var(--color-emerald-400); font-weight: 600; font-size: 0.86rem;
}
.industry-card .product-media { margin: -32px -28px 22px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16/9; }
@media (min-width: 901px) {
  .industry-grid > :last-child:nth-child(3n+1) { grid-column: 2; }
}
a.pill { transition: border-color 0.2s ease, color 0.2s ease; }
a.pill:hover { border-color: var(--color-emerald-400); color: var(--color-emerald-400); }

.usecase { display: flex; flex-direction: column; }
.usecase .usecase-robots { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.usecase .usecase-robots a { font-size: 0.74rem; padding: 4px 12px; }
.challenge-num { color: var(--color-emerald-400); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 10px; }

.note-card { border-left: 4px solid var(--color-emerald-400); background: var(--color-surface-2); border-radius: var(--radius-lg); padding: 24px 28px; }
.note-card h3 { margin-bottom: 8px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; color: var(--color-text);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-emerald-400); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 10px; }
