/* ==========================================================================
   landing.css — public marketing / landing styling for Backbone MRP Online.

   Scoped with an "lp-" prefix so it can layer on top of the shared
   /assets/styles.css (which supplies buttons, inputs, and the design tokens)
   without colliding with the app UI, guide, or portal pages.

   Palette follows the shared system: navy #001233 / #003366, accent blue
   #0055a5, with a warm "forge" amber (#f5a623) used sparingly to nod at the
   Elkhart-factory heritage and to highlight the flagship AI feature.
   ========================================================================== */

:root {
  --lp-navy-900: #001233;
  --lp-navy-800: #001e4a;
  --lp-navy-700: #003366;
  --lp-blue-500: #0055a5;
  --lp-blue-300: #4a90d9;
  --lp-amber:    #f5a623;
  --lp-ink:      #1a1a2e;
  --lp-slate:    #5a6580;
  --lp-line:     #e0e6f0;
  --lp-surface:  #ffffff;
  --lp-surface-2:#f5f8fc;
}

/* Let sections drive their own full-bleed backgrounds. */
body.lp-body {
  background: #ffffff;
  color: var(--lp-ink);
  font-family: 'Lato', 'Raleway', 'Montserrat', sans-serif;
}

.lp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Sticky top navigation ============================================== */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 18, 51, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}

.lp-brand video {
  height: 46px;
  filter: drop-shadow(0 0 8px rgba(100, 180, 255, 0.3));
}

.lp-brand-text b {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.lp-brand-text span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.lp-nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.lp-nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.lp-nav-links a:hover { color: #fff; }

.lp-nav-cta {
  display: inline-block;
  background: var(--lp-amber);
  color: #3a2600 !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 700 !important;
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.35);
}

.lp-nav-cta:hover { background: #ffb63a; }

.lp-nav-toggle { display: none; }

/* === Hero =============================================================== */
.lp-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}

.lp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark, navy-tinted scrim so text stays legible over the factory footage. */
.lp-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(0, 18, 51, 0.94) 0%, rgba(0, 30, 74, 0.82) 45%, rgba(0, 51, 102, 0.55) 100%),
    linear-gradient(0deg, rgba(0, 18, 51, 0.85), rgba(0, 18, 51, 0.1));
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.5);
  color: #ffd488;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

.lp-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.lp-hero h1 .lp-hl { color: #ffd488; }

.lp-hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lp-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lp-btn-primary {
  background: var(--lp-amber);
  color: #3a2600;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.4);
}

.lp-btn-primary:hover {
  background: #ffb63a;
  color: #3a2600;
  transform: translateY(-1px);
  text-decoration: none;
}

.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
}

.lp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.lp-hero-trust b { color: #fff; }

/* === Login card (floats in hero) ======================================= */
.lp-login-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color: var(--lp-ink);
}

.lp-login-card h3 {
  margin: 0 0 0.25rem;
  color: var(--lp-navy-700);
  font-size: 1.25rem;
}

.lp-login-card .lp-login-hint {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: var(--lp-slate);
}

.lp-login-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #333;
  margin: 0.6rem 0 0.3rem;
}

.lp-login-card .lp-btn-primary,
.lp-login-card button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

.lp-login-alt {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lp-line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--lp-slate);
}

.lp-login-alt a { font-weight: 700; }

.lp-inline-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
}

/* === Generic section scaffolding ======================================= */
.lp-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.lp-section-alt { background: var(--lp-surface-2); }
.lp-section-navy {
  background: linear-gradient(135deg, var(--lp-navy-900), var(--lp-navy-700));
  color: #fff;
}

.lp-section-head {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.lp-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--lp-blue-500);
  margin: 0 0 0.6rem;
}

.lp-section-navy .lp-kicker { color: #ffd488; }

.lp-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: inherit;
}

.lp-section-head p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--lp-slate);
  margin: 0;
}

.lp-section-navy .lp-section-head p { color: rgba(255, 255, 255, 0.82); }

/* === AI spotlight (split feature) ====================================== */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-split-body h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0.4rem 0 1rem;
  color: inherit;
}

.lp-split-body p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--lp-slate);
  margin: 0 0 1.25rem;
}

.lp-check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }

.lp-check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0.6rem 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--lp-ink);
}

.lp-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--lp-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a2600' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* === Feature card grid ================================================= */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}

.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 18, 51, 0.1);
  border-color: #c5d4ea;
}

.lp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lp-navy-700), var(--lp-blue-500));
  margin-bottom: 0.9rem;
}

.lp-card-icon svg { width: 24px; height: 24px; stroke: #fff; }

.lp-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--lp-navy-800);
}

.lp-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--lp-slate);
}

/* === Capability pill grid (full platform) ============================== */
.lp-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.6rem;
  margin-top: 2rem;
}

.lp-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.lp-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lp-amber);
  flex-shrink: 0;
}

/* === Integrations ====================================================== */
.lp-logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.lp-logo-chip {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 30px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  color: var(--lp-navy-700);
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* === Pricing teaser ==================================================== */
.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.lp-price-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.lp-price-card.feat {
  border-color: var(--lp-blue-500);
  box-shadow: 0 12px 30px rgba(0, 51, 102, 0.12);
}

.lp-price-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--lp-navy-800);
}

.lp-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lp-navy-700);
}
.lp-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lp-slate);
}

.lp-price-card p {
  font-size: 0.85rem;
  color: var(--lp-slate);
  margin: 0.6rem 0 0;
  line-height: 1.5;
}

/* === Final CTA ========================================================= */
.lp-cta {
  text-align: center;
}
.lp-cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: #fff;
}
.lp-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

/* === Footer ============================================================ */
.lp-footer {
  background: var(--lp-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 2rem;
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.lp-footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-right: 1.2rem;
  text-decoration: none;
}
.lp-footer a:hover { color: #fff; text-decoration: underline; }

.lp-footer small { display: block; margin-top: 1rem; font-size: 0.8rem; opacity: 0.7; }

/* === Responsive ======================================================== */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .lp-login-card { max-width: 420px; }
  .lp-split { grid-template-columns: 1fr; gap: 2rem; }
  .lp-split-visual { order: -1; }
}

@media (max-width: 680px) {
  .lp-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--lp-navy-900);
    padding: 0.5rem 1.5rem 1rem;
  }
  .lp-nav-links.open { display: flex; }
  .lp-nav-links a { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .lp-nav-cta { text-align: center; margin-top: 0.6rem; }
  .lp-nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
  }
}
