/*
 * landing.css — NewEdge360 landing page extensions
 *
 * These rules extend, not replace, the existing ne.css / home.css framework.
 * Prefix: .lp-   (landing page)
 * Body scope: body:not(.ne-admin) is already handled by website-shell.css;
 * these rules are standalone because they only appear on this page.
 */

/* ── Constrained content wrapper ──────────────────────────────────────── */

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

body:not(.ne-admin) .site-header {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(11, 11, 12, .08);
  backdrop-filter: blur(14px);
}

body:not(.ne-admin) a,
body:not(.ne-admin) a:hover,
body:not(.ne-admin) a:focus,
body:not(.ne-admin) a:active,
body:not(.ne-admin) .nav-link,
body:not(.ne-admin) .nav-link:hover,
body:not(.ne-admin) .nav-link:focus,
body:not(.ne-admin) .navbar-brand,
body:not(.ne-admin) .navbar-brand:hover,
body:not(.ne-admin) .footer-links a,
body:not(.ne-admin) .footer-links a:hover,
body:not(.ne-admin) .footer-columns a,
body:not(.ne-admin) .footer-columns a:hover {
  text-decoration: none;
}

/* ── Hero: two-column split ───────────────────────────────────────────── */

.lp-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-hero-copy {
  display: grid;
  gap: 1rem;
}

.lp-hero-kicker {
  max-width: 36rem;
  margin-top: -.15rem;
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(11, 11, 12, .58);
}

.lp-hero-subtitle {
  max-width: 32rem;
}

.lp-hero-proof {
  margin-top: -.15rem;
}

.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.lp-hero-stat-card {
  padding: .9rem 1rem;
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,248,250,.92));
  box-shadow: var(--shadow-1);
}

.lp-hero-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(11,11,12,.88);
  line-height: 1;
}

.lp-hero-stat-label {
  margin-top: .35rem;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ne-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lp-hero-app-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.lp-app-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .38rem .72rem;
  border: 1px solid rgba(11,11,12,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: rgba(11,11,12,.70);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(11,11,12,.04);
}

.lp-hero-visual {
  position: relative;
  padding: 1.5rem 0;
}

.lp-hero-orbit {
  position: absolute;
  width: min(15rem, 42%);
  padding: .9rem 1rem;
  border: 1px solid rgba(11,11,12,.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 50px rgba(11,11,12,.10);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.lp-hero-orbit-top {
  top: 0;
  right: -1rem;
}

.lp-hero-orbit-bottom {
  left: -1rem;
  bottom: 0;
}

.lp-hero-orbit-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(11,11,12,.82);
}

.lp-hero-orbit-copy {
  margin-top: .35rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ne-faint);
}

@media (max-width: 900px) {
  .lp-hero-split {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .lp-hero-stats {
    grid-template-columns: 1fr;
  }

  .lp-hero-orbit {
    position: static;
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Scale up the hero heading for a more impactful standalone page */
.hero .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

/* ── Dashboard mockup ─────────────────────────────────────────────────── */

.lp-mock {
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-lg);
  background: var(--ne-surface-solid);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  flex-shrink: 0;
}

/* Browser chrome row */
.lp-mock-bar {
  background: var(--ne-body-bg);
  border-bottom: 1px solid var(--ne-border);
  padding: .55rem .85rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.lp-mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ne-border-2);
  flex-shrink: 0;
}

/* Shell: sidebar + content */
.lp-mock-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  height: 240px;
  overflow: hidden;
}

.lp-mock-sidebar {
  background: var(--ne-body-bg);
  border-right: 1px solid var(--ne-border);
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 8px;
  align-items: center;
}

.lp-mock-sidebar-dot {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(11, 11, 12, .06);
}

.lp-mock-sidebar-dot.is-active {
  background: rgba(11, 11, 12, .16);
}

.lp-mock-content {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  overflow: hidden;
}

/* KPI cards inside mock */
.lp-mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.lp-mock-kpi {
  background: var(--ne-body-bg);
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-sm);
  padding: .5rem .6rem;
}

.lp-mock-kpi-label {
  font-size: 9px;
  color: var(--ne-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

.lp-mock-kpi-val {
  font-size: 13px;
  font-weight: 750;
  color: rgba(11, 11, 12, .82);
  margin-top: 3px;
  line-height: 1;
}

/* Fake table rows */
.lp-mock-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  padding: 4px 0;
  border-bottom: 1px solid var(--ne-border);
}

.lp-mock-table-cell {
  height: 7px;
  border-radius: 3px;
  background: rgba(11, 11, 12, .05);
}

.lp-mock-table-cell.dark {
  background: rgba(11, 11, 12, .12);
}

/* ── Trust strip ──────────────────────────────────────────────────────── */

.lp-trust-strip {
  background: var(--ne-surface-solid);
  padding: 1.1rem 0;
}

.lp-trust-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.lp-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 18rem) 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.lp-trust-copy {
  text-align: left;
}

.lp-trust-note {
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--ne-faint);
}

.lp-trust-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(11, 11, 12, .22);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .lp-trust-layout {
    grid-template-columns: 1fr;
  }

  .lp-trust-copy {
    text-align: center;
  }

  .lp-trust-logos {
    justify-content: center;
  }
}

/* ── Hairline section divider ─────────────────────────────────────────── */

.lp-divider {
  display: none;
}

.lp-section-head-wide {
  max-width: 44rem;
  margin: 0 auto;
}

.lp-section-subtitle {
  max-width: 34rem;
  margin: 0 auto;
}

/* ── Benefits: alternating two-column rows ────────────────────────────── */

.lp-benefit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.25rem 0;
}

.lp-benefit:last-child {
  border-bottom: none;
}

.lp-benefit.reverse {
  direction: rtl;
}

.lp-benefit.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .lp-benefit,
  .lp-benefit.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }
}

/* ── Stats band ───────────────────────────────────────────────────────── */

.lp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ne-border);
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 680px) {
  .lp-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lp-stat {
  background: var(--ne-surface-solid);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.lp-stat-num {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: rgba(11, 11, 12, .88);
  line-height: 1;
}

.lp-stat-label {
  font-size: 13px;
  color: var(--ne-faint);
  margin-top: .4rem;
}

/* ── Testimonials ─────────────────────────────────────────────────────── */

.lp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .lp-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.lp-testimonial {
  background: var(--ne-surface-solid);
  border: 1px solid var(--ne-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 0;  /* reset blockquote margin */
}

.lp-testimonial-stars {
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(11, 11, 12, .45);
}

.lp-testimonial-quote {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(11, 11, 12, .75);
  flex: 1;
  margin: 0;
}

.lp-testimonial-author {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.lp-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ne-body-bg);
  border: 1px solid var(--ne-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ne-faint);
  flex-shrink: 0;
}

.lp-testimonial-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(11, 11, 12, .82);
  line-height: 1.2;
}

.lp-testimonial-role {
  font-size: 12px;
  color: var(--ne-faint);
}

/* ── Final CTA band ───────────────────────────────────────────────────── */

.lp-cta-band {
  padding: 2rem 0 1rem;
}

.lp-cta-band .lp-wrap {
  max-width: 760px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(11,11,12,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.96), rgba(246,247,249,.92));
  box-shadow: 0 24px 60px rgba(11,11,12,.08);
  text-align: center;
}

.lp-cta-band .hero-badge {
  border-color: rgba(11,11,12,.10);
  background: rgba(255,255,255,.78);
  color: rgba(11,11,12,.64);
}

.lp-cta-band .hero-title {
  color: rgba(11,11,12,.90);
}

.lp-cta-band .hero-subtitle {
  color: var(--ne-muted);
}

.lp-cta-band .btn-primary {
  box-shadow: 0 14px 32px rgba(11,11,12,.10);
}

.lp-cta-band .btn-outline {
  background: rgba(255,255,255,.72);
  border-color: rgba(11,11,12,.12);
  color: rgba(11,11,12,.82);
}

.lp-cta-band .btn-outline:hover {
  background: rgba(255,255,255,.92);
  border-color: rgba(11,11,12,.18);
  color: rgba(11,11,12,.92);
}

body:not(.ne-admin) .site-footer {
  margin-top: 2rem;
}

body:not(.ne-admin) .footer-columns .column a,
body:not(.ne-admin) .footer-columns .column a:hover,
body:not(.ne-admin) .footer-bottom .footer-links a,
body:not(.ne-admin) .footer-bottom .footer-links a:hover {
  text-decoration: none;
}

body:not(.ne-admin) .footer-columns .column a {
  color: rgba(11,11,12,.58);
  transition: color .15s ease, transform .15s ease;
}

body:not(.ne-admin) .footer-columns .column a:hover {
  color: rgba(11,11,12,.86);
  transform: translateX(2px);
}

body:not(.ne-admin) .footer-bottom .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

body:not(.ne-admin) .footer-bottom .footer-links a {
  margin-left: 0;
  color: rgba(11,11,12,.56);
}

body:not(.ne-admin) .footer-bottom .footer-links a:hover {
  color: rgba(11,11,12,.84);
}

@media (max-width: 768px) {
  .lp-cta-band .lp-wrap {
    padding: 2rem 1.25rem;
    border-radius: 22px;
  }
}

/* ── Responsive: product preview split ────────────────────────────────── */

.lp-preview-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.lp-mini-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 900px) {
  .lp-preview-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-mini-split {
    grid-template-columns: 1fr;
  }
}

/* ── Navbar: hide desktop links + actions on mobile ───────────────────── */

@media (max-width: 768px) {
  body:not(.ne-admin) .site-nav,
  body:not(.ne-admin) .site-actions {
    display: none;
  }

  body:not(.ne-admin) .navbar-toggler {
    display: inline-flex;
  }

  body:not(.ne-admin) .offcanvas,
  body:not(.ne-admin) .offcanvas-backdrop {
    display: block;
  }
}

@media (min-width: 769px) {
  body:not(.ne-admin) .navbar-toggler,
  body:not(.ne-admin) .offcanvas,
  body:not(.ne-admin) .offcanvas-backdrop {
    display: none !important;
  }
}

/* ── Focus-visible polish (landing page anchors) ──────────────────────── */

.lp-cta-band .btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .6);
  outline-offset: 3px;
}
