/* Landing Page — inherits all theme tokens & accents from app.css */
body.lp-body {
  min-height: 100dvh;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  padding-top: 0;
}

.lp-prog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--cta);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

.lp-promo-bar {
  background: var(--sf);
  border-bottom: 1px solid var(--ln);
  padding: 8px 14px;
  font-size: 12.5px;
}
.lp-promo-in {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-promo-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 7px;
  background: var(--sf2);
  border: 1px dashed color-mix(in srgb, var(--tx) 30%, var(--ln));
  color: var(--tx);
}

/* Sticky Navbar */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sf) 84%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ln);
}

.lp-nav-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--tx);
  flex: none;
}

.lp-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--ln);
  background: #fff;
}

.lp-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mu);
}

.lp-links a:hover {
  color: var(--tx);
}

.lp-nav-act {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-cta-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  background: var(--cta);
  color: var(--cta-tx) !important;
  box-shadow: var(--sh);
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.lp-cta-sm:hover { opacity: 0.9; }
.lp-cta-sm:active { transform: scale(0.97); }

/* Container */
.lp-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

/* Hero Section */
.lp-hero {
  position: relative;
  padding: 48px 0 36px;
  overflow: clip;
}

.lp-hero-glow {
  display: none;
}

.lp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 32px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sf);
  border: 1px solid var(--ln);
  color: var(--tx);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.lp-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gr);
  animation: pulseDot 2s infinite;
}

.lp-h1 {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--tx);
  margin-bottom: 14px;
}

.lp-h1 span {
  color: var(--mu);
}

.lp-lead {
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.65;
  color: var(--mu);
  max-width: 530px;
  margin-bottom: 24px;
}

.lp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.lp-btn-prim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  background: var(--cta);
  color: var(--cta-tx) !important;
  box-shadow: var(--sh);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lp-btn-prim:hover { opacity: 0.9; transform: translateY(-1px); }
.lp-btn-prim:active { transform: scale(0.98); }

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}
.lp-metrics.lp-metrics-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-metric {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--sh);
}

.lp-metric b {
  display: block;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--tx);
  line-height: 1.2;
}

.lp-metric small {
  display: block;
  font-size: 11.5px;
  color: var(--mu);
  margin-top: 2px;
}

/* Live Preview Card on Hero Right */
.lp-stage {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--sh-lg);
  will-change: transform;
}

.lp-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ln);
}

.lp-stage-head b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
}

.lp-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--grb);
  color: var(--gr);
}

.lp-stage-list {
  display: grid;
  gap: 8px;
}

.lp-stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--ln);
  font-size: 12.5px;
}

.lp-stage-row .nm {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  min-width: 0;
}

.lp-stage-row .nm span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-stage-row .meta {
  font-size: 11.5px;
  color: var(--mu);
  white-space: nowrap;
}

.lp-stage-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--ln);
}

/* Section Headers */
.lp-sec {
  padding: 44px 0;
}

.lp-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.lp-sec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mu);
  margin-bottom: 6px;
}

.lp-sec-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lp-sec-sub {
  color: var(--mu);
  font-size: 14px;
  max-width: 560px;
  margin-top: 6px;
}

/* Live Server Grid */
.lp-srv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lp-srv-card {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.lp-srv-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tx) 25%, var(--ln));
}

/* Bento Grid */
.lp-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.lp-bento-card {
  grid-column: span 6;
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.lp-bento-card.wide { grid-column: span 7; }
.lp-bento-card.side { grid-column: span 5; }

.lp-bento-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tx) 25%, var(--ln));
  box-shadow: var(--sh-lg);
}

.lp-ico-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sf2);
  border: 1px solid var(--ln);
  color: var(--tx);
  display: grid;
  place-items: center;
}

.lp-bento-card h3 {
  font-size: 16.5px;
  font-weight: 700;
}

.lp-bento-card p {
  font-size: 13.5px;
  color: var(--mu);
  line-height: 1.6;
}

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lp-step {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--sh);
  position: relative;
  min-width: 0;
}

.lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-tx);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.lp-step h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.lp-step p {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.55;
}

/* Pricing / Role Categories */
.lp-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lp-plan {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.lp-plan:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tx) 25%, var(--ln));
}

.lp-plan-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}

.lp-plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: var(--mu);
}

.lp-plan li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 9px;
  background: var(--bg);
}

.lp-plan li b {
  color: var(--tx);
  font-weight: 700;
}

/* Reviews & FAQ */
.lp-rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.lp-rev {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--sh);
}

.lp-faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.lp-faq-item {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.lp-faq-item.open {
  border-color: color-mix(in srgb, var(--tx) 25%, var(--ln));
}

.lp-faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}

.lp-faq-q svg {
  color: var(--mu);
  transition: transform 0.2s ease;
}

.lp-faq-item.open .lp-faq-q svg {
  transform: rotate(180deg);
  color: var(--tx);
}

.lp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 18px;
  font-size: 13.5px;
  color: var(--mu);
  line-height: 1.6;
}

.lp-faq-item.open .lp-faq-a {
  max-height: 220px;
  padding: 0 18px 16px;
}

/* Closing CTA & Footer */
.lp-cta-box {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sh);
}

.lp-footer {
  border-top: 1px solid var(--ln);
  padding: 24px 0 34px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--mu);
}

.lp-footer-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

[data-reveal="left"] { transform: translate3d(-22px, 0, 0); }
[data-reveal="right"] { transform: translate3d(22px, 0, 0); }
[data-reveal].is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .lp-bento-card, .lp-bento-card.wide, .lp-bento-card.side { grid-column: span 12; }
  .lp-plan-grid, .lp-rev-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Store Showcase Grid */
.lp-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lp-store-card {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.lp-store-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tx) 25%, var(--ln));
  box-shadow: var(--sh-lg);
}
.lp-store-foot {
  border-top: 1px solid var(--ln);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .lp-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .lp-links { display: none; }
  .lp-hero { padding: 28px 0 24px; }
  .lp-srv-grid, .lp-steps, .lp-plan-grid, .lp-rev-grid, .lp-store-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-metrics, .lp-metrics.lp-metrics-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lp-metric { padding: 10px 9px; }
  .lp-nav-in { padding: 10px 14px; }
  .lp-wrap { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .lp-prog { display: none; }
}
