/*
static/css/apps/landing.css
==========================================================================
   LANDING PAGE — public facing
   White navbar (from navigation.css — no override needed).
   Hero: warehouse photo with light forest green overlay.
   Feature section: light gray, consistent with app interior.
   Feature cards: light urgency tints, same tokens as dashboard.
   ========================================================================== */

/* Break landing sections out of container-fluid max-width */
.container-fluid:has(.landing-hero) {
  max-width: none !important;
  padding: 0 !important;
}

/* ── SHARED CONTAINER ────────────────────────────────────────────────────── */

.lp-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
/* Warehouse photo — replace URL with your own photo when ready               */
/*  background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1400&q=80');*/
/* https://images.unsplash.com/photo-1607349913338-fca6f7fc42d0?w=1400&q=80 */
.landing-hero {
  position: relative;
  background-image: url("/static/img/hero-fresh-products.d93b3c874933.jpg");
  background-size: cover;
  background-position: center 40%;
  padding: 0;
}

.landing-hero-overlay {
  background: rgba(10, 50, 25, 0.45);
  padding: 84px 2.5rem 76px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Eyebrow — ScpHub full name, readable */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
}

.lp-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--scp-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-headline {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--scp-dark-text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 1.125rem;
  max-width: 740px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.lp-headline-accent {
  color: var(--scp-green-accent);
}

/* Subheadlines — bright enough to read on photo */
.lp-subheadline {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin: 0 auto 1rem;
  line-height: 1.75;
}

.lp-subheadline:last-of-type {
  margin-bottom: 2.25rem;
}

.lp-cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn-primary {
  display: inline-block;
  background: var(--scp-green);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--scp-green);
  transition: background 0.15s ease;
  cursor: pointer;
}

.lp-btn-primary:hover {
  background: var(--scp-green-hover);
  border-color: var(--scp-green-hover);
  color: #ffffff !important;
}

.lp-btn-ghost {
  display: inline-block;
  background: rgba(0,0,0,0.25);
  color: white !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.7);
  transition: all 0.15s ease;
  cursor: pointer;
}

.lp-btn-ghost:hover {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.9);
  color: white !important;
}

/* ── FEATURE SECTION ─────────────────────────────────────────────────────── */
/* Light gray — separates cleanly from white hero                             */

.landing-features {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 2.5rem 4rem;
}

/* Section title — proper heading, not tiny label */
.lp-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.lp-section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}

/* Feature cards — light urgency tints, same tokens as dashboard rows */
.lp-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: 3px solid;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.lp-feature-card:hover {
  box-shadow: var(--shadow-md);
}

.lp-feature-card.green  {
  background: var(--urgency-low-bg);
  border-color: var(--urgency-low-border);
  border-top-color: var(--urgency-low);
}
.lp-feature-card.indigo {
  background: var(--scp-action-bg);
  border-color: var(--scp-action-border);
  border-top-color: var(--scp-action);
}
.lp-feature-card.amber  {
  background: var(--urgency-high-bg);
  border-color: var(--urgency-high-border);
  border-top-color: var(--urgency-high);
}

.lp-feature-icon {
  font-size: 1.625rem;
  margin-bottom: 0.875rem;
  display: block;
}

.lp-feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lp-feature-card.green  .lp-feature-title { color: var(--urgency-low-text); }
.lp-feature-card.indigo .lp-feature-title { color: var(--scp-action-hover); }
.lp-feature-card.amber  .lp-feature-title { color: var(--urgency-high-text); }

.lp-feature-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ── CLOSING CTA ─────────────────────────────────────────────────────────── */
/* Light gray — distinct from the white sections above it                    */

.landing-contact {
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2.5rem;
  text-align: center;
}

.lp-end-headline {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.lp-end-sub {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.lp-end-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: all 0.15s ease;
}

.lp-end-btn:hover {
  background: var(--bg-muted);
  border-color: var(--border-color);
  color: var(--text-primary) !important;
}

/* ── PERSONAS SECTION ────────────────────────────────────────────────────── */
/* White background — visual break between the two gray sections             */

.landing-personas {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 2.5rem 4rem;
}

.lp-personas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}

.lp-persona-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.625rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.lp-persona-card:hover {
  box-shadow: var(--shadow-md);
}

.lp-persona-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.lp-persona-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.lp-persona-icon--store {
  background: var(--urgency-low-bg);
  color: var(--urgency-low-text);
  border: 1px solid var(--urgency-low-border);
}

.lp-persona-icon--distrib {
  background: var(--scp-action-bg);
  color: var(--scp-action-hover);
  border: 1px solid var(--scp-action-border);
}

.lp-persona-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 0.125rem;
}

.lp-persona-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.lp-persona-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* "No IT project" footer line */
.lp-no-it {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.lp-no-it strong {
  font-weight: 700;
  color: var(--text-primary);
}

/* ── HOW IT WORKS SECTION ────────────────────────────────────────────────── */
/* White — distinct from the light-gray CTA that follows                     */

.landing-how {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 2.5rem 4rem;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

/* Connector line in green tint — ties to the circle color */
.lp-steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(33.33% / 2);
  right: calc(33.33% / 2);
  height: 1px;
  background: var(--urgency-low-border);
  z-index: 0;
}

.lp-step {
  text-align: center;
  padding: 0 1.75rem;
  position: relative;
}

/* Green filled circles — Option A */
.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--scp-green);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.lp-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lp-step-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .landing-hero-overlay {
    padding: 56px 1.5rem 48px;
  }

  .lp-features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .lp-personas-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .lp-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-steps::before {
    display: none;
  }

  .lp-step {
    padding: 0;
  }

  .lp-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .lp-btn-primary,
  .lp-btn-ghost {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .landing-contact {
    padding: 3rem 1.5rem;
  }

  .landing-personas,
  .landing-how {
    padding: 3rem 1.5rem;
  }
}