/* ============================================================
   DROBOAI — LANDING PAGE
   Premium dark redesign. Namespaced lp-*; shares tokens with drobo.css
   ============================================================ */

.landing-page main {
  position: relative;
  overflow: clip;
}

/* ---------- Page backdrop ---------- */

.lp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lp-bg__grid {
  position: absolute;
  inset: 0 0 auto;
  height: 1200px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 72%);
}

.lp-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.lp-bg__glow--a {
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  height: 560px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), transparent 70%);
}

.lp-bg__glow--b {
  top: 520px;
  right: -260px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.08), transparent 70%);
}

.landing-page main > section {
  position: relative;
  z-index: 1;
}

/* ---------- Entrance animation (hero) ---------- */

.lp-in {
  opacity: 0;
  transform: translateY(18px);
  animation: lp-in 0.85s var(--ease-out) forwards;
  animation-delay: calc(var(--lp-d, 0) * 0.09s);
}

@keyframes lp-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- CTAs ---------- */

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lp-cta i {
  font-size: 1.05em;
  transition: transform 0.25s var(--ease);
}

.lp-cta--primary {
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, var(--brand));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 28px rgba(37, 99, 235, 0.36);
}

.lp-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 40px rgba(37, 99, 235, 0.5);
}

.lp-cta--primary:hover i { transform: translateX(3px); }

.lp-cta--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
}

.lp-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.lp-cta--outline {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border2);
}

.lp-cta--outline:hover {
  border-color: var(--brand-border);
  color: var(--brand-light);
  background: var(--brand-soft);
}

.lp-cta--gold {
  color: #1a1305;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 28px rgba(245, 158, 11, 0.3);
}

.lp-cta--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 14px 40px rgba(245, 158, 11, 0.42);
}

.lp-cta--sm {
  padding: 0.7rem 1.3rem;
  font-size: 0.875rem;
}

/* ---------- Hero ---------- */

.lp-hero {
  padding: calc(var(--nav-h) + clamp(2.2rem, 5vw, 4rem)) 0 0;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.lp-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand-light);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lp-badge:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.55);
}

.lp-badge i { font-size: 0.85rem; }

.lp-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

.lp-hero__title {
  margin-top: 1.3rem;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
}

.lp-hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-light) 10%, #a5c8ff 50%, var(--brand-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero__lead {
  margin-top: 1.2rem;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-2);
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.lp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8425rem;
  color: var(--text-3);
}

.lp-hero__trust i {
  color: var(--brand-light);
  font-size: 0.8rem;
  margin-right: 0.3rem;
}

/* ---------- Hero stage: DroboAI Desktop replica ----------
   Markup and values mirror the real app UI:
   software/ui/index.html + software/ui/css/app.css + drobo-theme.css */

.lp-hero__stage {
  position: relative;
  min-width: 0;
}

/* Tilted product shot bleeding past the right edge */
@media (min-width: 1101px) {
  .lp-hero__stage .lp-app {
    width: 880px;
    max-width: none;
    transform: perspective(1800px) rotateY(-7deg) rotateX(1.5deg);
    transform-origin: left center;
    animation: lp-stage-float 7s ease-in-out 1.2s infinite alternate;
  }

  @keyframes lp-stage-float {
    from { transform: perspective(1800px) rotateY(-7deg) rotateX(1.5deg) translateY(0); }
    to { transform: perspective(1800px) rotateY(-7deg) rotateX(1.5deg) translateY(-10px); }
  }

  .lp-in--stage {
    animation-name: lp-in-stage;
    animation-duration: 1s;
  }

  @keyframes lp-in-stage {
    from {
      opacity: 0;
      transform: translateX(48px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.lp-app {
  --app-card-bg: rgba(255, 255, 255, 0.025);
  --app-card-border: rgba(255, 255, 255, 0.08);
  --app-input-bg: rgba(0, 0, 0, 0.35);
  --app-success: #34d399;
  position: relative;
  display: grid;
  grid-template-columns: 212px 1fr;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  text-align: left;
}

.lp-app::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.lp-app__reflection {
  position: absolute;
  inset: auto 8% -46px;
  height: 90px;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.28), transparent 70%);
  filter: blur(24px);
  z-index: -1;
}

/* Sidebar — .sidebar / .nav-btn / .sidebar-credits / .sidebar-footer */

.lp-app__sidebar {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--border);
  min-width: 0;
}

.lp-app__brand {
  padding: 1.35rem 1.25rem 1rem;
}

.lp-app__brand img {
  display: block;
  width: 104px;
  height: auto;
}

.lp-app__divider {
  height: 1px;
  margin: 0 1rem 0.85rem;
  background: var(--border);
}

.lp-app__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.65rem;
}

.lp-app__nav-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--text-2);
}

.lp-app__nav-btn .ti {
  font-size: 1.05rem;
  width: 1.15rem;
  text-align: center;
  opacity: 0.72;
}

.lp-app__nav-btn.is-active {
  background: var(--brand-soft);
  color: var(--brand-light);
  font-weight: 600;
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lp-app__nav-btn.is-active .ti {
  opacity: 1;
  color: var(--brand-light);
}

.lp-app__credits {
  margin: auto 12px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
}

.lp-app__credits-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.lp-app__credits-head .ti { color: var(--brand-light); }

.lp-app__credits-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0;
  color: var(--text-2);
}

.lp-app__credits-row strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lp-app__credits-btn {
  display: block;
  margin-top: 8px;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  background: rgba(37, 99, 235, 0.25);
}

.lp-app__foot {
  padding: 0.85rem 0.85rem 1rem;
  border-top: 1px solid var(--border);
}

.lp-app__profile {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.04);
}

.lp-app__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--brand-light);
  font-size: 0.75rem;
  font-weight: 650;
}

.lp-app__profile-name {
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-app__quit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--text-2);
}

.lp-app__quit .ti { opacity: 0.75; }

/* Main — .page-header.dash-header / .page-content */

.lp-app__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 1.5rem 1.75rem 1.75rem;
  min-width: 0;
}

.lp-app__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2px;
}

.lp-app__eyebrow {
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.3rem;
}

.lp-app__title {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.lp-app__lead {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* .session-pill.connected */
.lp-app__session {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-success);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  white-space: nowrap;
}

.lp-app__session-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--app-success);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

/* .upload-mode-tabs */

.lp-app__tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-app__tab {
  border: 1px solid var(--border);
  background: var(--app-card-bg);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.lp-app__tab.is-active {
  border-color: var(--brand);
  background: var(--brand-glow);
  color: var(--text);
}

/* .card.upload-config-card */

.lp-app__card {
  background: var(--app-card-bg);
  border: 1px solid var(--app-card-border);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  padding: 16px 18px 18px;
}

.lp-app__card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.lp-app__card-title .ti {
  font-size: 18px;
  color: var(--brand-light);
}

.lp-app__card-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* .upload-fields-card */

.lp-app__fields {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 16px;
  margin-bottom: 14px;
}

.lp-app__fields-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lp-app__field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.lp-app__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: var(--app-input-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--text);
}

.lp-app__input--select .ti {
  font-size: 0.9rem;
  color: var(--text-3);
}

.lp-app__field em {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-style: normal;
  color: var(--text-3);
  line-height: 1.3;
}

/* .upload-actions-row + .btn */

.lp-app__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-app__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1.1rem;
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.lp-app__btn .ti { font-size: 0.75rem; }

.lp-app__btn--primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.lp-app__btn--secondary {
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border2);
}

.lp-app__btn--secondary.is-disabled { opacity: 0.5; }

.lp-app__btn--sm {
  margin-left: auto;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
}

/* .discover-progress-panel.is-running */

.lp-app__progress {
  padding: 18px 20px 16px;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: var(--app-card-bg);
  box-shadow: 0 0 0 1px var(--brand-glow);
  text-align: center;
}

.lp-app__progress-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.lp-app__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.22);
  border-top-color: var(--brand-light);
  border-right-color: var(--app-success);
  animation: lp-spin 0.75s linear infinite;
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

.lp-app__state {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--app-success);
}

.lp-app__count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  margin: 4px 0 6px;
}

.lp-app__count b {
  font-size: 42px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.lp-app__count-sep {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-3);
}

.lp-app__count-target {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.lp-app__progress-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--text-3);
}

.lp-app__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--border2);
  overflow: hidden;
  margin: 0 auto 12px;
  max-width: 420px;
}

.lp-app__bar-fill {
  width: 70%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--app-success) 100%);
  animation: lp-meter 3.2s var(--ease) both;
}

@keyframes lp-meter {
  from { width: 8%; }
  to { width: 70%; }
}

.lp-app__progress-msg {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.45;
}

.lp-app__progress-msg strong { color: var(--text); }

/* .log-box */

.lp-app__log {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--app-input-bg);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-2);
}

.lp-app__log-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-app__log-time {
  color: var(--text-3);
  margin-right: 6px;
}

.lp-app__log-line b {
  font-weight: 500;
  color: var(--app-success);
}

/* ---------- Stat band ---------- */

.lp-band {
  padding: clamp(5rem, 9vw, 7.5rem) 0 0;
}

.lp-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-block: 1px solid var(--border);
}

.lp-band__item {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  text-align: center;
}

.lp-band__item + .lp-band__item {
  border-left: 1px solid var(--border);
}

.lp-band__item dt {
  order: 2;
  font-size: 0.8125rem;
  color: var(--text-3);
}

.lp-band__item dd {
  margin: 0 0 0.3rem;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lp-band__item dd span {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-3);
}

/* ---------- Section scaffolding ---------- */

.lp-section {
  padding: clamp(6rem, 11vw, 9.5rem) 0 0;
}

.lp-section--tight {
  padding-top: clamp(5rem, 9vw, 7.5rem);
}

.lp-section--last {
  padding-bottom: clamp(6rem, 11vw, 9.5rem);
}

.lp-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.6rem, 5vw, 3.8rem);
  text-align: center;
}

.lp-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.lp-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  text-wrap: balance;
}

.lp-title--left { text-align: left; }

.lp-head__lead {
  margin-top: 1rem;
  font-size: 1.02rem;
  color: var(--text-2);
}

.lp-head__lead strong { color: var(--text); }

.lp-lead {
  margin-top: 1.1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-2);
}

.lp-lead strong { color: var(--text); }

/* ---------- Steps ---------- */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-step {
  position: relative;
  padding: 1.7rem 1.6rem 1.8rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-step:hover {
  border-color: var(--brand-border);
  transform: translateY(-3px);
}

.lp-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: var(--brand-soft);
  color: var(--brand-light);
  font-size: 1.25rem;
}

.lp-step__num {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--text-3);
}

.lp-step h3 {
  margin-top: 1.15rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lp-step p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- Feature grid ---------- */

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.lp-card {
  position: relative;
  padding: 1.6rem 1.6rem 1.7rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.lp-card--wide {
  grid-column: span 2;
  border-color: rgba(37, 99, 235, 0.28);
  background:
    radial-gradient(ellipse 60% 90% at 90% 0%, rgba(37, 99, 235, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.lp-card--wide:hover { border-color: rgba(37, 99, 235, 0.45); }

.lp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-light);
  font-size: 1.15rem;
}

.lp-card h3 {
  margin-top: 1.05rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.lp-card p {
  margin-top: 0.5rem;
  font-size: 0.885rem;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 34rem;
}

.lp-card__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.lp-chip {
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ---------- Credits / ledger ---------- */

.lp-credits {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.lp-credits__copy .lp-eyebrow { margin-bottom: 0.9rem; }

.lp-credits__copy .lp-cta { margin-top: 1.6rem; }

.lp-ledger {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lp-ledger__group + .lp-ledger__group {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.lp-ledger__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.lp-ledger__head i {
  font-size: 1rem;
  color: var(--brand-light);
}

.lp-ledger__head--ae i { color: #fb923c; }

.lp-ledger__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--text-2);
}

.lp-ledger__row + .lp-ledger__row {
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
}

.lp-ledger__row b {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lp-ledger__row em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-3);
}

.lp-ledger__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}

.lp-ledger__foot i { color: #4ade80; }

/* ---------- Pricing ---------- */

.lp-toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.lp-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
}

.lp-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 0.865rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lp-toggle__btn:hover { color: var(--text); }

.lp-toggle__btn.is-active {
  background: var(--brand);
  color: #fff;
}

.lp-toggle__save {
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 600;
}

.lp-toggle__btn.is-active .lp-toggle__save {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.lp-plan:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.lp-plan--featured {
  border-color: rgba(37, 99, 235, 0.45);
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(37, 99, 235, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
}

.lp-plan--featured:hover { border-color: rgba(37, 99, 235, 0.65); }

.lp-plan__flag {
  position: absolute;
  top: -0.78rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6, var(--brand));
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.lp-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lp-plan__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.lp-plan__name--god {
  background: linear-gradient(100deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-plan__tag {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
}

.lp-plan__tag--god {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.lp-plan__price {
  margin-top: 1.1rem;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lp-plan__price span {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-3);
}

.lp-plan__note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-2);
}

.lp-plan__note strong { color: var(--brand-light); }

.lp-plan__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.15rem 0 1.5rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 0.865rem;
  color: var(--text-2);
}

.lp-plan__list i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  color: var(--brand-light);
}

.lp-plan .lp-cta { margin-top: auto; }

/* God Mode */

.lp-god {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.1rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    radial-gradient(ellipse 55% 100% at 0% 50%, rgba(245, 158, 11, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
}

.lp-god .lp-plan__head { justify-content: flex-start; }

.lp-god__note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.lp-god__side {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: none;
}

.lp-plan__price--god {
  margin-top: 0;
  font-size: 2.1rem;
}

/* Managed */

.lp-managed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.1rem;
  padding: 1.4rem 1.8rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border2);
}

.lp-managed__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.lp-managed__lead {
  margin-top: 0.3rem;
  font-size: 0.865rem;
  color: var(--text-2);
}

.lp-managed__lead strong { color: var(--text); }

.lp-managed__ctas {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: none;
}

.lp-managed__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.865rem;
  font-weight: 500;
  color: var(--brand-light);
  text-decoration: none;
}

.lp-managed__link:hover { color: #93c5fd; }

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2.2rem;
  margin-top: 2.4rem;
  font-size: 0.8425rem;
  color: var(--text-3);
}

.lp-trust i {
  margin-right: 0.4rem;
  color: var(--brand-light);
}

/* ---------- Final CTA ---------- */

.lp-final {
  position: relative;
  padding: clamp(3.2rem, 7vw, 5rem) 2rem;
  border-radius: 24px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: linear-gradient(180deg, rgba(23, 23, 30, 0.9), rgba(13, 13, 18, 0.95));
  text-align: center;
  overflow: hidden;
}

.lp-final__glow {
  position: absolute;
  inset: auto 15% -60%;
  height: 340px;
  background: radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.lp-final h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.lp-final p {
  position: relative;
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--text-2);
}

.lp-final .lp-hero__actions {
  position: relative;
  margin-top: 1.9rem;
}

/* ---------- Landing scroll reveals (stronger than app default) ---------- */

html.drobo-js .landing-page .drobo-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--drobo-delay, 0s);
}

html.drobo-js .landing-page .drobo-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
  }

  .lp-hero__copy {
    align-items: center;
    text-align: center;
    margin-inline: auto;
    max-width: 36rem;
  }

  .lp-hero__lead { max-width: 34rem; }

  .lp-hero__trust { justify-content: center; }
}

@media (max-width: 1023px) {
  .lp-app { grid-template-columns: 1fr; }
  .lp-app__sidebar { display: none; }

  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-card--wide { grid-column: span 2; }

  .lp-credits { grid-template-columns: 1fr; }
  .lp-title--left { text-align: center; }
  .lp-credits__copy { text-align: center; }

  .lp-plans { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .lp-plan--featured { order: -1; }
  .lp-god,
  .lp-managed { flex-direction: column; align-items: flex-start; }
  .lp-god__side { width: 100%; justify-content: space-between; }
}

@media (max-width: 767px) {
  .lp-hero { padding-top: calc(var(--nav-h) + 2.2rem); }

  .lp-hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .lp-hero__actions .lp-cta { width: 100%; }

  .lp-app__main { padding: 1.1rem 1rem 1.2rem; }
  .lp-app__session { display: none; }
  .lp-app__log { display: none; }
  .lp-app__btn--sm { display: none; }
  .lp-app__count b { font-size: 34px; }

  .lp-band__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-band__item { padding: 1.3rem 0.75rem; }
  .lp-band__item:nth-child(3) { border-left: 0; }
  .lp-band__item:nth-child(n + 3) { border-top: 1px solid var(--border); }

  .lp-steps { grid-template-columns: 1fr; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-card--wide { grid-column: auto; }

  .lp-god__side { flex-direction: column; align-items: stretch; gap: 1rem; }
  .lp-managed__ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 0.8rem; }
  .lp-managed__link { justify-content: center; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .lp-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .lp-app__spinner,
  .lp-app__bar-fill,
  .lp-hero__stage .lp-app,
  .lp-in--stage {
    animation: none;
  }

  html.drobo-js .landing-page .drobo-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lp-cta,
  .lp-card,
  .lp-step,
  .lp-plan {
    transition: none;
  }
}
