/* Komshoom landing page — modern SaaS-style layer on top of site.css tokens.
   Scoped to lp-* classes so it never leaks into the simpler fallback pages. */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
}

.lp-nav-logo {
  border-radius: 0.5rem;
  display: block;
}

.lp-nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.lp-nav-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
}

.lp-nav-links a:hover {
  opacity: 1;
}

@media (min-width: 720px) {
  .lp-nav-links {
    display: flex;
  }
}

.lp-nav .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* Hero */

.lp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 4.5rem 1.5rem 5rem;
}

.lp-hero::before,
.lp-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.lp-hero::before {
  width: 22rem;
  height: 22rem;
  background: var(--accent);
  top: -8rem;
  right: -6rem;
}

.lp-hero::after {
  width: 18rem;
  height: 18rem;
  background: #3b82f6;
  bottom: -9rem;
  left: -6rem;
  opacity: 0.25;
}

.lp-hero-inner {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-badge-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.lp-hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: 2.5rem;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .lp-hero h1 {
    font-size: 3.1rem;
  }
}

.lp-hero p.lp-lede {
  font-family: system-ui, -apple-system, sans-serif;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 30rem;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.lp-hero-ctas .btn-secondary {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Mock product card in hero */

.lp-mock {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
  max-width: 24rem;
  margin: 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
}

.lp-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.lp-mock-head span:first-child {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-mock-balance {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  color: var(--navy);
  margin: 0 0 0.15rem;
}

.lp-mock-balance-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.lp-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.88rem;
}

.lp-mock-row:first-of-type {
  border-top: none;
}

.lp-mock-unit {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 500;
}

.lp-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-status-ok {
  background: #22c55e;
}

.lp-status-pending {
  background: #f59e0b;
}

.lp-status-late {
  background: #ef4444;
}

.lp-mock-status {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-mock-progress {
  margin-top: 1.25rem;
}

.lp-mock-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.lp-mock-progress-track {
  height: 0.45rem;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.lp-mock-progress-fill {
  height: 100%;
  width: 82%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #e0a868);
}

/* Sections */

.lp-section {
  max-width: 68rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.lp-section-head {
  max-width: 34rem;
  margin: 0 0 3rem;
}

.lp-eyebrow {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.lp-section-head h2 {
  font-size: 1.9rem;
  margin: 0 0 0.75rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.lp-section-head p {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.lp-features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.lp-feature {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -25px rgba(15, 23, 42, 0.35);
}

.lp-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(16, 39, 71, 0.06);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.lp-feature-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.lp-feature h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.lp-feature p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* How it works */

.lp-steps {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: lp-step;
}

.lp-step {
  position: relative;
  padding-left: 3.25rem;
}

.lp-step::before {
  counter-increment: lp-step;
  content: counter(lp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.lp-step h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  margin: 0.15rem 0 0.4rem;
  color: var(--ink);
}

.lp-step p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Final CTA band */

.lp-cta-band {
  margin: 0 1.5rem 5rem;
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-cta-band::before {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
}

.lp-cta-band h2 {
  position: relative;
  color: #fff;
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.lp-cta-band p {
  position: relative;
  font-family: system-ui, -apple-system, sans-serif;
  color: #cbd5e1;
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.lp-cta-band .btn {
  position: relative;
}

/* Footer */

.lp-footer {
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 1.5rem 3rem;
}

.lp-footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lp-footer-brand img {
  border-radius: 0.4rem;
  display: block;
}

.lp-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lp-footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

/* Motion */

.lp-fade-up {
  animation: lp-fade-up 0.7s ease both;
}

@keyframes lp-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-fade-up {
    animation: none;
  }
}
