/* ============================================================
   AES Dashboard v3 — Landing page marketing content (BD-001)
   Below-fold sections (blocks 3-10) rendered after the hero/login row —
   see views/landing.py + utils/landing_content.py. Ported from the
   `landing_mock/` layout/copy review (locked 2026-08-14).

   All classes here use an `ld-` prefix so nothing collides with existing
   global CSS elsewhere in the app (00_brand.css / 01-03 stylesheets keep
   their original class names untouched).

   Theming: "light content" bands/cards (ld-band-light, ld-band-white,
   ld-outcome-card, ld-case-card, ld-faq-item, ld-scale-stat) use the same
   --aesd-* tokens as the rest of the app, so they re-skin automatically
   with the Light/Dark toggle exactly like other dashboard cards.
   "Dark accent" bands (ld-band-dark, ld-band-navy, ld-band-cta) are kept a
   fixed dark navy in both themes — the same deliberate, theme-independent
   treatment already used for the footer and icon rail in 00_brand.css —
   since they carry fixed white/light copy (mirroring .landing-title's
   fixed #F4F5F6 on the hero gradient) and are meant to read as high-
   contrast accent sections rather than page background.
   ============================================================ */

.ld-page {
  overflow-x: hidden;
  /* Safety net in case any surrounding container padding/margin is ever
     visible around this subtree — keep it light-themed too. */
  background-color: var(--aesd-dark);

  /* Force the Light theme's --aesd-* token values on the landing page,
     regardless of the site-wide Light/Dark toggle (`theme-store` /
     `[data-bs-theme]` on <html>) — per 2026-08-16 decision, the landing
     page should always render in Light mode. This only overrides the
     tokens within this subtree (hero, login card, and blocks 3-10 all
     read --aesd-* here instead of the ones set on <html>); it does not
     touch `theme-store` itself, so the navbar/footer and the rest of the
     app keep whatever theme the user has chosen. Values copied from
     00_brand.css's `[data-bs-theme="light"]` block. */
  --aesd-orange: #CB5427;
  --aesd-orange-lt: #F68941;
  --aesd-orange-dk: #984021;
  --aesd-orange-rgb: 203, 84, 39;
  --aesd-blue: #154B99;
  --aesd-blue-lt: #3865B0;
  --aesd-blue-dk: #111D37;
  --aesd-blue-rgb: 21, 75, 153;
  --aesd-dark: #F4F5F6;
  --aesd-card: #FFFFFF;
  --aesd-card-2: #E5E6E8;
  --aesd-border: #CAD0DB;
  --aesd-text: #111D37;
  --aesd-text-muted: #545966;
  --aesd-danger: #DC2626;
  --aesd-success: #16A34A;
  --aesd-warning: #D97706;
  --aesd-hero-gradient: linear-gradient(160deg, #154B99 0%, #1F3364 55%, #111D37 100%);
  --aesd-placeholder: rgba(17, 29, 55, 0.4);
}

/* ── Bands (shared) ───────────────────────────────────────── */

.ld-band { padding: 68px 24px; }

.ld-band-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.ld-band-inner.ld-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px 48px;
  align-items: start;
}

.ld-band-inner.ld-split.ld-equal { grid-template-columns: 1fr 1fr; }

.ld-band-dark {
  background: var(--aesd-rail-bg);
  color: #F4F5F6;
}

.ld-band-navy {
  background: linear-gradient(135deg, var(--aesd-rail-bg) 0%, #1a2a52 55%, #1F3364 100%);
  color: #F4F5F6;
}

.ld-band-light { background: var(--aesd-card-2); color: var(--aesd-text); }
.ld-band-white { background: var(--aesd-card); color: var(--aesd-text); }

.ld-band-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(var(--aesd-orange-rgb), 0.22), transparent 55%),
    var(--aesd-rail-bg);
  color: #F4F5F6;
  text-align: center;
  padding: 76px 24px;
}

.ld-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.ld-cta-sub {
  margin: 0 0 8px;
  color: #A8B0C0;
  font-size: 1rem;
  line-height: 1.55;
}

.ld-btn-demo {
  display: inline-block;
  background: var(--aesd-orange);
  color: #1a1020 !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ld-btn-demo:hover {
  background: var(--aesd-orange-lt);
  color: #1a1020 !important;
  transform: translateY(-1px);
}

.ld-btn-demo-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.ld-section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aesd-orange);
  margin-bottom: 10px;
}

.ld-band-light .ld-section-kicker,
.ld-band-white .ld-section-kicker {
  color: var(--aesd-orange-dk);
}

.ld-band-h {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.28;
  color: #fff;
}

.ld-band-h.ld-ink { color: var(--aesd-text); }

.ld-band-p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #A8B0C0;
  max-width: 52ch;
}

.ld-band-p.ld-ink-muted,
.ld-band-lead.ld-ink-muted { color: var(--aesd-text-muted); }

.ld-band-lead {
  margin: 0 0 28px;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* ── Block 3: Problem ─────────────────────────────────────── */

.ld-pain-stack { display: flex; flex-direction: column; gap: 12px; }

.ld-pain-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 176, 192, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ld-pain-card strong {
  color: #fff;
  font-size: 0.95rem;
}

.ld-pain-card span {
  color: #A8B0C0;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ── Block 4: Outcomes ────────────────────────────────────── */

.ld-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 4px;
}

.ld-outcome-card {
  background: var(--aesd-card);
  border: 1px solid var(--aesd-border);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 4px 16px rgba(14, 21, 39, 0.04);
  height: 100%;
}

.ld-outcome-icon {
  font-size: 1.3rem;
  color: var(--aesd-blue-lt);
  margin-bottom: 12px;
  display: block;
}

.ld-outcome-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aesd-text);
}

.ld-outcome-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--aesd-text-muted);
}

/* ── Block 5: Platform ────────────────────────────────────── */

.ld-platform-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--aesd-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

.ld-platform-list li { margin-bottom: 8px; }

.ld-shot-stack { display: flex; flex-direction: column; gap: 14px; }

.ld-shot {
  background: linear-gradient(160deg, #1F3364, #0E1527);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(168, 176, 192, 0.25);
  min-height: 148px;
}

.ld-shot-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
}

.ld-shot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.ld-shot-dot.d1 { background: #F68941; }
.ld-shot-dot.d2 { background: #FBB266; }
.ld-shot-dot.d3 { background: #6490CB; }

.ld-shot-body { padding: 16px 18px 20px; color: #fff; }

.ld-shot-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.ld-shot-sub {
  font-size: 0.75rem;
  color: #A8B0C0;
  margin-bottom: 14px;
}

.ld-shot-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
}

.ld-shot-bars > div {
  flex: 1;
  background: linear-gradient(180deg, #F68941, #3865B0);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* ── Block 6+8: How we work | Fit ─────────────────────────── */

.ld-process-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.ld-proc-arrow {
  color: var(--aesd-orange);
  font-weight: 400;
}

.ld-diff-list {
  margin: 0 0 18px;
  padding-left: 1.15rem;
  color: #A8B0C0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.ld-text-link {
  color: var(--aesd-orange) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
}

.ld-text-link:hover { text-decoration: underline !important; }

.ld-fit-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 176, 192, 0.16);
  border-radius: 16px;
  padding: 28px 26px;
  height: 100%;
}

.ld-fit-intro { margin-bottom: 10px !important; }

.ld-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.ld-chip-on-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(168, 176, 192, 0.28);
  color: #e8eef8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.ld-fit-list.ld-on-dark {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #A8B0C0;
}

/* ── Block 7: Proof — scale narrative + case studies ─────── */

.ld-proof-split {
  margin-top: 8px;
  align-items: stretch;
}

.ld-proof-narrative {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ld-proof-lede {
  max-width: none;
  margin-bottom: 18px !important;
}

.ld-proof-close {
  max-width: none;
  margin: 18px 0 8px !important;
  font-size: 0.95rem !important;
}

.ld-scale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ld-scale-stat {
  background: var(--aesd-card);
  border: 1px solid var(--aesd-border);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 14px rgba(14, 21, 39, 0.04);
}

.ld-scale-value {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--aesd-blue-lt);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.ld-scale-label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--aesd-text-muted);
}

.ld-case-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ld-case-card {
  background: var(--aesd-card);
  border: 1px solid var(--aesd-border);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 6px 20px rgba(14, 21, 39, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.ld-case-card-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ld-case-client {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--aesd-text);
  line-height: 1.3;
}

.ld-case-meta {
  font-size: 0.78rem;
  color: var(--aesd-text-muted);
  letter-spacing: 0.01em;
}

.ld-case-metric {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aesd-blue-lt);
  line-height: 1.35;
  padding: 10px 0 2px;
  border-top: 1px solid var(--aesd-border);
  margin-top: 2px;
}

.ld-case-detail {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--aesd-text-muted);
  flex: 1;
}

.ld-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ld-case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--aesd-blue-lt);
  background: var(--aesd-card-2);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ── Block 9: FAQ ─────────────────────────────────────────── */

.ld-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 8px;
}

.ld-faq-item {
  background: var(--aesd-card-2);
  border: 1px solid var(--aesd-border);
  border-radius: 10px;
  padding: 16px 18px;
}

.ld-faq-q {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--aesd-text);
  margin-bottom: 8px;
}

.ld-faq-a {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--aesd-text-muted);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 760px) {
  .ld-band-inner.ld-split,
  .ld-band-inner.ld-split.ld-equal {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ld-outcome-grid { grid-template-columns: 1fr 1fr; }

  .ld-scale-grid { grid-template-columns: 1fr 1fr; }

  .ld-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .ld-outcome-grid { grid-template-columns: 1fr; }
  .ld-scale-grid { grid-template-columns: 1fr; }
}
