/* public/css/landing.css
   Landing page layout
   - Inherits global.css tokens + primitives
   - Adds a hero band + better spacing + KPI cards
*/

/* page wrapper */
.lp {
  padding: 18px 0 28px;
}

/* hero band */
.lp-hero {
  position: relative;
  overflow: hidden;

  /* Use global surface/card language */
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-lg);

  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* subtle hero shine */
.lp-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;

  background: radial-gradient(
      600px 260px at 15% 20%,
      rgba(56, 189, 248, 0.16),
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      560px 260px at 85% 10%,
      rgba(167, 139, 250, 0.14),
      rgba(255, 255, 255, 0) 62%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

/* keep content above shine */
.lp-hero > * {
  position: relative;
  z-index: 1;
}

/* typography: map to global, keep landing slightly bigger */
.lp-title {
  margin: 0 0 8px 0;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 950;
  letter-spacing: 0.2px;
  line-height: 1.05;
}

.lp-sub {
  margin: 0 0 16px 0;
  color: var(--app-muted);
  line-height: 1.45;
  max-width: 60ch;
}

/* actions */
.lp-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Make landing buttons inherit the global button look */
.lp-btn {
  /* apply ui-btn behavior without requiring you to add ui-btn in markup */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--btn-border);

  background: var(--btn-bg);
  color: var(--btn-fg);

  font-weight: 900;
  cursor: pointer;

  box-shadow: var(--shadow-md);
  user-select: none;
}

.lp-btn:hover {
  transform: translateY(-0.5px);
}

.lp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lp-btn--ghost {
  background: transparent;
  color: var(--app-fg);
  border-color: rgba(11, 18, 32, 0.14);
  box-shadow: none;
}

.lp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 18, 32, 0.12);
  transform: none;
}

/* KPI strip becomes a grid of "mini cards" */
.lp-strip {
  margin-top: 14px;

  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

/* each KPI is a mini card */
.lp-kpi {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--r-md);

  padding: 14px 14px;
  display: flex;
  gap: 12px;
  align-items: center;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.lp-kpi__big {
  width: 38px;
  height: 38px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(11, 18, 32, 0.12);
  background: rgba(255, 255, 255, 0.7);

  font-size: 18px;
  font-weight: 950;
  flex: 0 0 auto;
}

.lp-kpi__txt {
  color: var(--app-muted);
  line-height: 1.35;
  font-size: 14px;
}

/* wider layout */
@media (min-width: 820px) {
  .lp-hero {
    padding: 26px 22px;
  }

  .lp-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-kpi {
    padding: 16px 16px;
  }
}

/* reduce edge-to-edge crowding on very small devices */
@media (max-width: 420px) {
  .lp-hero {
    padding: 18px 14px;
  }
}
